Documentation ¶
Index ¶
- type Client
- func (a *Client) ClusterInfo(params *ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ClusterInfoOK, error)
- func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSnapshotOK, error)
- func (a *Client) DeleteVolume(params *DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteVolumeOK, error)
- func (a *Client) FindSnapshots(params *FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindSnapshotsOK, error)
- func (a *Client) FindVolumes(params *FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindVolumesOK, error)
- func (a *Client) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSnapshotOK, error)
- func (a *Client) GetVolume(params *GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVolumeOK, error)
- func (a *Client) ListPolicies(params *ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPoliciesOK, error)
- func (a *Client) ListVolumes(params *ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVolumesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SetVolumeQoSPolicy(params *SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetVolumeQoSPolicyOK, error)
- type ClientOption
- type ClientService
- type ClusterInfoDefault
- func (o *ClusterInfoDefault) Code() int
- func (o *ClusterInfoDefault) Error() string
- func (o *ClusterInfoDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ClusterInfoDefault) IsClientError() bool
- func (o *ClusterInfoDefault) IsCode(code int) bool
- func (o *ClusterInfoDefault) IsRedirect() bool
- func (o *ClusterInfoDefault) IsServerError() bool
- func (o *ClusterInfoDefault) IsSuccess() bool
- func (o *ClusterInfoDefault) String() string
- type ClusterInfoOK
- func (o *ClusterInfoOK) Code() int
- func (o *ClusterInfoOK) Error() string
- func (o *ClusterInfoOK) GetPayload() []*models.V1StorageClusterInfo
- func (o *ClusterInfoOK) IsClientError() bool
- func (o *ClusterInfoOK) IsCode(code int) bool
- func (o *ClusterInfoOK) IsRedirect() bool
- func (o *ClusterInfoOK) IsServerError() bool
- func (o *ClusterInfoOK) IsSuccess() bool
- func (o *ClusterInfoOK) String() string
- type ClusterInfoParams
- func (o *ClusterInfoParams) SetContext(ctx context.Context)
- func (o *ClusterInfoParams) SetDefaults()
- func (o *ClusterInfoParams) SetHTTPClient(client *http.Client)
- func (o *ClusterInfoParams) SetPartitionid(partitionid *string)
- func (o *ClusterInfoParams) SetTimeout(timeout time.Duration)
- func (o *ClusterInfoParams) WithContext(ctx context.Context) *ClusterInfoParams
- func (o *ClusterInfoParams) WithDefaults() *ClusterInfoParams
- func (o *ClusterInfoParams) WithHTTPClient(client *http.Client) *ClusterInfoParams
- func (o *ClusterInfoParams) WithPartitionid(partitionid *string) *ClusterInfoParams
- func (o *ClusterInfoParams) WithTimeout(timeout time.Duration) *ClusterInfoParams
- func (o *ClusterInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterInfoReader
- type DeleteSnapshotDefault
- func (o *DeleteSnapshotDefault) Code() int
- func (o *DeleteSnapshotDefault) Error() string
- func (o *DeleteSnapshotDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteSnapshotDefault) IsClientError() bool
- func (o *DeleteSnapshotDefault) IsCode(code int) bool
- func (o *DeleteSnapshotDefault) IsRedirect() bool
- func (o *DeleteSnapshotDefault) IsServerError() bool
- func (o *DeleteSnapshotDefault) IsSuccess() bool
- func (o *DeleteSnapshotDefault) String() string
- type DeleteSnapshotOK
- func (o *DeleteSnapshotOK) Code() int
- func (o *DeleteSnapshotOK) Error() string
- func (o *DeleteSnapshotOK) GetPayload() *models.V1SnapshotResponse
- func (o *DeleteSnapshotOK) IsClientError() bool
- func (o *DeleteSnapshotOK) IsCode(code int) bool
- func (o *DeleteSnapshotOK) IsRedirect() bool
- func (o *DeleteSnapshotOK) IsServerError() bool
- func (o *DeleteSnapshotOK) IsSuccess() bool
- func (o *DeleteSnapshotOK) String() string
- type DeleteSnapshotParams
- func NewDeleteSnapshotParams() *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithContext(ctx context.Context) *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithHTTPClient(client *http.Client) *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithTimeout(timeout time.Duration) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteSnapshotParams) SetDefaults()
- func (o *DeleteSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnapshotParams) SetID(id string)
- func (o *DeleteSnapshotParams) SetProjectID(projectID *string)
- func (o *DeleteSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnapshotParams) WithContext(ctx context.Context) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithDefaults() *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithHTTPClient(client *http.Client) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithID(id string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithProjectID(projectID *string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithTimeout(timeout time.Duration) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnapshotReader
- type DeleteVolumeDefault
- func (o *DeleteVolumeDefault) Code() int
- func (o *DeleteVolumeDefault) Error() string
- func (o *DeleteVolumeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteVolumeDefault) IsClientError() bool
- func (o *DeleteVolumeDefault) IsCode(code int) bool
- func (o *DeleteVolumeDefault) IsRedirect() bool
- func (o *DeleteVolumeDefault) IsServerError() bool
- func (o *DeleteVolumeDefault) IsSuccess() bool
- func (o *DeleteVolumeDefault) String() string
- type DeleteVolumeOK
- func (o *DeleteVolumeOK) Code() int
- func (o *DeleteVolumeOK) Error() string
- func (o *DeleteVolumeOK) GetPayload() *models.V1VolumeResponse
- func (o *DeleteVolumeOK) IsClientError() bool
- func (o *DeleteVolumeOK) IsCode(code int) bool
- func (o *DeleteVolumeOK) IsRedirect() bool
- func (o *DeleteVolumeOK) IsServerError() bool
- func (o *DeleteVolumeOK) IsSuccess() bool
- func (o *DeleteVolumeOK) String() string
- type DeleteVolumeParams
- func (o *DeleteVolumeParams) SetContext(ctx context.Context)
- func (o *DeleteVolumeParams) SetDefaults()
- func (o *DeleteVolumeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVolumeParams) SetID(id string)
- func (o *DeleteVolumeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVolumeParams) WithContext(ctx context.Context) *DeleteVolumeParams
- func (o *DeleteVolumeParams) WithDefaults() *DeleteVolumeParams
- func (o *DeleteVolumeParams) WithHTTPClient(client *http.Client) *DeleteVolumeParams
- func (o *DeleteVolumeParams) WithID(id string) *DeleteVolumeParams
- func (o *DeleteVolumeParams) WithTimeout(timeout time.Duration) *DeleteVolumeParams
- func (o *DeleteVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVolumeReader
- type FindSnapshotsDefault
- func (o *FindSnapshotsDefault) Code() int
- func (o *FindSnapshotsDefault) Error() string
- func (o *FindSnapshotsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindSnapshotsDefault) IsClientError() bool
- func (o *FindSnapshotsDefault) IsCode(code int) bool
- func (o *FindSnapshotsDefault) IsRedirect() bool
- func (o *FindSnapshotsDefault) IsServerError() bool
- func (o *FindSnapshotsDefault) IsSuccess() bool
- func (o *FindSnapshotsDefault) String() string
- type FindSnapshotsOK
- func (o *FindSnapshotsOK) Code() int
- func (o *FindSnapshotsOK) Error() string
- func (o *FindSnapshotsOK) GetPayload() []*models.V1SnapshotResponse
- func (o *FindSnapshotsOK) IsClientError() bool
- func (o *FindSnapshotsOK) IsCode(code int) bool
- func (o *FindSnapshotsOK) IsRedirect() bool
- func (o *FindSnapshotsOK) IsServerError() bool
- func (o *FindSnapshotsOK) IsSuccess() bool
- func (o *FindSnapshotsOK) String() string
- type FindSnapshotsParams
- func (o *FindSnapshotsParams) SetBody(body *models.V1SnapshotFindRequest)
- func (o *FindSnapshotsParams) SetContext(ctx context.Context)
- func (o *FindSnapshotsParams) SetDefaults()
- func (o *FindSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *FindSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *FindSnapshotsParams) WithBody(body *models.V1SnapshotFindRequest) *FindSnapshotsParams
- func (o *FindSnapshotsParams) WithContext(ctx context.Context) *FindSnapshotsParams
- func (o *FindSnapshotsParams) WithDefaults() *FindSnapshotsParams
- func (o *FindSnapshotsParams) WithHTTPClient(client *http.Client) *FindSnapshotsParams
- func (o *FindSnapshotsParams) WithTimeout(timeout time.Duration) *FindSnapshotsParams
- func (o *FindSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindSnapshotsReader
- type FindVolumesDefault
- func (o *FindVolumesDefault) Code() int
- func (o *FindVolumesDefault) Error() string
- func (o *FindVolumesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindVolumesDefault) IsClientError() bool
- func (o *FindVolumesDefault) IsCode(code int) bool
- func (o *FindVolumesDefault) IsRedirect() bool
- func (o *FindVolumesDefault) IsServerError() bool
- func (o *FindVolumesDefault) IsSuccess() bool
- func (o *FindVolumesDefault) String() string
- type FindVolumesOK
- func (o *FindVolumesOK) Code() int
- func (o *FindVolumesOK) Error() string
- func (o *FindVolumesOK) GetPayload() []*models.V1VolumeResponse
- func (o *FindVolumesOK) IsClientError() bool
- func (o *FindVolumesOK) IsCode(code int) bool
- func (o *FindVolumesOK) IsRedirect() bool
- func (o *FindVolumesOK) IsServerError() bool
- func (o *FindVolumesOK) IsSuccess() bool
- func (o *FindVolumesOK) String() string
- type FindVolumesParams
- func (o *FindVolumesParams) SetBody(body *models.V1VolumeFindRequest)
- func (o *FindVolumesParams) SetContext(ctx context.Context)
- func (o *FindVolumesParams) SetDefaults()
- func (o *FindVolumesParams) SetHTTPClient(client *http.Client)
- func (o *FindVolumesParams) SetTimeout(timeout time.Duration)
- func (o *FindVolumesParams) WithBody(body *models.V1VolumeFindRequest) *FindVolumesParams
- func (o *FindVolumesParams) WithContext(ctx context.Context) *FindVolumesParams
- func (o *FindVolumesParams) WithDefaults() *FindVolumesParams
- func (o *FindVolumesParams) WithHTTPClient(client *http.Client) *FindVolumesParams
- func (o *FindVolumesParams) WithTimeout(timeout time.Duration) *FindVolumesParams
- func (o *FindVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindVolumesReader
- type GetSnapshotDefault
- func (o *GetSnapshotDefault) Code() int
- func (o *GetSnapshotDefault) Error() string
- func (o *GetSnapshotDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetSnapshotDefault) IsClientError() bool
- func (o *GetSnapshotDefault) IsCode(code int) bool
- func (o *GetSnapshotDefault) IsRedirect() bool
- func (o *GetSnapshotDefault) IsServerError() bool
- func (o *GetSnapshotDefault) IsSuccess() bool
- func (o *GetSnapshotDefault) String() string
- type GetSnapshotOK
- func (o *GetSnapshotOK) Code() int
- func (o *GetSnapshotOK) Error() string
- func (o *GetSnapshotOK) GetPayload() *models.V1SnapshotResponse
- func (o *GetSnapshotOK) IsClientError() bool
- func (o *GetSnapshotOK) IsCode(code int) bool
- func (o *GetSnapshotOK) IsRedirect() bool
- func (o *GetSnapshotOK) IsServerError() bool
- func (o *GetSnapshotOK) IsSuccess() bool
- func (o *GetSnapshotOK) String() string
- type GetSnapshotParams
- func (o *GetSnapshotParams) SetContext(ctx context.Context)
- func (o *GetSnapshotParams) SetDefaults()
- func (o *GetSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotParams) SetID(id string)
- func (o *GetSnapshotParams) SetProjectID(projectID *string)
- func (o *GetSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotParams) WithContext(ctx context.Context) *GetSnapshotParams
- func (o *GetSnapshotParams) WithDefaults() *GetSnapshotParams
- func (o *GetSnapshotParams) WithHTTPClient(client *http.Client) *GetSnapshotParams
- func (o *GetSnapshotParams) WithID(id string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithProjectID(projectID *string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithTimeout(timeout time.Duration) *GetSnapshotParams
- func (o *GetSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotReader
- type GetVolumeDefault
- func (o *GetVolumeDefault) Code() int
- func (o *GetVolumeDefault) Error() string
- func (o *GetVolumeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetVolumeDefault) IsClientError() bool
- func (o *GetVolumeDefault) IsCode(code int) bool
- func (o *GetVolumeDefault) IsRedirect() bool
- func (o *GetVolumeDefault) IsServerError() bool
- func (o *GetVolumeDefault) IsSuccess() bool
- func (o *GetVolumeDefault) String() string
- type GetVolumeOK
- func (o *GetVolumeOK) Code() int
- func (o *GetVolumeOK) Error() string
- func (o *GetVolumeOK) GetPayload() *models.V1VolumeResponse
- func (o *GetVolumeOK) IsClientError() bool
- func (o *GetVolumeOK) IsCode(code int) bool
- func (o *GetVolumeOK) IsRedirect() bool
- func (o *GetVolumeOK) IsServerError() bool
- func (o *GetVolumeOK) IsSuccess() bool
- func (o *GetVolumeOK) String() string
- type GetVolumeParams
- func (o *GetVolumeParams) SetContext(ctx context.Context)
- func (o *GetVolumeParams) SetDefaults()
- func (o *GetVolumeParams) SetHTTPClient(client *http.Client)
- func (o *GetVolumeParams) SetID(id string)
- func (o *GetVolumeParams) SetTimeout(timeout time.Duration)
- func (o *GetVolumeParams) WithContext(ctx context.Context) *GetVolumeParams
- func (o *GetVolumeParams) WithDefaults() *GetVolumeParams
- func (o *GetVolumeParams) WithHTTPClient(client *http.Client) *GetVolumeParams
- func (o *GetVolumeParams) WithID(id string) *GetVolumeParams
- func (o *GetVolumeParams) WithTimeout(timeout time.Duration) *GetVolumeParams
- func (o *GetVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVolumeReader
- type ListPoliciesDefault
- func (o *ListPoliciesDefault) Code() int
- func (o *ListPoliciesDefault) Error() string
- func (o *ListPoliciesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListPoliciesDefault) IsClientError() bool
- func (o *ListPoliciesDefault) IsCode(code int) bool
- func (o *ListPoliciesDefault) IsRedirect() bool
- func (o *ListPoliciesDefault) IsServerError() bool
- func (o *ListPoliciesDefault) IsSuccess() bool
- func (o *ListPoliciesDefault) String() string
- type ListPoliciesOK
- func (o *ListPoliciesOK) Code() int
- func (o *ListPoliciesOK) Error() string
- func (o *ListPoliciesOK) GetPayload() []*models.V1QoSPolicyResponse
- func (o *ListPoliciesOK) IsClientError() bool
- func (o *ListPoliciesOK) IsCode(code int) bool
- func (o *ListPoliciesOK) IsRedirect() bool
- func (o *ListPoliciesOK) IsServerError() bool
- func (o *ListPoliciesOK) IsSuccess() bool
- func (o *ListPoliciesOK) String() string
- type ListPoliciesParams
- func (o *ListPoliciesParams) SetContext(ctx context.Context)
- func (o *ListPoliciesParams) SetDefaults()
- func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
- func (o *ListPoliciesParams) WithDefaults() *ListPoliciesParams
- func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
- func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
- func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPoliciesReader
- type ListVolumesDefault
- func (o *ListVolumesDefault) Code() int
- func (o *ListVolumesDefault) Error() string
- func (o *ListVolumesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListVolumesDefault) IsClientError() bool
- func (o *ListVolumesDefault) IsCode(code int) bool
- func (o *ListVolumesDefault) IsRedirect() bool
- func (o *ListVolumesDefault) IsServerError() bool
- func (o *ListVolumesDefault) IsSuccess() bool
- func (o *ListVolumesDefault) String() string
- type ListVolumesOK
- func (o *ListVolumesOK) Code() int
- func (o *ListVolumesOK) Error() string
- func (o *ListVolumesOK) GetPayload() []*models.V1VolumeResponse
- func (o *ListVolumesOK) IsClientError() bool
- func (o *ListVolumesOK) IsCode(code int) bool
- func (o *ListVolumesOK) IsRedirect() bool
- func (o *ListVolumesOK) IsServerError() bool
- func (o *ListVolumesOK) IsSuccess() bool
- func (o *ListVolumesOK) String() string
- type ListVolumesParams
- func (o *ListVolumesParams) SetContext(ctx context.Context)
- func (o *ListVolumesParams) SetDefaults()
- func (o *ListVolumesParams) SetHTTPClient(client *http.Client)
- func (o *ListVolumesParams) SetTimeout(timeout time.Duration)
- func (o *ListVolumesParams) WithContext(ctx context.Context) *ListVolumesParams
- func (o *ListVolumesParams) WithDefaults() *ListVolumesParams
- func (o *ListVolumesParams) WithHTTPClient(client *http.Client) *ListVolumesParams
- func (o *ListVolumesParams) WithTimeout(timeout time.Duration) *ListVolumesParams
- func (o *ListVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVolumesReader
- type SetVolumeQoSPolicyDefault
- func (o *SetVolumeQoSPolicyDefault) Code() int
- func (o *SetVolumeQoSPolicyDefault) Error() string
- func (o *SetVolumeQoSPolicyDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *SetVolumeQoSPolicyDefault) IsClientError() bool
- func (o *SetVolumeQoSPolicyDefault) IsCode(code int) bool
- func (o *SetVolumeQoSPolicyDefault) IsRedirect() bool
- func (o *SetVolumeQoSPolicyDefault) IsServerError() bool
- func (o *SetVolumeQoSPolicyDefault) IsSuccess() bool
- func (o *SetVolumeQoSPolicyDefault) String() string
- type SetVolumeQoSPolicyOK
- func (o *SetVolumeQoSPolicyOK) Code() int
- func (o *SetVolumeQoSPolicyOK) Error() string
- func (o *SetVolumeQoSPolicyOK) GetPayload() *models.V1VolumeResponse
- func (o *SetVolumeQoSPolicyOK) IsClientError() bool
- func (o *SetVolumeQoSPolicyOK) IsCode(code int) bool
- func (o *SetVolumeQoSPolicyOK) IsRedirect() bool
- func (o *SetVolumeQoSPolicyOK) IsServerError() bool
- func (o *SetVolumeQoSPolicyOK) IsSuccess() bool
- func (o *SetVolumeQoSPolicyOK) String() string
- type SetVolumeQoSPolicyParams
- func NewSetVolumeQoSPolicyParams() *SetVolumeQoSPolicyParams
- func NewSetVolumeQoSPolicyParamsWithContext(ctx context.Context) *SetVolumeQoSPolicyParams
- func NewSetVolumeQoSPolicyParamsWithHTTPClient(client *http.Client) *SetVolumeQoSPolicyParams
- func NewSetVolumeQoSPolicyParamsWithTimeout(timeout time.Duration) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) SetBody(body *models.V1VolumeSetQoSPolicyRequest)
- func (o *SetVolumeQoSPolicyParams) SetContext(ctx context.Context)
- func (o *SetVolumeQoSPolicyParams) SetDefaults()
- func (o *SetVolumeQoSPolicyParams) SetHTTPClient(client *http.Client)
- func (o *SetVolumeQoSPolicyParams) SetID(id string)
- func (o *SetVolumeQoSPolicyParams) SetTimeout(timeout time.Duration)
- func (o *SetVolumeQoSPolicyParams) WithBody(body *models.V1VolumeSetQoSPolicyRequest) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WithContext(ctx context.Context) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WithDefaults() *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WithHTTPClient(client *http.Client) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WithID(id string) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WithTimeout(timeout time.Duration) *SetVolumeQoSPolicyParams
- func (o *SetVolumeQoSPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetVolumeQoSPolicyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for volume API
func (*Client) ClusterInfo ¶ added in v0.17.3
func (a *Client) ClusterInfo(params *ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterInfoOK, error)
ClusterInfo returns info and status to connected storage clusters
func (*Client) DeleteSnapshot ¶ added in v0.20.0
func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotOK, error)
DeleteSnapshot deletes a snapshot including all data
func (*Client) DeleteVolume ¶
func (a *Client) DeleteVolume(params *DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVolumeOK, error)
DeleteVolume deletes a volume including all data
func (*Client) FindSnapshots ¶ added in v0.20.0
func (a *Client) FindSnapshots(params *FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSnapshotsOK, error)
FindSnapshots finds snapshots by multiple criteria
func (*Client) FindVolumes ¶
func (a *Client) FindVolumes(params *FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindVolumesOK, error)
FindVolumes finds volumes by multiple criteria
func (*Client) GetSnapshot ¶ added in v0.20.0
func (a *Client) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotOK, error)
GetSnapshot gets a snapshot
func (*Client) GetVolume ¶ added in v0.17.15
func (a *Client) GetVolume(params *GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVolumeOK, error)
GetVolume gets a volume
func (*Client) ListPolicies ¶ added in v0.26.5
func (a *Client) ListPolicies(params *ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoliciesOK, error)
ListPolicies gets all policies
func (*Client) ListVolumes ¶
func (a *Client) ListVolumes(params *ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVolumesOK, error)
ListVolumes gets all volumes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SetVolumeQoSPolicy ¶ added in v0.26.5
func (a *Client) SetVolumeQoSPolicy(params *SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetVolumeQoSPolicyOK, error)
SetVolumeQoSPolicy updates volume qos policy
type ClientOption ¶ added in v0.15.4
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { ClusterInfo(params *ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterInfoOK, error) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotOK, error) DeleteVolume(params *DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVolumeOK, error) FindSnapshots(params *FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSnapshotsOK, error) FindVolumes(params *FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindVolumesOK, error) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotOK, error) GetVolume(params *GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVolumeOK, error) ListPolicies(params *ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoliciesOK, error) ListVolumes(params *ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVolumesOK, error) SetVolumeQoSPolicy(params *SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetVolumeQoSPolicyOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new volume API client.
func NewClientWithBasicAuth ¶ added in v0.26.8
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new volume API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.26.8
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new volume API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type ClusterInfoDefault ¶ added in v0.17.3
type ClusterInfoDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ClusterInfoDefault describes a response with status code -1, with default header values.
Error
func NewClusterInfoDefault ¶ added in v0.17.3
func NewClusterInfoDefault(code int) *ClusterInfoDefault
NewClusterInfoDefault creates a ClusterInfoDefault with default headers values
func (*ClusterInfoDefault) Code ¶ added in v0.17.3
func (o *ClusterInfoDefault) Code() int
Code gets the status code for the cluster info default response
func (*ClusterInfoDefault) Error ¶ added in v0.17.3
func (o *ClusterInfoDefault) Error() string
func (*ClusterInfoDefault) GetPayload ¶ added in v0.17.3
func (o *ClusterInfoDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ClusterInfoDefault) IsClientError ¶ added in v0.19.0
func (o *ClusterInfoDefault) IsClientError() bool
IsClientError returns true when this cluster info default response has a 4xx status code
func (*ClusterInfoDefault) IsCode ¶ added in v0.19.0
func (o *ClusterInfoDefault) IsCode(code int) bool
IsCode returns true when this cluster info default response a status code equal to that given
func (*ClusterInfoDefault) IsRedirect ¶ added in v0.19.0
func (o *ClusterInfoDefault) IsRedirect() bool
IsRedirect returns true when this cluster info default response has a 3xx status code
func (*ClusterInfoDefault) IsServerError ¶ added in v0.19.0
func (o *ClusterInfoDefault) IsServerError() bool
IsServerError returns true when this cluster info default response has a 5xx status code
func (*ClusterInfoDefault) IsSuccess ¶ added in v0.19.0
func (o *ClusterInfoDefault) IsSuccess() bool
IsSuccess returns true when this cluster info default response has a 2xx status code
func (*ClusterInfoDefault) String ¶ added in v0.19.0
func (o *ClusterInfoDefault) String() string
type ClusterInfoOK ¶ added in v0.17.3
type ClusterInfoOK struct {
Payload []*models.V1StorageClusterInfo
}
ClusterInfoOK describes a response with status code 200, with default header values.
OK
func NewClusterInfoOK ¶ added in v0.17.3
func NewClusterInfoOK() *ClusterInfoOK
NewClusterInfoOK creates a ClusterInfoOK with default headers values
func (*ClusterInfoOK) Code ¶ added in v0.20.11
func (o *ClusterInfoOK) Code() int
Code gets the status code for the cluster info o k response
func (*ClusterInfoOK) Error ¶ added in v0.17.3
func (o *ClusterInfoOK) Error() string
func (*ClusterInfoOK) GetPayload ¶ added in v0.17.3
func (o *ClusterInfoOK) GetPayload() []*models.V1StorageClusterInfo
func (*ClusterInfoOK) IsClientError ¶ added in v0.19.0
func (o *ClusterInfoOK) IsClientError() bool
IsClientError returns true when this cluster info o k response has a 4xx status code
func (*ClusterInfoOK) IsCode ¶ added in v0.19.0
func (o *ClusterInfoOK) IsCode(code int) bool
IsCode returns true when this cluster info o k response a status code equal to that given
func (*ClusterInfoOK) IsRedirect ¶ added in v0.19.0
func (o *ClusterInfoOK) IsRedirect() bool
IsRedirect returns true when this cluster info o k response has a 3xx status code
func (*ClusterInfoOK) IsServerError ¶ added in v0.19.0
func (o *ClusterInfoOK) IsServerError() bool
IsServerError returns true when this cluster info o k response has a 5xx status code
func (*ClusterInfoOK) IsSuccess ¶ added in v0.19.0
func (o *ClusterInfoOK) IsSuccess() bool
IsSuccess returns true when this cluster info o k response has a 2xx status code
func (*ClusterInfoOK) String ¶ added in v0.19.0
func (o *ClusterInfoOK) String() string
type ClusterInfoParams ¶ added in v0.17.3
type ClusterInfoParams struct { /* Partitionid. identifier of the partition */ Partitionid *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterInfoParams contains all the parameters to send to the API endpoint
for the cluster info operation. Typically these are written to a http.Request.
func NewClusterInfoParams ¶ added in v0.17.3
func NewClusterInfoParams() *ClusterInfoParams
NewClusterInfoParams creates a new ClusterInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewClusterInfoParamsWithContext ¶ added in v0.17.3
func NewClusterInfoParamsWithContext(ctx context.Context) *ClusterInfoParams
NewClusterInfoParamsWithContext creates a new ClusterInfoParams object with the ability to set a context for a request.
func NewClusterInfoParamsWithHTTPClient ¶ added in v0.17.3
func NewClusterInfoParamsWithHTTPClient(client *http.Client) *ClusterInfoParams
NewClusterInfoParamsWithHTTPClient creates a new ClusterInfoParams object with the ability to set a custom HTTPClient for a request.
func NewClusterInfoParamsWithTimeout ¶ added in v0.17.3
func NewClusterInfoParamsWithTimeout(timeout time.Duration) *ClusterInfoParams
NewClusterInfoParamsWithTimeout creates a new ClusterInfoParams object with the ability to set a timeout on a request.
func (*ClusterInfoParams) SetContext ¶ added in v0.17.3
func (o *ClusterInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster info params
func (*ClusterInfoParams) SetDefaults ¶ added in v0.17.3
func (o *ClusterInfoParams) SetDefaults()
SetDefaults hydrates default values in the cluster info params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterInfoParams) SetHTTPClient ¶ added in v0.17.3
func (o *ClusterInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster info params
func (*ClusterInfoParams) SetPartitionid ¶ added in v0.17.15
func (o *ClusterInfoParams) SetPartitionid(partitionid *string)
SetPartitionid adds the partitionid to the cluster info params
func (*ClusterInfoParams) SetTimeout ¶ added in v0.17.3
func (o *ClusterInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster info params
func (*ClusterInfoParams) WithContext ¶ added in v0.17.3
func (o *ClusterInfoParams) WithContext(ctx context.Context) *ClusterInfoParams
WithContext adds the context to the cluster info params
func (*ClusterInfoParams) WithDefaults ¶ added in v0.17.3
func (o *ClusterInfoParams) WithDefaults() *ClusterInfoParams
WithDefaults hydrates default values in the cluster info params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterInfoParams) WithHTTPClient ¶ added in v0.17.3
func (o *ClusterInfoParams) WithHTTPClient(client *http.Client) *ClusterInfoParams
WithHTTPClient adds the HTTPClient to the cluster info params
func (*ClusterInfoParams) WithPartitionid ¶ added in v0.17.15
func (o *ClusterInfoParams) WithPartitionid(partitionid *string) *ClusterInfoParams
WithPartitionid adds the partitionid to the cluster info params
func (*ClusterInfoParams) WithTimeout ¶ added in v0.17.3
func (o *ClusterInfoParams) WithTimeout(timeout time.Duration) *ClusterInfoParams
WithTimeout adds the timeout to the cluster info params
func (*ClusterInfoParams) WriteToRequest ¶ added in v0.17.3
func (o *ClusterInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterInfoReader ¶ added in v0.17.3
type ClusterInfoReader struct {
// contains filtered or unexported fields
}
ClusterInfoReader is a Reader for the ClusterInfo structure.
func (*ClusterInfoReader) ReadResponse ¶ added in v0.17.3
func (o *ClusterInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSnapshotDefault ¶ added in v0.20.0
type DeleteSnapshotDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteSnapshotDefault describes a response with status code -1, with default header values.
Error
func NewDeleteSnapshotDefault ¶ added in v0.20.0
func NewDeleteSnapshotDefault(code int) *DeleteSnapshotDefault
NewDeleteSnapshotDefault creates a DeleteSnapshotDefault with default headers values
func (*DeleteSnapshotDefault) Code ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) Code() int
Code gets the status code for the delete snapshot default response
func (*DeleteSnapshotDefault) Error ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) Error() string
func (*DeleteSnapshotDefault) GetPayload ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteSnapshotDefault) IsClientError ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) IsClientError() bool
IsClientError returns true when this delete snapshot default response has a 4xx status code
func (*DeleteSnapshotDefault) IsCode ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) IsCode(code int) bool
IsCode returns true when this delete snapshot default response a status code equal to that given
func (*DeleteSnapshotDefault) IsRedirect ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this delete snapshot default response has a 3xx status code
func (*DeleteSnapshotDefault) IsServerError ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) IsServerError() bool
IsServerError returns true when this delete snapshot default response has a 5xx status code
func (*DeleteSnapshotDefault) IsSuccess ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this delete snapshot default response has a 2xx status code
func (*DeleteSnapshotDefault) String ¶ added in v0.20.0
func (o *DeleteSnapshotDefault) String() string
type DeleteSnapshotOK ¶ added in v0.20.0
type DeleteSnapshotOK struct {
Payload *models.V1SnapshotResponse
}
DeleteSnapshotOK describes a response with status code 200, with default header values.
OK
func NewDeleteSnapshotOK ¶ added in v0.20.0
func NewDeleteSnapshotOK() *DeleteSnapshotOK
NewDeleteSnapshotOK creates a DeleteSnapshotOK with default headers values
func (*DeleteSnapshotOK) Code ¶ added in v0.20.11
func (o *DeleteSnapshotOK) Code() int
Code gets the status code for the delete snapshot o k response
func (*DeleteSnapshotOK) Error ¶ added in v0.20.0
func (o *DeleteSnapshotOK) Error() string
func (*DeleteSnapshotOK) GetPayload ¶ added in v0.20.0
func (o *DeleteSnapshotOK) GetPayload() *models.V1SnapshotResponse
func (*DeleteSnapshotOK) IsClientError ¶ added in v0.20.0
func (o *DeleteSnapshotOK) IsClientError() bool
IsClientError returns true when this delete snapshot o k response has a 4xx status code
func (*DeleteSnapshotOK) IsCode ¶ added in v0.20.0
func (o *DeleteSnapshotOK) IsCode(code int) bool
IsCode returns true when this delete snapshot o k response a status code equal to that given
func (*DeleteSnapshotOK) IsRedirect ¶ added in v0.20.0
func (o *DeleteSnapshotOK) IsRedirect() bool
IsRedirect returns true when this delete snapshot o k response has a 3xx status code
func (*DeleteSnapshotOK) IsServerError ¶ added in v0.20.0
func (o *DeleteSnapshotOK) IsServerError() bool
IsServerError returns true when this delete snapshot o k response has a 5xx status code
func (*DeleteSnapshotOK) IsSuccess ¶ added in v0.20.0
func (o *DeleteSnapshotOK) IsSuccess() bool
IsSuccess returns true when this delete snapshot o k response has a 2xx status code
func (*DeleteSnapshotOK) String ¶ added in v0.20.0
func (o *DeleteSnapshotOK) String() string
type DeleteSnapshotParams ¶ added in v0.20.0
type DeleteSnapshotParams struct { /* ID. id of the snapshot */ ID string /* ProjectID. project id snapshot */ ProjectID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSnapshotParams contains all the parameters to send to the API endpoint
for the delete snapshot operation. Typically these are written to a http.Request.
func NewDeleteSnapshotParams ¶ added in v0.20.0
func NewDeleteSnapshotParams() *DeleteSnapshotParams
NewDeleteSnapshotParams creates a new DeleteSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSnapshotParamsWithContext ¶ added in v0.20.0
func NewDeleteSnapshotParamsWithContext(ctx context.Context) *DeleteSnapshotParams
NewDeleteSnapshotParamsWithContext creates a new DeleteSnapshotParams object with the ability to set a context for a request.
func NewDeleteSnapshotParamsWithHTTPClient ¶ added in v0.20.0
func NewDeleteSnapshotParamsWithHTTPClient(client *http.Client) *DeleteSnapshotParams
NewDeleteSnapshotParamsWithHTTPClient creates a new DeleteSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSnapshotParamsWithTimeout ¶ added in v0.20.0
func NewDeleteSnapshotParamsWithTimeout(timeout time.Duration) *DeleteSnapshotParams
NewDeleteSnapshotParamsWithTimeout creates a new DeleteSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteSnapshotParams) SetContext ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete snapshot params
func (*DeleteSnapshotParams) SetDefaults ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotParams) SetHTTPClient ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete snapshot params
func (*DeleteSnapshotParams) SetID ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetID(id string)
SetID adds the id to the delete snapshot params
func (*DeleteSnapshotParams) SetProjectID ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the delete snapshot params
func (*DeleteSnapshotParams) SetTimeout ¶ added in v0.20.0
func (o *DeleteSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete snapshot params
func (*DeleteSnapshotParams) WithContext ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithContext(ctx context.Context) *DeleteSnapshotParams
WithContext adds the context to the delete snapshot params
func (*DeleteSnapshotParams) WithDefaults ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithDefaults() *DeleteSnapshotParams
WithDefaults hydrates default values in the delete snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotParams) WithHTTPClient ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithHTTPClient(client *http.Client) *DeleteSnapshotParams
WithHTTPClient adds the HTTPClient to the delete snapshot params
func (*DeleteSnapshotParams) WithID ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithID(id string) *DeleteSnapshotParams
WithID adds the id to the delete snapshot params
func (*DeleteSnapshotParams) WithProjectID ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithProjectID(projectID *string) *DeleteSnapshotParams
WithProjectID adds the projectID to the delete snapshot params
func (*DeleteSnapshotParams) WithTimeout ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WithTimeout(timeout time.Duration) *DeleteSnapshotParams
WithTimeout adds the timeout to the delete snapshot params
func (*DeleteSnapshotParams) WriteToRequest ¶ added in v0.20.0
func (o *DeleteSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnapshotReader ¶ added in v0.20.0
type DeleteSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteSnapshotReader is a Reader for the DeleteSnapshot structure.
func (*DeleteSnapshotReader) ReadResponse ¶ added in v0.20.0
func (o *DeleteSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVolumeDefault ¶
type DeleteVolumeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteVolumeDefault describes a response with status code -1, with default header values.
Error
func NewDeleteVolumeDefault ¶
func NewDeleteVolumeDefault(code int) *DeleteVolumeDefault
NewDeleteVolumeDefault creates a DeleteVolumeDefault with default headers values
func (*DeleteVolumeDefault) Code ¶
func (o *DeleteVolumeDefault) Code() int
Code gets the status code for the delete volume default response
func (*DeleteVolumeDefault) Error ¶
func (o *DeleteVolumeDefault) Error() string
func (*DeleteVolumeDefault) GetPayload ¶
func (o *DeleteVolumeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteVolumeDefault) IsClientError ¶ added in v0.19.0
func (o *DeleteVolumeDefault) IsClientError() bool
IsClientError returns true when this delete volume default response has a 4xx status code
func (*DeleteVolumeDefault) IsCode ¶ added in v0.19.0
func (o *DeleteVolumeDefault) IsCode(code int) bool
IsCode returns true when this delete volume default response a status code equal to that given
func (*DeleteVolumeDefault) IsRedirect ¶ added in v0.19.0
func (o *DeleteVolumeDefault) IsRedirect() bool
IsRedirect returns true when this delete volume default response has a 3xx status code
func (*DeleteVolumeDefault) IsServerError ¶ added in v0.19.0
func (o *DeleteVolumeDefault) IsServerError() bool
IsServerError returns true when this delete volume default response has a 5xx status code
func (*DeleteVolumeDefault) IsSuccess ¶ added in v0.19.0
func (o *DeleteVolumeDefault) IsSuccess() bool
IsSuccess returns true when this delete volume default response has a 2xx status code
func (*DeleteVolumeDefault) String ¶ added in v0.19.0
func (o *DeleteVolumeDefault) String() string
type DeleteVolumeOK ¶
type DeleteVolumeOK struct {
Payload *models.V1VolumeResponse
}
DeleteVolumeOK describes a response with status code 200, with default header values.
OK
func NewDeleteVolumeOK ¶
func NewDeleteVolumeOK() *DeleteVolumeOK
NewDeleteVolumeOK creates a DeleteVolumeOK with default headers values
func (*DeleteVolumeOK) Code ¶ added in v0.20.11
func (o *DeleteVolumeOK) Code() int
Code gets the status code for the delete volume o k response
func (*DeleteVolumeOK) Error ¶
func (o *DeleteVolumeOK) Error() string
func (*DeleteVolumeOK) GetPayload ¶
func (o *DeleteVolumeOK) GetPayload() *models.V1VolumeResponse
func (*DeleteVolumeOK) IsClientError ¶ added in v0.19.0
func (o *DeleteVolumeOK) IsClientError() bool
IsClientError returns true when this delete volume o k response has a 4xx status code
func (*DeleteVolumeOK) IsCode ¶ added in v0.19.0
func (o *DeleteVolumeOK) IsCode(code int) bool
IsCode returns true when this delete volume o k response a status code equal to that given
func (*DeleteVolumeOK) IsRedirect ¶ added in v0.19.0
func (o *DeleteVolumeOK) IsRedirect() bool
IsRedirect returns true when this delete volume o k response has a 3xx status code
func (*DeleteVolumeOK) IsServerError ¶ added in v0.19.0
func (o *DeleteVolumeOK) IsServerError() bool
IsServerError returns true when this delete volume o k response has a 5xx status code
func (*DeleteVolumeOK) IsSuccess ¶ added in v0.19.0
func (o *DeleteVolumeOK) IsSuccess() bool
IsSuccess returns true when this delete volume o k response has a 2xx status code
func (*DeleteVolumeOK) String ¶ added in v0.19.0
func (o *DeleteVolumeOK) String() string
type DeleteVolumeParams ¶
type DeleteVolumeParams struct { /* ID. id of the volume */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVolumeParams contains all the parameters to send to the API endpoint
for the delete volume operation. Typically these are written to a http.Request.
func NewDeleteVolumeParams ¶
func NewDeleteVolumeParams() *DeleteVolumeParams
NewDeleteVolumeParams creates a new DeleteVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVolumeParamsWithContext ¶
func NewDeleteVolumeParamsWithContext(ctx context.Context) *DeleteVolumeParams
NewDeleteVolumeParamsWithContext creates a new DeleteVolumeParams object with the ability to set a context for a request.
func NewDeleteVolumeParamsWithHTTPClient ¶
func NewDeleteVolumeParamsWithHTTPClient(client *http.Client) *DeleteVolumeParams
NewDeleteVolumeParamsWithHTTPClient creates a new DeleteVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVolumeParamsWithTimeout ¶
func NewDeleteVolumeParamsWithTimeout(timeout time.Duration) *DeleteVolumeParams
NewDeleteVolumeParamsWithTimeout creates a new DeleteVolumeParams object with the ability to set a timeout on a request.
func (*DeleteVolumeParams) SetContext ¶
func (o *DeleteVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete volume params
func (*DeleteVolumeParams) SetDefaults ¶
func (o *DeleteVolumeParams) SetDefaults()
SetDefaults hydrates default values in the delete volume params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVolumeParams) SetHTTPClient ¶
func (o *DeleteVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete volume params
func (*DeleteVolumeParams) SetID ¶
func (o *DeleteVolumeParams) SetID(id string)
SetID adds the id to the delete volume params
func (*DeleteVolumeParams) SetTimeout ¶
func (o *DeleteVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete volume params
func (*DeleteVolumeParams) WithContext ¶
func (o *DeleteVolumeParams) WithContext(ctx context.Context) *DeleteVolumeParams
WithContext adds the context to the delete volume params
func (*DeleteVolumeParams) WithDefaults ¶
func (o *DeleteVolumeParams) WithDefaults() *DeleteVolumeParams
WithDefaults hydrates default values in the delete volume params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVolumeParams) WithHTTPClient ¶
func (o *DeleteVolumeParams) WithHTTPClient(client *http.Client) *DeleteVolumeParams
WithHTTPClient adds the HTTPClient to the delete volume params
func (*DeleteVolumeParams) WithID ¶
func (o *DeleteVolumeParams) WithID(id string) *DeleteVolumeParams
WithID adds the id to the delete volume params
func (*DeleteVolumeParams) WithTimeout ¶
func (o *DeleteVolumeParams) WithTimeout(timeout time.Duration) *DeleteVolumeParams
WithTimeout adds the timeout to the delete volume params
func (*DeleteVolumeParams) WriteToRequest ¶
func (o *DeleteVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVolumeReader ¶
type DeleteVolumeReader struct {
// contains filtered or unexported fields
}
DeleteVolumeReader is a Reader for the DeleteVolume structure.
func (*DeleteVolumeReader) ReadResponse ¶
func (o *DeleteVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindSnapshotsDefault ¶ added in v0.20.0
type FindSnapshotsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindSnapshotsDefault describes a response with status code -1, with default header values.
Error
func NewFindSnapshotsDefault ¶ added in v0.20.0
func NewFindSnapshotsDefault(code int) *FindSnapshotsDefault
NewFindSnapshotsDefault creates a FindSnapshotsDefault with default headers values
func (*FindSnapshotsDefault) Code ¶ added in v0.20.0
func (o *FindSnapshotsDefault) Code() int
Code gets the status code for the find snapshots default response
func (*FindSnapshotsDefault) Error ¶ added in v0.20.0
func (o *FindSnapshotsDefault) Error() string
func (*FindSnapshotsDefault) GetPayload ¶ added in v0.20.0
func (o *FindSnapshotsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindSnapshotsDefault) IsClientError ¶ added in v0.20.0
func (o *FindSnapshotsDefault) IsClientError() bool
IsClientError returns true when this find snapshots default response has a 4xx status code
func (*FindSnapshotsDefault) IsCode ¶ added in v0.20.0
func (o *FindSnapshotsDefault) IsCode(code int) bool
IsCode returns true when this find snapshots default response a status code equal to that given
func (*FindSnapshotsDefault) IsRedirect ¶ added in v0.20.0
func (o *FindSnapshotsDefault) IsRedirect() bool
IsRedirect returns true when this find snapshots default response has a 3xx status code
func (*FindSnapshotsDefault) IsServerError ¶ added in v0.20.0
func (o *FindSnapshotsDefault) IsServerError() bool
IsServerError returns true when this find snapshots default response has a 5xx status code
func (*FindSnapshotsDefault) IsSuccess ¶ added in v0.20.0
func (o *FindSnapshotsDefault) IsSuccess() bool
IsSuccess returns true when this find snapshots default response has a 2xx status code
func (*FindSnapshotsDefault) String ¶ added in v0.20.0
func (o *FindSnapshotsDefault) String() string
type FindSnapshotsOK ¶ added in v0.20.0
type FindSnapshotsOK struct {
Payload []*models.V1SnapshotResponse
}
FindSnapshotsOK describes a response with status code 200, with default header values.
OK
func NewFindSnapshotsOK ¶ added in v0.20.0
func NewFindSnapshotsOK() *FindSnapshotsOK
NewFindSnapshotsOK creates a FindSnapshotsOK with default headers values
func (*FindSnapshotsOK) Code ¶ added in v0.20.11
func (o *FindSnapshotsOK) Code() int
Code gets the status code for the find snapshots o k response
func (*FindSnapshotsOK) Error ¶ added in v0.20.0
func (o *FindSnapshotsOK) Error() string
func (*FindSnapshotsOK) GetPayload ¶ added in v0.20.0
func (o *FindSnapshotsOK) GetPayload() []*models.V1SnapshotResponse
func (*FindSnapshotsOK) IsClientError ¶ added in v0.20.0
func (o *FindSnapshotsOK) IsClientError() bool
IsClientError returns true when this find snapshots o k response has a 4xx status code
func (*FindSnapshotsOK) IsCode ¶ added in v0.20.0
func (o *FindSnapshotsOK) IsCode(code int) bool
IsCode returns true when this find snapshots o k response a status code equal to that given
func (*FindSnapshotsOK) IsRedirect ¶ added in v0.20.0
func (o *FindSnapshotsOK) IsRedirect() bool
IsRedirect returns true when this find snapshots o k response has a 3xx status code
func (*FindSnapshotsOK) IsServerError ¶ added in v0.20.0
func (o *FindSnapshotsOK) IsServerError() bool
IsServerError returns true when this find snapshots o k response has a 5xx status code
func (*FindSnapshotsOK) IsSuccess ¶ added in v0.20.0
func (o *FindSnapshotsOK) IsSuccess() bool
IsSuccess returns true when this find snapshots o k response has a 2xx status code
func (*FindSnapshotsOK) String ¶ added in v0.20.0
func (o *FindSnapshotsOK) String() string
type FindSnapshotsParams ¶ added in v0.20.0
type FindSnapshotsParams struct { // Body. Body *models.V1SnapshotFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindSnapshotsParams contains all the parameters to send to the API endpoint
for the find snapshots operation. Typically these are written to a http.Request.
func NewFindSnapshotsParams ¶ added in v0.20.0
func NewFindSnapshotsParams() *FindSnapshotsParams
NewFindSnapshotsParams creates a new FindSnapshotsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindSnapshotsParamsWithContext ¶ added in v0.20.0
func NewFindSnapshotsParamsWithContext(ctx context.Context) *FindSnapshotsParams
NewFindSnapshotsParamsWithContext creates a new FindSnapshotsParams object with the ability to set a context for a request.
func NewFindSnapshotsParamsWithHTTPClient ¶ added in v0.20.0
func NewFindSnapshotsParamsWithHTTPClient(client *http.Client) *FindSnapshotsParams
NewFindSnapshotsParamsWithHTTPClient creates a new FindSnapshotsParams object with the ability to set a custom HTTPClient for a request.
func NewFindSnapshotsParamsWithTimeout ¶ added in v0.20.0
func NewFindSnapshotsParamsWithTimeout(timeout time.Duration) *FindSnapshotsParams
NewFindSnapshotsParamsWithTimeout creates a new FindSnapshotsParams object with the ability to set a timeout on a request.
func (*FindSnapshotsParams) SetBody ¶ added in v0.20.0
func (o *FindSnapshotsParams) SetBody(body *models.V1SnapshotFindRequest)
SetBody adds the body to the find snapshots params
func (*FindSnapshotsParams) SetContext ¶ added in v0.20.0
func (o *FindSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the find snapshots params
func (*FindSnapshotsParams) SetDefaults ¶ added in v0.20.0
func (o *FindSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the find snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*FindSnapshotsParams) SetHTTPClient ¶ added in v0.20.0
func (o *FindSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find snapshots params
func (*FindSnapshotsParams) SetTimeout ¶ added in v0.20.0
func (o *FindSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find snapshots params
func (*FindSnapshotsParams) WithBody ¶ added in v0.20.0
func (o *FindSnapshotsParams) WithBody(body *models.V1SnapshotFindRequest) *FindSnapshotsParams
WithBody adds the body to the find snapshots params
func (*FindSnapshotsParams) WithContext ¶ added in v0.20.0
func (o *FindSnapshotsParams) WithContext(ctx context.Context) *FindSnapshotsParams
WithContext adds the context to the find snapshots params
func (*FindSnapshotsParams) WithDefaults ¶ added in v0.20.0
func (o *FindSnapshotsParams) WithDefaults() *FindSnapshotsParams
WithDefaults hydrates default values in the find snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*FindSnapshotsParams) WithHTTPClient ¶ added in v0.20.0
func (o *FindSnapshotsParams) WithHTTPClient(client *http.Client) *FindSnapshotsParams
WithHTTPClient adds the HTTPClient to the find snapshots params
func (*FindSnapshotsParams) WithTimeout ¶ added in v0.20.0
func (o *FindSnapshotsParams) WithTimeout(timeout time.Duration) *FindSnapshotsParams
WithTimeout adds the timeout to the find snapshots params
func (*FindSnapshotsParams) WriteToRequest ¶ added in v0.20.0
func (o *FindSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindSnapshotsReader ¶ added in v0.20.0
type FindSnapshotsReader struct {
// contains filtered or unexported fields
}
FindSnapshotsReader is a Reader for the FindSnapshots structure.
func (*FindSnapshotsReader) ReadResponse ¶ added in v0.20.0
func (o *FindSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindVolumesDefault ¶
type FindVolumesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindVolumesDefault describes a response with status code -1, with default header values.
Error
func NewFindVolumesDefault ¶
func NewFindVolumesDefault(code int) *FindVolumesDefault
NewFindVolumesDefault creates a FindVolumesDefault with default headers values
func (*FindVolumesDefault) Code ¶
func (o *FindVolumesDefault) Code() int
Code gets the status code for the find volumes default response
func (*FindVolumesDefault) Error ¶
func (o *FindVolumesDefault) Error() string
func (*FindVolumesDefault) GetPayload ¶
func (o *FindVolumesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindVolumesDefault) IsClientError ¶ added in v0.19.0
func (o *FindVolumesDefault) IsClientError() bool
IsClientError returns true when this find volumes default response has a 4xx status code
func (*FindVolumesDefault) IsCode ¶ added in v0.19.0
func (o *FindVolumesDefault) IsCode(code int) bool
IsCode returns true when this find volumes default response a status code equal to that given
func (*FindVolumesDefault) IsRedirect ¶ added in v0.19.0
func (o *FindVolumesDefault) IsRedirect() bool
IsRedirect returns true when this find volumes default response has a 3xx status code
func (*FindVolumesDefault) IsServerError ¶ added in v0.19.0
func (o *FindVolumesDefault) IsServerError() bool
IsServerError returns true when this find volumes default response has a 5xx status code
func (*FindVolumesDefault) IsSuccess ¶ added in v0.19.0
func (o *FindVolumesDefault) IsSuccess() bool
IsSuccess returns true when this find volumes default response has a 2xx status code
func (*FindVolumesDefault) String ¶ added in v0.19.0
func (o *FindVolumesDefault) String() string
type FindVolumesOK ¶
type FindVolumesOK struct {
Payload []*models.V1VolumeResponse
}
FindVolumesOK describes a response with status code 200, with default header values.
OK
func NewFindVolumesOK ¶
func NewFindVolumesOK() *FindVolumesOK
NewFindVolumesOK creates a FindVolumesOK with default headers values
func (*FindVolumesOK) Code ¶ added in v0.20.11
func (o *FindVolumesOK) Code() int
Code gets the status code for the find volumes o k response
func (*FindVolumesOK) Error ¶
func (o *FindVolumesOK) Error() string
func (*FindVolumesOK) GetPayload ¶
func (o *FindVolumesOK) GetPayload() []*models.V1VolumeResponse
func (*FindVolumesOK) IsClientError ¶ added in v0.19.0
func (o *FindVolumesOK) IsClientError() bool
IsClientError returns true when this find volumes o k response has a 4xx status code
func (*FindVolumesOK) IsCode ¶ added in v0.19.0
func (o *FindVolumesOK) IsCode(code int) bool
IsCode returns true when this find volumes o k response a status code equal to that given
func (*FindVolumesOK) IsRedirect ¶ added in v0.19.0
func (o *FindVolumesOK) IsRedirect() bool
IsRedirect returns true when this find volumes o k response has a 3xx status code
func (*FindVolumesOK) IsServerError ¶ added in v0.19.0
func (o *FindVolumesOK) IsServerError() bool
IsServerError returns true when this find volumes o k response has a 5xx status code
func (*FindVolumesOK) IsSuccess ¶ added in v0.19.0
func (o *FindVolumesOK) IsSuccess() bool
IsSuccess returns true when this find volumes o k response has a 2xx status code
func (*FindVolumesOK) String ¶ added in v0.19.0
func (o *FindVolumesOK) String() string
type FindVolumesParams ¶
type FindVolumesParams struct { // Body. Body *models.V1VolumeFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindVolumesParams contains all the parameters to send to the API endpoint
for the find volumes operation. Typically these are written to a http.Request.
func NewFindVolumesParams ¶
func NewFindVolumesParams() *FindVolumesParams
NewFindVolumesParams creates a new FindVolumesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindVolumesParamsWithContext ¶
func NewFindVolumesParamsWithContext(ctx context.Context) *FindVolumesParams
NewFindVolumesParamsWithContext creates a new FindVolumesParams object with the ability to set a context for a request.
func NewFindVolumesParamsWithHTTPClient ¶
func NewFindVolumesParamsWithHTTPClient(client *http.Client) *FindVolumesParams
NewFindVolumesParamsWithHTTPClient creates a new FindVolumesParams object with the ability to set a custom HTTPClient for a request.
func NewFindVolumesParamsWithTimeout ¶
func NewFindVolumesParamsWithTimeout(timeout time.Duration) *FindVolumesParams
NewFindVolumesParamsWithTimeout creates a new FindVolumesParams object with the ability to set a timeout on a request.
func (*FindVolumesParams) SetBody ¶
func (o *FindVolumesParams) SetBody(body *models.V1VolumeFindRequest)
SetBody adds the body to the find volumes params
func (*FindVolumesParams) SetContext ¶
func (o *FindVolumesParams) SetContext(ctx context.Context)
SetContext adds the context to the find volumes params
func (*FindVolumesParams) SetDefaults ¶
func (o *FindVolumesParams) SetDefaults()
SetDefaults hydrates default values in the find volumes params (not the query body).
All values with no default are reset to their zero value.
func (*FindVolumesParams) SetHTTPClient ¶
func (o *FindVolumesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find volumes params
func (*FindVolumesParams) SetTimeout ¶
func (o *FindVolumesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find volumes params
func (*FindVolumesParams) WithBody ¶
func (o *FindVolumesParams) WithBody(body *models.V1VolumeFindRequest) *FindVolumesParams
WithBody adds the body to the find volumes params
func (*FindVolumesParams) WithContext ¶
func (o *FindVolumesParams) WithContext(ctx context.Context) *FindVolumesParams
WithContext adds the context to the find volumes params
func (*FindVolumesParams) WithDefaults ¶
func (o *FindVolumesParams) WithDefaults() *FindVolumesParams
WithDefaults hydrates default values in the find volumes params (not the query body).
All values with no default are reset to their zero value.
func (*FindVolumesParams) WithHTTPClient ¶
func (o *FindVolumesParams) WithHTTPClient(client *http.Client) *FindVolumesParams
WithHTTPClient adds the HTTPClient to the find volumes params
func (*FindVolumesParams) WithTimeout ¶
func (o *FindVolumesParams) WithTimeout(timeout time.Duration) *FindVolumesParams
WithTimeout adds the timeout to the find volumes params
func (*FindVolumesParams) WriteToRequest ¶
func (o *FindVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindVolumesReader ¶
type FindVolumesReader struct {
// contains filtered or unexported fields
}
FindVolumesReader is a Reader for the FindVolumes structure.
func (*FindVolumesReader) ReadResponse ¶
func (o *FindVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotDefault ¶ added in v0.20.0
type GetSnapshotDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetSnapshotDefault describes a response with status code -1, with default header values.
Error
func NewGetSnapshotDefault ¶ added in v0.20.0
func NewGetSnapshotDefault(code int) *GetSnapshotDefault
NewGetSnapshotDefault creates a GetSnapshotDefault with default headers values
func (*GetSnapshotDefault) Code ¶ added in v0.20.0
func (o *GetSnapshotDefault) Code() int
Code gets the status code for the get snapshot default response
func (*GetSnapshotDefault) Error ¶ added in v0.20.0
func (o *GetSnapshotDefault) Error() string
func (*GetSnapshotDefault) GetPayload ¶ added in v0.20.0
func (o *GetSnapshotDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetSnapshotDefault) IsClientError ¶ added in v0.20.0
func (o *GetSnapshotDefault) IsClientError() bool
IsClientError returns true when this get snapshot default response has a 4xx status code
func (*GetSnapshotDefault) IsCode ¶ added in v0.20.0
func (o *GetSnapshotDefault) IsCode(code int) bool
IsCode returns true when this get snapshot default response a status code equal to that given
func (*GetSnapshotDefault) IsRedirect ¶ added in v0.20.0
func (o *GetSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this get snapshot default response has a 3xx status code
func (*GetSnapshotDefault) IsServerError ¶ added in v0.20.0
func (o *GetSnapshotDefault) IsServerError() bool
IsServerError returns true when this get snapshot default response has a 5xx status code
func (*GetSnapshotDefault) IsSuccess ¶ added in v0.20.0
func (o *GetSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this get snapshot default response has a 2xx status code
func (*GetSnapshotDefault) String ¶ added in v0.20.0
func (o *GetSnapshotDefault) String() string
type GetSnapshotOK ¶ added in v0.20.0
type GetSnapshotOK struct {
Payload *models.V1SnapshotResponse
}
GetSnapshotOK describes a response with status code 200, with default header values.
OK
func NewGetSnapshotOK ¶ added in v0.20.0
func NewGetSnapshotOK() *GetSnapshotOK
NewGetSnapshotOK creates a GetSnapshotOK with default headers values
func (*GetSnapshotOK) Code ¶ added in v0.20.11
func (o *GetSnapshotOK) Code() int
Code gets the status code for the get snapshot o k response
func (*GetSnapshotOK) Error ¶ added in v0.20.0
func (o *GetSnapshotOK) Error() string
func (*GetSnapshotOK) GetPayload ¶ added in v0.20.0
func (o *GetSnapshotOK) GetPayload() *models.V1SnapshotResponse
func (*GetSnapshotOK) IsClientError ¶ added in v0.20.0
func (o *GetSnapshotOK) IsClientError() bool
IsClientError returns true when this get snapshot o k response has a 4xx status code
func (*GetSnapshotOK) IsCode ¶ added in v0.20.0
func (o *GetSnapshotOK) IsCode(code int) bool
IsCode returns true when this get snapshot o k response a status code equal to that given
func (*GetSnapshotOK) IsRedirect ¶ added in v0.20.0
func (o *GetSnapshotOK) IsRedirect() bool
IsRedirect returns true when this get snapshot o k response has a 3xx status code
func (*GetSnapshotOK) IsServerError ¶ added in v0.20.0
func (o *GetSnapshotOK) IsServerError() bool
IsServerError returns true when this get snapshot o k response has a 5xx status code
func (*GetSnapshotOK) IsSuccess ¶ added in v0.20.0
func (o *GetSnapshotOK) IsSuccess() bool
IsSuccess returns true when this get snapshot o k response has a 2xx status code
func (*GetSnapshotOK) String ¶ added in v0.20.0
func (o *GetSnapshotOK) String() string
type GetSnapshotParams ¶ added in v0.20.0
type GetSnapshotParams struct { /* ID. identifier of the snapshot */ ID string /* ProjectID. project id snapshot */ ProjectID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotParams contains all the parameters to send to the API endpoint
for the get snapshot operation. Typically these are written to a http.Request.
func NewGetSnapshotParams ¶ added in v0.20.0
func NewGetSnapshotParams() *GetSnapshotParams
NewGetSnapshotParams creates a new GetSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSnapshotParamsWithContext ¶ added in v0.20.0
func NewGetSnapshotParamsWithContext(ctx context.Context) *GetSnapshotParams
NewGetSnapshotParamsWithContext creates a new GetSnapshotParams object with the ability to set a context for a request.
func NewGetSnapshotParamsWithHTTPClient ¶ added in v0.20.0
func NewGetSnapshotParamsWithHTTPClient(client *http.Client) *GetSnapshotParams
NewGetSnapshotParamsWithHTTPClient creates a new GetSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotParamsWithTimeout ¶ added in v0.20.0
func NewGetSnapshotParamsWithTimeout(timeout time.Duration) *GetSnapshotParams
NewGetSnapshotParamsWithTimeout creates a new GetSnapshotParams object with the ability to set a timeout on a request.
func (*GetSnapshotParams) SetContext ¶ added in v0.20.0
func (o *GetSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot params
func (*GetSnapshotParams) SetDefaults ¶ added in v0.20.0
func (o *GetSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotParams) SetHTTPClient ¶ added in v0.20.0
func (o *GetSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot params
func (*GetSnapshotParams) SetID ¶ added in v0.20.0
func (o *GetSnapshotParams) SetID(id string)
SetID adds the id to the get snapshot params
func (*GetSnapshotParams) SetProjectID ¶ added in v0.20.0
func (o *GetSnapshotParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get snapshot params
func (*GetSnapshotParams) SetTimeout ¶ added in v0.20.0
func (o *GetSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot params
func (*GetSnapshotParams) WithContext ¶ added in v0.20.0
func (o *GetSnapshotParams) WithContext(ctx context.Context) *GetSnapshotParams
WithContext adds the context to the get snapshot params
func (*GetSnapshotParams) WithDefaults ¶ added in v0.20.0
func (o *GetSnapshotParams) WithDefaults() *GetSnapshotParams
WithDefaults hydrates default values in the get snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotParams) WithHTTPClient ¶ added in v0.20.0
func (o *GetSnapshotParams) WithHTTPClient(client *http.Client) *GetSnapshotParams
WithHTTPClient adds the HTTPClient to the get snapshot params
func (*GetSnapshotParams) WithID ¶ added in v0.20.0
func (o *GetSnapshotParams) WithID(id string) *GetSnapshotParams
WithID adds the id to the get snapshot params
func (*GetSnapshotParams) WithProjectID ¶ added in v0.20.0
func (o *GetSnapshotParams) WithProjectID(projectID *string) *GetSnapshotParams
WithProjectID adds the projectID to the get snapshot params
func (*GetSnapshotParams) WithTimeout ¶ added in v0.20.0
func (o *GetSnapshotParams) WithTimeout(timeout time.Duration) *GetSnapshotParams
WithTimeout adds the timeout to the get snapshot params
func (*GetSnapshotParams) WriteToRequest ¶ added in v0.20.0
func (o *GetSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotReader ¶ added in v0.20.0
type GetSnapshotReader struct {
// contains filtered or unexported fields
}
GetSnapshotReader is a Reader for the GetSnapshot structure.
func (*GetSnapshotReader) ReadResponse ¶ added in v0.20.0
func (o *GetSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVolumeDefault ¶ added in v0.17.15
type GetVolumeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetVolumeDefault describes a response with status code -1, with default header values.
Error
func NewGetVolumeDefault ¶ added in v0.17.15
func NewGetVolumeDefault(code int) *GetVolumeDefault
NewGetVolumeDefault creates a GetVolumeDefault with default headers values
func (*GetVolumeDefault) Code ¶ added in v0.17.15
func (o *GetVolumeDefault) Code() int
Code gets the status code for the get volume default response
func (*GetVolumeDefault) Error ¶ added in v0.17.15
func (o *GetVolumeDefault) Error() string
func (*GetVolumeDefault) GetPayload ¶ added in v0.17.15
func (o *GetVolumeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetVolumeDefault) IsClientError ¶ added in v0.19.0
func (o *GetVolumeDefault) IsClientError() bool
IsClientError returns true when this get volume default response has a 4xx status code
func (*GetVolumeDefault) IsCode ¶ added in v0.19.0
func (o *GetVolumeDefault) IsCode(code int) bool
IsCode returns true when this get volume default response a status code equal to that given
func (*GetVolumeDefault) IsRedirect ¶ added in v0.19.0
func (o *GetVolumeDefault) IsRedirect() bool
IsRedirect returns true when this get volume default response has a 3xx status code
func (*GetVolumeDefault) IsServerError ¶ added in v0.19.0
func (o *GetVolumeDefault) IsServerError() bool
IsServerError returns true when this get volume default response has a 5xx status code
func (*GetVolumeDefault) IsSuccess ¶ added in v0.19.0
func (o *GetVolumeDefault) IsSuccess() bool
IsSuccess returns true when this get volume default response has a 2xx status code
func (*GetVolumeDefault) String ¶ added in v0.19.0
func (o *GetVolumeDefault) String() string
type GetVolumeOK ¶ added in v0.17.15
type GetVolumeOK struct {
Payload *models.V1VolumeResponse
}
GetVolumeOK describes a response with status code 200, with default header values.
OK
func NewGetVolumeOK ¶ added in v0.17.15
func NewGetVolumeOK() *GetVolumeOK
NewGetVolumeOK creates a GetVolumeOK with default headers values
func (*GetVolumeOK) Code ¶ added in v0.20.11
func (o *GetVolumeOK) Code() int
Code gets the status code for the get volume o k response
func (*GetVolumeOK) Error ¶ added in v0.17.15
func (o *GetVolumeOK) Error() string
func (*GetVolumeOK) GetPayload ¶ added in v0.17.15
func (o *GetVolumeOK) GetPayload() *models.V1VolumeResponse
func (*GetVolumeOK) IsClientError ¶ added in v0.19.0
func (o *GetVolumeOK) IsClientError() bool
IsClientError returns true when this get volume o k response has a 4xx status code
func (*GetVolumeOK) IsCode ¶ added in v0.19.0
func (o *GetVolumeOK) IsCode(code int) bool
IsCode returns true when this get volume o k response a status code equal to that given
func (*GetVolumeOK) IsRedirect ¶ added in v0.19.0
func (o *GetVolumeOK) IsRedirect() bool
IsRedirect returns true when this get volume o k response has a 3xx status code
func (*GetVolumeOK) IsServerError ¶ added in v0.19.0
func (o *GetVolumeOK) IsServerError() bool
IsServerError returns true when this get volume o k response has a 5xx status code
func (*GetVolumeOK) IsSuccess ¶ added in v0.19.0
func (o *GetVolumeOK) IsSuccess() bool
IsSuccess returns true when this get volume o k response has a 2xx status code
func (*GetVolumeOK) String ¶ added in v0.19.0
func (o *GetVolumeOK) String() string
type GetVolumeParams ¶ added in v0.17.15
type GetVolumeParams struct { /* ID. identifier of the volume */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVolumeParams contains all the parameters to send to the API endpoint
for the get volume operation. Typically these are written to a http.Request.
func NewGetVolumeParams ¶ added in v0.17.15
func NewGetVolumeParams() *GetVolumeParams
NewGetVolumeParams creates a new GetVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVolumeParamsWithContext ¶ added in v0.17.15
func NewGetVolumeParamsWithContext(ctx context.Context) *GetVolumeParams
NewGetVolumeParamsWithContext creates a new GetVolumeParams object with the ability to set a context for a request.
func NewGetVolumeParamsWithHTTPClient ¶ added in v0.17.15
func NewGetVolumeParamsWithHTTPClient(client *http.Client) *GetVolumeParams
NewGetVolumeParamsWithHTTPClient creates a new GetVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewGetVolumeParamsWithTimeout ¶ added in v0.17.15
func NewGetVolumeParamsWithTimeout(timeout time.Duration) *GetVolumeParams
NewGetVolumeParamsWithTimeout creates a new GetVolumeParams object with the ability to set a timeout on a request.
func (*GetVolumeParams) SetContext ¶ added in v0.17.15
func (o *GetVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the get volume params
func (*GetVolumeParams) SetDefaults ¶ added in v0.17.15
func (o *GetVolumeParams) SetDefaults()
SetDefaults hydrates default values in the get volume params (not the query body).
All values with no default are reset to their zero value.
func (*GetVolumeParams) SetHTTPClient ¶ added in v0.17.15
func (o *GetVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get volume params
func (*GetVolumeParams) SetID ¶ added in v0.17.15
func (o *GetVolumeParams) SetID(id string)
SetID adds the id to the get volume params
func (*GetVolumeParams) SetTimeout ¶ added in v0.17.15
func (o *GetVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get volume params
func (*GetVolumeParams) WithContext ¶ added in v0.17.15
func (o *GetVolumeParams) WithContext(ctx context.Context) *GetVolumeParams
WithContext adds the context to the get volume params
func (*GetVolumeParams) WithDefaults ¶ added in v0.17.15
func (o *GetVolumeParams) WithDefaults() *GetVolumeParams
WithDefaults hydrates default values in the get volume params (not the query body).
All values with no default are reset to their zero value.
func (*GetVolumeParams) WithHTTPClient ¶ added in v0.17.15
func (o *GetVolumeParams) WithHTTPClient(client *http.Client) *GetVolumeParams
WithHTTPClient adds the HTTPClient to the get volume params
func (*GetVolumeParams) WithID ¶ added in v0.17.15
func (o *GetVolumeParams) WithID(id string) *GetVolumeParams
WithID adds the id to the get volume params
func (*GetVolumeParams) WithTimeout ¶ added in v0.17.15
func (o *GetVolumeParams) WithTimeout(timeout time.Duration) *GetVolumeParams
WithTimeout adds the timeout to the get volume params
func (*GetVolumeParams) WriteToRequest ¶ added in v0.17.15
func (o *GetVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVolumeReader ¶ added in v0.17.15
type GetVolumeReader struct {
// contains filtered or unexported fields
}
GetVolumeReader is a Reader for the GetVolume structure.
func (*GetVolumeReader) ReadResponse ¶ added in v0.17.15
func (o *GetVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPoliciesDefault ¶ added in v0.26.5
type ListPoliciesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListPoliciesDefault describes a response with status code -1, with default header values.
Error
func NewListPoliciesDefault ¶ added in v0.26.5
func NewListPoliciesDefault(code int) *ListPoliciesDefault
NewListPoliciesDefault creates a ListPoliciesDefault with default headers values
func (*ListPoliciesDefault) Code ¶ added in v0.26.5
func (o *ListPoliciesDefault) Code() int
Code gets the status code for the list policies default response
func (*ListPoliciesDefault) Error ¶ added in v0.26.5
func (o *ListPoliciesDefault) Error() string
func (*ListPoliciesDefault) GetPayload ¶ added in v0.26.5
func (o *ListPoliciesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListPoliciesDefault) IsClientError ¶ added in v0.26.5
func (o *ListPoliciesDefault) IsClientError() bool
IsClientError returns true when this list policies default response has a 4xx status code
func (*ListPoliciesDefault) IsCode ¶ added in v0.26.5
func (o *ListPoliciesDefault) IsCode(code int) bool
IsCode returns true when this list policies default response a status code equal to that given
func (*ListPoliciesDefault) IsRedirect ¶ added in v0.26.5
func (o *ListPoliciesDefault) IsRedirect() bool
IsRedirect returns true when this list policies default response has a 3xx status code
func (*ListPoliciesDefault) IsServerError ¶ added in v0.26.5
func (o *ListPoliciesDefault) IsServerError() bool
IsServerError returns true when this list policies default response has a 5xx status code
func (*ListPoliciesDefault) IsSuccess ¶ added in v0.26.5
func (o *ListPoliciesDefault) IsSuccess() bool
IsSuccess returns true when this list policies default response has a 2xx status code
func (*ListPoliciesDefault) String ¶ added in v0.26.5
func (o *ListPoliciesDefault) String() string
type ListPoliciesOK ¶ added in v0.26.5
type ListPoliciesOK struct {
Payload []*models.V1QoSPolicyResponse
}
ListPoliciesOK describes a response with status code 200, with default header values.
OK
func NewListPoliciesOK ¶ added in v0.26.5
func NewListPoliciesOK() *ListPoliciesOK
NewListPoliciesOK creates a ListPoliciesOK with default headers values
func (*ListPoliciesOK) Code ¶ added in v0.26.5
func (o *ListPoliciesOK) Code() int
Code gets the status code for the list policies o k response
func (*ListPoliciesOK) Error ¶ added in v0.26.5
func (o *ListPoliciesOK) Error() string
func (*ListPoliciesOK) GetPayload ¶ added in v0.26.5
func (o *ListPoliciesOK) GetPayload() []*models.V1QoSPolicyResponse
func (*ListPoliciesOK) IsClientError ¶ added in v0.26.5
func (o *ListPoliciesOK) IsClientError() bool
IsClientError returns true when this list policies o k response has a 4xx status code
func (*ListPoliciesOK) IsCode ¶ added in v0.26.5
func (o *ListPoliciesOK) IsCode(code int) bool
IsCode returns true when this list policies o k response a status code equal to that given
func (*ListPoliciesOK) IsRedirect ¶ added in v0.26.5
func (o *ListPoliciesOK) IsRedirect() bool
IsRedirect returns true when this list policies o k response has a 3xx status code
func (*ListPoliciesOK) IsServerError ¶ added in v0.26.5
func (o *ListPoliciesOK) IsServerError() bool
IsServerError returns true when this list policies o k response has a 5xx status code
func (*ListPoliciesOK) IsSuccess ¶ added in v0.26.5
func (o *ListPoliciesOK) IsSuccess() bool
IsSuccess returns true when this list policies o k response has a 2xx status code
func (*ListPoliciesOK) String ¶ added in v0.26.5
func (o *ListPoliciesOK) String() string
type ListPoliciesParams ¶ added in v0.26.5
type ListPoliciesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPoliciesParams contains all the parameters to send to the API endpoint
for the list policies operation. Typically these are written to a http.Request.
func NewListPoliciesParams ¶ added in v0.26.5
func NewListPoliciesParams() *ListPoliciesParams
NewListPoliciesParams creates a new ListPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListPoliciesParamsWithContext ¶ added in v0.26.5
func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams
NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with the ability to set a context for a request.
func NewListPoliciesParamsWithHTTPClient ¶ added in v0.26.5
func NewListPoliciesParamsWithHTTPClient(client *http.Client) *ListPoliciesParams
NewListPoliciesParamsWithHTTPClient creates a new ListPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewListPoliciesParamsWithTimeout ¶ added in v0.26.5
func NewListPoliciesParamsWithTimeout(timeout time.Duration) *ListPoliciesParams
NewListPoliciesParamsWithTimeout creates a new ListPoliciesParams object with the ability to set a timeout on a request.
func (*ListPoliciesParams) SetContext ¶ added in v0.26.5
func (o *ListPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list policies params
func (*ListPoliciesParams) SetDefaults ¶ added in v0.26.5
func (o *ListPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the list policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListPoliciesParams) SetHTTPClient ¶ added in v0.26.5
func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) SetTimeout ¶ added in v0.26.5
func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WithContext ¶ added in v0.26.5
func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
WithContext adds the context to the list policies params
func (*ListPoliciesParams) WithDefaults ¶ added in v0.26.5
func (o *ListPoliciesParams) WithDefaults() *ListPoliciesParams
WithDefaults hydrates default values in the list policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListPoliciesParams) WithHTTPClient ¶ added in v0.26.5
func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
WithHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) WithTimeout ¶ added in v0.26.5
func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
WithTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WriteToRequest ¶ added in v0.26.5
func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPoliciesReader ¶ added in v0.26.5
type ListPoliciesReader struct {
// contains filtered or unexported fields
}
ListPoliciesReader is a Reader for the ListPolicies structure.
func (*ListPoliciesReader) ReadResponse ¶ added in v0.26.5
func (o *ListPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListVolumesDefault ¶
type ListVolumesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListVolumesDefault describes a response with status code -1, with default header values.
Error
func NewListVolumesDefault ¶
func NewListVolumesDefault(code int) *ListVolumesDefault
NewListVolumesDefault creates a ListVolumesDefault with default headers values
func (*ListVolumesDefault) Code ¶
func (o *ListVolumesDefault) Code() int
Code gets the status code for the list volumes default response
func (*ListVolumesDefault) Error ¶
func (o *ListVolumesDefault) Error() string
func (*ListVolumesDefault) GetPayload ¶
func (o *ListVolumesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListVolumesDefault) IsClientError ¶ added in v0.19.0
func (o *ListVolumesDefault) IsClientError() bool
IsClientError returns true when this list volumes default response has a 4xx status code
func (*ListVolumesDefault) IsCode ¶ added in v0.19.0
func (o *ListVolumesDefault) IsCode(code int) bool
IsCode returns true when this list volumes default response a status code equal to that given
func (*ListVolumesDefault) IsRedirect ¶ added in v0.19.0
func (o *ListVolumesDefault) IsRedirect() bool
IsRedirect returns true when this list volumes default response has a 3xx status code
func (*ListVolumesDefault) IsServerError ¶ added in v0.19.0
func (o *ListVolumesDefault) IsServerError() bool
IsServerError returns true when this list volumes default response has a 5xx status code
func (*ListVolumesDefault) IsSuccess ¶ added in v0.19.0
func (o *ListVolumesDefault) IsSuccess() bool
IsSuccess returns true when this list volumes default response has a 2xx status code
func (*ListVolumesDefault) String ¶ added in v0.19.0
func (o *ListVolumesDefault) String() string
type ListVolumesOK ¶
type ListVolumesOK struct {
Payload []*models.V1VolumeResponse
}
ListVolumesOK describes a response with status code 200, with default header values.
OK
func NewListVolumesOK ¶
func NewListVolumesOK() *ListVolumesOK
NewListVolumesOK creates a ListVolumesOK with default headers values
func (*ListVolumesOK) Code ¶ added in v0.20.11
func (o *ListVolumesOK) Code() int
Code gets the status code for the list volumes o k response
func (*ListVolumesOK) Error ¶
func (o *ListVolumesOK) Error() string
func (*ListVolumesOK) GetPayload ¶
func (o *ListVolumesOK) GetPayload() []*models.V1VolumeResponse
func (*ListVolumesOK) IsClientError ¶ added in v0.19.0
func (o *ListVolumesOK) IsClientError() bool
IsClientError returns true when this list volumes o k response has a 4xx status code
func (*ListVolumesOK) IsCode ¶ added in v0.19.0
func (o *ListVolumesOK) IsCode(code int) bool
IsCode returns true when this list volumes o k response a status code equal to that given
func (*ListVolumesOK) IsRedirect ¶ added in v0.19.0
func (o *ListVolumesOK) IsRedirect() bool
IsRedirect returns true when this list volumes o k response has a 3xx status code
func (*ListVolumesOK) IsServerError ¶ added in v0.19.0
func (o *ListVolumesOK) IsServerError() bool
IsServerError returns true when this list volumes o k response has a 5xx status code
func (*ListVolumesOK) IsSuccess ¶ added in v0.19.0
func (o *ListVolumesOK) IsSuccess() bool
IsSuccess returns true when this list volumes o k response has a 2xx status code
func (*ListVolumesOK) String ¶ added in v0.19.0
func (o *ListVolumesOK) String() string
type ListVolumesParams ¶
type ListVolumesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListVolumesParams contains all the parameters to send to the API endpoint
for the list volumes operation. Typically these are written to a http.Request.
func NewListVolumesParams ¶
func NewListVolumesParams() *ListVolumesParams
NewListVolumesParams creates a new ListVolumesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListVolumesParamsWithContext ¶
func NewListVolumesParamsWithContext(ctx context.Context) *ListVolumesParams
NewListVolumesParamsWithContext creates a new ListVolumesParams object with the ability to set a context for a request.
func NewListVolumesParamsWithHTTPClient ¶
func NewListVolumesParamsWithHTTPClient(client *http.Client) *ListVolumesParams
NewListVolumesParamsWithHTTPClient creates a new ListVolumesParams object with the ability to set a custom HTTPClient for a request.
func NewListVolumesParamsWithTimeout ¶
func NewListVolumesParamsWithTimeout(timeout time.Duration) *ListVolumesParams
NewListVolumesParamsWithTimeout creates a new ListVolumesParams object with the ability to set a timeout on a request.
func (*ListVolumesParams) SetContext ¶
func (o *ListVolumesParams) SetContext(ctx context.Context)
SetContext adds the context to the list volumes params
func (*ListVolumesParams) SetDefaults ¶
func (o *ListVolumesParams) SetDefaults()
SetDefaults hydrates default values in the list volumes params (not the query body).
All values with no default are reset to their zero value.
func (*ListVolumesParams) SetHTTPClient ¶
func (o *ListVolumesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list volumes params
func (*ListVolumesParams) SetTimeout ¶
func (o *ListVolumesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list volumes params
func (*ListVolumesParams) WithContext ¶
func (o *ListVolumesParams) WithContext(ctx context.Context) *ListVolumesParams
WithContext adds the context to the list volumes params
func (*ListVolumesParams) WithDefaults ¶
func (o *ListVolumesParams) WithDefaults() *ListVolumesParams
WithDefaults hydrates default values in the list volumes params (not the query body).
All values with no default are reset to their zero value.
func (*ListVolumesParams) WithHTTPClient ¶
func (o *ListVolumesParams) WithHTTPClient(client *http.Client) *ListVolumesParams
WithHTTPClient adds the HTTPClient to the list volumes params
func (*ListVolumesParams) WithTimeout ¶
func (o *ListVolumesParams) WithTimeout(timeout time.Duration) *ListVolumesParams
WithTimeout adds the timeout to the list volumes params
func (*ListVolumesParams) WriteToRequest ¶
func (o *ListVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVolumesReader ¶
type ListVolumesReader struct {
// contains filtered or unexported fields
}
ListVolumesReader is a Reader for the ListVolumes structure.
func (*ListVolumesReader) ReadResponse ¶
func (o *ListVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetVolumeQoSPolicyDefault ¶ added in v0.26.5
type SetVolumeQoSPolicyDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
SetVolumeQoSPolicyDefault describes a response with status code -1, with default header values.
Error
func NewSetVolumeQoSPolicyDefault ¶ added in v0.26.5
func NewSetVolumeQoSPolicyDefault(code int) *SetVolumeQoSPolicyDefault
NewSetVolumeQoSPolicyDefault creates a SetVolumeQoSPolicyDefault with default headers values
func (*SetVolumeQoSPolicyDefault) Code ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) Code() int
Code gets the status code for the set volume qo s policy default response
func (*SetVolumeQoSPolicyDefault) Error ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) Error() string
func (*SetVolumeQoSPolicyDefault) GetPayload ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*SetVolumeQoSPolicyDefault) IsClientError ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) IsClientError() bool
IsClientError returns true when this set volume qo s policy default response has a 4xx status code
func (*SetVolumeQoSPolicyDefault) IsCode ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) IsCode(code int) bool
IsCode returns true when this set volume qo s policy default response a status code equal to that given
func (*SetVolumeQoSPolicyDefault) IsRedirect ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) IsRedirect() bool
IsRedirect returns true when this set volume qo s policy default response has a 3xx status code
func (*SetVolumeQoSPolicyDefault) IsServerError ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) IsServerError() bool
IsServerError returns true when this set volume qo s policy default response has a 5xx status code
func (*SetVolumeQoSPolicyDefault) IsSuccess ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) IsSuccess() bool
IsSuccess returns true when this set volume qo s policy default response has a 2xx status code
func (*SetVolumeQoSPolicyDefault) String ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyDefault) String() string
type SetVolumeQoSPolicyOK ¶ added in v0.26.5
type SetVolumeQoSPolicyOK struct {
Payload *models.V1VolumeResponse
}
SetVolumeQoSPolicyOK describes a response with status code 200, with default header values.
OK
func NewSetVolumeQoSPolicyOK ¶ added in v0.26.5
func NewSetVolumeQoSPolicyOK() *SetVolumeQoSPolicyOK
NewSetVolumeQoSPolicyOK creates a SetVolumeQoSPolicyOK with default headers values
func (*SetVolumeQoSPolicyOK) Code ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) Code() int
Code gets the status code for the set volume qo s policy o k response
func (*SetVolumeQoSPolicyOK) Error ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) Error() string
func (*SetVolumeQoSPolicyOK) GetPayload ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) GetPayload() *models.V1VolumeResponse
func (*SetVolumeQoSPolicyOK) IsClientError ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) IsClientError() bool
IsClientError returns true when this set volume qo s policy o k response has a 4xx status code
func (*SetVolumeQoSPolicyOK) IsCode ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) IsCode(code int) bool
IsCode returns true when this set volume qo s policy o k response a status code equal to that given
func (*SetVolumeQoSPolicyOK) IsRedirect ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) IsRedirect() bool
IsRedirect returns true when this set volume qo s policy o k response has a 3xx status code
func (*SetVolumeQoSPolicyOK) IsServerError ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) IsServerError() bool
IsServerError returns true when this set volume qo s policy o k response has a 5xx status code
func (*SetVolumeQoSPolicyOK) IsSuccess ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) IsSuccess() bool
IsSuccess returns true when this set volume qo s policy o k response has a 2xx status code
func (*SetVolumeQoSPolicyOK) String ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyOK) String() string
type SetVolumeQoSPolicyParams ¶ added in v0.26.5
type SetVolumeQoSPolicyParams struct { // Body. Body *models.V1VolumeSetQoSPolicyRequest /* ID. identifier of the volume */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetVolumeQoSPolicyParams contains all the parameters to send to the API endpoint
for the set volume qo s policy operation. Typically these are written to a http.Request.
func NewSetVolumeQoSPolicyParams ¶ added in v0.26.5
func NewSetVolumeQoSPolicyParams() *SetVolumeQoSPolicyParams
NewSetVolumeQoSPolicyParams creates a new SetVolumeQoSPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetVolumeQoSPolicyParamsWithContext ¶ added in v0.26.5
func NewSetVolumeQoSPolicyParamsWithContext(ctx context.Context) *SetVolumeQoSPolicyParams
NewSetVolumeQoSPolicyParamsWithContext creates a new SetVolumeQoSPolicyParams object with the ability to set a context for a request.
func NewSetVolumeQoSPolicyParamsWithHTTPClient ¶ added in v0.26.5
func NewSetVolumeQoSPolicyParamsWithHTTPClient(client *http.Client) *SetVolumeQoSPolicyParams
NewSetVolumeQoSPolicyParamsWithHTTPClient creates a new SetVolumeQoSPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewSetVolumeQoSPolicyParamsWithTimeout ¶ added in v0.26.5
func NewSetVolumeQoSPolicyParamsWithTimeout(timeout time.Duration) *SetVolumeQoSPolicyParams
NewSetVolumeQoSPolicyParamsWithTimeout creates a new SetVolumeQoSPolicyParams object with the ability to set a timeout on a request.
func (*SetVolumeQoSPolicyParams) SetBody ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetBody(body *models.V1VolumeSetQoSPolicyRequest)
SetBody adds the body to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) SetContext ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) SetDefaults ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetDefaults()
SetDefaults hydrates default values in the set volume qo s policy params (not the query body).
All values with no default are reset to their zero value.
func (*SetVolumeQoSPolicyParams) SetHTTPClient ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) SetID ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetID(id string)
SetID adds the id to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) SetTimeout ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WithBody ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithBody(body *models.V1VolumeSetQoSPolicyRequest) *SetVolumeQoSPolicyParams
WithBody adds the body to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WithContext ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithContext(ctx context.Context) *SetVolumeQoSPolicyParams
WithContext adds the context to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WithDefaults ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithDefaults() *SetVolumeQoSPolicyParams
WithDefaults hydrates default values in the set volume qo s policy params (not the query body).
All values with no default are reset to their zero value.
func (*SetVolumeQoSPolicyParams) WithHTTPClient ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithHTTPClient(client *http.Client) *SetVolumeQoSPolicyParams
WithHTTPClient adds the HTTPClient to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WithID ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithID(id string) *SetVolumeQoSPolicyParams
WithID adds the id to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WithTimeout ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WithTimeout(timeout time.Duration) *SetVolumeQoSPolicyParams
WithTimeout adds the timeout to the set volume qo s policy params
func (*SetVolumeQoSPolicyParams) WriteToRequest ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetVolumeQoSPolicyReader ¶ added in v0.26.5
type SetVolumeQoSPolicyReader struct {
// contains filtered or unexported fields
}
SetVolumeQoSPolicyReader is a Reader for the SetVolumeQoSPolicy structure.
func (*SetVolumeQoSPolicyReader) ReadResponse ¶ added in v0.26.5
func (o *SetVolumeQoSPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cluster_info_parameters.go
- cluster_info_responses.go
- delete_snapshot_parameters.go
- delete_snapshot_responses.go
- delete_volume_parameters.go
- delete_volume_responses.go
- find_snapshots_parameters.go
- find_snapshots_responses.go
- find_volumes_parameters.go
- find_volumes_responses.go
- get_snapshot_parameters.go
- get_snapshot_responses.go
- get_volume_parameters.go
- get_volume_responses.go
- list_policies_parameters.go
- list_policies_responses.go
- list_volumes_parameters.go
- list_volumes_responses.go
- set_volume_qo_s_policy_parameters.go
- set_volume_qo_s_policy_responses.go
- volume_client.go