Documentation
¶
Index ¶
- type Client
- func (a *Client) DecryptWithManualKey(params *DecryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DecryptWithManualKeyOK, error)
- func (a *Client) DeleteManualKey(params *DeleteManualKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteManualKeyOK, *DeleteManualKeyNoContent, error)
- func (a *Client) EncryptWithManualKey(params *EncryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EncryptWithManualKeyCreated, error)
- func (a *Client) ReadManualKey(params *ReadManualKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReadManualKeyOK, error)
- func (a *Client) RestoreManualKey(params *RestoreManualKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreManualKeyNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateKey(params *UpdateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateKeyOK, error)
- func (a *Client) UploadKey(params *UploadKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadKeyCreated, error)
- type ClientOption
- type ClientService
- type DecryptWithManualKeyBadRequest
- func (o *DecryptWithManualKeyBadRequest) Error() string
- func (o *DecryptWithManualKeyBadRequest) GetPayload() *models.HTTPError
- func (o *DecryptWithManualKeyBadRequest) IsClientError() bool
- func (o *DecryptWithManualKeyBadRequest) IsCode(code int) bool
- func (o *DecryptWithManualKeyBadRequest) IsRedirect() bool
- func (o *DecryptWithManualKeyBadRequest) IsServerError() bool
- func (o *DecryptWithManualKeyBadRequest) IsSuccess() bool
- func (o *DecryptWithManualKeyBadRequest) String() string
- type DecryptWithManualKeyForbidden
- func (o *DecryptWithManualKeyForbidden) Error() string
- func (o *DecryptWithManualKeyForbidden) GetPayload() *models.HTTPError
- func (o *DecryptWithManualKeyForbidden) IsClientError() bool
- func (o *DecryptWithManualKeyForbidden) IsCode(code int) bool
- func (o *DecryptWithManualKeyForbidden) IsRedirect() bool
- func (o *DecryptWithManualKeyForbidden) IsServerError() bool
- func (o *DecryptWithManualKeyForbidden) IsSuccess() bool
- func (o *DecryptWithManualKeyForbidden) String() string
- type DecryptWithManualKeyInternalServerError
- func (o *DecryptWithManualKeyInternalServerError) Error() string
- func (o *DecryptWithManualKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *DecryptWithManualKeyInternalServerError) IsClientError() bool
- func (o *DecryptWithManualKeyInternalServerError) IsCode(code int) bool
- func (o *DecryptWithManualKeyInternalServerError) IsRedirect() bool
- func (o *DecryptWithManualKeyInternalServerError) IsServerError() bool
- func (o *DecryptWithManualKeyInternalServerError) IsSuccess() bool
- func (o *DecryptWithManualKeyInternalServerError) String() string
- type DecryptWithManualKeyOK
- func (o *DecryptWithManualKeyOK) Error() string
- func (o *DecryptWithManualKeyOK) GetPayload() *models.DecryptionResponse
- func (o *DecryptWithManualKeyOK) IsClientError() bool
- func (o *DecryptWithManualKeyOK) IsCode(code int) bool
- func (o *DecryptWithManualKeyOK) IsRedirect() bool
- func (o *DecryptWithManualKeyOK) IsServerError() bool
- func (o *DecryptWithManualKeyOK) IsSuccess() bool
- func (o *DecryptWithManualKeyOK) String() string
- type DecryptWithManualKeyParams
- func NewDecryptWithManualKeyParams() *DecryptWithManualKeyParams
- func NewDecryptWithManualKeyParamsWithContext(ctx context.Context) *DecryptWithManualKeyParams
- func NewDecryptWithManualKeyParamsWithHTTPClient(client *http.Client) *DecryptWithManualKeyParams
- func NewDecryptWithManualKeyParamsWithTimeout(timeout time.Duration) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) SetCiphertext(ciphertext []uint8)
- func (o *DecryptWithManualKeyParams) SetContext(ctx context.Context)
- func (o *DecryptWithManualKeyParams) SetDefaults()
- func (o *DecryptWithManualKeyParams) SetHTTPClient(client *http.Client)
- func (o *DecryptWithManualKeyParams) SetPath(path string)
- func (o *DecryptWithManualKeyParams) SetTimeout(timeout time.Duration)
- func (o *DecryptWithManualKeyParams) SetVersion(version *string)
- func (o *DecryptWithManualKeyParams) WithCiphertext(ciphertext []uint8) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithContext(ctx context.Context) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithDefaults() *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithHTTPClient(client *http.Client) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithPath(path string) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithTimeout(timeout time.Duration) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WithVersion(version *string) *DecryptWithManualKeyParams
- func (o *DecryptWithManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecryptWithManualKeyReader
- type DecryptWithManualKeyUnauthorized
- func (o *DecryptWithManualKeyUnauthorized) Error() string
- func (o *DecryptWithManualKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *DecryptWithManualKeyUnauthorized) IsClientError() bool
- func (o *DecryptWithManualKeyUnauthorized) IsCode(code int) bool
- func (o *DecryptWithManualKeyUnauthorized) IsRedirect() bool
- func (o *DecryptWithManualKeyUnauthorized) IsServerError() bool
- func (o *DecryptWithManualKeyUnauthorized) IsSuccess() bool
- func (o *DecryptWithManualKeyUnauthorized) String() string
- type DeleteManualKeyBadRequest
- func (o *DeleteManualKeyBadRequest) Error() string
- func (o *DeleteManualKeyBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteManualKeyBadRequest) IsClientError() bool
- func (o *DeleteManualKeyBadRequest) IsCode(code int) bool
- func (o *DeleteManualKeyBadRequest) IsRedirect() bool
- func (o *DeleteManualKeyBadRequest) IsServerError() bool
- func (o *DeleteManualKeyBadRequest) IsSuccess() bool
- func (o *DeleteManualKeyBadRequest) String() string
- type DeleteManualKeyForbidden
- func (o *DeleteManualKeyForbidden) Error() string
- func (o *DeleteManualKeyForbidden) GetPayload() *models.HTTPError
- func (o *DeleteManualKeyForbidden) IsClientError() bool
- func (o *DeleteManualKeyForbidden) IsCode(code int) bool
- func (o *DeleteManualKeyForbidden) IsRedirect() bool
- func (o *DeleteManualKeyForbidden) IsServerError() bool
- func (o *DeleteManualKeyForbidden) IsSuccess() bool
- func (o *DeleteManualKeyForbidden) String() string
- type DeleteManualKeyInternalServerError
- func (o *DeleteManualKeyInternalServerError) Error() string
- func (o *DeleteManualKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteManualKeyInternalServerError) IsClientError() bool
- func (o *DeleteManualKeyInternalServerError) IsCode(code int) bool
- func (o *DeleteManualKeyInternalServerError) IsRedirect() bool
- func (o *DeleteManualKeyInternalServerError) IsServerError() bool
- func (o *DeleteManualKeyInternalServerError) IsSuccess() bool
- func (o *DeleteManualKeyInternalServerError) String() string
- type DeleteManualKeyNoContent
- func (o *DeleteManualKeyNoContent) Error() string
- func (o *DeleteManualKeyNoContent) IsClientError() bool
- func (o *DeleteManualKeyNoContent) IsCode(code int) bool
- func (o *DeleteManualKeyNoContent) IsRedirect() bool
- func (o *DeleteManualKeyNoContent) IsServerError() bool
- func (o *DeleteManualKeyNoContent) IsSuccess() bool
- func (o *DeleteManualKeyNoContent) String() string
- type DeleteManualKeyOK
- func (o *DeleteManualKeyOK) Error() string
- func (o *DeleteManualKeyOK) GetPayload() *models.MessageResponse
- func (o *DeleteManualKeyOK) IsClientError() bool
- func (o *DeleteManualKeyOK) IsCode(code int) bool
- func (o *DeleteManualKeyOK) IsRedirect() bool
- func (o *DeleteManualKeyOK) IsServerError() bool
- func (o *DeleteManualKeyOK) IsSuccess() bool
- func (o *DeleteManualKeyOK) String() string
- type DeleteManualKeyParams
- func NewDeleteManualKeyParams() *DeleteManualKeyParams
- func NewDeleteManualKeyParamsWithContext(ctx context.Context) *DeleteManualKeyParams
- func NewDeleteManualKeyParamsWithHTTPClient(client *http.Client) *DeleteManualKeyParams
- func NewDeleteManualKeyParamsWithTimeout(timeout time.Duration) *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) SetContext(ctx context.Context)
- func (o *DeleteManualKeyParams) SetDefaults()
- func (o *DeleteManualKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManualKeyParams) SetPath(path string)
- func (o *DeleteManualKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManualKeyParams) WithContext(ctx context.Context) *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) WithDefaults() *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) WithHTTPClient(client *http.Client) *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) WithPath(path string) *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) WithTimeout(timeout time.Duration) *DeleteManualKeyParams
- func (o *DeleteManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManualKeyReader
- type DeleteManualKeyUnauthorized
- func (o *DeleteManualKeyUnauthorized) Error() string
- func (o *DeleteManualKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteManualKeyUnauthorized) IsClientError() bool
- func (o *DeleteManualKeyUnauthorized) IsCode(code int) bool
- func (o *DeleteManualKeyUnauthorized) IsRedirect() bool
- func (o *DeleteManualKeyUnauthorized) IsServerError() bool
- func (o *DeleteManualKeyUnauthorized) IsSuccess() bool
- func (o *DeleteManualKeyUnauthorized) String() string
- type EncryptWithManualKeyBadRequest
- func (o *EncryptWithManualKeyBadRequest) Error() string
- func (o *EncryptWithManualKeyBadRequest) GetPayload() *models.HTTPError
- func (o *EncryptWithManualKeyBadRequest) IsClientError() bool
- func (o *EncryptWithManualKeyBadRequest) IsCode(code int) bool
- func (o *EncryptWithManualKeyBadRequest) IsRedirect() bool
- func (o *EncryptWithManualKeyBadRequest) IsServerError() bool
- func (o *EncryptWithManualKeyBadRequest) IsSuccess() bool
- func (o *EncryptWithManualKeyBadRequest) String() string
- type EncryptWithManualKeyCreated
- func (o *EncryptWithManualKeyCreated) Error() string
- func (o *EncryptWithManualKeyCreated) GetPayload() *models.EncryptionResponse
- func (o *EncryptWithManualKeyCreated) IsClientError() bool
- func (o *EncryptWithManualKeyCreated) IsCode(code int) bool
- func (o *EncryptWithManualKeyCreated) IsRedirect() bool
- func (o *EncryptWithManualKeyCreated) IsServerError() bool
- func (o *EncryptWithManualKeyCreated) IsSuccess() bool
- func (o *EncryptWithManualKeyCreated) String() string
- type EncryptWithManualKeyForbidden
- func (o *EncryptWithManualKeyForbidden) Error() string
- func (o *EncryptWithManualKeyForbidden) GetPayload() *models.HTTPError
- func (o *EncryptWithManualKeyForbidden) IsClientError() bool
- func (o *EncryptWithManualKeyForbidden) IsCode(code int) bool
- func (o *EncryptWithManualKeyForbidden) IsRedirect() bool
- func (o *EncryptWithManualKeyForbidden) IsServerError() bool
- func (o *EncryptWithManualKeyForbidden) IsSuccess() bool
- func (o *EncryptWithManualKeyForbidden) String() string
- type EncryptWithManualKeyInternalServerError
- func (o *EncryptWithManualKeyInternalServerError) Error() string
- func (o *EncryptWithManualKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *EncryptWithManualKeyInternalServerError) IsClientError() bool
- func (o *EncryptWithManualKeyInternalServerError) IsCode(code int) bool
- func (o *EncryptWithManualKeyInternalServerError) IsRedirect() bool
- func (o *EncryptWithManualKeyInternalServerError) IsServerError() bool
- func (o *EncryptWithManualKeyInternalServerError) IsSuccess() bool
- func (o *EncryptWithManualKeyInternalServerError) String() string
- type EncryptWithManualKeyParams
- func NewEncryptWithManualKeyParams() *EncryptWithManualKeyParams
- func NewEncryptWithManualKeyParamsWithContext(ctx context.Context) *EncryptWithManualKeyParams
- func NewEncryptWithManualKeyParamsWithHTTPClient(client *http.Client) *EncryptWithManualKeyParams
- func NewEncryptWithManualKeyParamsWithTimeout(timeout time.Duration) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) SetContext(ctx context.Context)
- func (o *EncryptWithManualKeyParams) SetDefaults()
- func (o *EncryptWithManualKeyParams) SetHTTPClient(client *http.Client)
- func (o *EncryptWithManualKeyParams) SetPath(path string)
- func (o *EncryptWithManualKeyParams) SetPlaintext(plaintext string)
- func (o *EncryptWithManualKeyParams) SetTimeout(timeout time.Duration)
- func (o *EncryptWithManualKeyParams) SetVersion(version *string)
- func (o *EncryptWithManualKeyParams) WithContext(ctx context.Context) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithDefaults() *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithHTTPClient(client *http.Client) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithPath(path string) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithPlaintext(plaintext string) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithTimeout(timeout time.Duration) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WithVersion(version *string) *EncryptWithManualKeyParams
- func (o *EncryptWithManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EncryptWithManualKeyReader
- type EncryptWithManualKeyUnauthorized
- func (o *EncryptWithManualKeyUnauthorized) Error() string
- func (o *EncryptWithManualKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *EncryptWithManualKeyUnauthorized) IsClientError() bool
- func (o *EncryptWithManualKeyUnauthorized) IsCode(code int) bool
- func (o *EncryptWithManualKeyUnauthorized) IsRedirect() bool
- func (o *EncryptWithManualKeyUnauthorized) IsServerError() bool
- func (o *EncryptWithManualKeyUnauthorized) IsSuccess() bool
- func (o *EncryptWithManualKeyUnauthorized) String() string
- type ReadManualKeyBadRequest
- func (o *ReadManualKeyBadRequest) Error() string
- func (o *ReadManualKeyBadRequest) GetPayload() *models.HTTPError
- func (o *ReadManualKeyBadRequest) IsClientError() bool
- func (o *ReadManualKeyBadRequest) IsCode(code int) bool
- func (o *ReadManualKeyBadRequest) IsRedirect() bool
- func (o *ReadManualKeyBadRequest) IsServerError() bool
- func (o *ReadManualKeyBadRequest) IsSuccess() bool
- func (o *ReadManualKeyBadRequest) String() string
- type ReadManualKeyForbidden
- func (o *ReadManualKeyForbidden) Error() string
- func (o *ReadManualKeyForbidden) GetPayload() *models.HTTPError
- func (o *ReadManualKeyForbidden) IsClientError() bool
- func (o *ReadManualKeyForbidden) IsCode(code int) bool
- func (o *ReadManualKeyForbidden) IsRedirect() bool
- func (o *ReadManualKeyForbidden) IsServerError() bool
- func (o *ReadManualKeyForbidden) IsSuccess() bool
- func (o *ReadManualKeyForbidden) String() string
- type ReadManualKeyInternalServerError
- func (o *ReadManualKeyInternalServerError) Error() string
- func (o *ReadManualKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *ReadManualKeyInternalServerError) IsClientError() bool
- func (o *ReadManualKeyInternalServerError) IsCode(code int) bool
- func (o *ReadManualKeyInternalServerError) IsRedirect() bool
- func (o *ReadManualKeyInternalServerError) IsServerError() bool
- func (o *ReadManualKeyInternalServerError) IsSuccess() bool
- func (o *ReadManualKeyInternalServerError) String() string
- type ReadManualKeyOK
- func (o *ReadManualKeyOK) Error() string
- func (o *ReadManualKeyOK) GetPayload() *models.ResponseModelFull
- func (o *ReadManualKeyOK) IsClientError() bool
- func (o *ReadManualKeyOK) IsCode(code int) bool
- func (o *ReadManualKeyOK) IsRedirect() bool
- func (o *ReadManualKeyOK) IsServerError() bool
- func (o *ReadManualKeyOK) IsSuccess() bool
- func (o *ReadManualKeyOK) String() string
- type ReadManualKeyParams
- func (o *ReadManualKeyParams) SetContext(ctx context.Context)
- func (o *ReadManualKeyParams) SetDefaults()
- func (o *ReadManualKeyParams) SetHTTPClient(client *http.Client)
- func (o *ReadManualKeyParams) SetPath(path string)
- func (o *ReadManualKeyParams) SetTimeout(timeout time.Duration)
- func (o *ReadManualKeyParams) WithContext(ctx context.Context) *ReadManualKeyParams
- func (o *ReadManualKeyParams) WithDefaults() *ReadManualKeyParams
- func (o *ReadManualKeyParams) WithHTTPClient(client *http.Client) *ReadManualKeyParams
- func (o *ReadManualKeyParams) WithPath(path string) *ReadManualKeyParams
- func (o *ReadManualKeyParams) WithTimeout(timeout time.Duration) *ReadManualKeyParams
- func (o *ReadManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadManualKeyReader
- type ReadManualKeyUnauthorized
- func (o *ReadManualKeyUnauthorized) Error() string
- func (o *ReadManualKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *ReadManualKeyUnauthorized) IsClientError() bool
- func (o *ReadManualKeyUnauthorized) IsCode(code int) bool
- func (o *ReadManualKeyUnauthorized) IsRedirect() bool
- func (o *ReadManualKeyUnauthorized) IsServerError() bool
- func (o *ReadManualKeyUnauthorized) IsSuccess() bool
- func (o *ReadManualKeyUnauthorized) String() string
- type RestoreManualKeyBadRequest
- func (o *RestoreManualKeyBadRequest) Error() string
- func (o *RestoreManualKeyBadRequest) GetPayload() *models.HTTPError
- func (o *RestoreManualKeyBadRequest) IsClientError() bool
- func (o *RestoreManualKeyBadRequest) IsCode(code int) bool
- func (o *RestoreManualKeyBadRequest) IsRedirect() bool
- func (o *RestoreManualKeyBadRequest) IsServerError() bool
- func (o *RestoreManualKeyBadRequest) IsSuccess() bool
- func (o *RestoreManualKeyBadRequest) String() string
- type RestoreManualKeyForbidden
- func (o *RestoreManualKeyForbidden) Error() string
- func (o *RestoreManualKeyForbidden) GetPayload() *models.HTTPError
- func (o *RestoreManualKeyForbidden) IsClientError() bool
- func (o *RestoreManualKeyForbidden) IsCode(code int) bool
- func (o *RestoreManualKeyForbidden) IsRedirect() bool
- func (o *RestoreManualKeyForbidden) IsServerError() bool
- func (o *RestoreManualKeyForbidden) IsSuccess() bool
- func (o *RestoreManualKeyForbidden) String() string
- type RestoreManualKeyInternalServerError
- func (o *RestoreManualKeyInternalServerError) Error() string
- func (o *RestoreManualKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *RestoreManualKeyInternalServerError) IsClientError() bool
- func (o *RestoreManualKeyInternalServerError) IsCode(code int) bool
- func (o *RestoreManualKeyInternalServerError) IsRedirect() bool
- func (o *RestoreManualKeyInternalServerError) IsServerError() bool
- func (o *RestoreManualKeyInternalServerError) IsSuccess() bool
- func (o *RestoreManualKeyInternalServerError) String() string
- type RestoreManualKeyNoContent
- func (o *RestoreManualKeyNoContent) Error() string
- func (o *RestoreManualKeyNoContent) IsClientError() bool
- func (o *RestoreManualKeyNoContent) IsCode(code int) bool
- func (o *RestoreManualKeyNoContent) IsRedirect() bool
- func (o *RestoreManualKeyNoContent) IsServerError() bool
- func (o *RestoreManualKeyNoContent) IsSuccess() bool
- func (o *RestoreManualKeyNoContent) String() string
- type RestoreManualKeyParams
- func NewRestoreManualKeyParams() *RestoreManualKeyParams
- func NewRestoreManualKeyParamsWithContext(ctx context.Context) *RestoreManualKeyParams
- func NewRestoreManualKeyParamsWithHTTPClient(client *http.Client) *RestoreManualKeyParams
- func NewRestoreManualKeyParamsWithTimeout(timeout time.Duration) *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) SetContext(ctx context.Context)
- func (o *RestoreManualKeyParams) SetDefaults()
- func (o *RestoreManualKeyParams) SetHTTPClient(client *http.Client)
- func (o *RestoreManualKeyParams) SetPath(path string)
- func (o *RestoreManualKeyParams) SetTimeout(timeout time.Duration)
- func (o *RestoreManualKeyParams) WithContext(ctx context.Context) *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) WithDefaults() *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) WithHTTPClient(client *http.Client) *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) WithPath(path string) *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) WithTimeout(timeout time.Duration) *RestoreManualKeyParams
- func (o *RestoreManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreManualKeyReader
- type RestoreManualKeyUnauthorized
- func (o *RestoreManualKeyUnauthorized) Error() string
- func (o *RestoreManualKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *RestoreManualKeyUnauthorized) IsClientError() bool
- func (o *RestoreManualKeyUnauthorized) IsCode(code int) bool
- func (o *RestoreManualKeyUnauthorized) IsRedirect() bool
- func (o *RestoreManualKeyUnauthorized) IsServerError() bool
- func (o *RestoreManualKeyUnauthorized) IsSuccess() bool
- func (o *RestoreManualKeyUnauthorized) String() string
- type UpdateKeyBadRequest
- func (o *UpdateKeyBadRequest) Error() string
- func (o *UpdateKeyBadRequest) GetPayload() *models.HTTPError
- func (o *UpdateKeyBadRequest) IsClientError() bool
- func (o *UpdateKeyBadRequest) IsCode(code int) bool
- func (o *UpdateKeyBadRequest) IsRedirect() bool
- func (o *UpdateKeyBadRequest) IsServerError() bool
- func (o *UpdateKeyBadRequest) IsSuccess() bool
- func (o *UpdateKeyBadRequest) String() string
- type UpdateKeyForbidden
- func (o *UpdateKeyForbidden) Error() string
- func (o *UpdateKeyForbidden) GetPayload() *models.HTTPError
- func (o *UpdateKeyForbidden) IsClientError() bool
- func (o *UpdateKeyForbidden) IsCode(code int) bool
- func (o *UpdateKeyForbidden) IsRedirect() bool
- func (o *UpdateKeyForbidden) IsServerError() bool
- func (o *UpdateKeyForbidden) IsSuccess() bool
- func (o *UpdateKeyForbidden) String() string
- type UpdateKeyInternalServerError
- func (o *UpdateKeyInternalServerError) Error() string
- func (o *UpdateKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *UpdateKeyInternalServerError) IsClientError() bool
- func (o *UpdateKeyInternalServerError) IsCode(code int) bool
- func (o *UpdateKeyInternalServerError) IsRedirect() bool
- func (o *UpdateKeyInternalServerError) IsServerError() bool
- func (o *UpdateKeyInternalServerError) IsSuccess() bool
- func (o *UpdateKeyInternalServerError) String() string
- type UpdateKeyOK
- func (o *UpdateKeyOK) Error() string
- func (o *UpdateKeyOK) GetPayload() *models.ResponseModelFull
- func (o *UpdateKeyOK) IsClientError() bool
- func (o *UpdateKeyOK) IsCode(code int) bool
- func (o *UpdateKeyOK) IsRedirect() bool
- func (o *UpdateKeyOK) IsServerError() bool
- func (o *UpdateKeyOK) IsSuccess() bool
- func (o *UpdateKeyOK) String() string
- type UpdateKeyParams
- func (o *UpdateKeyParams) SetBody(body *models.UpdateKeyRequest)
- func (o *UpdateKeyParams) SetContext(ctx context.Context)
- func (o *UpdateKeyParams) SetDefaults()
- func (o *UpdateKeyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateKeyParams) SetPath(path string)
- func (o *UpdateKeyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateKeyParams) WithBody(body *models.UpdateKeyRequest) *UpdateKeyParams
- func (o *UpdateKeyParams) WithContext(ctx context.Context) *UpdateKeyParams
- func (o *UpdateKeyParams) WithDefaults() *UpdateKeyParams
- func (o *UpdateKeyParams) WithHTTPClient(client *http.Client) *UpdateKeyParams
- func (o *UpdateKeyParams) WithPath(path string) *UpdateKeyParams
- func (o *UpdateKeyParams) WithTimeout(timeout time.Duration) *UpdateKeyParams
- func (o *UpdateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateKeyReader
- type UpdateKeyUnauthorized
- func (o *UpdateKeyUnauthorized) Error() string
- func (o *UpdateKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *UpdateKeyUnauthorized) IsClientError() bool
- func (o *UpdateKeyUnauthorized) IsCode(code int) bool
- func (o *UpdateKeyUnauthorized) IsRedirect() bool
- func (o *UpdateKeyUnauthorized) IsServerError() bool
- func (o *UpdateKeyUnauthorized) IsSuccess() bool
- func (o *UpdateKeyUnauthorized) String() string
- type UploadKeyBadRequest
- func (o *UploadKeyBadRequest) Error() string
- func (o *UploadKeyBadRequest) GetPayload() *models.HTTPError
- func (o *UploadKeyBadRequest) IsClientError() bool
- func (o *UploadKeyBadRequest) IsCode(code int) bool
- func (o *UploadKeyBadRequest) IsRedirect() bool
- func (o *UploadKeyBadRequest) IsServerError() bool
- func (o *UploadKeyBadRequest) IsSuccess() bool
- func (o *UploadKeyBadRequest) String() string
- type UploadKeyCreated
- func (o *UploadKeyCreated) Error() string
- func (o *UploadKeyCreated) GetPayload() *models.ResponseModelFull
- func (o *UploadKeyCreated) IsClientError() bool
- func (o *UploadKeyCreated) IsCode(code int) bool
- func (o *UploadKeyCreated) IsRedirect() bool
- func (o *UploadKeyCreated) IsServerError() bool
- func (o *UploadKeyCreated) IsSuccess() bool
- func (o *UploadKeyCreated) String() string
- type UploadKeyForbidden
- func (o *UploadKeyForbidden) Error() string
- func (o *UploadKeyForbidden) GetPayload() *models.HTTPError
- func (o *UploadKeyForbidden) IsClientError() bool
- func (o *UploadKeyForbidden) IsCode(code int) bool
- func (o *UploadKeyForbidden) IsRedirect() bool
- func (o *UploadKeyForbidden) IsServerError() bool
- func (o *UploadKeyForbidden) IsSuccess() bool
- func (o *UploadKeyForbidden) String() string
- type UploadKeyInternalServerError
- func (o *UploadKeyInternalServerError) Error() string
- func (o *UploadKeyInternalServerError) GetPayload() *models.HTTPError
- func (o *UploadKeyInternalServerError) IsClientError() bool
- func (o *UploadKeyInternalServerError) IsCode(code int) bool
- func (o *UploadKeyInternalServerError) IsRedirect() bool
- func (o *UploadKeyInternalServerError) IsServerError() bool
- func (o *UploadKeyInternalServerError) IsSuccess() bool
- func (o *UploadKeyInternalServerError) String() string
- type UploadKeyParams
- func (o *UploadKeyParams) SetBody(body *models.ManualKeyData)
- func (o *UploadKeyParams) SetContext(ctx context.Context)
- func (o *UploadKeyParams) SetDefaults()
- func (o *UploadKeyParams) SetHTTPClient(client *http.Client)
- func (o *UploadKeyParams) SetPath(path string)
- func (o *UploadKeyParams) SetTimeout(timeout time.Duration)
- func (o *UploadKeyParams) WithBody(body *models.ManualKeyData) *UploadKeyParams
- func (o *UploadKeyParams) WithContext(ctx context.Context) *UploadKeyParams
- func (o *UploadKeyParams) WithDefaults() *UploadKeyParams
- func (o *UploadKeyParams) WithHTTPClient(client *http.Client) *UploadKeyParams
- func (o *UploadKeyParams) WithPath(path string) *UploadKeyParams
- func (o *UploadKeyParams) WithTimeout(timeout time.Duration) *UploadKeyParams
- func (o *UploadKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadKeyReader
- type UploadKeyUnauthorized
- func (o *UploadKeyUnauthorized) Error() string
- func (o *UploadKeyUnauthorized) GetPayload() *models.HTTPError
- func (o *UploadKeyUnauthorized) IsClientError() bool
- func (o *UploadKeyUnauthorized) IsCode(code int) bool
- func (o *UploadKeyUnauthorized) IsRedirect() bool
- func (o *UploadKeyUnauthorized) IsServerError() bool
- func (o *UploadKeyUnauthorized) IsSuccess() bool
- func (o *UploadKeyUnauthorized) 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 eaa s manual API
func (*Client) DecryptWithManualKey ¶
func (a *Client) DecryptWithManualKey(params *DecryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecryptWithManualKeyOK, error)
DecryptWithManualKey decrypts
Decrypt ciphertext with a key.
func (*Client) DeleteManualKey ¶
func (a *Client) DeleteManualKey(params *DeleteManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteManualKeyOK, *DeleteManualKeyNoContent, error)
DeleteManualKey deletes key
Delete an existing encryption/decryption key.
func (*Client) EncryptWithManualKey ¶
func (a *Client) EncryptWithManualKey(params *EncryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EncryptWithManualKeyCreated, error)
EncryptWithManualKey encrypts
Encrypt plaintext with a key.
func (*Client) ReadManualKey ¶
func (a *Client) ReadManualKey(params *ReadManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadManualKeyOK, error)
ReadManualKey reads key
Read existing encryption/decryption key.
func (*Client) RestoreManualKey ¶
func (a *Client) RestoreManualKey(params *RestoreManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreManualKeyNoContent, error)
RestoreManualKey restores key
Restore a soft-deleted encryption/decryption key.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateKey ¶
func (a *Client) UpdateKey(params *UpdateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKeyOK, error)
UpdateKey updates key
Update an existing encryption/decryption key.
func (*Client) UploadKey ¶
func (a *Client) UploadKey(params *UploadKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadKeyCreated, error)
UploadKey uploads key
Upload a new encryption/decryption key.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DecryptWithManualKey(params *DecryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecryptWithManualKeyOK, error) DeleteManualKey(params *DeleteManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteManualKeyOK, *DeleteManualKeyNoContent, error) EncryptWithManualKey(params *EncryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EncryptWithManualKeyCreated, error) ReadManualKey(params *ReadManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadManualKeyOK, error) RestoreManualKey(params *RestoreManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreManualKeyNoContent, error) UpdateKey(params *UpdateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKeyOK, error) UploadKey(params *UploadKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadKeyCreated, 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 eaa s manual API client.
type DecryptWithManualKeyBadRequest ¶
DecryptWithManualKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewDecryptWithManualKeyBadRequest ¶
func NewDecryptWithManualKeyBadRequest() *DecryptWithManualKeyBadRequest
NewDecryptWithManualKeyBadRequest creates a DecryptWithManualKeyBadRequest with default headers values
func (*DecryptWithManualKeyBadRequest) Error ¶
func (o *DecryptWithManualKeyBadRequest) Error() string
func (*DecryptWithManualKeyBadRequest) GetPayload ¶
func (o *DecryptWithManualKeyBadRequest) GetPayload() *models.HTTPError
func (*DecryptWithManualKeyBadRequest) IsClientError ¶
func (o *DecryptWithManualKeyBadRequest) IsClientError() bool
IsClientError returns true when this decrypt with manual key bad request response has a 4xx status code
func (*DecryptWithManualKeyBadRequest) IsCode ¶
func (o *DecryptWithManualKeyBadRequest) IsCode(code int) bool
IsCode returns true when this decrypt with manual key bad request response a status code equal to that given
func (*DecryptWithManualKeyBadRequest) IsRedirect ¶
func (o *DecryptWithManualKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this decrypt with manual key bad request response has a 3xx status code
func (*DecryptWithManualKeyBadRequest) IsServerError ¶
func (o *DecryptWithManualKeyBadRequest) IsServerError() bool
IsServerError returns true when this decrypt with manual key bad request response has a 5xx status code
func (*DecryptWithManualKeyBadRequest) IsSuccess ¶
func (o *DecryptWithManualKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this decrypt with manual key bad request response has a 2xx status code
func (*DecryptWithManualKeyBadRequest) String ¶
func (o *DecryptWithManualKeyBadRequest) String() string
type DecryptWithManualKeyForbidden ¶
DecryptWithManualKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewDecryptWithManualKeyForbidden ¶
func NewDecryptWithManualKeyForbidden() *DecryptWithManualKeyForbidden
NewDecryptWithManualKeyForbidden creates a DecryptWithManualKeyForbidden with default headers values
func (*DecryptWithManualKeyForbidden) Error ¶
func (o *DecryptWithManualKeyForbidden) Error() string
func (*DecryptWithManualKeyForbidden) GetPayload ¶
func (o *DecryptWithManualKeyForbidden) GetPayload() *models.HTTPError
func (*DecryptWithManualKeyForbidden) IsClientError ¶
func (o *DecryptWithManualKeyForbidden) IsClientError() bool
IsClientError returns true when this decrypt with manual key forbidden response has a 4xx status code
func (*DecryptWithManualKeyForbidden) IsCode ¶
func (o *DecryptWithManualKeyForbidden) IsCode(code int) bool
IsCode returns true when this decrypt with manual key forbidden response a status code equal to that given
func (*DecryptWithManualKeyForbidden) IsRedirect ¶
func (o *DecryptWithManualKeyForbidden) IsRedirect() bool
IsRedirect returns true when this decrypt with manual key forbidden response has a 3xx status code
func (*DecryptWithManualKeyForbidden) IsServerError ¶
func (o *DecryptWithManualKeyForbidden) IsServerError() bool
IsServerError returns true when this decrypt with manual key forbidden response has a 5xx status code
func (*DecryptWithManualKeyForbidden) IsSuccess ¶
func (o *DecryptWithManualKeyForbidden) IsSuccess() bool
IsSuccess returns true when this decrypt with manual key forbidden response has a 2xx status code
func (*DecryptWithManualKeyForbidden) String ¶
func (o *DecryptWithManualKeyForbidden) String() string
type DecryptWithManualKeyInternalServerError ¶
DecryptWithManualKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewDecryptWithManualKeyInternalServerError ¶
func NewDecryptWithManualKeyInternalServerError() *DecryptWithManualKeyInternalServerError
NewDecryptWithManualKeyInternalServerError creates a DecryptWithManualKeyInternalServerError with default headers values
func (*DecryptWithManualKeyInternalServerError) Error ¶
func (o *DecryptWithManualKeyInternalServerError) Error() string
func (*DecryptWithManualKeyInternalServerError) GetPayload ¶
func (o *DecryptWithManualKeyInternalServerError) GetPayload() *models.HTTPError
func (*DecryptWithManualKeyInternalServerError) IsClientError ¶
func (o *DecryptWithManualKeyInternalServerError) IsClientError() bool
IsClientError returns true when this decrypt with manual key internal server error response has a 4xx status code
func (*DecryptWithManualKeyInternalServerError) IsCode ¶
func (o *DecryptWithManualKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this decrypt with manual key internal server error response a status code equal to that given
func (*DecryptWithManualKeyInternalServerError) IsRedirect ¶
func (o *DecryptWithManualKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this decrypt with manual key internal server error response has a 3xx status code
func (*DecryptWithManualKeyInternalServerError) IsServerError ¶
func (o *DecryptWithManualKeyInternalServerError) IsServerError() bool
IsServerError returns true when this decrypt with manual key internal server error response has a 5xx status code
func (*DecryptWithManualKeyInternalServerError) IsSuccess ¶
func (o *DecryptWithManualKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this decrypt with manual key internal server error response has a 2xx status code
func (*DecryptWithManualKeyInternalServerError) String ¶
func (o *DecryptWithManualKeyInternalServerError) String() string
type DecryptWithManualKeyOK ¶
type DecryptWithManualKeyOK struct {
Payload *models.DecryptionResponse
}
DecryptWithManualKeyOK describes a response with status code 200, with default header values.
no error
func NewDecryptWithManualKeyOK ¶
func NewDecryptWithManualKeyOK() *DecryptWithManualKeyOK
NewDecryptWithManualKeyOK creates a DecryptWithManualKeyOK with default headers values
func (*DecryptWithManualKeyOK) Error ¶
func (o *DecryptWithManualKeyOK) Error() string
func (*DecryptWithManualKeyOK) GetPayload ¶
func (o *DecryptWithManualKeyOK) GetPayload() *models.DecryptionResponse
func (*DecryptWithManualKeyOK) IsClientError ¶
func (o *DecryptWithManualKeyOK) IsClientError() bool
IsClientError returns true when this decrypt with manual key o k response has a 4xx status code
func (*DecryptWithManualKeyOK) IsCode ¶
func (o *DecryptWithManualKeyOK) IsCode(code int) bool
IsCode returns true when this decrypt with manual key o k response a status code equal to that given
func (*DecryptWithManualKeyOK) IsRedirect ¶
func (o *DecryptWithManualKeyOK) IsRedirect() bool
IsRedirect returns true when this decrypt with manual key o k response has a 3xx status code
func (*DecryptWithManualKeyOK) IsServerError ¶
func (o *DecryptWithManualKeyOK) IsServerError() bool
IsServerError returns true when this decrypt with manual key o k response has a 5xx status code
func (*DecryptWithManualKeyOK) IsSuccess ¶
func (o *DecryptWithManualKeyOK) IsSuccess() bool
IsSuccess returns true when this decrypt with manual key o k response has a 2xx status code
func (*DecryptWithManualKeyOK) String ¶
func (o *DecryptWithManualKeyOK) String() string
type DecryptWithManualKeyParams ¶
type DecryptWithManualKeyParams struct { /* Ciphertext. A value to be decrypted */ Ciphertext []uint8 /* Path. The path to data key */ Path string /* Version. The version of the key with which to decrypt data */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecryptWithManualKeyParams contains all the parameters to send to the API endpoint
for the decrypt with manual key operation. Typically these are written to a http.Request.
func NewDecryptWithManualKeyParams ¶
func NewDecryptWithManualKeyParams() *DecryptWithManualKeyParams
NewDecryptWithManualKeyParams creates a new DecryptWithManualKeyParams 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 NewDecryptWithManualKeyParamsWithContext ¶
func NewDecryptWithManualKeyParamsWithContext(ctx context.Context) *DecryptWithManualKeyParams
NewDecryptWithManualKeyParamsWithContext creates a new DecryptWithManualKeyParams object with the ability to set a context for a request.
func NewDecryptWithManualKeyParamsWithHTTPClient ¶
func NewDecryptWithManualKeyParamsWithHTTPClient(client *http.Client) *DecryptWithManualKeyParams
NewDecryptWithManualKeyParamsWithHTTPClient creates a new DecryptWithManualKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDecryptWithManualKeyParamsWithTimeout ¶
func NewDecryptWithManualKeyParamsWithTimeout(timeout time.Duration) *DecryptWithManualKeyParams
NewDecryptWithManualKeyParamsWithTimeout creates a new DecryptWithManualKeyParams object with the ability to set a timeout on a request.
func (*DecryptWithManualKeyParams) SetCiphertext ¶
func (o *DecryptWithManualKeyParams) SetCiphertext(ciphertext []uint8)
SetCiphertext adds the ciphertext to the decrypt with manual key params
func (*DecryptWithManualKeyParams) SetContext ¶
func (o *DecryptWithManualKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the decrypt with manual key params
func (*DecryptWithManualKeyParams) SetDefaults ¶
func (o *DecryptWithManualKeyParams) SetDefaults()
SetDefaults hydrates default values in the decrypt with manual key params (not the query body).
All values with no default are reset to their zero value.
func (*DecryptWithManualKeyParams) SetHTTPClient ¶
func (o *DecryptWithManualKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decrypt with manual key params
func (*DecryptWithManualKeyParams) SetPath ¶
func (o *DecryptWithManualKeyParams) SetPath(path string)
SetPath adds the path to the decrypt with manual key params
func (*DecryptWithManualKeyParams) SetTimeout ¶
func (o *DecryptWithManualKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decrypt with manual key params
func (*DecryptWithManualKeyParams) SetVersion ¶
func (o *DecryptWithManualKeyParams) SetVersion(version *string)
SetVersion adds the version to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithCiphertext ¶
func (o *DecryptWithManualKeyParams) WithCiphertext(ciphertext []uint8) *DecryptWithManualKeyParams
WithCiphertext adds the ciphertext to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithContext ¶
func (o *DecryptWithManualKeyParams) WithContext(ctx context.Context) *DecryptWithManualKeyParams
WithContext adds the context to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithDefaults ¶
func (o *DecryptWithManualKeyParams) WithDefaults() *DecryptWithManualKeyParams
WithDefaults hydrates default values in the decrypt with manual key params (not the query body).
All values with no default are reset to their zero value.
func (*DecryptWithManualKeyParams) WithHTTPClient ¶
func (o *DecryptWithManualKeyParams) WithHTTPClient(client *http.Client) *DecryptWithManualKeyParams
WithHTTPClient adds the HTTPClient to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithPath ¶
func (o *DecryptWithManualKeyParams) WithPath(path string) *DecryptWithManualKeyParams
WithPath adds the path to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithTimeout ¶
func (o *DecryptWithManualKeyParams) WithTimeout(timeout time.Duration) *DecryptWithManualKeyParams
WithTimeout adds the timeout to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WithVersion ¶
func (o *DecryptWithManualKeyParams) WithVersion(version *string) *DecryptWithManualKeyParams
WithVersion adds the version to the decrypt with manual key params
func (*DecryptWithManualKeyParams) WriteToRequest ¶
func (o *DecryptWithManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecryptWithManualKeyReader ¶
type DecryptWithManualKeyReader struct {
// contains filtered or unexported fields
}
DecryptWithManualKeyReader is a Reader for the DecryptWithManualKey structure.
func (*DecryptWithManualKeyReader) ReadResponse ¶
func (o *DecryptWithManualKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecryptWithManualKeyUnauthorized ¶
type DecryptWithManualKeyUnauthorized struct {
}DecryptWithManualKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDecryptWithManualKeyUnauthorized ¶
func NewDecryptWithManualKeyUnauthorized() *DecryptWithManualKeyUnauthorized
NewDecryptWithManualKeyUnauthorized creates a DecryptWithManualKeyUnauthorized with default headers values
func (*DecryptWithManualKeyUnauthorized) Error ¶
func (o *DecryptWithManualKeyUnauthorized) Error() string
func (*DecryptWithManualKeyUnauthorized) GetPayload ¶
func (o *DecryptWithManualKeyUnauthorized) GetPayload() *models.HTTPError
func (*DecryptWithManualKeyUnauthorized) IsClientError ¶
func (o *DecryptWithManualKeyUnauthorized) IsClientError() bool
IsClientError returns true when this decrypt with manual key unauthorized response has a 4xx status code
func (*DecryptWithManualKeyUnauthorized) IsCode ¶
func (o *DecryptWithManualKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this decrypt with manual key unauthorized response a status code equal to that given
func (*DecryptWithManualKeyUnauthorized) IsRedirect ¶
func (o *DecryptWithManualKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this decrypt with manual key unauthorized response has a 3xx status code
func (*DecryptWithManualKeyUnauthorized) IsServerError ¶
func (o *DecryptWithManualKeyUnauthorized) IsServerError() bool
IsServerError returns true when this decrypt with manual key unauthorized response has a 5xx status code
func (*DecryptWithManualKeyUnauthorized) IsSuccess ¶
func (o *DecryptWithManualKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this decrypt with manual key unauthorized response has a 2xx status code
func (*DecryptWithManualKeyUnauthorized) String ¶
func (o *DecryptWithManualKeyUnauthorized) String() string
type DeleteManualKeyBadRequest ¶
DeleteManualKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteManualKeyBadRequest ¶
func NewDeleteManualKeyBadRequest() *DeleteManualKeyBadRequest
NewDeleteManualKeyBadRequest creates a DeleteManualKeyBadRequest with default headers values
func (*DeleteManualKeyBadRequest) Error ¶
func (o *DeleteManualKeyBadRequest) Error() string
func (*DeleteManualKeyBadRequest) GetPayload ¶
func (o *DeleteManualKeyBadRequest) GetPayload() *models.HTTPError
func (*DeleteManualKeyBadRequest) IsClientError ¶
func (o *DeleteManualKeyBadRequest) IsClientError() bool
IsClientError returns true when this delete manual key bad request response has a 4xx status code
func (*DeleteManualKeyBadRequest) IsCode ¶
func (o *DeleteManualKeyBadRequest) IsCode(code int) bool
IsCode returns true when this delete manual key bad request response a status code equal to that given
func (*DeleteManualKeyBadRequest) IsRedirect ¶
func (o *DeleteManualKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this delete manual key bad request response has a 3xx status code
func (*DeleteManualKeyBadRequest) IsServerError ¶
func (o *DeleteManualKeyBadRequest) IsServerError() bool
IsServerError returns true when this delete manual key bad request response has a 5xx status code
func (*DeleteManualKeyBadRequest) IsSuccess ¶
func (o *DeleteManualKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this delete manual key bad request response has a 2xx status code
func (*DeleteManualKeyBadRequest) String ¶
func (o *DeleteManualKeyBadRequest) String() string
type DeleteManualKeyForbidden ¶
DeleteManualKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewDeleteManualKeyForbidden ¶
func NewDeleteManualKeyForbidden() *DeleteManualKeyForbidden
NewDeleteManualKeyForbidden creates a DeleteManualKeyForbidden with default headers values
func (*DeleteManualKeyForbidden) Error ¶
func (o *DeleteManualKeyForbidden) Error() string
func (*DeleteManualKeyForbidden) GetPayload ¶
func (o *DeleteManualKeyForbidden) GetPayload() *models.HTTPError
func (*DeleteManualKeyForbidden) IsClientError ¶
func (o *DeleteManualKeyForbidden) IsClientError() bool
IsClientError returns true when this delete manual key forbidden response has a 4xx status code
func (*DeleteManualKeyForbidden) IsCode ¶
func (o *DeleteManualKeyForbidden) IsCode(code int) bool
IsCode returns true when this delete manual key forbidden response a status code equal to that given
func (*DeleteManualKeyForbidden) IsRedirect ¶
func (o *DeleteManualKeyForbidden) IsRedirect() bool
IsRedirect returns true when this delete manual key forbidden response has a 3xx status code
func (*DeleteManualKeyForbidden) IsServerError ¶
func (o *DeleteManualKeyForbidden) IsServerError() bool
IsServerError returns true when this delete manual key forbidden response has a 5xx status code
func (*DeleteManualKeyForbidden) IsSuccess ¶
func (o *DeleteManualKeyForbidden) IsSuccess() bool
IsSuccess returns true when this delete manual key forbidden response has a 2xx status code
func (*DeleteManualKeyForbidden) String ¶
func (o *DeleteManualKeyForbidden) String() string
type DeleteManualKeyInternalServerError ¶
DeleteManualKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewDeleteManualKeyInternalServerError ¶
func NewDeleteManualKeyInternalServerError() *DeleteManualKeyInternalServerError
NewDeleteManualKeyInternalServerError creates a DeleteManualKeyInternalServerError with default headers values
func (*DeleteManualKeyInternalServerError) Error ¶
func (o *DeleteManualKeyInternalServerError) Error() string
func (*DeleteManualKeyInternalServerError) GetPayload ¶
func (o *DeleteManualKeyInternalServerError) GetPayload() *models.HTTPError
func (*DeleteManualKeyInternalServerError) IsClientError ¶
func (o *DeleteManualKeyInternalServerError) IsClientError() bool
IsClientError returns true when this delete manual key internal server error response has a 4xx status code
func (*DeleteManualKeyInternalServerError) IsCode ¶
func (o *DeleteManualKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this delete manual key internal server error response a status code equal to that given
func (*DeleteManualKeyInternalServerError) IsRedirect ¶
func (o *DeleteManualKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete manual key internal server error response has a 3xx status code
func (*DeleteManualKeyInternalServerError) IsServerError ¶
func (o *DeleteManualKeyInternalServerError) IsServerError() bool
IsServerError returns true when this delete manual key internal server error response has a 5xx status code
func (*DeleteManualKeyInternalServerError) IsSuccess ¶
func (o *DeleteManualKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete manual key internal server error response has a 2xx status code
func (*DeleteManualKeyInternalServerError) String ¶
func (o *DeleteManualKeyInternalServerError) String() string
type DeleteManualKeyNoContent ¶
type DeleteManualKeyNoContent struct { }
DeleteManualKeyNoContent describes a response with status code 204, with default header values.
no error
func NewDeleteManualKeyNoContent ¶
func NewDeleteManualKeyNoContent() *DeleteManualKeyNoContent
NewDeleteManualKeyNoContent creates a DeleteManualKeyNoContent with default headers values
func (*DeleteManualKeyNoContent) Error ¶
func (o *DeleteManualKeyNoContent) Error() string
func (*DeleteManualKeyNoContent) IsClientError ¶
func (o *DeleteManualKeyNoContent) IsClientError() bool
IsClientError returns true when this delete manual key no content response has a 4xx status code
func (*DeleteManualKeyNoContent) IsCode ¶
func (o *DeleteManualKeyNoContent) IsCode(code int) bool
IsCode returns true when this delete manual key no content response a status code equal to that given
func (*DeleteManualKeyNoContent) IsRedirect ¶
func (o *DeleteManualKeyNoContent) IsRedirect() bool
IsRedirect returns true when this delete manual key no content response has a 3xx status code
func (*DeleteManualKeyNoContent) IsServerError ¶
func (o *DeleteManualKeyNoContent) IsServerError() bool
IsServerError returns true when this delete manual key no content response has a 5xx status code
func (*DeleteManualKeyNoContent) IsSuccess ¶
func (o *DeleteManualKeyNoContent) IsSuccess() bool
IsSuccess returns true when this delete manual key no content response has a 2xx status code
func (*DeleteManualKeyNoContent) String ¶
func (o *DeleteManualKeyNoContent) String() string
type DeleteManualKeyOK ¶
type DeleteManualKeyOK struct {
Payload *models.MessageResponse
}
DeleteManualKeyOK describes a response with status code 200, with default header values.
no error
func NewDeleteManualKeyOK ¶
func NewDeleteManualKeyOK() *DeleteManualKeyOK
NewDeleteManualKeyOK creates a DeleteManualKeyOK with default headers values
func (*DeleteManualKeyOK) Error ¶
func (o *DeleteManualKeyOK) Error() string
func (*DeleteManualKeyOK) GetPayload ¶
func (o *DeleteManualKeyOK) GetPayload() *models.MessageResponse
func (*DeleteManualKeyOK) IsClientError ¶
func (o *DeleteManualKeyOK) IsClientError() bool
IsClientError returns true when this delete manual key o k response has a 4xx status code
func (*DeleteManualKeyOK) IsCode ¶
func (o *DeleteManualKeyOK) IsCode(code int) bool
IsCode returns true when this delete manual key o k response a status code equal to that given
func (*DeleteManualKeyOK) IsRedirect ¶
func (o *DeleteManualKeyOK) IsRedirect() bool
IsRedirect returns true when this delete manual key o k response has a 3xx status code
func (*DeleteManualKeyOK) IsServerError ¶
func (o *DeleteManualKeyOK) IsServerError() bool
IsServerError returns true when this delete manual key o k response has a 5xx status code
func (*DeleteManualKeyOK) IsSuccess ¶
func (o *DeleteManualKeyOK) IsSuccess() bool
IsSuccess returns true when this delete manual key o k response has a 2xx status code
func (*DeleteManualKeyOK) String ¶
func (o *DeleteManualKeyOK) String() string
type DeleteManualKeyParams ¶
type DeleteManualKeyParams struct { /* Path. The full key path, for example, mykeys/key01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteManualKeyParams contains all the parameters to send to the API endpoint
for the delete manual key operation. Typically these are written to a http.Request.
func NewDeleteManualKeyParams ¶
func NewDeleteManualKeyParams() *DeleteManualKeyParams
NewDeleteManualKeyParams creates a new DeleteManualKeyParams 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 NewDeleteManualKeyParamsWithContext ¶
func NewDeleteManualKeyParamsWithContext(ctx context.Context) *DeleteManualKeyParams
NewDeleteManualKeyParamsWithContext creates a new DeleteManualKeyParams object with the ability to set a context for a request.
func NewDeleteManualKeyParamsWithHTTPClient ¶
func NewDeleteManualKeyParamsWithHTTPClient(client *http.Client) *DeleteManualKeyParams
NewDeleteManualKeyParamsWithHTTPClient creates a new DeleteManualKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteManualKeyParamsWithTimeout ¶
func NewDeleteManualKeyParamsWithTimeout(timeout time.Duration) *DeleteManualKeyParams
NewDeleteManualKeyParamsWithTimeout creates a new DeleteManualKeyParams object with the ability to set a timeout on a request.
func (*DeleteManualKeyParams) SetContext ¶
func (o *DeleteManualKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete manual key params
func (*DeleteManualKeyParams) SetDefaults ¶
func (o *DeleteManualKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete manual key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteManualKeyParams) SetHTTPClient ¶
func (o *DeleteManualKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete manual key params
func (*DeleteManualKeyParams) SetPath ¶
func (o *DeleteManualKeyParams) SetPath(path string)
SetPath adds the path to the delete manual key params
func (*DeleteManualKeyParams) SetTimeout ¶
func (o *DeleteManualKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete manual key params
func (*DeleteManualKeyParams) WithContext ¶
func (o *DeleteManualKeyParams) WithContext(ctx context.Context) *DeleteManualKeyParams
WithContext adds the context to the delete manual key params
func (*DeleteManualKeyParams) WithDefaults ¶
func (o *DeleteManualKeyParams) WithDefaults() *DeleteManualKeyParams
WithDefaults hydrates default values in the delete manual key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteManualKeyParams) WithHTTPClient ¶
func (o *DeleteManualKeyParams) WithHTTPClient(client *http.Client) *DeleteManualKeyParams
WithHTTPClient adds the HTTPClient to the delete manual key params
func (*DeleteManualKeyParams) WithPath ¶
func (o *DeleteManualKeyParams) WithPath(path string) *DeleteManualKeyParams
WithPath adds the path to the delete manual key params
func (*DeleteManualKeyParams) WithTimeout ¶
func (o *DeleteManualKeyParams) WithTimeout(timeout time.Duration) *DeleteManualKeyParams
WithTimeout adds the timeout to the delete manual key params
func (*DeleteManualKeyParams) WriteToRequest ¶
func (o *DeleteManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteManualKeyReader ¶
type DeleteManualKeyReader struct {
// contains filtered or unexported fields
}
DeleteManualKeyReader is a Reader for the DeleteManualKey structure.
func (*DeleteManualKeyReader) ReadResponse ¶
func (o *DeleteManualKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteManualKeyUnauthorized ¶
type DeleteManualKeyUnauthorized struct {
}DeleteManualKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteManualKeyUnauthorized ¶
func NewDeleteManualKeyUnauthorized() *DeleteManualKeyUnauthorized
NewDeleteManualKeyUnauthorized creates a DeleteManualKeyUnauthorized with default headers values
func (*DeleteManualKeyUnauthorized) Error ¶
func (o *DeleteManualKeyUnauthorized) Error() string
func (*DeleteManualKeyUnauthorized) GetPayload ¶
func (o *DeleteManualKeyUnauthorized) GetPayload() *models.HTTPError
func (*DeleteManualKeyUnauthorized) IsClientError ¶
func (o *DeleteManualKeyUnauthorized) IsClientError() bool
IsClientError returns true when this delete manual key unauthorized response has a 4xx status code
func (*DeleteManualKeyUnauthorized) IsCode ¶
func (o *DeleteManualKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this delete manual key unauthorized response a status code equal to that given
func (*DeleteManualKeyUnauthorized) IsRedirect ¶
func (o *DeleteManualKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete manual key unauthorized response has a 3xx status code
func (*DeleteManualKeyUnauthorized) IsServerError ¶
func (o *DeleteManualKeyUnauthorized) IsServerError() bool
IsServerError returns true when this delete manual key unauthorized response has a 5xx status code
func (*DeleteManualKeyUnauthorized) IsSuccess ¶
func (o *DeleteManualKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete manual key unauthorized response has a 2xx status code
func (*DeleteManualKeyUnauthorized) String ¶
func (o *DeleteManualKeyUnauthorized) String() string
type EncryptWithManualKeyBadRequest ¶
EncryptWithManualKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewEncryptWithManualKeyBadRequest ¶
func NewEncryptWithManualKeyBadRequest() *EncryptWithManualKeyBadRequest
NewEncryptWithManualKeyBadRequest creates a EncryptWithManualKeyBadRequest with default headers values
func (*EncryptWithManualKeyBadRequest) Error ¶
func (o *EncryptWithManualKeyBadRequest) Error() string
func (*EncryptWithManualKeyBadRequest) GetPayload ¶
func (o *EncryptWithManualKeyBadRequest) GetPayload() *models.HTTPError
func (*EncryptWithManualKeyBadRequest) IsClientError ¶
func (o *EncryptWithManualKeyBadRequest) IsClientError() bool
IsClientError returns true when this encrypt with manual key bad request response has a 4xx status code
func (*EncryptWithManualKeyBadRequest) IsCode ¶
func (o *EncryptWithManualKeyBadRequest) IsCode(code int) bool
IsCode returns true when this encrypt with manual key bad request response a status code equal to that given
func (*EncryptWithManualKeyBadRequest) IsRedirect ¶
func (o *EncryptWithManualKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this encrypt with manual key bad request response has a 3xx status code
func (*EncryptWithManualKeyBadRequest) IsServerError ¶
func (o *EncryptWithManualKeyBadRequest) IsServerError() bool
IsServerError returns true when this encrypt with manual key bad request response has a 5xx status code
func (*EncryptWithManualKeyBadRequest) IsSuccess ¶
func (o *EncryptWithManualKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this encrypt with manual key bad request response has a 2xx status code
func (*EncryptWithManualKeyBadRequest) String ¶
func (o *EncryptWithManualKeyBadRequest) String() string
type EncryptWithManualKeyCreated ¶
type EncryptWithManualKeyCreated struct {
Payload *models.EncryptionResponse
}
EncryptWithManualKeyCreated describes a response with status code 201, with default header values.
no error
func NewEncryptWithManualKeyCreated ¶
func NewEncryptWithManualKeyCreated() *EncryptWithManualKeyCreated
NewEncryptWithManualKeyCreated creates a EncryptWithManualKeyCreated with default headers values
func (*EncryptWithManualKeyCreated) Error ¶
func (o *EncryptWithManualKeyCreated) Error() string
func (*EncryptWithManualKeyCreated) GetPayload ¶
func (o *EncryptWithManualKeyCreated) GetPayload() *models.EncryptionResponse
func (*EncryptWithManualKeyCreated) IsClientError ¶
func (o *EncryptWithManualKeyCreated) IsClientError() bool
IsClientError returns true when this encrypt with manual key created response has a 4xx status code
func (*EncryptWithManualKeyCreated) IsCode ¶
func (o *EncryptWithManualKeyCreated) IsCode(code int) bool
IsCode returns true when this encrypt with manual key created response a status code equal to that given
func (*EncryptWithManualKeyCreated) IsRedirect ¶
func (o *EncryptWithManualKeyCreated) IsRedirect() bool
IsRedirect returns true when this encrypt with manual key created response has a 3xx status code
func (*EncryptWithManualKeyCreated) IsServerError ¶
func (o *EncryptWithManualKeyCreated) IsServerError() bool
IsServerError returns true when this encrypt with manual key created response has a 5xx status code
func (*EncryptWithManualKeyCreated) IsSuccess ¶
func (o *EncryptWithManualKeyCreated) IsSuccess() bool
IsSuccess returns true when this encrypt with manual key created response has a 2xx status code
func (*EncryptWithManualKeyCreated) String ¶
func (o *EncryptWithManualKeyCreated) String() string
type EncryptWithManualKeyForbidden ¶
EncryptWithManualKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewEncryptWithManualKeyForbidden ¶
func NewEncryptWithManualKeyForbidden() *EncryptWithManualKeyForbidden
NewEncryptWithManualKeyForbidden creates a EncryptWithManualKeyForbidden with default headers values
func (*EncryptWithManualKeyForbidden) Error ¶
func (o *EncryptWithManualKeyForbidden) Error() string
func (*EncryptWithManualKeyForbidden) GetPayload ¶
func (o *EncryptWithManualKeyForbidden) GetPayload() *models.HTTPError
func (*EncryptWithManualKeyForbidden) IsClientError ¶
func (o *EncryptWithManualKeyForbidden) IsClientError() bool
IsClientError returns true when this encrypt with manual key forbidden response has a 4xx status code
func (*EncryptWithManualKeyForbidden) IsCode ¶
func (o *EncryptWithManualKeyForbidden) IsCode(code int) bool
IsCode returns true when this encrypt with manual key forbidden response a status code equal to that given
func (*EncryptWithManualKeyForbidden) IsRedirect ¶
func (o *EncryptWithManualKeyForbidden) IsRedirect() bool
IsRedirect returns true when this encrypt with manual key forbidden response has a 3xx status code
func (*EncryptWithManualKeyForbidden) IsServerError ¶
func (o *EncryptWithManualKeyForbidden) IsServerError() bool
IsServerError returns true when this encrypt with manual key forbidden response has a 5xx status code
func (*EncryptWithManualKeyForbidden) IsSuccess ¶
func (o *EncryptWithManualKeyForbidden) IsSuccess() bool
IsSuccess returns true when this encrypt with manual key forbidden response has a 2xx status code
func (*EncryptWithManualKeyForbidden) String ¶
func (o *EncryptWithManualKeyForbidden) String() string
type EncryptWithManualKeyInternalServerError ¶
EncryptWithManualKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewEncryptWithManualKeyInternalServerError ¶
func NewEncryptWithManualKeyInternalServerError() *EncryptWithManualKeyInternalServerError
NewEncryptWithManualKeyInternalServerError creates a EncryptWithManualKeyInternalServerError with default headers values
func (*EncryptWithManualKeyInternalServerError) Error ¶
func (o *EncryptWithManualKeyInternalServerError) Error() string
func (*EncryptWithManualKeyInternalServerError) GetPayload ¶
func (o *EncryptWithManualKeyInternalServerError) GetPayload() *models.HTTPError
func (*EncryptWithManualKeyInternalServerError) IsClientError ¶
func (o *EncryptWithManualKeyInternalServerError) IsClientError() bool
IsClientError returns true when this encrypt with manual key internal server error response has a 4xx status code
func (*EncryptWithManualKeyInternalServerError) IsCode ¶
func (o *EncryptWithManualKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this encrypt with manual key internal server error response a status code equal to that given
func (*EncryptWithManualKeyInternalServerError) IsRedirect ¶
func (o *EncryptWithManualKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this encrypt with manual key internal server error response has a 3xx status code
func (*EncryptWithManualKeyInternalServerError) IsServerError ¶
func (o *EncryptWithManualKeyInternalServerError) IsServerError() bool
IsServerError returns true when this encrypt with manual key internal server error response has a 5xx status code
func (*EncryptWithManualKeyInternalServerError) IsSuccess ¶
func (o *EncryptWithManualKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this encrypt with manual key internal server error response has a 2xx status code
func (*EncryptWithManualKeyInternalServerError) String ¶
func (o *EncryptWithManualKeyInternalServerError) String() string
type EncryptWithManualKeyParams ¶
type EncryptWithManualKeyParams struct { /* Path. The path to data key */ Path string /* Plaintext. A value to be encrypted */ Plaintext string /* Version. The version of the key with which to encrypt data */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EncryptWithManualKeyParams contains all the parameters to send to the API endpoint
for the encrypt with manual key operation. Typically these are written to a http.Request.
func NewEncryptWithManualKeyParams ¶
func NewEncryptWithManualKeyParams() *EncryptWithManualKeyParams
NewEncryptWithManualKeyParams creates a new EncryptWithManualKeyParams 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 NewEncryptWithManualKeyParamsWithContext ¶
func NewEncryptWithManualKeyParamsWithContext(ctx context.Context) *EncryptWithManualKeyParams
NewEncryptWithManualKeyParamsWithContext creates a new EncryptWithManualKeyParams object with the ability to set a context for a request.
func NewEncryptWithManualKeyParamsWithHTTPClient ¶
func NewEncryptWithManualKeyParamsWithHTTPClient(client *http.Client) *EncryptWithManualKeyParams
NewEncryptWithManualKeyParamsWithHTTPClient creates a new EncryptWithManualKeyParams object with the ability to set a custom HTTPClient for a request.
func NewEncryptWithManualKeyParamsWithTimeout ¶
func NewEncryptWithManualKeyParamsWithTimeout(timeout time.Duration) *EncryptWithManualKeyParams
NewEncryptWithManualKeyParamsWithTimeout creates a new EncryptWithManualKeyParams object with the ability to set a timeout on a request.
func (*EncryptWithManualKeyParams) SetContext ¶
func (o *EncryptWithManualKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the encrypt with manual key params
func (*EncryptWithManualKeyParams) SetDefaults ¶
func (o *EncryptWithManualKeyParams) SetDefaults()
SetDefaults hydrates default values in the encrypt with manual key params (not the query body).
All values with no default are reset to their zero value.
func (*EncryptWithManualKeyParams) SetHTTPClient ¶
func (o *EncryptWithManualKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the encrypt with manual key params
func (*EncryptWithManualKeyParams) SetPath ¶
func (o *EncryptWithManualKeyParams) SetPath(path string)
SetPath adds the path to the encrypt with manual key params
func (*EncryptWithManualKeyParams) SetPlaintext ¶
func (o *EncryptWithManualKeyParams) SetPlaintext(plaintext string)
SetPlaintext adds the plaintext to the encrypt with manual key params
func (*EncryptWithManualKeyParams) SetTimeout ¶
func (o *EncryptWithManualKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the encrypt with manual key params
func (*EncryptWithManualKeyParams) SetVersion ¶
func (o *EncryptWithManualKeyParams) SetVersion(version *string)
SetVersion adds the version to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithContext ¶
func (o *EncryptWithManualKeyParams) WithContext(ctx context.Context) *EncryptWithManualKeyParams
WithContext adds the context to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithDefaults ¶
func (o *EncryptWithManualKeyParams) WithDefaults() *EncryptWithManualKeyParams
WithDefaults hydrates default values in the encrypt with manual key params (not the query body).
All values with no default are reset to their zero value.
func (*EncryptWithManualKeyParams) WithHTTPClient ¶
func (o *EncryptWithManualKeyParams) WithHTTPClient(client *http.Client) *EncryptWithManualKeyParams
WithHTTPClient adds the HTTPClient to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithPath ¶
func (o *EncryptWithManualKeyParams) WithPath(path string) *EncryptWithManualKeyParams
WithPath adds the path to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithPlaintext ¶
func (o *EncryptWithManualKeyParams) WithPlaintext(plaintext string) *EncryptWithManualKeyParams
WithPlaintext adds the plaintext to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithTimeout ¶
func (o *EncryptWithManualKeyParams) WithTimeout(timeout time.Duration) *EncryptWithManualKeyParams
WithTimeout adds the timeout to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WithVersion ¶
func (o *EncryptWithManualKeyParams) WithVersion(version *string) *EncryptWithManualKeyParams
WithVersion adds the version to the encrypt with manual key params
func (*EncryptWithManualKeyParams) WriteToRequest ¶
func (o *EncryptWithManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EncryptWithManualKeyReader ¶
type EncryptWithManualKeyReader struct {
// contains filtered or unexported fields
}
EncryptWithManualKeyReader is a Reader for the EncryptWithManualKey structure.
func (*EncryptWithManualKeyReader) ReadResponse ¶
func (o *EncryptWithManualKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EncryptWithManualKeyUnauthorized ¶
type EncryptWithManualKeyUnauthorized struct {
}EncryptWithManualKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewEncryptWithManualKeyUnauthorized ¶
func NewEncryptWithManualKeyUnauthorized() *EncryptWithManualKeyUnauthorized
NewEncryptWithManualKeyUnauthorized creates a EncryptWithManualKeyUnauthorized with default headers values
func (*EncryptWithManualKeyUnauthorized) Error ¶
func (o *EncryptWithManualKeyUnauthorized) Error() string
func (*EncryptWithManualKeyUnauthorized) GetPayload ¶
func (o *EncryptWithManualKeyUnauthorized) GetPayload() *models.HTTPError
func (*EncryptWithManualKeyUnauthorized) IsClientError ¶
func (o *EncryptWithManualKeyUnauthorized) IsClientError() bool
IsClientError returns true when this encrypt with manual key unauthorized response has a 4xx status code
func (*EncryptWithManualKeyUnauthorized) IsCode ¶
func (o *EncryptWithManualKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this encrypt with manual key unauthorized response a status code equal to that given
func (*EncryptWithManualKeyUnauthorized) IsRedirect ¶
func (o *EncryptWithManualKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this encrypt with manual key unauthorized response has a 3xx status code
func (*EncryptWithManualKeyUnauthorized) IsServerError ¶
func (o *EncryptWithManualKeyUnauthorized) IsServerError() bool
IsServerError returns true when this encrypt with manual key unauthorized response has a 5xx status code
func (*EncryptWithManualKeyUnauthorized) IsSuccess ¶
func (o *EncryptWithManualKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this encrypt with manual key unauthorized response has a 2xx status code
func (*EncryptWithManualKeyUnauthorized) String ¶
func (o *EncryptWithManualKeyUnauthorized) String() string
type ReadManualKeyBadRequest ¶
ReadManualKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewReadManualKeyBadRequest ¶
func NewReadManualKeyBadRequest() *ReadManualKeyBadRequest
NewReadManualKeyBadRequest creates a ReadManualKeyBadRequest with default headers values
func (*ReadManualKeyBadRequest) Error ¶
func (o *ReadManualKeyBadRequest) Error() string
func (*ReadManualKeyBadRequest) GetPayload ¶
func (o *ReadManualKeyBadRequest) GetPayload() *models.HTTPError
func (*ReadManualKeyBadRequest) IsClientError ¶
func (o *ReadManualKeyBadRequest) IsClientError() bool
IsClientError returns true when this read manual key bad request response has a 4xx status code
func (*ReadManualKeyBadRequest) IsCode ¶
func (o *ReadManualKeyBadRequest) IsCode(code int) bool
IsCode returns true when this read manual key bad request response a status code equal to that given
func (*ReadManualKeyBadRequest) IsRedirect ¶
func (o *ReadManualKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this read manual key bad request response has a 3xx status code
func (*ReadManualKeyBadRequest) IsServerError ¶
func (o *ReadManualKeyBadRequest) IsServerError() bool
IsServerError returns true when this read manual key bad request response has a 5xx status code
func (*ReadManualKeyBadRequest) IsSuccess ¶
func (o *ReadManualKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this read manual key bad request response has a 2xx status code
func (*ReadManualKeyBadRequest) String ¶
func (o *ReadManualKeyBadRequest) String() string
type ReadManualKeyForbidden ¶
ReadManualKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewReadManualKeyForbidden ¶
func NewReadManualKeyForbidden() *ReadManualKeyForbidden
NewReadManualKeyForbidden creates a ReadManualKeyForbidden with default headers values
func (*ReadManualKeyForbidden) Error ¶
func (o *ReadManualKeyForbidden) Error() string
func (*ReadManualKeyForbidden) GetPayload ¶
func (o *ReadManualKeyForbidden) GetPayload() *models.HTTPError
func (*ReadManualKeyForbidden) IsClientError ¶
func (o *ReadManualKeyForbidden) IsClientError() bool
IsClientError returns true when this read manual key forbidden response has a 4xx status code
func (*ReadManualKeyForbidden) IsCode ¶
func (o *ReadManualKeyForbidden) IsCode(code int) bool
IsCode returns true when this read manual key forbidden response a status code equal to that given
func (*ReadManualKeyForbidden) IsRedirect ¶
func (o *ReadManualKeyForbidden) IsRedirect() bool
IsRedirect returns true when this read manual key forbidden response has a 3xx status code
func (*ReadManualKeyForbidden) IsServerError ¶
func (o *ReadManualKeyForbidden) IsServerError() bool
IsServerError returns true when this read manual key forbidden response has a 5xx status code
func (*ReadManualKeyForbidden) IsSuccess ¶
func (o *ReadManualKeyForbidden) IsSuccess() bool
IsSuccess returns true when this read manual key forbidden response has a 2xx status code
func (*ReadManualKeyForbidden) String ¶
func (o *ReadManualKeyForbidden) String() string
type ReadManualKeyInternalServerError ¶
ReadManualKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewReadManualKeyInternalServerError ¶
func NewReadManualKeyInternalServerError() *ReadManualKeyInternalServerError
NewReadManualKeyInternalServerError creates a ReadManualKeyInternalServerError with default headers values
func (*ReadManualKeyInternalServerError) Error ¶
func (o *ReadManualKeyInternalServerError) Error() string
func (*ReadManualKeyInternalServerError) GetPayload ¶
func (o *ReadManualKeyInternalServerError) GetPayload() *models.HTTPError
func (*ReadManualKeyInternalServerError) IsClientError ¶
func (o *ReadManualKeyInternalServerError) IsClientError() bool
IsClientError returns true when this read manual key internal server error response has a 4xx status code
func (*ReadManualKeyInternalServerError) IsCode ¶
func (o *ReadManualKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this read manual key internal server error response a status code equal to that given
func (*ReadManualKeyInternalServerError) IsRedirect ¶
func (o *ReadManualKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this read manual key internal server error response has a 3xx status code
func (*ReadManualKeyInternalServerError) IsServerError ¶
func (o *ReadManualKeyInternalServerError) IsServerError() bool
IsServerError returns true when this read manual key internal server error response has a 5xx status code
func (*ReadManualKeyInternalServerError) IsSuccess ¶
func (o *ReadManualKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this read manual key internal server error response has a 2xx status code
func (*ReadManualKeyInternalServerError) String ¶
func (o *ReadManualKeyInternalServerError) String() string
type ReadManualKeyOK ¶
type ReadManualKeyOK struct {
Payload *models.ResponseModelFull
}
ReadManualKeyOK describes a response with status code 200, with default header values.
no error
func NewReadManualKeyOK ¶
func NewReadManualKeyOK() *ReadManualKeyOK
NewReadManualKeyOK creates a ReadManualKeyOK with default headers values
func (*ReadManualKeyOK) Error ¶
func (o *ReadManualKeyOK) Error() string
func (*ReadManualKeyOK) GetPayload ¶
func (o *ReadManualKeyOK) GetPayload() *models.ResponseModelFull
func (*ReadManualKeyOK) IsClientError ¶
func (o *ReadManualKeyOK) IsClientError() bool
IsClientError returns true when this read manual key o k response has a 4xx status code
func (*ReadManualKeyOK) IsCode ¶
func (o *ReadManualKeyOK) IsCode(code int) bool
IsCode returns true when this read manual key o k response a status code equal to that given
func (*ReadManualKeyOK) IsRedirect ¶
func (o *ReadManualKeyOK) IsRedirect() bool
IsRedirect returns true when this read manual key o k response has a 3xx status code
func (*ReadManualKeyOK) IsServerError ¶
func (o *ReadManualKeyOK) IsServerError() bool
IsServerError returns true when this read manual key o k response has a 5xx status code
func (*ReadManualKeyOK) IsSuccess ¶
func (o *ReadManualKeyOK) IsSuccess() bool
IsSuccess returns true when this read manual key o k response has a 2xx status code
func (*ReadManualKeyOK) String ¶
func (o *ReadManualKeyOK) String() string
type ReadManualKeyParams ¶
type ReadManualKeyParams struct { /* Path. The full key path, for example, mykeys/key01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadManualKeyParams contains all the parameters to send to the API endpoint
for the read manual key operation. Typically these are written to a http.Request.
func NewReadManualKeyParams ¶
func NewReadManualKeyParams() *ReadManualKeyParams
NewReadManualKeyParams creates a new ReadManualKeyParams 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 NewReadManualKeyParamsWithContext ¶
func NewReadManualKeyParamsWithContext(ctx context.Context) *ReadManualKeyParams
NewReadManualKeyParamsWithContext creates a new ReadManualKeyParams object with the ability to set a context for a request.
func NewReadManualKeyParamsWithHTTPClient ¶
func NewReadManualKeyParamsWithHTTPClient(client *http.Client) *ReadManualKeyParams
NewReadManualKeyParamsWithHTTPClient creates a new ReadManualKeyParams object with the ability to set a custom HTTPClient for a request.
func NewReadManualKeyParamsWithTimeout ¶
func NewReadManualKeyParamsWithTimeout(timeout time.Duration) *ReadManualKeyParams
NewReadManualKeyParamsWithTimeout creates a new ReadManualKeyParams object with the ability to set a timeout on a request.
func (*ReadManualKeyParams) SetContext ¶
func (o *ReadManualKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the read manual key params
func (*ReadManualKeyParams) SetDefaults ¶
func (o *ReadManualKeyParams) SetDefaults()
SetDefaults hydrates default values in the read manual key params (not the query body).
All values with no default are reset to their zero value.
func (*ReadManualKeyParams) SetHTTPClient ¶
func (o *ReadManualKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read manual key params
func (*ReadManualKeyParams) SetPath ¶
func (o *ReadManualKeyParams) SetPath(path string)
SetPath adds the path to the read manual key params
func (*ReadManualKeyParams) SetTimeout ¶
func (o *ReadManualKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read manual key params
func (*ReadManualKeyParams) WithContext ¶
func (o *ReadManualKeyParams) WithContext(ctx context.Context) *ReadManualKeyParams
WithContext adds the context to the read manual key params
func (*ReadManualKeyParams) WithDefaults ¶
func (o *ReadManualKeyParams) WithDefaults() *ReadManualKeyParams
WithDefaults hydrates default values in the read manual key params (not the query body).
All values with no default are reset to their zero value.
func (*ReadManualKeyParams) WithHTTPClient ¶
func (o *ReadManualKeyParams) WithHTTPClient(client *http.Client) *ReadManualKeyParams
WithHTTPClient adds the HTTPClient to the read manual key params
func (*ReadManualKeyParams) WithPath ¶
func (o *ReadManualKeyParams) WithPath(path string) *ReadManualKeyParams
WithPath adds the path to the read manual key params
func (*ReadManualKeyParams) WithTimeout ¶
func (o *ReadManualKeyParams) WithTimeout(timeout time.Duration) *ReadManualKeyParams
WithTimeout adds the timeout to the read manual key params
func (*ReadManualKeyParams) WriteToRequest ¶
func (o *ReadManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadManualKeyReader ¶
type ReadManualKeyReader struct {
// contains filtered or unexported fields
}
ReadManualKeyReader is a Reader for the ReadManualKey structure.
func (*ReadManualKeyReader) ReadResponse ¶
func (o *ReadManualKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadManualKeyUnauthorized ¶
type ReadManualKeyUnauthorized struct {
}ReadManualKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewReadManualKeyUnauthorized ¶
func NewReadManualKeyUnauthorized() *ReadManualKeyUnauthorized
NewReadManualKeyUnauthorized creates a ReadManualKeyUnauthorized with default headers values
func (*ReadManualKeyUnauthorized) Error ¶
func (o *ReadManualKeyUnauthorized) Error() string
func (*ReadManualKeyUnauthorized) GetPayload ¶
func (o *ReadManualKeyUnauthorized) GetPayload() *models.HTTPError
func (*ReadManualKeyUnauthorized) IsClientError ¶
func (o *ReadManualKeyUnauthorized) IsClientError() bool
IsClientError returns true when this read manual key unauthorized response has a 4xx status code
func (*ReadManualKeyUnauthorized) IsCode ¶
func (o *ReadManualKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this read manual key unauthorized response a status code equal to that given
func (*ReadManualKeyUnauthorized) IsRedirect ¶
func (o *ReadManualKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this read manual key unauthorized response has a 3xx status code
func (*ReadManualKeyUnauthorized) IsServerError ¶
func (o *ReadManualKeyUnauthorized) IsServerError() bool
IsServerError returns true when this read manual key unauthorized response has a 5xx status code
func (*ReadManualKeyUnauthorized) IsSuccess ¶
func (o *ReadManualKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this read manual key unauthorized response has a 2xx status code
func (*ReadManualKeyUnauthorized) String ¶
func (o *ReadManualKeyUnauthorized) String() string
type RestoreManualKeyBadRequest ¶
RestoreManualKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewRestoreManualKeyBadRequest ¶
func NewRestoreManualKeyBadRequest() *RestoreManualKeyBadRequest
NewRestoreManualKeyBadRequest creates a RestoreManualKeyBadRequest with default headers values
func (*RestoreManualKeyBadRequest) Error ¶
func (o *RestoreManualKeyBadRequest) Error() string
func (*RestoreManualKeyBadRequest) GetPayload ¶
func (o *RestoreManualKeyBadRequest) GetPayload() *models.HTTPError
func (*RestoreManualKeyBadRequest) IsClientError ¶
func (o *RestoreManualKeyBadRequest) IsClientError() bool
IsClientError returns true when this restore manual key bad request response has a 4xx status code
func (*RestoreManualKeyBadRequest) IsCode ¶
func (o *RestoreManualKeyBadRequest) IsCode(code int) bool
IsCode returns true when this restore manual key bad request response a status code equal to that given
func (*RestoreManualKeyBadRequest) IsRedirect ¶
func (o *RestoreManualKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this restore manual key bad request response has a 3xx status code
func (*RestoreManualKeyBadRequest) IsServerError ¶
func (o *RestoreManualKeyBadRequest) IsServerError() bool
IsServerError returns true when this restore manual key bad request response has a 5xx status code
func (*RestoreManualKeyBadRequest) IsSuccess ¶
func (o *RestoreManualKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this restore manual key bad request response has a 2xx status code
func (*RestoreManualKeyBadRequest) String ¶
func (o *RestoreManualKeyBadRequest) String() string
type RestoreManualKeyForbidden ¶
RestoreManualKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewRestoreManualKeyForbidden ¶
func NewRestoreManualKeyForbidden() *RestoreManualKeyForbidden
NewRestoreManualKeyForbidden creates a RestoreManualKeyForbidden with default headers values
func (*RestoreManualKeyForbidden) Error ¶
func (o *RestoreManualKeyForbidden) Error() string
func (*RestoreManualKeyForbidden) GetPayload ¶
func (o *RestoreManualKeyForbidden) GetPayload() *models.HTTPError
func (*RestoreManualKeyForbidden) IsClientError ¶
func (o *RestoreManualKeyForbidden) IsClientError() bool
IsClientError returns true when this restore manual key forbidden response has a 4xx status code
func (*RestoreManualKeyForbidden) IsCode ¶
func (o *RestoreManualKeyForbidden) IsCode(code int) bool
IsCode returns true when this restore manual key forbidden response a status code equal to that given
func (*RestoreManualKeyForbidden) IsRedirect ¶
func (o *RestoreManualKeyForbidden) IsRedirect() bool
IsRedirect returns true when this restore manual key forbidden response has a 3xx status code
func (*RestoreManualKeyForbidden) IsServerError ¶
func (o *RestoreManualKeyForbidden) IsServerError() bool
IsServerError returns true when this restore manual key forbidden response has a 5xx status code
func (*RestoreManualKeyForbidden) IsSuccess ¶
func (o *RestoreManualKeyForbidden) IsSuccess() bool
IsSuccess returns true when this restore manual key forbidden response has a 2xx status code
func (*RestoreManualKeyForbidden) String ¶
func (o *RestoreManualKeyForbidden) String() string
type RestoreManualKeyInternalServerError ¶
RestoreManualKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewRestoreManualKeyInternalServerError ¶
func NewRestoreManualKeyInternalServerError() *RestoreManualKeyInternalServerError
NewRestoreManualKeyInternalServerError creates a RestoreManualKeyInternalServerError with default headers values
func (*RestoreManualKeyInternalServerError) Error ¶
func (o *RestoreManualKeyInternalServerError) Error() string
func (*RestoreManualKeyInternalServerError) GetPayload ¶
func (o *RestoreManualKeyInternalServerError) GetPayload() *models.HTTPError
func (*RestoreManualKeyInternalServerError) IsClientError ¶
func (o *RestoreManualKeyInternalServerError) IsClientError() bool
IsClientError returns true when this restore manual key internal server error response has a 4xx status code
func (*RestoreManualKeyInternalServerError) IsCode ¶
func (o *RestoreManualKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this restore manual key internal server error response a status code equal to that given
func (*RestoreManualKeyInternalServerError) IsRedirect ¶
func (o *RestoreManualKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this restore manual key internal server error response has a 3xx status code
func (*RestoreManualKeyInternalServerError) IsServerError ¶
func (o *RestoreManualKeyInternalServerError) IsServerError() bool
IsServerError returns true when this restore manual key internal server error response has a 5xx status code
func (*RestoreManualKeyInternalServerError) IsSuccess ¶
func (o *RestoreManualKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this restore manual key internal server error response has a 2xx status code
func (*RestoreManualKeyInternalServerError) String ¶
func (o *RestoreManualKeyInternalServerError) String() string
type RestoreManualKeyNoContent ¶
type RestoreManualKeyNoContent struct { }
RestoreManualKeyNoContent describes a response with status code 204, with default header values.
no error
func NewRestoreManualKeyNoContent ¶
func NewRestoreManualKeyNoContent() *RestoreManualKeyNoContent
NewRestoreManualKeyNoContent creates a RestoreManualKeyNoContent with default headers values
func (*RestoreManualKeyNoContent) Error ¶
func (o *RestoreManualKeyNoContent) Error() string
func (*RestoreManualKeyNoContent) IsClientError ¶
func (o *RestoreManualKeyNoContent) IsClientError() bool
IsClientError returns true when this restore manual key no content response has a 4xx status code
func (*RestoreManualKeyNoContent) IsCode ¶
func (o *RestoreManualKeyNoContent) IsCode(code int) bool
IsCode returns true when this restore manual key no content response a status code equal to that given
func (*RestoreManualKeyNoContent) IsRedirect ¶
func (o *RestoreManualKeyNoContent) IsRedirect() bool
IsRedirect returns true when this restore manual key no content response has a 3xx status code
func (*RestoreManualKeyNoContent) IsServerError ¶
func (o *RestoreManualKeyNoContent) IsServerError() bool
IsServerError returns true when this restore manual key no content response has a 5xx status code
func (*RestoreManualKeyNoContent) IsSuccess ¶
func (o *RestoreManualKeyNoContent) IsSuccess() bool
IsSuccess returns true when this restore manual key no content response has a 2xx status code
func (*RestoreManualKeyNoContent) String ¶
func (o *RestoreManualKeyNoContent) String() string
type RestoreManualKeyParams ¶
type RestoreManualKeyParams struct { /* Path. The full key path, for example, mykeys/key01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreManualKeyParams contains all the parameters to send to the API endpoint
for the restore manual key operation. Typically these are written to a http.Request.
func NewRestoreManualKeyParams ¶
func NewRestoreManualKeyParams() *RestoreManualKeyParams
NewRestoreManualKeyParams creates a new RestoreManualKeyParams 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 NewRestoreManualKeyParamsWithContext ¶
func NewRestoreManualKeyParamsWithContext(ctx context.Context) *RestoreManualKeyParams
NewRestoreManualKeyParamsWithContext creates a new RestoreManualKeyParams object with the ability to set a context for a request.
func NewRestoreManualKeyParamsWithHTTPClient ¶
func NewRestoreManualKeyParamsWithHTTPClient(client *http.Client) *RestoreManualKeyParams
NewRestoreManualKeyParamsWithHTTPClient creates a new RestoreManualKeyParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreManualKeyParamsWithTimeout ¶
func NewRestoreManualKeyParamsWithTimeout(timeout time.Duration) *RestoreManualKeyParams
NewRestoreManualKeyParamsWithTimeout creates a new RestoreManualKeyParams object with the ability to set a timeout on a request.
func (*RestoreManualKeyParams) SetContext ¶
func (o *RestoreManualKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the restore manual key params
func (*RestoreManualKeyParams) SetDefaults ¶
func (o *RestoreManualKeyParams) SetDefaults()
SetDefaults hydrates default values in the restore manual key params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreManualKeyParams) SetHTTPClient ¶
func (o *RestoreManualKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore manual key params
func (*RestoreManualKeyParams) SetPath ¶
func (o *RestoreManualKeyParams) SetPath(path string)
SetPath adds the path to the restore manual key params
func (*RestoreManualKeyParams) SetTimeout ¶
func (o *RestoreManualKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore manual key params
func (*RestoreManualKeyParams) WithContext ¶
func (o *RestoreManualKeyParams) WithContext(ctx context.Context) *RestoreManualKeyParams
WithContext adds the context to the restore manual key params
func (*RestoreManualKeyParams) WithDefaults ¶
func (o *RestoreManualKeyParams) WithDefaults() *RestoreManualKeyParams
WithDefaults hydrates default values in the restore manual key params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreManualKeyParams) WithHTTPClient ¶
func (o *RestoreManualKeyParams) WithHTTPClient(client *http.Client) *RestoreManualKeyParams
WithHTTPClient adds the HTTPClient to the restore manual key params
func (*RestoreManualKeyParams) WithPath ¶
func (o *RestoreManualKeyParams) WithPath(path string) *RestoreManualKeyParams
WithPath adds the path to the restore manual key params
func (*RestoreManualKeyParams) WithTimeout ¶
func (o *RestoreManualKeyParams) WithTimeout(timeout time.Duration) *RestoreManualKeyParams
WithTimeout adds the timeout to the restore manual key params
func (*RestoreManualKeyParams) WriteToRequest ¶
func (o *RestoreManualKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreManualKeyReader ¶
type RestoreManualKeyReader struct {
// contains filtered or unexported fields
}
RestoreManualKeyReader is a Reader for the RestoreManualKey structure.
func (*RestoreManualKeyReader) ReadResponse ¶
func (o *RestoreManualKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreManualKeyUnauthorized ¶
type RestoreManualKeyUnauthorized struct {
}RestoreManualKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRestoreManualKeyUnauthorized ¶
func NewRestoreManualKeyUnauthorized() *RestoreManualKeyUnauthorized
NewRestoreManualKeyUnauthorized creates a RestoreManualKeyUnauthorized with default headers values
func (*RestoreManualKeyUnauthorized) Error ¶
func (o *RestoreManualKeyUnauthorized) Error() string
func (*RestoreManualKeyUnauthorized) GetPayload ¶
func (o *RestoreManualKeyUnauthorized) GetPayload() *models.HTTPError
func (*RestoreManualKeyUnauthorized) IsClientError ¶
func (o *RestoreManualKeyUnauthorized) IsClientError() bool
IsClientError returns true when this restore manual key unauthorized response has a 4xx status code
func (*RestoreManualKeyUnauthorized) IsCode ¶
func (o *RestoreManualKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this restore manual key unauthorized response a status code equal to that given
func (*RestoreManualKeyUnauthorized) IsRedirect ¶
func (o *RestoreManualKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this restore manual key unauthorized response has a 3xx status code
func (*RestoreManualKeyUnauthorized) IsServerError ¶
func (o *RestoreManualKeyUnauthorized) IsServerError() bool
IsServerError returns true when this restore manual key unauthorized response has a 5xx status code
func (*RestoreManualKeyUnauthorized) IsSuccess ¶
func (o *RestoreManualKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this restore manual key unauthorized response has a 2xx status code
func (*RestoreManualKeyUnauthorized) String ¶
func (o *RestoreManualKeyUnauthorized) String() string
type UpdateKeyBadRequest ¶
UpdateKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateKeyBadRequest ¶
func NewUpdateKeyBadRequest() *UpdateKeyBadRequest
NewUpdateKeyBadRequest creates a UpdateKeyBadRequest with default headers values
func (*UpdateKeyBadRequest) Error ¶
func (o *UpdateKeyBadRequest) Error() string
func (*UpdateKeyBadRequest) GetPayload ¶
func (o *UpdateKeyBadRequest) GetPayload() *models.HTTPError
func (*UpdateKeyBadRequest) IsClientError ¶
func (o *UpdateKeyBadRequest) IsClientError() bool
IsClientError returns true when this update key bad request response has a 4xx status code
func (*UpdateKeyBadRequest) IsCode ¶
func (o *UpdateKeyBadRequest) IsCode(code int) bool
IsCode returns true when this update key bad request response a status code equal to that given
func (*UpdateKeyBadRequest) IsRedirect ¶
func (o *UpdateKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this update key bad request response has a 3xx status code
func (*UpdateKeyBadRequest) IsServerError ¶
func (o *UpdateKeyBadRequest) IsServerError() bool
IsServerError returns true when this update key bad request response has a 5xx status code
func (*UpdateKeyBadRequest) IsSuccess ¶
func (o *UpdateKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this update key bad request response has a 2xx status code
func (*UpdateKeyBadRequest) String ¶
func (o *UpdateKeyBadRequest) String() string
type UpdateKeyForbidden ¶
UpdateKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewUpdateKeyForbidden ¶
func NewUpdateKeyForbidden() *UpdateKeyForbidden
NewUpdateKeyForbidden creates a UpdateKeyForbidden with default headers values
func (*UpdateKeyForbidden) Error ¶
func (o *UpdateKeyForbidden) Error() string
func (*UpdateKeyForbidden) GetPayload ¶
func (o *UpdateKeyForbidden) GetPayload() *models.HTTPError
func (*UpdateKeyForbidden) IsClientError ¶
func (o *UpdateKeyForbidden) IsClientError() bool
IsClientError returns true when this update key forbidden response has a 4xx status code
func (*UpdateKeyForbidden) IsCode ¶
func (o *UpdateKeyForbidden) IsCode(code int) bool
IsCode returns true when this update key forbidden response a status code equal to that given
func (*UpdateKeyForbidden) IsRedirect ¶
func (o *UpdateKeyForbidden) IsRedirect() bool
IsRedirect returns true when this update key forbidden response has a 3xx status code
func (*UpdateKeyForbidden) IsServerError ¶
func (o *UpdateKeyForbidden) IsServerError() bool
IsServerError returns true when this update key forbidden response has a 5xx status code
func (*UpdateKeyForbidden) IsSuccess ¶
func (o *UpdateKeyForbidden) IsSuccess() bool
IsSuccess returns true when this update key forbidden response has a 2xx status code
func (*UpdateKeyForbidden) String ¶
func (o *UpdateKeyForbidden) String() string
type UpdateKeyInternalServerError ¶
UpdateKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewUpdateKeyInternalServerError ¶
func NewUpdateKeyInternalServerError() *UpdateKeyInternalServerError
NewUpdateKeyInternalServerError creates a UpdateKeyInternalServerError with default headers values
func (*UpdateKeyInternalServerError) Error ¶
func (o *UpdateKeyInternalServerError) Error() string
func (*UpdateKeyInternalServerError) GetPayload ¶
func (o *UpdateKeyInternalServerError) GetPayload() *models.HTTPError
func (*UpdateKeyInternalServerError) IsClientError ¶
func (o *UpdateKeyInternalServerError) IsClientError() bool
IsClientError returns true when this update key internal server error response has a 4xx status code
func (*UpdateKeyInternalServerError) IsCode ¶
func (o *UpdateKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this update key internal server error response a status code equal to that given
func (*UpdateKeyInternalServerError) IsRedirect ¶
func (o *UpdateKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this update key internal server error response has a 3xx status code
func (*UpdateKeyInternalServerError) IsServerError ¶
func (o *UpdateKeyInternalServerError) IsServerError() bool
IsServerError returns true when this update key internal server error response has a 5xx status code
func (*UpdateKeyInternalServerError) IsSuccess ¶
func (o *UpdateKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this update key internal server error response has a 2xx status code
func (*UpdateKeyInternalServerError) String ¶
func (o *UpdateKeyInternalServerError) String() string
type UpdateKeyOK ¶
type UpdateKeyOK struct {
Payload *models.ResponseModelFull
}
UpdateKeyOK describes a response with status code 200, with default header values.
no error
func NewUpdateKeyOK ¶
func NewUpdateKeyOK() *UpdateKeyOK
NewUpdateKeyOK creates a UpdateKeyOK with default headers values
func (*UpdateKeyOK) Error ¶
func (o *UpdateKeyOK) Error() string
func (*UpdateKeyOK) GetPayload ¶
func (o *UpdateKeyOK) GetPayload() *models.ResponseModelFull
func (*UpdateKeyOK) IsClientError ¶
func (o *UpdateKeyOK) IsClientError() bool
IsClientError returns true when this update key o k response has a 4xx status code
func (*UpdateKeyOK) IsCode ¶
func (o *UpdateKeyOK) IsCode(code int) bool
IsCode returns true when this update key o k response a status code equal to that given
func (*UpdateKeyOK) IsRedirect ¶
func (o *UpdateKeyOK) IsRedirect() bool
IsRedirect returns true when this update key o k response has a 3xx status code
func (*UpdateKeyOK) IsServerError ¶
func (o *UpdateKeyOK) IsServerError() bool
IsServerError returns true when this update key o k response has a 5xx status code
func (*UpdateKeyOK) IsSuccess ¶
func (o *UpdateKeyOK) IsSuccess() bool
IsSuccess returns true when this update key o k response has a 2xx status code
func (*UpdateKeyOK) String ¶
func (o *UpdateKeyOK) String() string
type UpdateKeyParams ¶
type UpdateKeyParams struct { // Body. Body *models.UpdateKeyRequest /* Path. The full key path, for example, mykeys/key01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateKeyParams contains all the parameters to send to the API endpoint
for the update key operation. Typically these are written to a http.Request.
func NewUpdateKeyParams ¶
func NewUpdateKeyParams() *UpdateKeyParams
NewUpdateKeyParams creates a new UpdateKeyParams 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 NewUpdateKeyParamsWithContext ¶
func NewUpdateKeyParamsWithContext(ctx context.Context) *UpdateKeyParams
NewUpdateKeyParamsWithContext creates a new UpdateKeyParams object with the ability to set a context for a request.
func NewUpdateKeyParamsWithHTTPClient ¶
func NewUpdateKeyParamsWithHTTPClient(client *http.Client) *UpdateKeyParams
NewUpdateKeyParamsWithHTTPClient creates a new UpdateKeyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateKeyParamsWithTimeout ¶
func NewUpdateKeyParamsWithTimeout(timeout time.Duration) *UpdateKeyParams
NewUpdateKeyParamsWithTimeout creates a new UpdateKeyParams object with the ability to set a timeout on a request.
func (*UpdateKeyParams) SetBody ¶
func (o *UpdateKeyParams) SetBody(body *models.UpdateKeyRequest)
SetBody adds the body to the update key params
func (*UpdateKeyParams) SetContext ¶
func (o *UpdateKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the update key params
func (*UpdateKeyParams) SetDefaults ¶
func (o *UpdateKeyParams) SetDefaults()
SetDefaults hydrates default values in the update key params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateKeyParams) SetHTTPClient ¶
func (o *UpdateKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update key params
func (*UpdateKeyParams) SetPath ¶
func (o *UpdateKeyParams) SetPath(path string)
SetPath adds the path to the update key params
func (*UpdateKeyParams) SetTimeout ¶
func (o *UpdateKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update key params
func (*UpdateKeyParams) WithBody ¶
func (o *UpdateKeyParams) WithBody(body *models.UpdateKeyRequest) *UpdateKeyParams
WithBody adds the body to the update key params
func (*UpdateKeyParams) WithContext ¶
func (o *UpdateKeyParams) WithContext(ctx context.Context) *UpdateKeyParams
WithContext adds the context to the update key params
func (*UpdateKeyParams) WithDefaults ¶
func (o *UpdateKeyParams) WithDefaults() *UpdateKeyParams
WithDefaults hydrates default values in the update key params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateKeyParams) WithHTTPClient ¶
func (o *UpdateKeyParams) WithHTTPClient(client *http.Client) *UpdateKeyParams
WithHTTPClient adds the HTTPClient to the update key params
func (*UpdateKeyParams) WithPath ¶
func (o *UpdateKeyParams) WithPath(path string) *UpdateKeyParams
WithPath adds the path to the update key params
func (*UpdateKeyParams) WithTimeout ¶
func (o *UpdateKeyParams) WithTimeout(timeout time.Duration) *UpdateKeyParams
WithTimeout adds the timeout to the update key params
func (*UpdateKeyParams) WriteToRequest ¶
func (o *UpdateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateKeyReader ¶
type UpdateKeyReader struct {
// contains filtered or unexported fields
}
UpdateKeyReader is a Reader for the UpdateKey structure.
func (*UpdateKeyReader) ReadResponse ¶
func (o *UpdateKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateKeyUnauthorized ¶
type UpdateKeyUnauthorized struct {
}UpdateKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateKeyUnauthorized ¶
func NewUpdateKeyUnauthorized() *UpdateKeyUnauthorized
NewUpdateKeyUnauthorized creates a UpdateKeyUnauthorized with default headers values
func (*UpdateKeyUnauthorized) Error ¶
func (o *UpdateKeyUnauthorized) Error() string
func (*UpdateKeyUnauthorized) GetPayload ¶
func (o *UpdateKeyUnauthorized) GetPayload() *models.HTTPError
func (*UpdateKeyUnauthorized) IsClientError ¶
func (o *UpdateKeyUnauthorized) IsClientError() bool
IsClientError returns true when this update key unauthorized response has a 4xx status code
func (*UpdateKeyUnauthorized) IsCode ¶
func (o *UpdateKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this update key unauthorized response a status code equal to that given
func (*UpdateKeyUnauthorized) IsRedirect ¶
func (o *UpdateKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this update key unauthorized response has a 3xx status code
func (*UpdateKeyUnauthorized) IsServerError ¶
func (o *UpdateKeyUnauthorized) IsServerError() bool
IsServerError returns true when this update key unauthorized response has a 5xx status code
func (*UpdateKeyUnauthorized) IsSuccess ¶
func (o *UpdateKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this update key unauthorized response has a 2xx status code
func (*UpdateKeyUnauthorized) String ¶
func (o *UpdateKeyUnauthorized) String() string
type UploadKeyBadRequest ¶
UploadKeyBadRequest describes a response with status code 400, with default header values.
bad request
func NewUploadKeyBadRequest ¶
func NewUploadKeyBadRequest() *UploadKeyBadRequest
NewUploadKeyBadRequest creates a UploadKeyBadRequest with default headers values
func (*UploadKeyBadRequest) Error ¶
func (o *UploadKeyBadRequest) Error() string
func (*UploadKeyBadRequest) GetPayload ¶
func (o *UploadKeyBadRequest) GetPayload() *models.HTTPError
func (*UploadKeyBadRequest) IsClientError ¶
func (o *UploadKeyBadRequest) IsClientError() bool
IsClientError returns true when this upload key bad request response has a 4xx status code
func (*UploadKeyBadRequest) IsCode ¶
func (o *UploadKeyBadRequest) IsCode(code int) bool
IsCode returns true when this upload key bad request response a status code equal to that given
func (*UploadKeyBadRequest) IsRedirect ¶
func (o *UploadKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this upload key bad request response has a 3xx status code
func (*UploadKeyBadRequest) IsServerError ¶
func (o *UploadKeyBadRequest) IsServerError() bool
IsServerError returns true when this upload key bad request response has a 5xx status code
func (*UploadKeyBadRequest) IsSuccess ¶
func (o *UploadKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this upload key bad request response has a 2xx status code
func (*UploadKeyBadRequest) String ¶
func (o *UploadKeyBadRequest) String() string
type UploadKeyCreated ¶
type UploadKeyCreated struct {
Payload *models.ResponseModelFull
}
UploadKeyCreated describes a response with status code 201, with default header values.
no error
func NewUploadKeyCreated ¶
func NewUploadKeyCreated() *UploadKeyCreated
NewUploadKeyCreated creates a UploadKeyCreated with default headers values
func (*UploadKeyCreated) Error ¶
func (o *UploadKeyCreated) Error() string
func (*UploadKeyCreated) GetPayload ¶
func (o *UploadKeyCreated) GetPayload() *models.ResponseModelFull
func (*UploadKeyCreated) IsClientError ¶
func (o *UploadKeyCreated) IsClientError() bool
IsClientError returns true when this upload key created response has a 4xx status code
func (*UploadKeyCreated) IsCode ¶
func (o *UploadKeyCreated) IsCode(code int) bool
IsCode returns true when this upload key created response a status code equal to that given
func (*UploadKeyCreated) IsRedirect ¶
func (o *UploadKeyCreated) IsRedirect() bool
IsRedirect returns true when this upload key created response has a 3xx status code
func (*UploadKeyCreated) IsServerError ¶
func (o *UploadKeyCreated) IsServerError() bool
IsServerError returns true when this upload key created response has a 5xx status code
func (*UploadKeyCreated) IsSuccess ¶
func (o *UploadKeyCreated) IsSuccess() bool
IsSuccess returns true when this upload key created response has a 2xx status code
func (*UploadKeyCreated) String ¶
func (o *UploadKeyCreated) String() string
type UploadKeyForbidden ¶
UploadKeyForbidden describes a response with status code 403, with default header values.
forbidden
func NewUploadKeyForbidden ¶
func NewUploadKeyForbidden() *UploadKeyForbidden
NewUploadKeyForbidden creates a UploadKeyForbidden with default headers values
func (*UploadKeyForbidden) Error ¶
func (o *UploadKeyForbidden) Error() string
func (*UploadKeyForbidden) GetPayload ¶
func (o *UploadKeyForbidden) GetPayload() *models.HTTPError
func (*UploadKeyForbidden) IsClientError ¶
func (o *UploadKeyForbidden) IsClientError() bool
IsClientError returns true when this upload key forbidden response has a 4xx status code
func (*UploadKeyForbidden) IsCode ¶
func (o *UploadKeyForbidden) IsCode(code int) bool
IsCode returns true when this upload key forbidden response a status code equal to that given
func (*UploadKeyForbidden) IsRedirect ¶
func (o *UploadKeyForbidden) IsRedirect() bool
IsRedirect returns true when this upload key forbidden response has a 3xx status code
func (*UploadKeyForbidden) IsServerError ¶
func (o *UploadKeyForbidden) IsServerError() bool
IsServerError returns true when this upload key forbidden response has a 5xx status code
func (*UploadKeyForbidden) IsSuccess ¶
func (o *UploadKeyForbidden) IsSuccess() bool
IsSuccess returns true when this upload key forbidden response has a 2xx status code
func (*UploadKeyForbidden) String ¶
func (o *UploadKeyForbidden) String() string
type UploadKeyInternalServerError ¶
UploadKeyInternalServerError describes a response with status code 500, with default header values.
server error
func NewUploadKeyInternalServerError ¶
func NewUploadKeyInternalServerError() *UploadKeyInternalServerError
NewUploadKeyInternalServerError creates a UploadKeyInternalServerError with default headers values
func (*UploadKeyInternalServerError) Error ¶
func (o *UploadKeyInternalServerError) Error() string
func (*UploadKeyInternalServerError) GetPayload ¶
func (o *UploadKeyInternalServerError) GetPayload() *models.HTTPError
func (*UploadKeyInternalServerError) IsClientError ¶
func (o *UploadKeyInternalServerError) IsClientError() bool
IsClientError returns true when this upload key internal server error response has a 4xx status code
func (*UploadKeyInternalServerError) IsCode ¶
func (o *UploadKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this upload key internal server error response a status code equal to that given
func (*UploadKeyInternalServerError) IsRedirect ¶
func (o *UploadKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this upload key internal server error response has a 3xx status code
func (*UploadKeyInternalServerError) IsServerError ¶
func (o *UploadKeyInternalServerError) IsServerError() bool
IsServerError returns true when this upload key internal server error response has a 5xx status code
func (*UploadKeyInternalServerError) IsSuccess ¶
func (o *UploadKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this upload key internal server error response has a 2xx status code
func (*UploadKeyInternalServerError) String ¶
func (o *UploadKeyInternalServerError) String() string
type UploadKeyParams ¶
type UploadKeyParams struct { // Body. Body *models.ManualKeyData /* Path. The full key path, for example, mykeys/key01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadKeyParams contains all the parameters to send to the API endpoint
for the upload key operation. Typically these are written to a http.Request.
func NewUploadKeyParams ¶
func NewUploadKeyParams() *UploadKeyParams
NewUploadKeyParams creates a new UploadKeyParams 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 NewUploadKeyParamsWithContext ¶
func NewUploadKeyParamsWithContext(ctx context.Context) *UploadKeyParams
NewUploadKeyParamsWithContext creates a new UploadKeyParams object with the ability to set a context for a request.
func NewUploadKeyParamsWithHTTPClient ¶
func NewUploadKeyParamsWithHTTPClient(client *http.Client) *UploadKeyParams
NewUploadKeyParamsWithHTTPClient creates a new UploadKeyParams object with the ability to set a custom HTTPClient for a request.
func NewUploadKeyParamsWithTimeout ¶
func NewUploadKeyParamsWithTimeout(timeout time.Duration) *UploadKeyParams
NewUploadKeyParamsWithTimeout creates a new UploadKeyParams object with the ability to set a timeout on a request.
func (*UploadKeyParams) SetBody ¶
func (o *UploadKeyParams) SetBody(body *models.ManualKeyData)
SetBody adds the body to the upload key params
func (*UploadKeyParams) SetContext ¶
func (o *UploadKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the upload key params
func (*UploadKeyParams) SetDefaults ¶
func (o *UploadKeyParams) SetDefaults()
SetDefaults hydrates default values in the upload key params (not the query body).
All values with no default are reset to their zero value.
func (*UploadKeyParams) SetHTTPClient ¶
func (o *UploadKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload key params
func (*UploadKeyParams) SetPath ¶
func (o *UploadKeyParams) SetPath(path string)
SetPath adds the path to the upload key params
func (*UploadKeyParams) SetTimeout ¶
func (o *UploadKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload key params
func (*UploadKeyParams) WithBody ¶
func (o *UploadKeyParams) WithBody(body *models.ManualKeyData) *UploadKeyParams
WithBody adds the body to the upload key params
func (*UploadKeyParams) WithContext ¶
func (o *UploadKeyParams) WithContext(ctx context.Context) *UploadKeyParams
WithContext adds the context to the upload key params
func (*UploadKeyParams) WithDefaults ¶
func (o *UploadKeyParams) WithDefaults() *UploadKeyParams
WithDefaults hydrates default values in the upload key params (not the query body).
All values with no default are reset to their zero value.
func (*UploadKeyParams) WithHTTPClient ¶
func (o *UploadKeyParams) WithHTTPClient(client *http.Client) *UploadKeyParams
WithHTTPClient adds the HTTPClient to the upload key params
func (*UploadKeyParams) WithPath ¶
func (o *UploadKeyParams) WithPath(path string) *UploadKeyParams
WithPath adds the path to the upload key params
func (*UploadKeyParams) WithTimeout ¶
func (o *UploadKeyParams) WithTimeout(timeout time.Duration) *UploadKeyParams
WithTimeout adds the timeout to the upload key params
func (*UploadKeyParams) WriteToRequest ¶
func (o *UploadKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadKeyReader ¶
type UploadKeyReader struct {
// contains filtered or unexported fields
}
UploadKeyReader is a Reader for the UploadKey structure.
func (*UploadKeyReader) ReadResponse ¶
func (o *UploadKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadKeyUnauthorized ¶
type UploadKeyUnauthorized struct {
}UploadKeyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUploadKeyUnauthorized ¶
func NewUploadKeyUnauthorized() *UploadKeyUnauthorized
NewUploadKeyUnauthorized creates a UploadKeyUnauthorized with default headers values
func (*UploadKeyUnauthorized) Error ¶
func (o *UploadKeyUnauthorized) Error() string
func (*UploadKeyUnauthorized) GetPayload ¶
func (o *UploadKeyUnauthorized) GetPayload() *models.HTTPError
func (*UploadKeyUnauthorized) IsClientError ¶
func (o *UploadKeyUnauthorized) IsClientError() bool
IsClientError returns true when this upload key unauthorized response has a 4xx status code
func (*UploadKeyUnauthorized) IsCode ¶
func (o *UploadKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this upload key unauthorized response a status code equal to that given
func (*UploadKeyUnauthorized) IsRedirect ¶
func (o *UploadKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this upload key unauthorized response has a 3xx status code
func (*UploadKeyUnauthorized) IsServerError ¶
func (o *UploadKeyUnauthorized) IsServerError() bool
IsServerError returns true when this upload key unauthorized response has a 5xx status code
func (*UploadKeyUnauthorized) IsSuccess ¶
func (o *UploadKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this upload key unauthorized response has a 2xx status code
func (*UploadKeyUnauthorized) String ¶
func (o *UploadKeyUnauthorized) String() string
Source Files
¶
- decrypt_with_manual_key_parameters.go
- decrypt_with_manual_key_responses.go
- delete_manual_key_parameters.go
- delete_manual_key_responses.go
- eaas_manual_client.go
- encrypt_with_manual_key_parameters.go
- encrypt_with_manual_key_responses.go
- read_manual_key_parameters.go
- read_manual_key_responses.go
- restore_manual_key_parameters.go
- restore_manual_key_responses.go
- update_key_parameters.go
- update_key_responses.go
- upload_key_parameters.go
- upload_key_responses.go