Documentation ¶
Index ¶
- func Create(client *gophercloud.ServiceClient, opts volumes.CreateOptsBuilder) volumes.CreateResult
- func Delete(client *gophercloud.ServiceClient, id string, opts volumes.DeleteOptsBuilder) volumes.DeleteResult
- func Get(client *gophercloud.ServiceClient, id string) volumes.GetResult
- func Update(client *gophercloud.ServiceClient, id string, opts volumes.UpdateOptsBuilder) volumes.UpdateResult
- type UpdateOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(client *gophercloud.ServiceClient, opts volumes.CreateOptsBuilder) volumes.CreateResult
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string, opts volumes.DeleteOptsBuilder) volumes.DeleteResult
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) volumes.GetResult
func Update ¶
func Update(client *gophercloud.ServiceClient, id string, opts volumes.UpdateOptsBuilder) volumes.UpdateResult
Types ¶
type UpdateOpts ¶ added in v0.8.3
type UpdateOpts struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Metadata map[string]string `json:"metadata"` }
func (UpdateOpts) ToVolumeUpdateMap ¶ added in v0.8.3
func (opts UpdateOpts) ToVolumeUpdateMap() (map[string]any, error)
Click to show internal directories.
Click to hide internal directories.