Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOpts ¶
type EffectiveRoute ¶
type ListRoutes ¶
type ListRoutes struct {
Routes []EffectiveRoute `json:"routes"`
PageInfo *PageInfo `json:"page_info"`
RequestId string `json:"request_id"`
}
func List ¶
func List(client *golangsdk.ServiceClient, opts ListOpts) (*ListRoutes, error)
type ListStaticOpts ¶
type ListStaticRoutes ¶
type ListStaticRoutes struct {
Routes []Route `json:"routes"`
PageInfo *PageInfo `json:"page_info"`
RequestId string `json:"request_id"`
}
func ListStatic ¶
func ListStatic(client *golangsdk.ServiceClient, opts ListStaticOpts) (*ListStaticRoutes, error)
type Route ¶
type Route struct {
ID string `json:"id"`
Type string `json:"type"`
State string `json:"state"`
IsBlackhole bool `json:"is_blackhole"`
Destination string `json:"destination"`
RouteTableId string `json:"route_table_id"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Attachments []RouteAttachment `json:"attachments"`
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*Route, error)
func Update ¶
func Update(client *golangsdk.ServiceClient, opts UpdateOpts) (*Route, error)
type RouteAttachment ¶
Click to show internal directories.
Click to hide internal directories.