Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(client *golangsdk.ServiceClient, opts DeleteOpts) (err error)
Types ¶
type Association ¶
type Association struct {
ID string `json:"id"`
RouteTableID string `json:"route_table_id"`
AttachmentID string `json:"attachment_id"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
State string `json:"state"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*Association, error)
type CreateOpts ¶
type DeleteOpts ¶
type ListAssociations ¶
type ListAssociations struct {
Associations []Association `json:"associations"`
PageInfo *PageInfo `json:"page_info"`
RequestId string `json:"request_id"`
}
func List ¶
func List(client *golangsdk.ServiceClient, opts ListOpts) (*ListAssociations, error)
type ListOpts ¶
type ListOpts struct {
RouterId string `json:"-"`
RouteTableId string `json:"-"`
Limit int `q:"limit"`
Marker string `q:"marker"`
AttachmentId []string `q:"attachment_id"`
ResourceType []string `q:"resource_type"`
State []string `q:"state"`
SortKey []string `q:"sort_key"`
SortDir []string `q:"sort_dir"`
}
Click to show internal directories.
Click to hide internal directories.