Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetMeteringURLForControllerCmd = getMeteringURLForControllerCmdImpl
GetMeteringURLForControllerCmd returns the controller-configured metering URL for a given controller command.
View Source
var GetMeteringURLForModelCmd = getMeteringURLForModelCmdImpl
GetMeteringURLForModelCmd returns the controller-configured metering URL for a given model command.
View Source
var NewCharmStoreResolverForControllerCmd = newCharmStoreResolverForControllerCmdImpl
NewCharmStoreResolverForControllerCmd creates a new charm store resolver that connects to the controller configured charmstore-url.
Functions ¶
This section is empty.
Types ¶
type CharmResolver ¶
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 ¶
type CharmStoreResolver struct {
// contains filtered or unexported fields
}
CharmStoreResolver implements the CharmResolver interface.
func (*CharmStoreResolver) Resolve ¶
func (r *CharmStoreResolver) Resolve(client *httpbakery.Client, charmURL string) (string, error)
Resolve implements the CharmResolver interface.
Directories ¶
Path | Synopsis |
---|---|
Package budget defines the command used to update budgets.
|
Package budget defines the command used to update budgets. |
Package commands provides functionality for registering all the romulus commands.
|
Package commands provides functionality for registering all the romulus commands. |
The listplans package contains implementation of the command that can be used to list plans that are available for a charm.
|
The listplans package contains implementation of the command that can be used to list plans that are available for a charm. |
The setplan package contains the implementation of the juju set-plan command.
|
The setplan package contains the implementation of the juju set-plan command. |
The sla package contains the implementation of the juju sla command.
|
The sla package contains the implementation of the juju sla command. |
Click to show internal directories.
Click to hide internal directories.