Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { CreateSpaces(params.CreateSpacesParams) (params.ErrorResults, error) ListSpaces() (params.ListSpacesResults, error) }
API defines the methods the Spaces API facade implements.
type Backing ¶
type Backing interface { // EnvironConfig returns the configuration of the environment. EnvironConfig() (*config.Config, error) // AddSpace creates a space. AddSpace(name string, subnetIds []string, public bool) error // AllSpaces returns all known Juju network spaces. AllSpaces() ([]common.BackingSpace, error) }
Backing defines the state methods this facede needs, so they can be mocked for testing.
Click to show internal directories.
Click to hide internal directories.