juju: github.com/juju/juju/cmd/juju/romulus Index | Files | Directories

package romulus

import "github.com/juju/juju/cmd/juju/romulus"

Index

Package Files

api.go resolve.go

Variables

var GetMeteringURLForControllerCmd = getMeteringURLForControllerCmdImpl

GetMeteringURLForControllerCmd returns the controller-configured metering URL for a given controller command.

var GetMeteringURLForModelCmd = getMeteringURLForModelCmdImpl

GetMeteringURLForModelCmd returns the controller-configured metering URL for a given model command.

var NewCharmStoreResolverForControllerCmd = newCharmStoreResolverForControllerCmdImpl

NewCharmStoreResolverForControllerCmd creates a new charm store resolver that connects to the controller configured charmstore-url.

type CharmResolver Uses

type CharmResolver interface {
    // Resolve resolves the charm URL.
    Resolve(client *httpbakery.Client, charmURL string) (string, error)
}

CharmResolver interface defines the functionality to resolve a charm URL.

type CharmStoreResolver Uses

type CharmStoreResolver struct {
    // contains filtered or unexported fields
}

CharmStoreResolver implements the CharmResolver interface.

func (*CharmStoreResolver) Resolve Uses

func (r *CharmStoreResolver) Resolve(client *httpbakery.Client, charmURL string) (string, error)

Resolve implements the CharmResolver interface.

Directories

PathSynopsis
agree
budgetPackage budget defines the command used to update budgets.
commandsPackage commands provides functionality for registering all the romulus commands.
createwallet
listagreements
listplansThe listplans package contains implementation of the command that can be used to list plans that are available for a charm.
listwallets
setplanThe setplan package contains the implementation of the juju set-plan command.
setwallet
showwallet
slaThe sla package contains the implementation of the juju sla command.

Package romulus imports 6 packages (graph) and is imported by 39 packages. Updated 2019-09-27. Refresh now. Tools for package owners.