Documentation ¶
Index ¶
- type API
- func (api *API) AddSubnet(subnet names.SubnetTag, providerId network.Id, space names.SpaceTag, ...) error
- func (api *API) CreateSubnet(subnet names.SubnetTag, space names.SpaceTag, zones []string, isPublic bool) error
- func (api *API) ListSubnets(spaceTag *names.SpaceTag, zone string) ([]params.Subnet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { base.ClientFacade // contains filtered or unexported fields }
API provides access to the Subnets API facade.
func NewAPI ¶
func NewAPI(caller base.APICallCloser) *API
NewAPI creates a new client-side Subnets facade.
func (*API) AddSubnet ¶
func (api *API) AddSubnet(subnet names.SubnetTag, providerId network.Id, space names.SpaceTag, zones []string) error
AddSubnet adds an existing subnet to the model.
Click to show internal directories.
Click to hide internal directories.