Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOpts) pagination.Pager + func ListL3Agents(c *gophercloud.ServiceClient, id string) (result 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 + Description string + Distributed *bool + GatewayInfo *GatewayInfo + Name string + ProjectID 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 L3Agent struct + AdminStateUp bool + AgentType string + Alive bool + AvailabilityZone string + Binary string + Configurations map[string]interface{} + CreatedAt time.Time + Description string + HAState string + HeartbeatTimestamp time.Time + Host string + ID string + ResourceVersions map[string]interface{} + ResourcesSynced bool + StartedAt time.Time + Topic string + func ExtractL3Agents(r pagination.Page) ([]L3Agent, error) + func (r *L3Agent) UnmarshalJSON(b []byte) error + type ListL3AgentsPage struct + func (r ListL3AgentsPage) IsEmpty() (bool, error) + type ListOpts struct + AdminStateUp *bool + Description string + Distributed *bool + ID string + Limit int + Marker string + Name string + NotTags string + NotTagsAny string + ProjectID string + SortDir string + SortKey string + Status string + Tags string + TagsAny 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 + Description string + Distributed bool + GatewayInfo GatewayInfo + ID string + Name string + ProjectID string + Routes []Route + Status string + Tags []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 + Description *string + 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) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3