Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubnetsAPI ¶
type SubnetsAPI interface { // AllZones returns all availability zones known to Juju. If a // zone is unusable, unavailable, or deprecated the Available // field will be false. AllZones() (params.ZoneResults, error) // AllSpaces returns the tags of all network spaces known to Juju. AllSpaces() (params.SpaceResults, error) // AddSubnets adds existing subnets to Juju. AddSubnets(args params.AddSubnetsParams) (params.ErrorResults, error) // ListSubnets returns the matching subnets after applying // optional filters. ListSubnets(args params.SubnetsFilters) (params.ListSubnetsResults, error) }
SubnetsAPI defines the methods the Subnets API facade implements.
func NewAPI ¶
func NewAPI(st *state.State, res facade.Resources, auth facade.Authorizer) (SubnetsAPI, error)
NewAPI creates a new Subnets API server-side facade with a state.State backing.
Click to show internal directories.
Click to hide internal directories.