Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 v1.0.12 Apr 7, 2019 Changes in this version + func ExtractPortsInto(r pagination.Page, v interface{}) error + func IDFromName(client *gophercloud.ServiceClient, name string) (string, error) + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AddressPair struct + IPAddress string + MACAddress string + type CreateOpts struct + AdminStateUp *bool + AllowedAddressPairs []AddressPair + BindingProfile map[string]interface{} + DeviceID string + DeviceOwner string + ExtraDhcpOpts []ExtraDhcpOpt + FixedIPs interface{} + MACAddress string + Name string + NetworkID string + PortSecurityEnabled *bool + 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 ExtraDhcpOpt struct + OptName string + OptValue 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 + DeviceID string + DeviceOwner string + ID string + Limit int + MACAddress string + Marker string + Name string + NetworkID string + SortDir string + SortKey string + Status string + TenantID string + func (opts ListOpts) ToPortListQuery() (string, error) + type ListOptsBuilder interface + ToPortListQuery func() (string, error) + type Port struct + AdminStateUp bool + AllowedAddressPairs []AddressPair + BindingHostId string + BindingProfile map[string]interface{} + BindingVifDetails map[string]interface{} + BindingVifType string + BindingVnicType string + DeviceID string + DeviceOwner string + DnsAssignment []map[string]string + DnsName string + ExtraDhcpOpts []ExtraDhcpOpt + FixedIPs []IP + ID string + MACAddress string + Name string + NetworkID string + PortSecurityEnabled bool + SecurityGroups []string + Status 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 + DeviceID string + DeviceOwner string + ExtraDhcpOpts []ExtraDhcpOpt + FixedIPs interface{} + Name string + PortSecurityEnabled *bool + 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