Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IopsAndThroughputOpts ¶
type JobResponse ¶
type JobResponse struct {
JobID string `json:"job_id"`
}
JobResponse contains all the information from UpdateQoS response
type JobResult ¶
JobResult contains the response body and error from UpdateQoS response
func ModifyQoS ¶
func ModifyQoS(client *golangsdk.ServiceClient, id string, opts UpdateQoSOptsBuilder) (r JobResult)
func (JobResult) Extract ¶
func (r JobResult) Extract() (*JobResponse, error)
Extract will get the JobResponse object out of the JobResult
type QoSModifyOpts ¶
type QoSModifyOpts struct {
IopsAndThroughputOpts IopsAndThroughputOpts `json:"qos_modify" required:"true"`
}
func (QoSModifyOpts) ToVolumeUpdateQoSMap ¶
func (opts QoSModifyOpts) ToVolumeUpdateQoSMap() (map[string]interface{}, error)
type UpdateQoSOptsBuilder ¶
Click to show internal directories.
Click to hide internal directories.