Versions in this module Expand all Collapse all v0 v0.16.0 Dec 31, 2020 Changes in this version + func ExtractPortsInto(r pagination.Page, v interface{}) error + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AddressPair struct + IPAddress string + MACAddress string + type CreateOpts struct + AdminStateUp *bool + AllowedAddressPairs []AddressPair + Description string + DeviceID string + DeviceOwner string + FixedIPs interface{} + MACAddress string + Name string + NetworkID string + ProjectID string + SecurityGroups *[]string + TenantID string + func (opts CreateOpts) ToPortCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPortCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Port, error) + func (r CreateResult) ExtractInto(v interface{}) error + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type FixedIPOpts struct + IPAddress string + IPAddressSubstr string + SubnetID string + func (f FixedIPOpts) String() string + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Port, error) + func (r GetResult) ExtractInto(v interface{}) error + type IP struct + IPAddress string + SubnetID string + type ListOpts struct + AdminStateUp *bool + Description string + DeviceID string + DeviceOwner string + FixedIPs []FixedIPOpts + ID string + Limit int + MACAddress string + Marker string + Name string + NetworkID string + NotTags string + NotTagsAny string + ProjectID string + SortDir string + SortKey string + Status string + Tags string + TagsAny string + TenantID string + func (opts ListOpts) ToPortListQuery() (string, error) + type ListOptsBuilder interface + ToPortListQuery func() (string, error) + type Port struct + AdminStateUp bool + AllowedAddressPairs []AddressPair + Description string + DeviceID string + DeviceOwner string + FixedIPs []IP + ID string + MACAddress string + Name string + NetworkID string + ProjectID string + SecurityGroups []string + Status string + Tags []string + TenantID string + func ExtractPorts(r pagination.Page) ([]Port, error) + type PortPage struct + func (r PortPage) IsEmpty() (bool, error) + func (r PortPage) NextPageURL() (string, error) + type UpdateOpts struct + AdminStateUp *bool + AllowedAddressPairs *[]AddressPair + Description *string + DeviceID *string + DeviceOwner *string + FixedIPs interface{} + Name *string + SecurityGroups *[]string + func (opts UpdateOpts) ToPortUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPortUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Port, error) + func (r UpdateResult) ExtractInto(v interface{}) error