Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) V1SnapshotsGet(params *V1SnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1SnapshotsGetOK, error)
- func (a *Client) V1SnapshotsGetall(params *V1SnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1SnapshotsGetallOK, error)
- func (a *Client) V1VolumeSnapshotsGet(params *V1VolumeSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1VolumeSnapshotsGetOK, error)
- func (a *Client) V1VolumeSnapshotsGetall(params *V1VolumeSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1VolumeSnapshotsGetallOK, error)
- type ClientOption
- type ClientService
- type V1SnapshotsGetBadRequest
- func (o *V1SnapshotsGetBadRequest) Code() int
- func (o *V1SnapshotsGetBadRequest) Error() string
- func (o *V1SnapshotsGetBadRequest) GetPayload() *models.Error
- func (o *V1SnapshotsGetBadRequest) IsClientError() bool
- func (o *V1SnapshotsGetBadRequest) IsCode(code int) bool
- func (o *V1SnapshotsGetBadRequest) IsRedirect() bool
- func (o *V1SnapshotsGetBadRequest) IsServerError() bool
- func (o *V1SnapshotsGetBadRequest) IsSuccess() bool
- func (o *V1SnapshotsGetBadRequest) String() string
- type V1SnapshotsGetForbidden
- func (o *V1SnapshotsGetForbidden) Code() int
- func (o *V1SnapshotsGetForbidden) Error() string
- func (o *V1SnapshotsGetForbidden) GetPayload() *models.Error
- func (o *V1SnapshotsGetForbidden) IsClientError() bool
- func (o *V1SnapshotsGetForbidden) IsCode(code int) bool
- func (o *V1SnapshotsGetForbidden) IsRedirect() bool
- func (o *V1SnapshotsGetForbidden) IsServerError() bool
- func (o *V1SnapshotsGetForbidden) IsSuccess() bool
- func (o *V1SnapshotsGetForbidden) String() string
- type V1SnapshotsGetInternalServerError
- func (o *V1SnapshotsGetInternalServerError) Code() int
- func (o *V1SnapshotsGetInternalServerError) Error() string
- func (o *V1SnapshotsGetInternalServerError) GetPayload() *models.Error
- func (o *V1SnapshotsGetInternalServerError) IsClientError() bool
- func (o *V1SnapshotsGetInternalServerError) IsCode(code int) bool
- func (o *V1SnapshotsGetInternalServerError) IsRedirect() bool
- func (o *V1SnapshotsGetInternalServerError) IsServerError() bool
- func (o *V1SnapshotsGetInternalServerError) IsSuccess() bool
- func (o *V1SnapshotsGetInternalServerError) String() string
- type V1SnapshotsGetNotFound
- func (o *V1SnapshotsGetNotFound) Code() int
- func (o *V1SnapshotsGetNotFound) Error() string
- func (o *V1SnapshotsGetNotFound) GetPayload() *models.Error
- func (o *V1SnapshotsGetNotFound) IsClientError() bool
- func (o *V1SnapshotsGetNotFound) IsCode(code int) bool
- func (o *V1SnapshotsGetNotFound) IsRedirect() bool
- func (o *V1SnapshotsGetNotFound) IsServerError() bool
- func (o *V1SnapshotsGetNotFound) IsSuccess() bool
- func (o *V1SnapshotsGetNotFound) String() string
- type V1SnapshotsGetOK
- func (o *V1SnapshotsGetOK) Code() int
- func (o *V1SnapshotsGetOK) Error() string
- func (o *V1SnapshotsGetOK) GetPayload() *models.SnapshotV1
- func (o *V1SnapshotsGetOK) IsClientError() bool
- func (o *V1SnapshotsGetOK) IsCode(code int) bool
- func (o *V1SnapshotsGetOK) IsRedirect() bool
- func (o *V1SnapshotsGetOK) IsServerError() bool
- func (o *V1SnapshotsGetOK) IsSuccess() bool
- func (o *V1SnapshotsGetOK) String() string
- type V1SnapshotsGetParams
- func NewV1SnapshotsGetParams() *V1SnapshotsGetParams
- func NewV1SnapshotsGetParamsWithContext(ctx context.Context) *V1SnapshotsGetParams
- func NewV1SnapshotsGetParamsWithHTTPClient(client *http.Client) *V1SnapshotsGetParams
- func NewV1SnapshotsGetParamsWithTimeout(timeout time.Duration) *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) SetContext(ctx context.Context)
- func (o *V1SnapshotsGetParams) SetDefaults()
- func (o *V1SnapshotsGetParams) SetHTTPClient(client *http.Client)
- func (o *V1SnapshotsGetParams) SetSnapshotID(snapshotID string)
- func (o *V1SnapshotsGetParams) SetTimeout(timeout time.Duration)
- func (o *V1SnapshotsGetParams) WithContext(ctx context.Context) *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) WithDefaults() *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) WithHTTPClient(client *http.Client) *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) WithSnapshotID(snapshotID string) *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) WithTimeout(timeout time.Duration) *V1SnapshotsGetParams
- func (o *V1SnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1SnapshotsGetReader
- type V1SnapshotsGetServiceUnavailable
- func (o *V1SnapshotsGetServiceUnavailable) Code() int
- func (o *V1SnapshotsGetServiceUnavailable) Error() string
- func (o *V1SnapshotsGetServiceUnavailable) GetPayload() *models.Error
- func (o *V1SnapshotsGetServiceUnavailable) IsClientError() bool
- func (o *V1SnapshotsGetServiceUnavailable) IsCode(code int) bool
- func (o *V1SnapshotsGetServiceUnavailable) IsRedirect() bool
- func (o *V1SnapshotsGetServiceUnavailable) IsServerError() bool
- func (o *V1SnapshotsGetServiceUnavailable) IsSuccess() bool
- func (o *V1SnapshotsGetServiceUnavailable) String() string
- type V1SnapshotsGetUnauthorized
- func (o *V1SnapshotsGetUnauthorized) Code() int
- func (o *V1SnapshotsGetUnauthorized) Error() string
- func (o *V1SnapshotsGetUnauthorized) GetPayload() *models.Error
- func (o *V1SnapshotsGetUnauthorized) IsClientError() bool
- func (o *V1SnapshotsGetUnauthorized) IsCode(code int) bool
- func (o *V1SnapshotsGetUnauthorized) IsRedirect() bool
- func (o *V1SnapshotsGetUnauthorized) IsServerError() bool
- func (o *V1SnapshotsGetUnauthorized) IsSuccess() bool
- func (o *V1SnapshotsGetUnauthorized) String() string
- type V1SnapshotsGetallForbidden
- func (o *V1SnapshotsGetallForbidden) Code() int
- func (o *V1SnapshotsGetallForbidden) Error() string
- func (o *V1SnapshotsGetallForbidden) GetPayload() *models.Error
- func (o *V1SnapshotsGetallForbidden) IsClientError() bool
- func (o *V1SnapshotsGetallForbidden) IsCode(code int) bool
- func (o *V1SnapshotsGetallForbidden) IsRedirect() bool
- func (o *V1SnapshotsGetallForbidden) IsServerError() bool
- func (o *V1SnapshotsGetallForbidden) IsSuccess() bool
- func (o *V1SnapshotsGetallForbidden) String() string
- type V1SnapshotsGetallInternalServerError
- func (o *V1SnapshotsGetallInternalServerError) Code() int
- func (o *V1SnapshotsGetallInternalServerError) Error() string
- func (o *V1SnapshotsGetallInternalServerError) GetPayload() *models.Error
- func (o *V1SnapshotsGetallInternalServerError) IsClientError() bool
- func (o *V1SnapshotsGetallInternalServerError) IsCode(code int) bool
- func (o *V1SnapshotsGetallInternalServerError) IsRedirect() bool
- func (o *V1SnapshotsGetallInternalServerError) IsServerError() bool
- func (o *V1SnapshotsGetallInternalServerError) IsSuccess() bool
- func (o *V1SnapshotsGetallInternalServerError) String() string
- type V1SnapshotsGetallNotFound
- func (o *V1SnapshotsGetallNotFound) Code() int
- func (o *V1SnapshotsGetallNotFound) Error() string
- func (o *V1SnapshotsGetallNotFound) GetPayload() *models.Error
- func (o *V1SnapshotsGetallNotFound) IsClientError() bool
- func (o *V1SnapshotsGetallNotFound) IsCode(code int) bool
- func (o *V1SnapshotsGetallNotFound) IsRedirect() bool
- func (o *V1SnapshotsGetallNotFound) IsServerError() bool
- func (o *V1SnapshotsGetallNotFound) IsSuccess() bool
- func (o *V1SnapshotsGetallNotFound) String() string
- type V1SnapshotsGetallOK
- func (o *V1SnapshotsGetallOK) Code() int
- func (o *V1SnapshotsGetallOK) Error() string
- func (o *V1SnapshotsGetallOK) GetPayload() *models.SnapshotList
- func (o *V1SnapshotsGetallOK) IsClientError() bool
- func (o *V1SnapshotsGetallOK) IsCode(code int) bool
- func (o *V1SnapshotsGetallOK) IsRedirect() bool
- func (o *V1SnapshotsGetallOK) IsServerError() bool
- func (o *V1SnapshotsGetallOK) IsSuccess() bool
- func (o *V1SnapshotsGetallOK) String() string
- type V1SnapshotsGetallParams
- func NewV1SnapshotsGetallParams() *V1SnapshotsGetallParams
- func NewV1SnapshotsGetallParamsWithContext(ctx context.Context) *V1SnapshotsGetallParams
- func NewV1SnapshotsGetallParamsWithHTTPClient(client *http.Client) *V1SnapshotsGetallParams
- func NewV1SnapshotsGetallParamsWithTimeout(timeout time.Duration) *V1SnapshotsGetallParams
- func (o *V1SnapshotsGetallParams) SetContext(ctx context.Context)
- func (o *V1SnapshotsGetallParams) SetDefaults()
- func (o *V1SnapshotsGetallParams) SetHTTPClient(client *http.Client)
- func (o *V1SnapshotsGetallParams) SetTimeout(timeout time.Duration)
- func (o *V1SnapshotsGetallParams) WithContext(ctx context.Context) *V1SnapshotsGetallParams
- func (o *V1SnapshotsGetallParams) WithDefaults() *V1SnapshotsGetallParams
- func (o *V1SnapshotsGetallParams) WithHTTPClient(client *http.Client) *V1SnapshotsGetallParams
- func (o *V1SnapshotsGetallParams) WithTimeout(timeout time.Duration) *V1SnapshotsGetallParams
- func (o *V1SnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1SnapshotsGetallReader
- type V1SnapshotsGetallServiceUnavailable
- func (o *V1SnapshotsGetallServiceUnavailable) Code() int
- func (o *V1SnapshotsGetallServiceUnavailable) Error() string
- func (o *V1SnapshotsGetallServiceUnavailable) GetPayload() *models.Error
- func (o *V1SnapshotsGetallServiceUnavailable) IsClientError() bool
- func (o *V1SnapshotsGetallServiceUnavailable) IsCode(code int) bool
- func (o *V1SnapshotsGetallServiceUnavailable) IsRedirect() bool
- func (o *V1SnapshotsGetallServiceUnavailable) IsServerError() bool
- func (o *V1SnapshotsGetallServiceUnavailable) IsSuccess() bool
- func (o *V1SnapshotsGetallServiceUnavailable) String() string
- type V1SnapshotsGetallUnauthorized
- func (o *V1SnapshotsGetallUnauthorized) Code() int
- func (o *V1SnapshotsGetallUnauthorized) Error() string
- func (o *V1SnapshotsGetallUnauthorized) GetPayload() *models.Error
- func (o *V1SnapshotsGetallUnauthorized) IsClientError() bool
- func (o *V1SnapshotsGetallUnauthorized) IsCode(code int) bool
- func (o *V1SnapshotsGetallUnauthorized) IsRedirect() bool
- func (o *V1SnapshotsGetallUnauthorized) IsServerError() bool
- func (o *V1SnapshotsGetallUnauthorized) IsSuccess() bool
- func (o *V1SnapshotsGetallUnauthorized) String() string
- type V1VolumeSnapshotsGetBadRequest
- func (o *V1VolumeSnapshotsGetBadRequest) Code() int
- func (o *V1VolumeSnapshotsGetBadRequest) Error() string
- func (o *V1VolumeSnapshotsGetBadRequest) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetBadRequest) IsClientError() bool
- func (o *V1VolumeSnapshotsGetBadRequest) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetBadRequest) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetBadRequest) IsServerError() bool
- func (o *V1VolumeSnapshotsGetBadRequest) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetBadRequest) String() string
- type V1VolumeSnapshotsGetForbidden
- func (o *V1VolumeSnapshotsGetForbidden) Code() int
- func (o *V1VolumeSnapshotsGetForbidden) Error() string
- func (o *V1VolumeSnapshotsGetForbidden) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetForbidden) IsClientError() bool
- func (o *V1VolumeSnapshotsGetForbidden) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetForbidden) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetForbidden) IsServerError() bool
- func (o *V1VolumeSnapshotsGetForbidden) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetForbidden) String() string
- type V1VolumeSnapshotsGetInternalServerError
- func (o *V1VolumeSnapshotsGetInternalServerError) Code() int
- func (o *V1VolumeSnapshotsGetInternalServerError) Error() string
- func (o *V1VolumeSnapshotsGetInternalServerError) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetInternalServerError) IsClientError() bool
- func (o *V1VolumeSnapshotsGetInternalServerError) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetInternalServerError) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetInternalServerError) IsServerError() bool
- func (o *V1VolumeSnapshotsGetInternalServerError) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetInternalServerError) String() string
- type V1VolumeSnapshotsGetNotFound
- func (o *V1VolumeSnapshotsGetNotFound) Code() int
- func (o *V1VolumeSnapshotsGetNotFound) Error() string
- func (o *V1VolumeSnapshotsGetNotFound) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetNotFound) IsClientError() bool
- func (o *V1VolumeSnapshotsGetNotFound) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetNotFound) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetNotFound) IsServerError() bool
- func (o *V1VolumeSnapshotsGetNotFound) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetNotFound) String() string
- type V1VolumeSnapshotsGetOK
- func (o *V1VolumeSnapshotsGetOK) Code() int
- func (o *V1VolumeSnapshotsGetOK) Error() string
- func (o *V1VolumeSnapshotsGetOK) GetPayload() *models.SnapshotV1
- func (o *V1VolumeSnapshotsGetOK) IsClientError() bool
- func (o *V1VolumeSnapshotsGetOK) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetOK) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetOK) IsServerError() bool
- func (o *V1VolumeSnapshotsGetOK) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetOK) String() string
- type V1VolumeSnapshotsGetParams
- func NewV1VolumeSnapshotsGetParams() *V1VolumeSnapshotsGetParams
- func NewV1VolumeSnapshotsGetParamsWithContext(ctx context.Context) *V1VolumeSnapshotsGetParams
- func NewV1VolumeSnapshotsGetParamsWithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetParams
- func NewV1VolumeSnapshotsGetParamsWithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) SetContext(ctx context.Context)
- func (o *V1VolumeSnapshotsGetParams) SetDefaults()
- func (o *V1VolumeSnapshotsGetParams) SetHTTPClient(client *http.Client)
- func (o *V1VolumeSnapshotsGetParams) SetTimeout(timeout time.Duration)
- func (o *V1VolumeSnapshotsGetParams) SetVolumeSnapshotUUID(volumeSnapshotUUID string)
- func (o *V1VolumeSnapshotsGetParams) WithContext(ctx context.Context) *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) WithDefaults() *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) WithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) WithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) WithVolumeSnapshotUUID(volumeSnapshotUUID string) *V1VolumeSnapshotsGetParams
- func (o *V1VolumeSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1VolumeSnapshotsGetReader
- type V1VolumeSnapshotsGetServiceUnavailable
- func (o *V1VolumeSnapshotsGetServiceUnavailable) Code() int
- func (o *V1VolumeSnapshotsGetServiceUnavailable) Error() string
- func (o *V1VolumeSnapshotsGetServiceUnavailable) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetServiceUnavailable) IsClientError() bool
- func (o *V1VolumeSnapshotsGetServiceUnavailable) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetServiceUnavailable) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetServiceUnavailable) IsServerError() bool
- func (o *V1VolumeSnapshotsGetServiceUnavailable) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetServiceUnavailable) String() string
- type V1VolumeSnapshotsGetUnauthorized
- func (o *V1VolumeSnapshotsGetUnauthorized) Code() int
- func (o *V1VolumeSnapshotsGetUnauthorized) Error() string
- func (o *V1VolumeSnapshotsGetUnauthorized) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetUnauthorized) IsClientError() bool
- func (o *V1VolumeSnapshotsGetUnauthorized) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetUnauthorized) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetUnauthorized) IsServerError() bool
- func (o *V1VolumeSnapshotsGetUnauthorized) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetUnauthorized) String() string
- type V1VolumeSnapshotsGetallForbidden
- func (o *V1VolumeSnapshotsGetallForbidden) Code() int
- func (o *V1VolumeSnapshotsGetallForbidden) Error() string
- func (o *V1VolumeSnapshotsGetallForbidden) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetallForbidden) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallForbidden) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallForbidden) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallForbidden) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallForbidden) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallForbidden) String() string
- type V1VolumeSnapshotsGetallInternalServerError
- func (o *V1VolumeSnapshotsGetallInternalServerError) Code() int
- func (o *V1VolumeSnapshotsGetallInternalServerError) Error() string
- func (o *V1VolumeSnapshotsGetallInternalServerError) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetallInternalServerError) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallInternalServerError) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallInternalServerError) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallInternalServerError) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallInternalServerError) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallInternalServerError) String() string
- type V1VolumeSnapshotsGetallNotFound
- func (o *V1VolumeSnapshotsGetallNotFound) Code() int
- func (o *V1VolumeSnapshotsGetallNotFound) Error() string
- func (o *V1VolumeSnapshotsGetallNotFound) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetallNotFound) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallNotFound) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallNotFound) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallNotFound) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallNotFound) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallNotFound) String() string
- type V1VolumeSnapshotsGetallOK
- func (o *V1VolumeSnapshotsGetallOK) Code() int
- func (o *V1VolumeSnapshotsGetallOK) Error() string
- func (o *V1VolumeSnapshotsGetallOK) GetPayload() *models.VolumeSnapshotList
- func (o *V1VolumeSnapshotsGetallOK) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallOK) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallOK) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallOK) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallOK) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallOK) String() string
- type V1VolumeSnapshotsGetallParams
- func NewV1VolumeSnapshotsGetallParams() *V1VolumeSnapshotsGetallParams
- func NewV1VolumeSnapshotsGetallParamsWithContext(ctx context.Context) *V1VolumeSnapshotsGetallParams
- func NewV1VolumeSnapshotsGetallParamsWithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetallParams
- func NewV1VolumeSnapshotsGetallParamsWithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetallParams
- func (o *V1VolumeSnapshotsGetallParams) SetContext(ctx context.Context)
- func (o *V1VolumeSnapshotsGetallParams) SetDefaults()
- func (o *V1VolumeSnapshotsGetallParams) SetHTTPClient(client *http.Client)
- func (o *V1VolumeSnapshotsGetallParams) SetTimeout(timeout time.Duration)
- func (o *V1VolumeSnapshotsGetallParams) WithContext(ctx context.Context) *V1VolumeSnapshotsGetallParams
- func (o *V1VolumeSnapshotsGetallParams) WithDefaults() *V1VolumeSnapshotsGetallParams
- func (o *V1VolumeSnapshotsGetallParams) WithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetallParams
- func (o *V1VolumeSnapshotsGetallParams) WithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetallParams
- func (o *V1VolumeSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1VolumeSnapshotsGetallReader
- type V1VolumeSnapshotsGetallServiceUnavailable
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) Code() int
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) Error() string
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallServiceUnavailable) String() string
- type V1VolumeSnapshotsGetallUnauthorized
- func (o *V1VolumeSnapshotsGetallUnauthorized) Code() int
- func (o *V1VolumeSnapshotsGetallUnauthorized) Error() string
- func (o *V1VolumeSnapshotsGetallUnauthorized) GetPayload() *models.Error
- func (o *V1VolumeSnapshotsGetallUnauthorized) IsClientError() bool
- func (o *V1VolumeSnapshotsGetallUnauthorized) IsCode(code int) bool
- func (o *V1VolumeSnapshotsGetallUnauthorized) IsRedirect() bool
- func (o *V1VolumeSnapshotsGetallUnauthorized) IsServerError() bool
- func (o *V1VolumeSnapshotsGetallUnauthorized) IsSuccess() bool
- func (o *V1VolumeSnapshotsGetallUnauthorized) String() string
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 snapshots API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) V1SnapshotsGet ¶
func (a *Client) V1SnapshotsGet(params *V1SnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetOK, error)
V1SnapshotsGet gets the detail of a snapshot This API is deprecated for /v1/snapshots.
The API v1/volume-snapshots has replaced this endpoint.
View the usage of a snapshot. The snapshot may take time sync because the data is cached.
func (*Client) V1SnapshotsGetall ¶
func (a *Client) V1SnapshotsGetall(params *V1SnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetallOK, error)
V1SnapshotsGetall gets a list of all the snapshots on a workspace This API is deprecated for /v1/snapshots.
The API v1/volume-snapshots has replaced this endpoint.
View the usage of snapshots on the workspace. The snapshots may take time sync because the data is cached.
func (*Client) V1VolumeSnapshotsGet ¶ added in v1.8.1
func (a *Client) V1VolumeSnapshotsGet(params *V1VolumeSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1VolumeSnapshotsGetOK, error)
V1VolumeSnapshotsGet gets the detail of a volume snapshot
View the usage of a snapshot. The snapshot may take time sync because the data is cached.
func (*Client) V1VolumeSnapshotsGetall ¶ added in v1.8.1
func (a *Client) V1VolumeSnapshotsGetall(params *V1VolumeSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1VolumeSnapshotsGetallOK, error)
V1VolumeSnapshotsGetall gets the list of volume snapshots on a workspace
View the usage of volume snapshots on the workspace. The volume snapshots may take time sync because the data is cached.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { V1SnapshotsGet(params *V1SnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetOK, error) V1SnapshotsGetall(params *V1SnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetallOK, error) V1VolumeSnapshotsGet(params *V1VolumeSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1VolumeSnapshotsGetOK, error) V1VolumeSnapshotsGetall(params *V1VolumeSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1VolumeSnapshotsGetallOK, 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 snapshots API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new snapshots 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 ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new snapshots 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 V1SnapshotsGetBadRequest ¶
V1SnapshotsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1SnapshotsGetBadRequest ¶
func NewV1SnapshotsGetBadRequest() *V1SnapshotsGetBadRequest
NewV1SnapshotsGetBadRequest creates a V1SnapshotsGetBadRequest with default headers values
func (*V1SnapshotsGetBadRequest) Code ¶
func (o *V1SnapshotsGetBadRequest) Code() int
Code gets the status code for the v1 snapshots get bad request response
func (*V1SnapshotsGetBadRequest) Error ¶
func (o *V1SnapshotsGetBadRequest) Error() string
func (*V1SnapshotsGetBadRequest) GetPayload ¶
func (o *V1SnapshotsGetBadRequest) GetPayload() *models.Error
func (*V1SnapshotsGetBadRequest) IsClientError ¶
func (o *V1SnapshotsGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 snapshots get bad request response has a 4xx status code
func (*V1SnapshotsGetBadRequest) IsCode ¶
func (o *V1SnapshotsGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 snapshots get bad request response a status code equal to that given
func (*V1SnapshotsGetBadRequest) IsRedirect ¶
func (o *V1SnapshotsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get bad request response has a 3xx status code
func (*V1SnapshotsGetBadRequest) IsServerError ¶
func (o *V1SnapshotsGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 snapshots get bad request response has a 5xx status code
func (*V1SnapshotsGetBadRequest) IsSuccess ¶
func (o *V1SnapshotsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get bad request response has a 2xx status code
func (*V1SnapshotsGetBadRequest) String ¶
func (o *V1SnapshotsGetBadRequest) String() string
type V1SnapshotsGetForbidden ¶
V1SnapshotsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1SnapshotsGetForbidden ¶
func NewV1SnapshotsGetForbidden() *V1SnapshotsGetForbidden
NewV1SnapshotsGetForbidden creates a V1SnapshotsGetForbidden with default headers values
func (*V1SnapshotsGetForbidden) Code ¶
func (o *V1SnapshotsGetForbidden) Code() int
Code gets the status code for the v1 snapshots get forbidden response
func (*V1SnapshotsGetForbidden) Error ¶
func (o *V1SnapshotsGetForbidden) Error() string
func (*V1SnapshotsGetForbidden) GetPayload ¶
func (o *V1SnapshotsGetForbidden) GetPayload() *models.Error
func (*V1SnapshotsGetForbidden) IsClientError ¶
func (o *V1SnapshotsGetForbidden) IsClientError() bool
IsClientError returns true when this v1 snapshots get forbidden response has a 4xx status code
func (*V1SnapshotsGetForbidden) IsCode ¶
func (o *V1SnapshotsGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 snapshots get forbidden response a status code equal to that given
func (*V1SnapshotsGetForbidden) IsRedirect ¶
func (o *V1SnapshotsGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get forbidden response has a 3xx status code
func (*V1SnapshotsGetForbidden) IsServerError ¶
func (o *V1SnapshotsGetForbidden) IsServerError() bool
IsServerError returns true when this v1 snapshots get forbidden response has a 5xx status code
func (*V1SnapshotsGetForbidden) IsSuccess ¶
func (o *V1SnapshotsGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get forbidden response has a 2xx status code
func (*V1SnapshotsGetForbidden) String ¶
func (o *V1SnapshotsGetForbidden) String() string
type V1SnapshotsGetInternalServerError ¶
V1SnapshotsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1SnapshotsGetInternalServerError ¶
func NewV1SnapshotsGetInternalServerError() *V1SnapshotsGetInternalServerError
NewV1SnapshotsGetInternalServerError creates a V1SnapshotsGetInternalServerError with default headers values
func (*V1SnapshotsGetInternalServerError) Code ¶
func (o *V1SnapshotsGetInternalServerError) Code() int
Code gets the status code for the v1 snapshots get internal server error response
func (*V1SnapshotsGetInternalServerError) Error ¶
func (o *V1SnapshotsGetInternalServerError) Error() string
func (*V1SnapshotsGetInternalServerError) GetPayload ¶
func (o *V1SnapshotsGetInternalServerError) GetPayload() *models.Error
func (*V1SnapshotsGetInternalServerError) IsClientError ¶
func (o *V1SnapshotsGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 snapshots get internal server error response has a 4xx status code
func (*V1SnapshotsGetInternalServerError) IsCode ¶
func (o *V1SnapshotsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 snapshots get internal server error response a status code equal to that given
func (*V1SnapshotsGetInternalServerError) IsRedirect ¶
func (o *V1SnapshotsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get internal server error response has a 3xx status code
func (*V1SnapshotsGetInternalServerError) IsServerError ¶
func (o *V1SnapshotsGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 snapshots get internal server error response has a 5xx status code
func (*V1SnapshotsGetInternalServerError) IsSuccess ¶
func (o *V1SnapshotsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get internal server error response has a 2xx status code
func (*V1SnapshotsGetInternalServerError) String ¶
func (o *V1SnapshotsGetInternalServerError) String() string
type V1SnapshotsGetNotFound ¶
V1SnapshotsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1SnapshotsGetNotFound ¶
func NewV1SnapshotsGetNotFound() *V1SnapshotsGetNotFound
NewV1SnapshotsGetNotFound creates a V1SnapshotsGetNotFound with default headers values
func (*V1SnapshotsGetNotFound) Code ¶
func (o *V1SnapshotsGetNotFound) Code() int
Code gets the status code for the v1 snapshots get not found response
func (*V1SnapshotsGetNotFound) Error ¶
func (o *V1SnapshotsGetNotFound) Error() string
func (*V1SnapshotsGetNotFound) GetPayload ¶
func (o *V1SnapshotsGetNotFound) GetPayload() *models.Error
func (*V1SnapshotsGetNotFound) IsClientError ¶
func (o *V1SnapshotsGetNotFound) IsClientError() bool
IsClientError returns true when this v1 snapshots get not found response has a 4xx status code
func (*V1SnapshotsGetNotFound) IsCode ¶
func (o *V1SnapshotsGetNotFound) IsCode(code int) bool
IsCode returns true when this v1 snapshots get not found response a status code equal to that given
func (*V1SnapshotsGetNotFound) IsRedirect ¶
func (o *V1SnapshotsGetNotFound) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get not found response has a 3xx status code
func (*V1SnapshotsGetNotFound) IsServerError ¶
func (o *V1SnapshotsGetNotFound) IsServerError() bool
IsServerError returns true when this v1 snapshots get not found response has a 5xx status code
func (*V1SnapshotsGetNotFound) IsSuccess ¶
func (o *V1SnapshotsGetNotFound) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get not found response has a 2xx status code
func (*V1SnapshotsGetNotFound) String ¶
func (o *V1SnapshotsGetNotFound) String() string
type V1SnapshotsGetOK ¶
type V1SnapshotsGetOK struct {
Payload *models.SnapshotV1
}
V1SnapshotsGetOK describes a response with status code 200, with default header values.
OK
func NewV1SnapshotsGetOK ¶
func NewV1SnapshotsGetOK() *V1SnapshotsGetOK
NewV1SnapshotsGetOK creates a V1SnapshotsGetOK with default headers values
func (*V1SnapshotsGetOK) Code ¶
func (o *V1SnapshotsGetOK) Code() int
Code gets the status code for the v1 snapshots get o k response
func (*V1SnapshotsGetOK) Error ¶
func (o *V1SnapshotsGetOK) Error() string
func (*V1SnapshotsGetOK) GetPayload ¶
func (o *V1SnapshotsGetOK) GetPayload() *models.SnapshotV1
func (*V1SnapshotsGetOK) IsClientError ¶
func (o *V1SnapshotsGetOK) IsClientError() bool
IsClientError returns true when this v1 snapshots get o k response has a 4xx status code
func (*V1SnapshotsGetOK) IsCode ¶
func (o *V1SnapshotsGetOK) IsCode(code int) bool
IsCode returns true when this v1 snapshots get o k response a status code equal to that given
func (*V1SnapshotsGetOK) IsRedirect ¶
func (o *V1SnapshotsGetOK) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get o k response has a 3xx status code
func (*V1SnapshotsGetOK) IsServerError ¶
func (o *V1SnapshotsGetOK) IsServerError() bool
IsServerError returns true when this v1 snapshots get o k response has a 5xx status code
func (*V1SnapshotsGetOK) IsSuccess ¶
func (o *V1SnapshotsGetOK) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get o k response has a 2xx status code
func (*V1SnapshotsGetOK) String ¶
func (o *V1SnapshotsGetOK) String() string
type V1SnapshotsGetParams ¶
type V1SnapshotsGetParams struct { /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1SnapshotsGetParams contains all the parameters to send to the API endpoint
for the v1 snapshots get operation. Typically these are written to a http.Request.
func NewV1SnapshotsGetParams ¶
func NewV1SnapshotsGetParams() *V1SnapshotsGetParams
NewV1SnapshotsGetParams creates a new V1SnapshotsGetParams 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 NewV1SnapshotsGetParamsWithContext ¶
func NewV1SnapshotsGetParamsWithContext(ctx context.Context) *V1SnapshotsGetParams
NewV1SnapshotsGetParamsWithContext creates a new V1SnapshotsGetParams object with the ability to set a context for a request.
func NewV1SnapshotsGetParamsWithHTTPClient ¶
func NewV1SnapshotsGetParamsWithHTTPClient(client *http.Client) *V1SnapshotsGetParams
NewV1SnapshotsGetParamsWithHTTPClient creates a new V1SnapshotsGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1SnapshotsGetParamsWithTimeout ¶
func NewV1SnapshotsGetParamsWithTimeout(timeout time.Duration) *V1SnapshotsGetParams
NewV1SnapshotsGetParamsWithTimeout creates a new V1SnapshotsGetParams object with the ability to set a timeout on a request.
func (*V1SnapshotsGetParams) SetContext ¶
func (o *V1SnapshotsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 snapshots get params
func (*V1SnapshotsGetParams) SetDefaults ¶
func (o *V1SnapshotsGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*V1SnapshotsGetParams) SetHTTPClient ¶
func (o *V1SnapshotsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 snapshots get params
func (*V1SnapshotsGetParams) SetSnapshotID ¶
func (o *V1SnapshotsGetParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the v1 snapshots get params
func (*V1SnapshotsGetParams) SetTimeout ¶
func (o *V1SnapshotsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 snapshots get params
func (*V1SnapshotsGetParams) WithContext ¶
func (o *V1SnapshotsGetParams) WithContext(ctx context.Context) *V1SnapshotsGetParams
WithContext adds the context to the v1 snapshots get params
func (*V1SnapshotsGetParams) WithDefaults ¶
func (o *V1SnapshotsGetParams) WithDefaults() *V1SnapshotsGetParams
WithDefaults hydrates default values in the v1 snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*V1SnapshotsGetParams) WithHTTPClient ¶
func (o *V1SnapshotsGetParams) WithHTTPClient(client *http.Client) *V1SnapshotsGetParams
WithHTTPClient adds the HTTPClient to the v1 snapshots get params
func (*V1SnapshotsGetParams) WithSnapshotID ¶
func (o *V1SnapshotsGetParams) WithSnapshotID(snapshotID string) *V1SnapshotsGetParams
WithSnapshotID adds the snapshotID to the v1 snapshots get params
func (*V1SnapshotsGetParams) WithTimeout ¶
func (o *V1SnapshotsGetParams) WithTimeout(timeout time.Duration) *V1SnapshotsGetParams
WithTimeout adds the timeout to the v1 snapshots get params
func (*V1SnapshotsGetParams) WriteToRequest ¶
func (o *V1SnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1SnapshotsGetReader ¶
type V1SnapshotsGetReader struct {
// contains filtered or unexported fields
}
V1SnapshotsGetReader is a Reader for the V1SnapshotsGet structure.
func (*V1SnapshotsGetReader) ReadResponse ¶
func (o *V1SnapshotsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1SnapshotsGetServiceUnavailable ¶
type V1SnapshotsGetServiceUnavailable struct {
}V1SnapshotsGetServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewV1SnapshotsGetServiceUnavailable ¶
func NewV1SnapshotsGetServiceUnavailable() *V1SnapshotsGetServiceUnavailable
NewV1SnapshotsGetServiceUnavailable creates a V1SnapshotsGetServiceUnavailable with default headers values
func (*V1SnapshotsGetServiceUnavailable) Code ¶
func (o *V1SnapshotsGetServiceUnavailable) Code() int
Code gets the status code for the v1 snapshots get service unavailable response
func (*V1SnapshotsGetServiceUnavailable) Error ¶
func (o *V1SnapshotsGetServiceUnavailable) Error() string
func (*V1SnapshotsGetServiceUnavailable) GetPayload ¶
func (o *V1SnapshotsGetServiceUnavailable) GetPayload() *models.Error
func (*V1SnapshotsGetServiceUnavailable) IsClientError ¶
func (o *V1SnapshotsGetServiceUnavailable) IsClientError() bool
IsClientError returns true when this v1 snapshots get service unavailable response has a 4xx status code
func (*V1SnapshotsGetServiceUnavailable) IsCode ¶
func (o *V1SnapshotsGetServiceUnavailable) IsCode(code int) bool
IsCode returns true when this v1 snapshots get service unavailable response a status code equal to that given
func (*V1SnapshotsGetServiceUnavailable) IsRedirect ¶
func (o *V1SnapshotsGetServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get service unavailable response has a 3xx status code
func (*V1SnapshotsGetServiceUnavailable) IsServerError ¶
func (o *V1SnapshotsGetServiceUnavailable) IsServerError() bool
IsServerError returns true when this v1 snapshots get service unavailable response has a 5xx status code
func (*V1SnapshotsGetServiceUnavailable) IsSuccess ¶
func (o *V1SnapshotsGetServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get service unavailable response has a 2xx status code
func (*V1SnapshotsGetServiceUnavailable) String ¶
func (o *V1SnapshotsGetServiceUnavailable) String() string
type V1SnapshotsGetUnauthorized ¶
type V1SnapshotsGetUnauthorized struct {
}V1SnapshotsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1SnapshotsGetUnauthorized ¶
func NewV1SnapshotsGetUnauthorized() *V1SnapshotsGetUnauthorized
NewV1SnapshotsGetUnauthorized creates a V1SnapshotsGetUnauthorized with default headers values
func (*V1SnapshotsGetUnauthorized) Code ¶
func (o *V1SnapshotsGetUnauthorized) Code() int
Code gets the status code for the v1 snapshots get unauthorized response
func (*V1SnapshotsGetUnauthorized) Error ¶
func (o *V1SnapshotsGetUnauthorized) Error() string
func (*V1SnapshotsGetUnauthorized) GetPayload ¶
func (o *V1SnapshotsGetUnauthorized) GetPayload() *models.Error
func (*V1SnapshotsGetUnauthorized) IsClientError ¶
func (o *V1SnapshotsGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 snapshots get unauthorized response has a 4xx status code
func (*V1SnapshotsGetUnauthorized) IsCode ¶
func (o *V1SnapshotsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 snapshots get unauthorized response a status code equal to that given
func (*V1SnapshotsGetUnauthorized) IsRedirect ¶
func (o *V1SnapshotsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 snapshots get unauthorized response has a 3xx status code
func (*V1SnapshotsGetUnauthorized) IsServerError ¶
func (o *V1SnapshotsGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 snapshots get unauthorized response has a 5xx status code
func (*V1SnapshotsGetUnauthorized) IsSuccess ¶
func (o *V1SnapshotsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 snapshots get unauthorized response has a 2xx status code
func (*V1SnapshotsGetUnauthorized) String ¶
func (o *V1SnapshotsGetUnauthorized) String() string
type V1SnapshotsGetallForbidden ¶
V1SnapshotsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1SnapshotsGetallForbidden ¶
func NewV1SnapshotsGetallForbidden() *V1SnapshotsGetallForbidden
NewV1SnapshotsGetallForbidden creates a V1SnapshotsGetallForbidden with default headers values
func (*V1SnapshotsGetallForbidden) Code ¶
func (o *V1SnapshotsGetallForbidden) Code() int
Code gets the status code for the v1 snapshots getall forbidden response
func (*V1SnapshotsGetallForbidden) Error ¶
func (o *V1SnapshotsGetallForbidden) Error() string
func (*V1SnapshotsGetallForbidden) GetPayload ¶
func (o *V1SnapshotsGetallForbidden) GetPayload() *models.Error
func (*V1SnapshotsGetallForbidden) IsClientError ¶
func (o *V1SnapshotsGetallForbidden) IsClientError() bool
IsClientError returns true when this v1 snapshots getall forbidden response has a 4xx status code
func (*V1SnapshotsGetallForbidden) IsCode ¶
func (o *V1SnapshotsGetallForbidden) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall forbidden response a status code equal to that given
func (*V1SnapshotsGetallForbidden) IsRedirect ¶
func (o *V1SnapshotsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall forbidden response has a 3xx status code
func (*V1SnapshotsGetallForbidden) IsServerError ¶
func (o *V1SnapshotsGetallForbidden) IsServerError() bool
IsServerError returns true when this v1 snapshots getall forbidden response has a 5xx status code
func (*V1SnapshotsGetallForbidden) IsSuccess ¶
func (o *V1SnapshotsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall forbidden response has a 2xx status code
func (*V1SnapshotsGetallForbidden) String ¶
func (o *V1SnapshotsGetallForbidden) String() string
type V1SnapshotsGetallInternalServerError ¶
V1SnapshotsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1SnapshotsGetallInternalServerError ¶
func NewV1SnapshotsGetallInternalServerError() *V1SnapshotsGetallInternalServerError
NewV1SnapshotsGetallInternalServerError creates a V1SnapshotsGetallInternalServerError with default headers values
func (*V1SnapshotsGetallInternalServerError) Code ¶
func (o *V1SnapshotsGetallInternalServerError) Code() int
Code gets the status code for the v1 snapshots getall internal server error response
func (*V1SnapshotsGetallInternalServerError) Error ¶
func (o *V1SnapshotsGetallInternalServerError) Error() string
func (*V1SnapshotsGetallInternalServerError) GetPayload ¶
func (o *V1SnapshotsGetallInternalServerError) GetPayload() *models.Error
func (*V1SnapshotsGetallInternalServerError) IsClientError ¶
func (o *V1SnapshotsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this v1 snapshots getall internal server error response has a 4xx status code
func (*V1SnapshotsGetallInternalServerError) IsCode ¶
func (o *V1SnapshotsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall internal server error response a status code equal to that given
func (*V1SnapshotsGetallInternalServerError) IsRedirect ¶
func (o *V1SnapshotsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall internal server error response has a 3xx status code
func (*V1SnapshotsGetallInternalServerError) IsServerError ¶
func (o *V1SnapshotsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this v1 snapshots getall internal server error response has a 5xx status code
func (*V1SnapshotsGetallInternalServerError) IsSuccess ¶
func (o *V1SnapshotsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall internal server error response has a 2xx status code
func (*V1SnapshotsGetallInternalServerError) String ¶
func (o *V1SnapshotsGetallInternalServerError) String() string
type V1SnapshotsGetallNotFound ¶
V1SnapshotsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1SnapshotsGetallNotFound ¶
func NewV1SnapshotsGetallNotFound() *V1SnapshotsGetallNotFound
NewV1SnapshotsGetallNotFound creates a V1SnapshotsGetallNotFound with default headers values
func (*V1SnapshotsGetallNotFound) Code ¶
func (o *V1SnapshotsGetallNotFound) Code() int
Code gets the status code for the v1 snapshots getall not found response
func (*V1SnapshotsGetallNotFound) Error ¶
func (o *V1SnapshotsGetallNotFound) Error() string
func (*V1SnapshotsGetallNotFound) GetPayload ¶
func (o *V1SnapshotsGetallNotFound) GetPayload() *models.Error
func (*V1SnapshotsGetallNotFound) IsClientError ¶
func (o *V1SnapshotsGetallNotFound) IsClientError() bool
IsClientError returns true when this v1 snapshots getall not found response has a 4xx status code
func (*V1SnapshotsGetallNotFound) IsCode ¶
func (o *V1SnapshotsGetallNotFound) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall not found response a status code equal to that given
func (*V1SnapshotsGetallNotFound) IsRedirect ¶
func (o *V1SnapshotsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall not found response has a 3xx status code
func (*V1SnapshotsGetallNotFound) IsServerError ¶
func (o *V1SnapshotsGetallNotFound) IsServerError() bool
IsServerError returns true when this v1 snapshots getall not found response has a 5xx status code
func (*V1SnapshotsGetallNotFound) IsSuccess ¶
func (o *V1SnapshotsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall not found response has a 2xx status code
func (*V1SnapshotsGetallNotFound) String ¶
func (o *V1SnapshotsGetallNotFound) String() string
type V1SnapshotsGetallOK ¶
type V1SnapshotsGetallOK struct {
Payload *models.SnapshotList
}
V1SnapshotsGetallOK describes a response with status code 200, with default header values.
OK
func NewV1SnapshotsGetallOK ¶
func NewV1SnapshotsGetallOK() *V1SnapshotsGetallOK
NewV1SnapshotsGetallOK creates a V1SnapshotsGetallOK with default headers values
func (*V1SnapshotsGetallOK) Code ¶
func (o *V1SnapshotsGetallOK) Code() int
Code gets the status code for the v1 snapshots getall o k response
func (*V1SnapshotsGetallOK) Error ¶
func (o *V1SnapshotsGetallOK) Error() string
func (*V1SnapshotsGetallOK) GetPayload ¶
func (o *V1SnapshotsGetallOK) GetPayload() *models.SnapshotList
func (*V1SnapshotsGetallOK) IsClientError ¶
func (o *V1SnapshotsGetallOK) IsClientError() bool
IsClientError returns true when this v1 snapshots getall o k response has a 4xx status code
func (*V1SnapshotsGetallOK) IsCode ¶
func (o *V1SnapshotsGetallOK) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall o k response a status code equal to that given
func (*V1SnapshotsGetallOK) IsRedirect ¶
func (o *V1SnapshotsGetallOK) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall o k response has a 3xx status code
func (*V1SnapshotsGetallOK) IsServerError ¶
func (o *V1SnapshotsGetallOK) IsServerError() bool
IsServerError returns true when this v1 snapshots getall o k response has a 5xx status code
func (*V1SnapshotsGetallOK) IsSuccess ¶
func (o *V1SnapshotsGetallOK) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall o k response has a 2xx status code
func (*V1SnapshotsGetallOK) String ¶
func (o *V1SnapshotsGetallOK) String() string
type V1SnapshotsGetallParams ¶
type V1SnapshotsGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1SnapshotsGetallParams contains all the parameters to send to the API endpoint
for the v1 snapshots getall operation. Typically these are written to a http.Request.
func NewV1SnapshotsGetallParams ¶
func NewV1SnapshotsGetallParams() *V1SnapshotsGetallParams
NewV1SnapshotsGetallParams creates a new V1SnapshotsGetallParams 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 NewV1SnapshotsGetallParamsWithContext ¶
func NewV1SnapshotsGetallParamsWithContext(ctx context.Context) *V1SnapshotsGetallParams
NewV1SnapshotsGetallParamsWithContext creates a new V1SnapshotsGetallParams object with the ability to set a context for a request.
func NewV1SnapshotsGetallParamsWithHTTPClient ¶
func NewV1SnapshotsGetallParamsWithHTTPClient(client *http.Client) *V1SnapshotsGetallParams
NewV1SnapshotsGetallParamsWithHTTPClient creates a new V1SnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewV1SnapshotsGetallParamsWithTimeout ¶
func NewV1SnapshotsGetallParamsWithTimeout(timeout time.Duration) *V1SnapshotsGetallParams
NewV1SnapshotsGetallParamsWithTimeout creates a new V1SnapshotsGetallParams object with the ability to set a timeout on a request.
func (*V1SnapshotsGetallParams) SetContext ¶
func (o *V1SnapshotsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) SetDefaults ¶
func (o *V1SnapshotsGetallParams) SetDefaults()
SetDefaults hydrates default values in the v1 snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1SnapshotsGetallParams) SetHTTPClient ¶
func (o *V1SnapshotsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) SetTimeout ¶
func (o *V1SnapshotsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) WithContext ¶
func (o *V1SnapshotsGetallParams) WithContext(ctx context.Context) *V1SnapshotsGetallParams
WithContext adds the context to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) WithDefaults ¶
func (o *V1SnapshotsGetallParams) WithDefaults() *V1SnapshotsGetallParams
WithDefaults hydrates default values in the v1 snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1SnapshotsGetallParams) WithHTTPClient ¶
func (o *V1SnapshotsGetallParams) WithHTTPClient(client *http.Client) *V1SnapshotsGetallParams
WithHTTPClient adds the HTTPClient to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) WithTimeout ¶
func (o *V1SnapshotsGetallParams) WithTimeout(timeout time.Duration) *V1SnapshotsGetallParams
WithTimeout adds the timeout to the v1 snapshots getall params
func (*V1SnapshotsGetallParams) WriteToRequest ¶
func (o *V1SnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1SnapshotsGetallReader ¶
type V1SnapshotsGetallReader struct {
// contains filtered or unexported fields
}
V1SnapshotsGetallReader is a Reader for the V1SnapshotsGetall structure.
func (*V1SnapshotsGetallReader) ReadResponse ¶
func (o *V1SnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1SnapshotsGetallServiceUnavailable ¶
type V1SnapshotsGetallServiceUnavailable struct {
}V1SnapshotsGetallServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewV1SnapshotsGetallServiceUnavailable ¶
func NewV1SnapshotsGetallServiceUnavailable() *V1SnapshotsGetallServiceUnavailable
NewV1SnapshotsGetallServiceUnavailable creates a V1SnapshotsGetallServiceUnavailable with default headers values
func (*V1SnapshotsGetallServiceUnavailable) Code ¶
func (o *V1SnapshotsGetallServiceUnavailable) Code() int
Code gets the status code for the v1 snapshots getall service unavailable response
func (*V1SnapshotsGetallServiceUnavailable) Error ¶
func (o *V1SnapshotsGetallServiceUnavailable) Error() string
func (*V1SnapshotsGetallServiceUnavailable) GetPayload ¶
func (o *V1SnapshotsGetallServiceUnavailable) GetPayload() *models.Error
func (*V1SnapshotsGetallServiceUnavailable) IsClientError ¶
func (o *V1SnapshotsGetallServiceUnavailable) IsClientError() bool
IsClientError returns true when this v1 snapshots getall service unavailable response has a 4xx status code
func (*V1SnapshotsGetallServiceUnavailable) IsCode ¶
func (o *V1SnapshotsGetallServiceUnavailable) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall service unavailable response a status code equal to that given
func (*V1SnapshotsGetallServiceUnavailable) IsRedirect ¶
func (o *V1SnapshotsGetallServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall service unavailable response has a 3xx status code
func (*V1SnapshotsGetallServiceUnavailable) IsServerError ¶
func (o *V1SnapshotsGetallServiceUnavailable) IsServerError() bool
IsServerError returns true when this v1 snapshots getall service unavailable response has a 5xx status code
func (*V1SnapshotsGetallServiceUnavailable) IsSuccess ¶
func (o *V1SnapshotsGetallServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall service unavailable response has a 2xx status code
func (*V1SnapshotsGetallServiceUnavailable) String ¶
func (o *V1SnapshotsGetallServiceUnavailable) String() string
type V1SnapshotsGetallUnauthorized ¶
type V1SnapshotsGetallUnauthorized struct {
}V1SnapshotsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1SnapshotsGetallUnauthorized ¶
func NewV1SnapshotsGetallUnauthorized() *V1SnapshotsGetallUnauthorized
NewV1SnapshotsGetallUnauthorized creates a V1SnapshotsGetallUnauthorized with default headers values
func (*V1SnapshotsGetallUnauthorized) Code ¶
func (o *V1SnapshotsGetallUnauthorized) Code() int
Code gets the status code for the v1 snapshots getall unauthorized response
func (*V1SnapshotsGetallUnauthorized) Error ¶
func (o *V1SnapshotsGetallUnauthorized) Error() string
func (*V1SnapshotsGetallUnauthorized) GetPayload ¶
func (o *V1SnapshotsGetallUnauthorized) GetPayload() *models.Error
func (*V1SnapshotsGetallUnauthorized) IsClientError ¶
func (o *V1SnapshotsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this v1 snapshots getall unauthorized response has a 4xx status code
func (*V1SnapshotsGetallUnauthorized) IsCode ¶
func (o *V1SnapshotsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 snapshots getall unauthorized response a status code equal to that given
func (*V1SnapshotsGetallUnauthorized) IsRedirect ¶
func (o *V1SnapshotsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 snapshots getall unauthorized response has a 3xx status code
func (*V1SnapshotsGetallUnauthorized) IsServerError ¶
func (o *V1SnapshotsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this v1 snapshots getall unauthorized response has a 5xx status code
func (*V1SnapshotsGetallUnauthorized) IsSuccess ¶
func (o *V1SnapshotsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 snapshots getall unauthorized response has a 2xx status code
func (*V1SnapshotsGetallUnauthorized) String ¶
func (o *V1SnapshotsGetallUnauthorized) String() string
type V1VolumeSnapshotsGetBadRequest ¶ added in v1.8.1
V1VolumeSnapshotsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1VolumeSnapshotsGetBadRequest ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetBadRequest() *V1VolumeSnapshotsGetBadRequest
NewV1VolumeSnapshotsGetBadRequest creates a V1VolumeSnapshotsGetBadRequest with default headers values
func (*V1VolumeSnapshotsGetBadRequest) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) Code() int
Code gets the status code for the v1 volume snapshots get bad request response
func (*V1VolumeSnapshotsGetBadRequest) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) Error() string
func (*V1VolumeSnapshotsGetBadRequest) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetBadRequest) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get bad request response has a 4xx status code
func (*V1VolumeSnapshotsGetBadRequest) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get bad request response a status code equal to that given
func (*V1VolumeSnapshotsGetBadRequest) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get bad request response has a 3xx status code
func (*V1VolumeSnapshotsGetBadRequest) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get bad request response has a 5xx status code
func (*V1VolumeSnapshotsGetBadRequest) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get bad request response has a 2xx status code
func (*V1VolumeSnapshotsGetBadRequest) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetBadRequest) String() string
type V1VolumeSnapshotsGetForbidden ¶ added in v1.8.1
V1VolumeSnapshotsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1VolumeSnapshotsGetForbidden ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetForbidden() *V1VolumeSnapshotsGetForbidden
NewV1VolumeSnapshotsGetForbidden creates a V1VolumeSnapshotsGetForbidden with default headers values
func (*V1VolumeSnapshotsGetForbidden) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) Code() int
Code gets the status code for the v1 volume snapshots get forbidden response
func (*V1VolumeSnapshotsGetForbidden) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) Error() string
func (*V1VolumeSnapshotsGetForbidden) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetForbidden) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get forbidden response has a 4xx status code
func (*V1VolumeSnapshotsGetForbidden) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get forbidden response a status code equal to that given
func (*V1VolumeSnapshotsGetForbidden) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get forbidden response has a 3xx status code
func (*V1VolumeSnapshotsGetForbidden) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get forbidden response has a 5xx status code
func (*V1VolumeSnapshotsGetForbidden) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get forbidden response has a 2xx status code
func (*V1VolumeSnapshotsGetForbidden) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetForbidden) String() string
type V1VolumeSnapshotsGetInternalServerError ¶ added in v1.8.1
V1VolumeSnapshotsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1VolumeSnapshotsGetInternalServerError ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetInternalServerError() *V1VolumeSnapshotsGetInternalServerError
NewV1VolumeSnapshotsGetInternalServerError creates a V1VolumeSnapshotsGetInternalServerError with default headers values
func (*V1VolumeSnapshotsGetInternalServerError) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) Code() int
Code gets the status code for the v1 volume snapshots get internal server error response
func (*V1VolumeSnapshotsGetInternalServerError) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) Error() string
func (*V1VolumeSnapshotsGetInternalServerError) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetInternalServerError) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get internal server error response has a 4xx status code
func (*V1VolumeSnapshotsGetInternalServerError) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get internal server error response a status code equal to that given
func (*V1VolumeSnapshotsGetInternalServerError) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get internal server error response has a 3xx status code
func (*V1VolumeSnapshotsGetInternalServerError) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get internal server error response has a 5xx status code
func (*V1VolumeSnapshotsGetInternalServerError) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get internal server error response has a 2xx status code
func (*V1VolumeSnapshotsGetInternalServerError) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetInternalServerError) String() string
type V1VolumeSnapshotsGetNotFound ¶ added in v1.8.1
V1VolumeSnapshotsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1VolumeSnapshotsGetNotFound ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetNotFound() *V1VolumeSnapshotsGetNotFound
NewV1VolumeSnapshotsGetNotFound creates a V1VolumeSnapshotsGetNotFound with default headers values
func (*V1VolumeSnapshotsGetNotFound) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) Code() int
Code gets the status code for the v1 volume snapshots get not found response
func (*V1VolumeSnapshotsGetNotFound) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) Error() string
func (*V1VolumeSnapshotsGetNotFound) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetNotFound) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get not found response has a 4xx status code
func (*V1VolumeSnapshotsGetNotFound) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get not found response a status code equal to that given
func (*V1VolumeSnapshotsGetNotFound) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get not found response has a 3xx status code
func (*V1VolumeSnapshotsGetNotFound) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get not found response has a 5xx status code
func (*V1VolumeSnapshotsGetNotFound) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get not found response has a 2xx status code
func (*V1VolumeSnapshotsGetNotFound) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetNotFound) String() string
type V1VolumeSnapshotsGetOK ¶ added in v1.8.1
type V1VolumeSnapshotsGetOK struct {
Payload *models.SnapshotV1
}
V1VolumeSnapshotsGetOK describes a response with status code 200, with default header values.
OK
func NewV1VolumeSnapshotsGetOK ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetOK() *V1VolumeSnapshotsGetOK
NewV1VolumeSnapshotsGetOK creates a V1VolumeSnapshotsGetOK with default headers values
func (*V1VolumeSnapshotsGetOK) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) Code() int
Code gets the status code for the v1 volume snapshots get o k response
func (*V1VolumeSnapshotsGetOK) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) Error() string
func (*V1VolumeSnapshotsGetOK) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) GetPayload() *models.SnapshotV1
func (*V1VolumeSnapshotsGetOK) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get o k response has a 4xx status code
func (*V1VolumeSnapshotsGetOK) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get o k response a status code equal to that given
func (*V1VolumeSnapshotsGetOK) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get o k response has a 3xx status code
func (*V1VolumeSnapshotsGetOK) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get o k response has a 5xx status code
func (*V1VolumeSnapshotsGetOK) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get o k response has a 2xx status code
func (*V1VolumeSnapshotsGetOK) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetOK) String() string
type V1VolumeSnapshotsGetParams ¶ added in v1.8.1
type V1VolumeSnapshotsGetParams struct { /* VolumeSnapshotUUID. The volume snapshot UUID */ VolumeSnapshotUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1VolumeSnapshotsGetParams contains all the parameters to send to the API endpoint
for the v1 volume snapshots get operation. Typically these are written to a http.Request.
func NewV1VolumeSnapshotsGetParams ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetParams() *V1VolumeSnapshotsGetParams
NewV1VolumeSnapshotsGetParams creates a new V1VolumeSnapshotsGetParams 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 NewV1VolumeSnapshotsGetParamsWithContext ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetParamsWithContext(ctx context.Context) *V1VolumeSnapshotsGetParams
NewV1VolumeSnapshotsGetParamsWithContext creates a new V1VolumeSnapshotsGetParams object with the ability to set a context for a request.
func NewV1VolumeSnapshotsGetParamsWithHTTPClient ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetParamsWithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetParams
NewV1VolumeSnapshotsGetParamsWithHTTPClient creates a new V1VolumeSnapshotsGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1VolumeSnapshotsGetParamsWithTimeout ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetParamsWithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetParams
NewV1VolumeSnapshotsGetParamsWithTimeout creates a new V1VolumeSnapshotsGetParams object with the ability to set a timeout on a request.
func (*V1VolumeSnapshotsGetParams) SetContext ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) SetDefaults ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 volume snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*V1VolumeSnapshotsGetParams) SetHTTPClient ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) SetTimeout ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) SetVolumeSnapshotUUID ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) SetVolumeSnapshotUUID(volumeSnapshotUUID string)
SetVolumeSnapshotUUID adds the volumeSnapshotUuid to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) WithContext ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WithContext(ctx context.Context) *V1VolumeSnapshotsGetParams
WithContext adds the context to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) WithDefaults ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WithDefaults() *V1VolumeSnapshotsGetParams
WithDefaults hydrates default values in the v1 volume snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*V1VolumeSnapshotsGetParams) WithHTTPClient ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetParams
WithHTTPClient adds the HTTPClient to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) WithTimeout ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetParams
WithTimeout adds the timeout to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) WithVolumeSnapshotUUID ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WithVolumeSnapshotUUID(volumeSnapshotUUID string) *V1VolumeSnapshotsGetParams
WithVolumeSnapshotUUID adds the volumeSnapshotUUID to the v1 volume snapshots get params
func (*V1VolumeSnapshotsGetParams) WriteToRequest ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1VolumeSnapshotsGetReader ¶ added in v1.8.1
type V1VolumeSnapshotsGetReader struct {
// contains filtered or unexported fields
}
V1VolumeSnapshotsGetReader is a Reader for the V1VolumeSnapshotsGet structure.
func (*V1VolumeSnapshotsGetReader) ReadResponse ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1VolumeSnapshotsGetServiceUnavailable ¶ added in v1.8.1
type V1VolumeSnapshotsGetServiceUnavailable struct {
}V1VolumeSnapshotsGetServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewV1VolumeSnapshotsGetServiceUnavailable ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetServiceUnavailable() *V1VolumeSnapshotsGetServiceUnavailable
NewV1VolumeSnapshotsGetServiceUnavailable creates a V1VolumeSnapshotsGetServiceUnavailable with default headers values
func (*V1VolumeSnapshotsGetServiceUnavailable) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) Code() int
Code gets the status code for the v1 volume snapshots get service unavailable response
func (*V1VolumeSnapshotsGetServiceUnavailable) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) Error() string
func (*V1VolumeSnapshotsGetServiceUnavailable) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetServiceUnavailable) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get service unavailable response has a 4xx status code
func (*V1VolumeSnapshotsGetServiceUnavailable) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get service unavailable response a status code equal to that given
func (*V1VolumeSnapshotsGetServiceUnavailable) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get service unavailable response has a 3xx status code
func (*V1VolumeSnapshotsGetServiceUnavailable) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get service unavailable response has a 5xx status code
func (*V1VolumeSnapshotsGetServiceUnavailable) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get service unavailable response has a 2xx status code
func (*V1VolumeSnapshotsGetServiceUnavailable) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetServiceUnavailable) String() string
type V1VolumeSnapshotsGetUnauthorized ¶ added in v1.8.1
type V1VolumeSnapshotsGetUnauthorized struct {
}V1VolumeSnapshotsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1VolumeSnapshotsGetUnauthorized ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetUnauthorized() *V1VolumeSnapshotsGetUnauthorized
NewV1VolumeSnapshotsGetUnauthorized creates a V1VolumeSnapshotsGetUnauthorized with default headers values
func (*V1VolumeSnapshotsGetUnauthorized) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) Code() int
Code gets the status code for the v1 volume snapshots get unauthorized response
func (*V1VolumeSnapshotsGetUnauthorized) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) Error() string
func (*V1VolumeSnapshotsGetUnauthorized) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetUnauthorized) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 volume snapshots get unauthorized response has a 4xx status code
func (*V1VolumeSnapshotsGetUnauthorized) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots get unauthorized response a status code equal to that given
func (*V1VolumeSnapshotsGetUnauthorized) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots get unauthorized response has a 3xx status code
func (*V1VolumeSnapshotsGetUnauthorized) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 volume snapshots get unauthorized response has a 5xx status code
func (*V1VolumeSnapshotsGetUnauthorized) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots get unauthorized response has a 2xx status code
func (*V1VolumeSnapshotsGetUnauthorized) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetUnauthorized) String() string
type V1VolumeSnapshotsGetallForbidden ¶ added in v1.8.1
V1VolumeSnapshotsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1VolumeSnapshotsGetallForbidden ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallForbidden() *V1VolumeSnapshotsGetallForbidden
NewV1VolumeSnapshotsGetallForbidden creates a V1VolumeSnapshotsGetallForbidden with default headers values
func (*V1VolumeSnapshotsGetallForbidden) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) Code() int
Code gets the status code for the v1 volume snapshots getall forbidden response
func (*V1VolumeSnapshotsGetallForbidden) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) Error() string
func (*V1VolumeSnapshotsGetallForbidden) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetallForbidden) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall forbidden response has a 4xx status code
func (*V1VolumeSnapshotsGetallForbidden) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall forbidden response a status code equal to that given
func (*V1VolumeSnapshotsGetallForbidden) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall forbidden response has a 3xx status code
func (*V1VolumeSnapshotsGetallForbidden) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall forbidden response has a 5xx status code
func (*V1VolumeSnapshotsGetallForbidden) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall forbidden response has a 2xx status code
func (*V1VolumeSnapshotsGetallForbidden) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallForbidden) String() string
type V1VolumeSnapshotsGetallInternalServerError ¶ added in v1.8.1
V1VolumeSnapshotsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1VolumeSnapshotsGetallInternalServerError ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallInternalServerError() *V1VolumeSnapshotsGetallInternalServerError
NewV1VolumeSnapshotsGetallInternalServerError creates a V1VolumeSnapshotsGetallInternalServerError with default headers values
func (*V1VolumeSnapshotsGetallInternalServerError) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) Code() int
Code gets the status code for the v1 volume snapshots getall internal server error response
func (*V1VolumeSnapshotsGetallInternalServerError) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) Error() string
func (*V1VolumeSnapshotsGetallInternalServerError) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetallInternalServerError) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall internal server error response has a 4xx status code
func (*V1VolumeSnapshotsGetallInternalServerError) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall internal server error response a status code equal to that given
func (*V1VolumeSnapshotsGetallInternalServerError) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall internal server error response has a 3xx status code
func (*V1VolumeSnapshotsGetallInternalServerError) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall internal server error response has a 5xx status code
func (*V1VolumeSnapshotsGetallInternalServerError) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall internal server error response has a 2xx status code
func (*V1VolumeSnapshotsGetallInternalServerError) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallInternalServerError) String() string
type V1VolumeSnapshotsGetallNotFound ¶ added in v1.8.1
V1VolumeSnapshotsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1VolumeSnapshotsGetallNotFound ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallNotFound() *V1VolumeSnapshotsGetallNotFound
NewV1VolumeSnapshotsGetallNotFound creates a V1VolumeSnapshotsGetallNotFound with default headers values
func (*V1VolumeSnapshotsGetallNotFound) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) Code() int
Code gets the status code for the v1 volume snapshots getall not found response
func (*V1VolumeSnapshotsGetallNotFound) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) Error() string
func (*V1VolumeSnapshotsGetallNotFound) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetallNotFound) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall not found response has a 4xx status code
func (*V1VolumeSnapshotsGetallNotFound) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall not found response a status code equal to that given
func (*V1VolumeSnapshotsGetallNotFound) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall not found response has a 3xx status code
func (*V1VolumeSnapshotsGetallNotFound) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall not found response has a 5xx status code
func (*V1VolumeSnapshotsGetallNotFound) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall not found response has a 2xx status code
func (*V1VolumeSnapshotsGetallNotFound) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallNotFound) String() string
type V1VolumeSnapshotsGetallOK ¶ added in v1.8.1
type V1VolumeSnapshotsGetallOK struct {
Payload *models.VolumeSnapshotList
}
V1VolumeSnapshotsGetallOK describes a response with status code 200, with default header values.
OK
func NewV1VolumeSnapshotsGetallOK ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallOK() *V1VolumeSnapshotsGetallOK
NewV1VolumeSnapshotsGetallOK creates a V1VolumeSnapshotsGetallOK with default headers values
func (*V1VolumeSnapshotsGetallOK) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) Code() int
Code gets the status code for the v1 volume snapshots getall o k response
func (*V1VolumeSnapshotsGetallOK) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) Error() string
func (*V1VolumeSnapshotsGetallOK) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) GetPayload() *models.VolumeSnapshotList
func (*V1VolumeSnapshotsGetallOK) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall o k response has a 4xx status code
func (*V1VolumeSnapshotsGetallOK) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall o k response a status code equal to that given
func (*V1VolumeSnapshotsGetallOK) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall o k response has a 3xx status code
func (*V1VolumeSnapshotsGetallOK) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall o k response has a 5xx status code
func (*V1VolumeSnapshotsGetallOK) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall o k response has a 2xx status code
func (*V1VolumeSnapshotsGetallOK) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallOK) String() string
type V1VolumeSnapshotsGetallParams ¶ added in v1.8.1
type V1VolumeSnapshotsGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1VolumeSnapshotsGetallParams contains all the parameters to send to the API endpoint
for the v1 volume snapshots getall operation. Typically these are written to a http.Request.
func NewV1VolumeSnapshotsGetallParams ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallParams() *V1VolumeSnapshotsGetallParams
NewV1VolumeSnapshotsGetallParams creates a new V1VolumeSnapshotsGetallParams 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 NewV1VolumeSnapshotsGetallParamsWithContext ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallParamsWithContext(ctx context.Context) *V1VolumeSnapshotsGetallParams
NewV1VolumeSnapshotsGetallParamsWithContext creates a new V1VolumeSnapshotsGetallParams object with the ability to set a context for a request.
func NewV1VolumeSnapshotsGetallParamsWithHTTPClient ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallParamsWithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetallParams
NewV1VolumeSnapshotsGetallParamsWithHTTPClient creates a new V1VolumeSnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewV1VolumeSnapshotsGetallParamsWithTimeout ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallParamsWithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetallParams
NewV1VolumeSnapshotsGetallParamsWithTimeout creates a new V1VolumeSnapshotsGetallParams object with the ability to set a timeout on a request.
func (*V1VolumeSnapshotsGetallParams) SetContext ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) SetDefaults ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) SetDefaults()
SetDefaults hydrates default values in the v1 volume snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1VolumeSnapshotsGetallParams) SetHTTPClient ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) SetTimeout ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) WithContext ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) WithContext(ctx context.Context) *V1VolumeSnapshotsGetallParams
WithContext adds the context to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) WithDefaults ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) WithDefaults() *V1VolumeSnapshotsGetallParams
WithDefaults hydrates default values in the v1 volume snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1VolumeSnapshotsGetallParams) WithHTTPClient ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) WithHTTPClient(client *http.Client) *V1VolumeSnapshotsGetallParams
WithHTTPClient adds the HTTPClient to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) WithTimeout ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) WithTimeout(timeout time.Duration) *V1VolumeSnapshotsGetallParams
WithTimeout adds the timeout to the v1 volume snapshots getall params
func (*V1VolumeSnapshotsGetallParams) WriteToRequest ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1VolumeSnapshotsGetallReader ¶ added in v1.8.1
type V1VolumeSnapshotsGetallReader struct {
// contains filtered or unexported fields
}
V1VolumeSnapshotsGetallReader is a Reader for the V1VolumeSnapshotsGetall structure.
func (*V1VolumeSnapshotsGetallReader) ReadResponse ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1VolumeSnapshotsGetallServiceUnavailable ¶ added in v1.8.1
type V1VolumeSnapshotsGetallServiceUnavailable struct {
}V1VolumeSnapshotsGetallServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewV1VolumeSnapshotsGetallServiceUnavailable ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallServiceUnavailable() *V1VolumeSnapshotsGetallServiceUnavailable
NewV1VolumeSnapshotsGetallServiceUnavailable creates a V1VolumeSnapshotsGetallServiceUnavailable with default headers values
func (*V1VolumeSnapshotsGetallServiceUnavailable) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) Code() int
Code gets the status code for the v1 volume snapshots getall service unavailable response
func (*V1VolumeSnapshotsGetallServiceUnavailable) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) Error() string
func (*V1VolumeSnapshotsGetallServiceUnavailable) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetallServiceUnavailable) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall service unavailable response has a 4xx status code
func (*V1VolumeSnapshotsGetallServiceUnavailable) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall service unavailable response a status code equal to that given
func (*V1VolumeSnapshotsGetallServiceUnavailable) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall service unavailable response has a 3xx status code
func (*V1VolumeSnapshotsGetallServiceUnavailable) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall service unavailable response has a 5xx status code
func (*V1VolumeSnapshotsGetallServiceUnavailable) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall service unavailable response has a 2xx status code
func (*V1VolumeSnapshotsGetallServiceUnavailable) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallServiceUnavailable) String() string
type V1VolumeSnapshotsGetallUnauthorized ¶ added in v1.8.1
type V1VolumeSnapshotsGetallUnauthorized struct {
}V1VolumeSnapshotsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1VolumeSnapshotsGetallUnauthorized ¶ added in v1.8.1
func NewV1VolumeSnapshotsGetallUnauthorized() *V1VolumeSnapshotsGetallUnauthorized
NewV1VolumeSnapshotsGetallUnauthorized creates a V1VolumeSnapshotsGetallUnauthorized with default headers values
func (*V1VolumeSnapshotsGetallUnauthorized) Code ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) Code() int
Code gets the status code for the v1 volume snapshots getall unauthorized response
func (*V1VolumeSnapshotsGetallUnauthorized) Error ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) Error() string
func (*V1VolumeSnapshotsGetallUnauthorized) GetPayload ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) GetPayload() *models.Error
func (*V1VolumeSnapshotsGetallUnauthorized) IsClientError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this v1 volume snapshots getall unauthorized response has a 4xx status code
func (*V1VolumeSnapshotsGetallUnauthorized) IsCode ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 volume snapshots getall unauthorized response a status code equal to that given
func (*V1VolumeSnapshotsGetallUnauthorized) IsRedirect ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 volume snapshots getall unauthorized response has a 3xx status code
func (*V1VolumeSnapshotsGetallUnauthorized) IsServerError ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this v1 volume snapshots getall unauthorized response has a 5xx status code
func (*V1VolumeSnapshotsGetallUnauthorized) IsSuccess ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 volume snapshots getall unauthorized response has a 2xx status code
func (*V1VolumeSnapshotsGetallUnauthorized) String ¶ added in v1.8.1
func (o *V1VolumeSnapshotsGetallUnauthorized) String() string
Source Files ¶
- snapshots_client.go
- v1_snapshots_get_parameters.go
- v1_snapshots_get_responses.go
- v1_snapshots_getall_parameters.go
- v1_snapshots_getall_responses.go
- v1_volume_snapshots_get_parameters.go
- v1_volume_snapshots_get_responses.go
- v1_volume_snapshots_getall_parameters.go
- v1_volume_snapshots_getall_responses.go