import "github.com/wallyworld/juju/cmd/juju/romulus"
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 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 struct {
// contains filtered or unexported fields
}
CharmStoreResolver implements the CharmResolver interface.
func (r *CharmStoreResolver) Resolve(client *httpbakery.Client, charmURL string) (string, error)
Resolve implements the CharmResolver interface.
Path | Synopsis |
---|---|
agree | |
budget | Package budget defines the command used to update budgets. |
commands | Package commands provides functionality for registering all the romulus commands. |
createwallet | |
listagreements | |
listplans | The listplans package contains implementation of the command that can be used to list plans that are available for a charm. |
listwallets | |
setplan | The setplan package contains the implementation of the juju set-plan command. |
setwallet | |
showwallet | |
sla | The sla package contains the implementation of the juju sla command. |
Package romulus imports 6 packages (graph). Updated 2020-05-02. Refresh now. Tools for package owners.