Documentation ¶
Index ¶
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) ListSubnets ¶
ListSubnets fetches all the subnets known by the model.
func (*API) SubnetsByCIDR ¶
func (api *API) SubnetsByCIDR(cidrs []string) ([]params.SubnetsResult, error)
SubnetsByCIDR returns the collection of subnets matching each CIDR in the input.
Click to show internal directories.
Click to hide internal directories.