Documentation ¶
Index ¶
- func Create(c *gophercloud.ServiceClient, opts floatingips.CreateOptsBuilder) floatingips.CreateResult
- func Delete(c *gophercloud.ServiceClient, id string) floatingips.DeleteResult
- func Get(c *gophercloud.ServiceClient, id string) floatingips.GetResult
- func Update(c *gophercloud.ServiceClient, id string, opts floatingips.UpdateOptsBuilder) floatingips.UpdateResult
- type FloatingIPCreateOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(c *gophercloud.ServiceClient, opts floatingips.CreateOptsBuilder) floatingips.CreateResult
func Delete ¶
func Delete(c *gophercloud.ServiceClient, id string) floatingips.DeleteResult
func Get ¶
func Get(c *gophercloud.ServiceClient, id string) floatingips.GetResult
func Update ¶
func Update(c *gophercloud.ServiceClient, id string, opts floatingips.UpdateOptsBuilder) floatingips.UpdateResult
Types ¶
type FloatingIPCreateOpts ¶
type FloatingIPCreateOpts struct { *floatingips.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
FloatingIPCreateOpts represents the attributes used when creating a new floating ip.
func (FloatingIPCreateOpts) ToFloatingIPCreateMap ¶
func (opts FloatingIPCreateOpts) ToFloatingIPCreateMap() (map[string]interface{}, error)
ToFloatingIPCreateMap casts a CreateOpts struct to a map. It overrides floatingips.ToFloatingIPCreateMap to add the ValueSpecs field.
Click to show internal directories.
Click to hide internal directories.