Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder, id string) pagination.Pager + type CreateOpts struct + ExternalPort int + InternalIPAddress string + InternalPort int + InternalPortID string + Protocol string + func (opts CreateOpts) ToPortForwardingCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPortForwardingCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, floatingIpId string, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*PortForwarding, error) + func (r CreateResult) ExtractInto(v interface{}) error + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, floatingIpId string, pfId string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, floatingIpId string, pfId string) (r GetResult) + func (r GetResult) Extract() (*PortForwarding, error) + func (r GetResult) ExtractInto(v interface{}) error + type ListOpts struct + ExternalPort string + Fields string + ID string + InternalIPAddress string + InternalPort string + InternalPortID string + Limit int + Marker string + Protocol string + SortDir string + SortKey string + func (opts ListOpts) ToPortForwardingListQuery() (string, error) + type ListOptsBuilder interface + ToPortForwardingListQuery func() (string, error) + type PortForwarding struct + ExternalPort int + ID string + InternalIPAddress string + InternalPort int + InternalPortID string + Protocol string + func ExtractPortForwardings(r pagination.Page) ([]PortForwarding, error) + type PortForwardingPage struct + func (r PortForwardingPage) IsEmpty() (bool, error) + func (r PortForwardingPage) NextPageURL() (string, error) + type UpdateOpts struct + ExternalPort int + InternalIPAddress string + InternalPort int + InternalPortID string + Protocol string + func (opts UpdateOpts) ToPortForwardingUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPortForwardingUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, fipID string, pfID string, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*PortForwarding, error) + func (r UpdateResult) ExtractInto(v interface{}) error