Versions in this module Expand all Collapse all v1 v1.3.0 Feb 14, 2023 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + AddressScopeID string + DefaultPrefixLen int + DefaultQuota int + Description string + IsDefault bool + MaxPrefixLen int + MinPrefixLen int + Name string + Prefixes []string + ProjectID string + Shared bool + TenantID string + func (opts CreateOpts) ToSubnetPoolCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSubnetPoolCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*SubnetPool, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*SubnetPool, error) + type ListOpts struct + AddressScopeID string + DefaultPrefixLen int + DefaultQuota int + Description string + ID string + IPVersion int + IsDefault *bool + Limit int + Marker string + MaxPrefixLen int + MinPrefixLen int + Name string + NotTags string + NotTagsAny string + ProjectID string + RevisionNumber int + Shared *bool + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + func (opts ListOpts) ToSubnetPoolListQuery() (string, error) + type ListOptsBuilder interface + ToSubnetPoolListQuery func() (string, error) + type SubnetPool struct + AddressScopeID string + CreatedAt time.Time + DefaultPrefixLen int + DefaultQuota int + Description string + ID string + IPversion int + IsDefault bool + MaxPrefixLen int + MinPrefixLen int + Name string + Prefixes []string + ProjectID string + RevisionNumber int + Shared bool + Tags []string + TenantID string + UpdatedAt time.Time + func ExtractSubnetPools(r pagination.Page) ([]SubnetPool, error) + func (r *SubnetPool) UnmarshalJSON(b []byte) error + type SubnetPoolPage struct + func (r SubnetPoolPage) IsEmpty() (bool, error) + func (r SubnetPoolPage) NextPageURL() (string, error) + type UpdateOpts struct + AddressScopeID *string + DefaultPrefixLen int + DefaultQuota *int + Description *string + IsDefault *bool + MaxPrefixLen int + MinPrefixLen int + Name string + Prefixes []string + ProjectID string + TenantID string + func (opts UpdateOpts) ToSubnetPoolUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToSubnetPoolUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, subnetPoolID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*SubnetPool, error)