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 List(c *gophercloud.ServiceClient, opts ListOpts) pagination.Pager + type AddInterfaceOpts struct + PortID string + SubnetID string + func (opts AddInterfaceOpts) ToRouterAddInterfaceMap() (map[string]interface{}, error) + type AddInterfaceOptsBuilder interface + ToRouterAddInterfaceMap func() (map[string]interface{}, error) + type CreateOpts struct + AdminStateUp *bool + AvailabilityZoneHints []string + Distributed *bool + GatewayInfo *GatewayInfo + Ha *bool + Name string + TenantID string + func (opts CreateOpts) ToRouterCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToRouterCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Router, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type ExternalFixedIP struct + IPAddress string + SubnetID string + type GatewayInfo struct + EnableSNAT *bool + ExternalFixedIPs []ExternalFixedIP + NetworkID string + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Router, error) + type InterfaceInfo struct + ID string + PortID string + SubnetID string + TenantID string + type InterfaceResult struct + func AddInterface(c *gophercloud.ServiceClient, id string, opts AddInterfaceOptsBuilder) (r InterfaceResult) + func RemoveInterface(c *gophercloud.ServiceClient, id string, opts RemoveInterfaceOptsBuilder) (r InterfaceResult) + func (r InterfaceResult) Extract() (*InterfaceInfo, error) + type ListOpts struct + AdminStateUp *bool + Distributed *bool + ID string + Limit int + Marker string + Name string + SortDir string + SortKey string + Status string + TenantID string + type RemoveInterfaceOpts struct + PortID string + SubnetID string + func (opts RemoveInterfaceOpts) ToRouterRemoveInterfaceMap() (map[string]interface{}, error) + type RemoveInterfaceOptsBuilder interface + ToRouterRemoveInterfaceMap func() (map[string]interface{}, error) + type Route struct + DestinationCIDR string + NextHop string + type Router struct + AdminStateUp bool + AvailabilityZoneHints []string + Distributed bool + GatewayInfo GatewayInfo + Ha bool + ID string + Name string + Routes []Route + Status string + TenantID string + func ExtractRouters(r pagination.Page) ([]Router, error) + type RouterPage struct + func (r RouterPage) IsEmpty() (bool, error) + func (r RouterPage) NextPageURL() (string, error) + type UpdateOpts struct + AdminStateUp *bool + Distributed *bool + GatewayInfo *GatewayInfo + Name string + Routes []Route + func (opts UpdateOpts) ToRouterUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToRouterUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Router, error)