Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharmResolver ¶
type CharmResolver interface { // Resolve resolves the charm URL. Resolve(client *http.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 NewCharmStoreResolver ¶
func NewCharmStoreResolver() *CharmStoreResolver
NewCharmStoreResolver creates a new charm store resolver.
type HttpCommand ¶
type HttpCommand struct { cmd.CommandBase // contains filtered or unexported fields }
HttpCommand can instantiate http bakery clients using a commong cookie jar.
func (*HttpCommand) Close ¶
func (s *HttpCommand) Close() error
Close saves the persistent cookie jar used by the specified httpbakery.Client.
func (*HttpCommand) NewClient ¶
func (s *HttpCommand) NewClient() (*httpbakery.Client, error)
NewClient returns a new http bakery client for commands.
Directories
¶
Path | Synopsis |
---|---|
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. |
Package updateallocation defines the command used to update allocations.
|
Package updateallocation defines the command used to update allocations. |
Click to show internal directories.
Click to hide internal directories.