Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
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, options ...Option) *API
NewAPI creates a new client-side Subnets facade.
func (*API) ListSubnets ¶
func (api *API) ListSubnets(ctx context.Context, spaceTag *names.SpaceTag, zone string) ([]params.Subnet, error)
ListSubnets fetches all the subnets known by the model.
func (*API) SubnetsByCIDR ¶
SubnetsByCIDR returns the collection of subnets matching each CIDR in the input.
Click to show internal directories.
Click to hide internal directories.