Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 Changes in this version + func CreateURL(c *gophercloud.ServiceClient) string + func DeleteURL(c *gophercloud.ServiceClient, portId string) string + func GetURL(c *gophercloud.ServiceClient, portId string) string + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListURL(c *gophercloud.ServiceClient) string + func UpdateURL(c *gophercloud.ServiceClient, portId string) string + type AllowedAddressPair struct + IpAddress string + MacAddress string + type CreateOpts struct + AdminStateUp *bool + AllowedAddressPairs []AllowedAddressPair + ExtraDhcpOpts []ExtraDHCPOpt + FixedIps []FixedIp + Name string + NetworkId string + SecurityGroups []string + TenantId string + func (opts CreateOpts) ToPortsCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPortsCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Port, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, portId string) (r DeleteResult) + type DnsAssignment struct + Fqdn string + HostName string + IpAddress string + type ExtraDHCPOpt struct + OptName string + OptValue string + type FixedIp struct + IpAddress string + SubnetId string + type GetResult struct + func Get(client *gophercloud.ServiceClient, portId string) (r GetResult) + func (r GetResult) Extract() (*Port, error) + type ListOpts struct + AdminStateUp bool + DeviceId string + DeviceOwner string + EnterpriseProjectId string + ID string + Limit int + MacAddress string + Marker string + Name string + NetworkId string + Status string + func (opts ListOpts) ToListQuery() (string, error) + type ListOptsBuilder interface + ToListQuery func() (string, error) + type ListResult struct + func (r ListResult) Extract() (*[]Port, error) + type Port struct + AdminStateUp bool + AllowedAddressPairs []AllowedAddressPair + BindingvnicType string + DeviceId string + DeviceOwner string + DnsAssignment []DnsAssignment + DnsName string + ExtraDhcpOpts []ExtraDHCPOpt + FixedIps []FixedIp + ID string + MacAddress string + Name string + NetworkId string + 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 + AllowedAddressPairs []AllowedAddressPair + ExtraDhcpOpts []ExtraDHCPOpt + Name string + SecurityGroups []string + func (opts UpdateOpts) ToPortsUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPortsUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, portId string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Port, error)