cmd

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

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(visitWebPage func(*url.URL) error, 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.

func (*CharmStoreResolver) Resolve

func (r *CharmStoreResolver) Resolve(visitWebPage func(*url.URL) error, client *http.Client, charmURL string) (string, error)

Resolve implements the CharmResolver interface.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL