Documentation ¶
Index ¶
- func AddInterface(c *gophercloud.ServiceClient, id string, opts routers.AddInterfaceOptsBuilder) routers.InterfaceResult
- func Create(c *gophercloud.ServiceClient, opts routers.CreateOptsBuilder) routers.CreateResult
- func Delete(c *gophercloud.ServiceClient, id string) routers.DeleteResult
- func ExtractRouterInto(r routers.GetResult, v interface{}) error
- func ExtractRoutersInto(r pagination.Page, v interface{}) error
- func Get(c *gophercloud.ServiceClient, id string) routers.GetResult
- func RemoveInterface(c *gophercloud.ServiceClient, id string, ...) routers.InterfaceResult
- func Update(c *gophercloud.ServiceClient, id string, opts routers.UpdateOptsBuilder) routers.UpdateResult
- type RouterCreateOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInterface ¶
func AddInterface(c *gophercloud.ServiceClient, id string, opts routers.AddInterfaceOptsBuilder) routers.InterfaceResult
func Create ¶
func Create(c *gophercloud.ServiceClient, opts routers.CreateOptsBuilder) routers.CreateResult
func Delete ¶
func Delete(c *gophercloud.ServiceClient, id string) routers.DeleteResult
func ExtractRouterInto ¶
func ExtractRoutersInto ¶
func ExtractRoutersInto(r pagination.Page, v interface{}) error
func Get ¶
func Get(c *gophercloud.ServiceClient, id string) routers.GetResult
func RemoveInterface ¶
func RemoveInterface(c *gophercloud.ServiceClient, id string, opts routers.RemoveInterfaceOptsBuilder) routers.InterfaceResult
func Update ¶
func Update(c *gophercloud.ServiceClient, id string, opts routers.UpdateOptsBuilder) routers.UpdateResult
Types ¶
type RouterCreateOpts ¶
type RouterCreateOpts struct { routers.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
RouterCreateOpts represents the attributes used when creating a new router.
func (RouterCreateOpts) ToRouterCreateMap ¶
func (opts RouterCreateOpts) ToRouterCreateMap() (map[string]interface{}, error)
ToRouterCreateMap casts a CreateOpts struct to a map. It overrides routers.ToRouterCreateMap to add the ValueSpecs field.
Click to show internal directories.
Click to hide internal directories.