romulus

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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