Documentation
¶
Index ¶
- type DiscoverSpacesAPI
- func (api *DiscoverSpacesAPI) AddSubnets(args params.AddSubnetsParams) (params.ErrorResults, error)
- func (api *DiscoverSpacesAPI) CreateSpaces(args params.CreateSpacesParams) (results params.ErrorResults, err error)
- func (api *DiscoverSpacesAPI) ListSpaces() (results params.DiscoverSpacesResults, err error)
- func (api *DiscoverSpacesAPI) ListSubnets(args params.SubnetsFilters) (results params.ListSubnetsResults, err error)
- func (api *DiscoverSpacesAPI) ModelConfig() (params.ModelConfigResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoverSpacesAPI ¶
type DiscoverSpacesAPI struct {
// contains filtered or unexported fields
}
DiscoverSpacesAPI implements the API used by the discoverspaces worker.
func NewDiscoverSpacesAPI ¶
func NewDiscoverSpacesAPI(st *state.State, resources facade.Resources, authorizer facade.Authorizer) (*DiscoverSpacesAPI, error)
NewDiscoverSpacesAPI creates a new instance of the DiscoverSpaces API.
func NewDiscoverSpacesAPIWithBacking ¶
func NewDiscoverSpacesAPIWithBacking(st networkingcommon.NetworkBacking, resources facade.Resources, authorizer facade.Authorizer) (*DiscoverSpacesAPI, error)
func (*DiscoverSpacesAPI) AddSubnets ¶
func (api *DiscoverSpacesAPI) AddSubnets(args params.AddSubnetsParams) (params.ErrorResults, error)
AddSubnets is defined on the API interface.
func (*DiscoverSpacesAPI) CreateSpaces ¶
func (api *DiscoverSpacesAPI) CreateSpaces(args params.CreateSpacesParams) (results params.ErrorResults, err error)
CreateSpaces creates a new Juju network space, associating the specified subnets with it (optional; can be empty).
func (*DiscoverSpacesAPI) ListSpaces ¶
func (api *DiscoverSpacesAPI) ListSpaces() (results params.DiscoverSpacesResults, err error)
ListSpaces lists all the available spaces and their associated subnets.
func (*DiscoverSpacesAPI) ListSubnets ¶
func (api *DiscoverSpacesAPI) ListSubnets(args params.SubnetsFilters) (results params.ListSubnetsResults, err error)
ListSubnets lists all the available subnets or only those matching all given optional filters.
func (*DiscoverSpacesAPI) ModelConfig ¶
func (api *DiscoverSpacesAPI) ModelConfig() (params.ModelConfigResult, error)
ModelConfig returns the current model's configuration.
Click to show internal directories.
Click to hide internal directories.