package
1.0.0
Repository: https://github.com/rackspace/gophercloud.git
Documentation: pkg.go.dev

# Functions

Create accepts a CreateOpts struct and creates a new subnet using the values provided.
Delete accepts a unique ID and deletes the subnet associated with it.
ExtractSubnets accepts a Page struct, specifically a SubnetPage struct, and extracts the elements into a slice of Subnet structs.
Get retrieves a specific subnet based on its unique ID.
List returns a Pager which allows you to iterate over a collection of subnets.
Update accepts a UpdateOpts struct and updates an existing subnet using the values provided.

# Constants

Valid IP types.
Valid IP types.

# Variables

Convenience vars for AdminStateUp values.
Convenience vars for AdminStateUp values.

# Structs

AllocationPool represents a sub-range of cidr available for dynamic allocation to ports, e.g.
CreateOpts represents the attributes used when creating a new subnet.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
HostRoute represents a route that should be used by devices with IPs from a subnet (not including local subnet route).
ListOpts allows the filtering and sorting of paginated collections through the API.
Subnet represents a subnet.
SubnetPage is the page returned by a pager when traversing over a collection of subnets.
UpdateOpts represents the attributes used when updating an existing subnet.
UpdateResult represents the result of an update operation.

# Interfaces

CreateOptsBuilder is the interface options structs have to satisfy in order to be used in the main Create operation in this package.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.