Documentation ¶
Index ¶
- type Client
- func (a *Client) KeyCreateUsingPUT(params *KeyCreateUsingPUTParams, opts ...ClientOption) (*KeyCreateUsingPUTOK, *KeyCreateUsingPUTCreated, error)
- func (a *Client) KeyDeleteUsingDELETE(params *KeyDeleteUsingDELETEParams, opts ...ClientOption) (*KeyDeleteUsingDELETEOK, error)
- func (a *Client) KeyExportUsingPOST(params *KeyExportUsingPOSTParams, opts ...ClientOption) (*KeyExportUsingPOSTOK, error)
- func (a *Client) KeyGetUsingGET(params *KeyGetUsingGETParams, opts ...ClientOption) (*KeyGetUsingGETOK, error)
- func (a *Client) KeyImportUsingPOST(params *KeyImportUsingPOSTParams, opts ...ClientOption) (*KeyImportUsingPOSTOK, *KeyImportUsingPOSTCreated, error)
- func (a *Client) KeyListUsingGET(params *KeyListUsingGETParams, opts ...ClientOption) (*KeyListUsingGETOK, error)
- func (a *Client) KeyNewVersionUsingPOST(params *KeyNewVersionUsingPOSTParams, opts ...ClientOption) (*KeyNewVersionUsingPOSTOK, *KeyNewVersionUsingPOSTCreated, error)
- func (a *Client) KeyRevokeUsingPOST(params *KeyRevokeUsingPOSTParams, opts ...ClientOption) (*KeyRevokeUsingPOSTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type KeyCreateUsingPUTBadRequest
- type KeyCreateUsingPUTCreated
- type KeyCreateUsingPUTOK
- type KeyCreateUsingPUTParams
- func NewKeyCreateUsingPUTParams() *KeyCreateUsingPUTParams
- func NewKeyCreateUsingPUTParamsWithContext(ctx context.Context) *KeyCreateUsingPUTParams
- func NewKeyCreateUsingPUTParamsWithHTTPClient(client *http.Client) *KeyCreateUsingPUTParams
- func NewKeyCreateUsingPUTParamsWithTimeout(timeout time.Duration) *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *KeyCreateUsingPUTParams) SetDefaults()
- func (o *KeyCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *KeyCreateUsingPUTParams) SetKeyInstance(keyInstance *models.KeyInstance)
- func (o *KeyCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *KeyCreateUsingPUTParams) WithContext(ctx context.Context) *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) WithDefaults() *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) WithHTTPClient(client *http.Client) *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) WithKeyInstance(keyInstance *models.KeyInstance) *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) WithTimeout(timeout time.Duration) *KeyCreateUsingPUTParams
- func (o *KeyCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyCreateUsingPUTReader
- type KeyDeleteUsingDELETEBadRequest
- type KeyDeleteUsingDELETEOK
- type KeyDeleteUsingDELETEParams
- func NewKeyDeleteUsingDELETEParams() *KeyDeleteUsingDELETEParams
- func NewKeyDeleteUsingDELETEParamsWithContext(ctx context.Context) *KeyDeleteUsingDELETEParams
- func NewKeyDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *KeyDeleteUsingDELETEParams
- func NewKeyDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *KeyDeleteUsingDELETEParams) SetDefaults()
- func (o *KeyDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *KeyDeleteUsingDELETEParams) SetID(id string)
- func (o *KeyDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *KeyDeleteUsingDELETEParams) WithContext(ctx context.Context) *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) WithDefaults() *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) WithID(id string) *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *KeyDeleteUsingDELETEParams
- func (o *KeyDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyDeleteUsingDELETEReader
- type KeyExportUsingPOSTBadRequest
- type KeyExportUsingPOSTOK
- type KeyExportUsingPOSTParams
- func NewKeyExportUsingPOSTParams() *KeyExportUsingPOSTParams
- func NewKeyExportUsingPOSTParamsWithContext(ctx context.Context) *KeyExportUsingPOSTParams
- func NewKeyExportUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyExportUsingPOSTParams
- func NewKeyExportUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) SetContext(ctx context.Context)
- func (o *KeyExportUsingPOSTParams) SetDefaults()
- func (o *KeyExportUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *KeyExportUsingPOSTParams) SetID(id string)
- func (o *KeyExportUsingPOSTParams) SetKeyExport(keyExport *models.KeyExport)
- func (o *KeyExportUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *KeyExportUsingPOSTParams) WithContext(ctx context.Context) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WithDefaults() *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WithID(id string) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WithKeyExport(keyExport *models.KeyExport) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyExportUsingPOSTParams
- func (o *KeyExportUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyExportUsingPOSTReader
- type KeyGetUsingGETBadRequest
- type KeyGetUsingGETNotFound
- type KeyGetUsingGETOK
- type KeyGetUsingGETParams
- func NewKeyGetUsingGETParams() *KeyGetUsingGETParams
- func NewKeyGetUsingGETParamsWithContext(ctx context.Context) *KeyGetUsingGETParams
- func NewKeyGetUsingGETParamsWithHTTPClient(client *http.Client) *KeyGetUsingGETParams
- func NewKeyGetUsingGETParamsWithTimeout(timeout time.Duration) *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) SetContext(ctx context.Context)
- func (o *KeyGetUsingGETParams) SetDefaults()
- func (o *KeyGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *KeyGetUsingGETParams) SetID(id string)
- func (o *KeyGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *KeyGetUsingGETParams) WithContext(ctx context.Context) *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) WithDefaults() *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) WithHTTPClient(client *http.Client) *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) WithID(id string) *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) WithTimeout(timeout time.Duration) *KeyGetUsingGETParams
- func (o *KeyGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyGetUsingGETReader
- type KeyImportUsingPOSTBadRequest
- type KeyImportUsingPOSTCreated
- type KeyImportUsingPOSTOK
- type KeyImportUsingPOSTParams
- func NewKeyImportUsingPOSTParams() *KeyImportUsingPOSTParams
- func NewKeyImportUsingPOSTParamsWithContext(ctx context.Context) *KeyImportUsingPOSTParams
- func NewKeyImportUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyImportUsingPOSTParams
- func NewKeyImportUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) SetContext(ctx context.Context)
- func (o *KeyImportUsingPOSTParams) SetDefaults()
- func (o *KeyImportUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *KeyImportUsingPOSTParams) SetKeyImport(keyImport *models.KeyImport)
- func (o *KeyImportUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *KeyImportUsingPOSTParams) WithContext(ctx context.Context) *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) WithDefaults() *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) WithKeyImport(keyImport *models.KeyImport) *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyImportUsingPOSTParams
- func (o *KeyImportUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyImportUsingPOSTReader
- type KeyListUsingGETBadRequest
- type KeyListUsingGETOK
- type KeyListUsingGETParams
- func NewKeyListUsingGETParams() *KeyListUsingGETParams
- func NewKeyListUsingGETParamsWithContext(ctx context.Context) *KeyListUsingGETParams
- func NewKeyListUsingGETParamsWithHTTPClient(client *http.Client) *KeyListUsingGETParams
- func NewKeyListUsingGETParamsWithTimeout(timeout time.Duration) *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) SetContext(ctx context.Context)
- func (o *KeyListUsingGETParams) SetDefaults()
- func (o *KeyListUsingGETParams) SetDisplayName(displayName *string)
- func (o *KeyListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *KeyListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *KeyListUsingGETParams) WithContext(ctx context.Context) *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) WithDefaults() *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) WithDisplayName(displayName *string) *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) WithHTTPClient(client *http.Client) *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) WithTimeout(timeout time.Duration) *KeyListUsingGETParams
- func (o *KeyListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyListUsingGETReader
- type KeyNewVersionUsingPOSTBadRequest
- type KeyNewVersionUsingPOSTCreated
- type KeyNewVersionUsingPOSTOK
- type KeyNewVersionUsingPOSTParams
- func NewKeyNewVersionUsingPOSTParams() *KeyNewVersionUsingPOSTParams
- func NewKeyNewVersionUsingPOSTParamsWithContext(ctx context.Context) *KeyNewVersionUsingPOSTParams
- func NewKeyNewVersionUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyNewVersionUsingPOSTParams
- func NewKeyNewVersionUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) SetContext(ctx context.Context)
- func (o *KeyNewVersionUsingPOSTParams) SetDefaults()
- func (o *KeyNewVersionUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *KeyNewVersionUsingPOSTParams) SetID(id string)
- func (o *KeyNewVersionUsingPOSTParams) SetKeyNewVersion(keyNewVersion *models.KeyNewVersion)
- func (o *KeyNewVersionUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *KeyNewVersionUsingPOSTParams) WithContext(ctx context.Context) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WithDefaults() *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WithID(id string) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WithKeyNewVersion(keyNewVersion *models.KeyNewVersion) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyNewVersionUsingPOSTParams
- func (o *KeyNewVersionUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyNewVersionUsingPOSTReader
- type KeyRevokeUsingPOSTBadRequest
- type KeyRevokeUsingPOSTOK
- type KeyRevokeUsingPOSTParams
- func NewKeyRevokeUsingPOSTParams() *KeyRevokeUsingPOSTParams
- func NewKeyRevokeUsingPOSTParamsWithContext(ctx context.Context) *KeyRevokeUsingPOSTParams
- func NewKeyRevokeUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyRevokeUsingPOSTParams
- func NewKeyRevokeUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) SetContext(ctx context.Context)
- func (o *KeyRevokeUsingPOSTParams) SetDefaults()
- func (o *KeyRevokeUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *KeyRevokeUsingPOSTParams) SetID(id string)
- func (o *KeyRevokeUsingPOSTParams) SetKeyRevocation(keyRevocation *models.KeyRevocation)
- func (o *KeyRevokeUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *KeyRevokeUsingPOSTParams) WithContext(ctx context.Context) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WithDefaults() *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WithID(id string) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WithKeyRevocation(keyRevocation *models.KeyRevocation) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyRevokeUsingPOSTParams
- func (o *KeyRevokeUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyRevokeUsingPOSTReader
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 k m s key management API
func (*Client) KeyCreateUsingPUT ¶
func (a *Client) KeyCreateUsingPUT(params *KeyCreateUsingPUTParams, opts ...ClientOption) (*KeyCreateUsingPUTOK, *KeyCreateUsingPUTCreated, error)
KeyCreateUsingPUT creates
Create key (KMS)
func (*Client) KeyDeleteUsingDELETE ¶
func (a *Client) KeyDeleteUsingDELETE(params *KeyDeleteUsingDELETEParams, opts ...ClientOption) (*KeyDeleteUsingDELETEOK, error)
KeyDeleteUsingDELETE deletes
Delete key (KMS)
func (*Client) KeyExportUsingPOST ¶
func (a *Client) KeyExportUsingPOST(params *KeyExportUsingPOSTParams, opts ...ClientOption) (*KeyExportUsingPOSTOK, error)
KeyExportUsingPOST exports
Export key (KMS)
func (*Client) KeyGetUsingGET ¶
func (a *Client) KeyGetUsingGET(params *KeyGetUsingGETParams, opts ...ClientOption) (*KeyGetUsingGETOK, error)
KeyGetUsingGET gets
Get KMS key
func (*Client) KeyImportUsingPOST ¶
func (a *Client) KeyImportUsingPOST(params *KeyImportUsingPOSTParams, opts ...ClientOption) (*KeyImportUsingPOSTOK, *KeyImportUsingPOSTCreated, error)
KeyImportUsingPOST imports
Import key (KMS)
func (*Client) KeyListUsingGET ¶
func (a *Client) KeyListUsingGET(params *KeyListUsingGETParams, opts ...ClientOption) (*KeyListUsingGETOK, error)
KeyListUsingGET lists
List KMS keys
func (*Client) KeyNewVersionUsingPOST ¶
func (a *Client) KeyNewVersionUsingPOST(params *KeyNewVersionUsingPOSTParams, opts ...ClientOption) (*KeyNewVersionUsingPOSTOK, *KeyNewVersionUsingPOSTCreated, error)
KeyNewVersionUsingPOST news version
Create new key version (KMS)
func (*Client) KeyRevokeUsingPOST ¶
func (a *Client) KeyRevokeUsingPOST(params *KeyRevokeUsingPOSTParams, opts ...ClientOption) (*KeyRevokeUsingPOSTOK, error)
KeyRevokeUsingPOST revokes
Revoke key (KMS)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { KeyCreateUsingPUT(params *KeyCreateUsingPUTParams, opts ...ClientOption) (*KeyCreateUsingPUTOK, *KeyCreateUsingPUTCreated, error) KeyDeleteUsingDELETE(params *KeyDeleteUsingDELETEParams, opts ...ClientOption) (*KeyDeleteUsingDELETEOK, error) KeyExportUsingPOST(params *KeyExportUsingPOSTParams, opts ...ClientOption) (*KeyExportUsingPOSTOK, error) KeyGetUsingGET(params *KeyGetUsingGETParams, opts ...ClientOption) (*KeyGetUsingGETOK, error) KeyImportUsingPOST(params *KeyImportUsingPOSTParams, opts ...ClientOption) (*KeyImportUsingPOSTOK, *KeyImportUsingPOSTCreated, error) KeyListUsingGET(params *KeyListUsingGETParams, opts ...ClientOption) (*KeyListUsingGETOK, error) KeyNewVersionUsingPOST(params *KeyNewVersionUsingPOSTParams, opts ...ClientOption) (*KeyNewVersionUsingPOSTOK, *KeyNewVersionUsingPOSTCreated, error) KeyRevokeUsingPOST(params *KeyRevokeUsingPOSTParams, opts ...ClientOption) (*KeyRevokeUsingPOSTOK, 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 k m s key management API client.
type KeyCreateUsingPUTBadRequest ¶
type KeyCreateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyCreateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyCreateUsingPUTBadRequest ¶
func NewKeyCreateUsingPUTBadRequest() *KeyCreateUsingPUTBadRequest
NewKeyCreateUsingPUTBadRequest creates a KeyCreateUsingPUTBadRequest with default headers values
func (*KeyCreateUsingPUTBadRequest) Error ¶
func (o *KeyCreateUsingPUTBadRequest) Error() string
func (*KeyCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyCreateUsingPUTCreated ¶
type KeyCreateUsingPUTCreated struct {
Payload *models.CreateKmsKeyResponse
}
KeyCreateUsingPUTCreated describes a response with status code 201, with default header values.
Entity has been created
func NewKeyCreateUsingPUTCreated ¶
func NewKeyCreateUsingPUTCreated() *KeyCreateUsingPUTCreated
NewKeyCreateUsingPUTCreated creates a KeyCreateUsingPUTCreated with default headers values
func (*KeyCreateUsingPUTCreated) Error ¶
func (o *KeyCreateUsingPUTCreated) Error() string
func (*KeyCreateUsingPUTCreated) GetPayload ¶
func (o *KeyCreateUsingPUTCreated) GetPayload() *models.CreateKmsKeyResponse
type KeyCreateUsingPUTOK ¶
type KeyCreateUsingPUTOK struct {
Payload *models.CreateKmsKeyResponse
}
KeyCreateUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewKeyCreateUsingPUTOK ¶
func NewKeyCreateUsingPUTOK() *KeyCreateUsingPUTOK
NewKeyCreateUsingPUTOK creates a KeyCreateUsingPUTOK with default headers values
func (*KeyCreateUsingPUTOK) Error ¶
func (o *KeyCreateUsingPUTOK) Error() string
func (*KeyCreateUsingPUTOK) GetPayload ¶
func (o *KeyCreateUsingPUTOK) GetPayload() *models.CreateKmsKeyResponse
type KeyCreateUsingPUTParams ¶
type KeyCreateUsingPUTParams struct { /* KeyInstance. keyInstance */ KeyInstance *models.KeyInstance Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyCreateUsingPUTParams contains all the parameters to send to the API endpoint
for the key create using p u t operation. Typically these are written to a http.Request.
func NewKeyCreateUsingPUTParams ¶
func NewKeyCreateUsingPUTParams() *KeyCreateUsingPUTParams
NewKeyCreateUsingPUTParams creates a new KeyCreateUsingPUTParams 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 NewKeyCreateUsingPUTParamsWithContext ¶
func NewKeyCreateUsingPUTParamsWithContext(ctx context.Context) *KeyCreateUsingPUTParams
NewKeyCreateUsingPUTParamsWithContext creates a new KeyCreateUsingPUTParams object with the ability to set a context for a request.
func NewKeyCreateUsingPUTParamsWithHTTPClient ¶
func NewKeyCreateUsingPUTParamsWithHTTPClient(client *http.Client) *KeyCreateUsingPUTParams
NewKeyCreateUsingPUTParamsWithHTTPClient creates a new KeyCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewKeyCreateUsingPUTParamsWithTimeout ¶
func NewKeyCreateUsingPUTParamsWithTimeout(timeout time.Duration) *KeyCreateUsingPUTParams
NewKeyCreateUsingPUTParamsWithTimeout creates a new KeyCreateUsingPUTParams object with the ability to set a timeout on a request.
func (*KeyCreateUsingPUTParams) SetContext ¶
func (o *KeyCreateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the key create using p u t params
func (*KeyCreateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *KeyCreateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the key create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyCreateUsingPUTParams) SetHTTPClient ¶
func (o *KeyCreateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key create using p u t params
func (*KeyCreateUsingPUTParams) SetKeyInstance ¶
func (o *KeyCreateUsingPUTParams) SetKeyInstance(keyInstance *models.KeyInstance)
SetKeyInstance adds the keyInstance to the key create using p u t params
func (*KeyCreateUsingPUTParams) SetTimeout ¶
func (o *KeyCreateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key create using p u t params
func (*KeyCreateUsingPUTParams) WithContext ¶
func (o *KeyCreateUsingPUTParams) WithContext(ctx context.Context) *KeyCreateUsingPUTParams
WithContext adds the context to the key create using p u t params
func (*KeyCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *KeyCreateUsingPUTParams) WithDefaults() *KeyCreateUsingPUTParams
WithDefaults hydrates default values in the key create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyCreateUsingPUTParams) WithHTTPClient ¶
func (o *KeyCreateUsingPUTParams) WithHTTPClient(client *http.Client) *KeyCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the key create using p u t params
func (*KeyCreateUsingPUTParams) WithKeyInstance ¶
func (o *KeyCreateUsingPUTParams) WithKeyInstance(keyInstance *models.KeyInstance) *KeyCreateUsingPUTParams
WithKeyInstance adds the keyInstance to the key create using p u t params
func (*KeyCreateUsingPUTParams) WithTimeout ¶
func (o *KeyCreateUsingPUTParams) WithTimeout(timeout time.Duration) *KeyCreateUsingPUTParams
WithTimeout adds the timeout to the key create using p u t params
func (*KeyCreateUsingPUTParams) WriteToRequest ¶
func (o *KeyCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyCreateUsingPUTReader ¶
type KeyCreateUsingPUTReader struct {
// contains filtered or unexported fields
}
KeyCreateUsingPUTReader is a Reader for the KeyCreateUsingPUT structure.
func (*KeyCreateUsingPUTReader) ReadResponse ¶
func (o *KeyCreateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyDeleteUsingDELETEBadRequest ¶
type KeyDeleteUsingDELETEBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyDeleteUsingDELETEBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyDeleteUsingDELETEBadRequest ¶
func NewKeyDeleteUsingDELETEBadRequest() *KeyDeleteUsingDELETEBadRequest
NewKeyDeleteUsingDELETEBadRequest creates a KeyDeleteUsingDELETEBadRequest with default headers values
func (*KeyDeleteUsingDELETEBadRequest) Error ¶
func (o *KeyDeleteUsingDELETEBadRequest) Error() string
func (*KeyDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyDeleteUsingDELETEOK ¶
type KeyDeleteUsingDELETEOK struct {
Payload *models.DeleteKmsKeyResponse
}
KeyDeleteUsingDELETEOK describes a response with status code 200, with default header values.
Entity has been deleted
func NewKeyDeleteUsingDELETEOK ¶
func NewKeyDeleteUsingDELETEOK() *KeyDeleteUsingDELETEOK
NewKeyDeleteUsingDELETEOK creates a KeyDeleteUsingDELETEOK with default headers values
func (*KeyDeleteUsingDELETEOK) Error ¶
func (o *KeyDeleteUsingDELETEOK) Error() string
func (*KeyDeleteUsingDELETEOK) GetPayload ¶
func (o *KeyDeleteUsingDELETEOK) GetPayload() *models.DeleteKmsKeyResponse
type KeyDeleteUsingDELETEParams ¶
type KeyDeleteUsingDELETEParams struct { /* ID. id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyDeleteUsingDELETEParams contains all the parameters to send to the API endpoint
for the key delete using d e l e t e operation. Typically these are written to a http.Request.
func NewKeyDeleteUsingDELETEParams ¶
func NewKeyDeleteUsingDELETEParams() *KeyDeleteUsingDELETEParams
NewKeyDeleteUsingDELETEParams creates a new KeyDeleteUsingDELETEParams 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 NewKeyDeleteUsingDELETEParamsWithContext ¶
func NewKeyDeleteUsingDELETEParamsWithContext(ctx context.Context) *KeyDeleteUsingDELETEParams
NewKeyDeleteUsingDELETEParamsWithContext creates a new KeyDeleteUsingDELETEParams object with the ability to set a context for a request.
func NewKeyDeleteUsingDELETEParamsWithHTTPClient ¶
func NewKeyDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *KeyDeleteUsingDELETEParams
NewKeyDeleteUsingDELETEParamsWithHTTPClient creates a new KeyDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewKeyDeleteUsingDELETEParamsWithTimeout ¶
func NewKeyDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *KeyDeleteUsingDELETEParams
NewKeyDeleteUsingDELETEParamsWithTimeout creates a new KeyDeleteUsingDELETEParams object with the ability to set a timeout on a request.
func (*KeyDeleteUsingDELETEParams) SetContext ¶
func (o *KeyDeleteUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) SetDefaults ¶ added in v1.2.4
func (o *KeyDeleteUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the key delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*KeyDeleteUsingDELETEParams) SetHTTPClient ¶
func (o *KeyDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) SetID ¶
func (o *KeyDeleteUsingDELETEParams) SetID(id string)
SetID adds the id to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) SetTimeout ¶
func (o *KeyDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) WithContext ¶
func (o *KeyDeleteUsingDELETEParams) WithContext(ctx context.Context) *KeyDeleteUsingDELETEParams
WithContext adds the context to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) WithDefaults ¶ added in v1.2.4
func (o *KeyDeleteUsingDELETEParams) WithDefaults() *KeyDeleteUsingDELETEParams
WithDefaults hydrates default values in the key delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*KeyDeleteUsingDELETEParams) WithHTTPClient ¶
func (o *KeyDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *KeyDeleteUsingDELETEParams
WithHTTPClient adds the HTTPClient to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) WithID ¶
func (o *KeyDeleteUsingDELETEParams) WithID(id string) *KeyDeleteUsingDELETEParams
WithID adds the id to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) WithTimeout ¶
func (o *KeyDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *KeyDeleteUsingDELETEParams
WithTimeout adds the timeout to the key delete using d e l e t e params
func (*KeyDeleteUsingDELETEParams) WriteToRequest ¶
func (o *KeyDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyDeleteUsingDELETEReader ¶
type KeyDeleteUsingDELETEReader struct {
// contains filtered or unexported fields
}
KeyDeleteUsingDELETEReader is a Reader for the KeyDeleteUsingDELETE structure.
func (*KeyDeleteUsingDELETEReader) ReadResponse ¶
func (o *KeyDeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyExportUsingPOSTBadRequest ¶
type KeyExportUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyExportUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyExportUsingPOSTBadRequest ¶
func NewKeyExportUsingPOSTBadRequest() *KeyExportUsingPOSTBadRequest
NewKeyExportUsingPOSTBadRequest creates a KeyExportUsingPOSTBadRequest with default headers values
func (*KeyExportUsingPOSTBadRequest) Error ¶
func (o *KeyExportUsingPOSTBadRequest) Error() string
func (*KeyExportUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyExportUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyExportUsingPOSTOK ¶
type KeyExportUsingPOSTOK struct {
Payload *models.ExportKmsKeyResponse
}
KeyExportUsingPOSTOK describes a response with status code 200, with default header values.
Key has been exported successfully.
func NewKeyExportUsingPOSTOK ¶
func NewKeyExportUsingPOSTOK() *KeyExportUsingPOSTOK
NewKeyExportUsingPOSTOK creates a KeyExportUsingPOSTOK with default headers values
func (*KeyExportUsingPOSTOK) Error ¶
func (o *KeyExportUsingPOSTOK) Error() string
func (*KeyExportUsingPOSTOK) GetPayload ¶
func (o *KeyExportUsingPOSTOK) GetPayload() *models.ExportKmsKeyResponse
type KeyExportUsingPOSTParams ¶
type KeyExportUsingPOSTParams struct { /* ID. id */ ID string /* KeyExport. keyExport */ KeyExport *models.KeyExport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyExportUsingPOSTParams contains all the parameters to send to the API endpoint
for the key export using p o s t operation. Typically these are written to a http.Request.
func NewKeyExportUsingPOSTParams ¶
func NewKeyExportUsingPOSTParams() *KeyExportUsingPOSTParams
NewKeyExportUsingPOSTParams creates a new KeyExportUsingPOSTParams 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 NewKeyExportUsingPOSTParamsWithContext ¶
func NewKeyExportUsingPOSTParamsWithContext(ctx context.Context) *KeyExportUsingPOSTParams
NewKeyExportUsingPOSTParamsWithContext creates a new KeyExportUsingPOSTParams object with the ability to set a context for a request.
func NewKeyExportUsingPOSTParamsWithHTTPClient ¶
func NewKeyExportUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyExportUsingPOSTParams
NewKeyExportUsingPOSTParamsWithHTTPClient creates a new KeyExportUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewKeyExportUsingPOSTParamsWithTimeout ¶
func NewKeyExportUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyExportUsingPOSTParams
NewKeyExportUsingPOSTParamsWithTimeout creates a new KeyExportUsingPOSTParams object with the ability to set a timeout on a request.
func (*KeyExportUsingPOSTParams) SetContext ¶
func (o *KeyExportUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the key export using p o s t params
func (*KeyExportUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *KeyExportUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the key export using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyExportUsingPOSTParams) SetHTTPClient ¶
func (o *KeyExportUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key export using p o s t params
func (*KeyExportUsingPOSTParams) SetID ¶
func (o *KeyExportUsingPOSTParams) SetID(id string)
SetID adds the id to the key export using p o s t params
func (*KeyExportUsingPOSTParams) SetKeyExport ¶
func (o *KeyExportUsingPOSTParams) SetKeyExport(keyExport *models.KeyExport)
SetKeyExport adds the keyExport to the key export using p o s t params
func (*KeyExportUsingPOSTParams) SetTimeout ¶
func (o *KeyExportUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WithContext ¶
func (o *KeyExportUsingPOSTParams) WithContext(ctx context.Context) *KeyExportUsingPOSTParams
WithContext adds the context to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *KeyExportUsingPOSTParams) WithDefaults() *KeyExportUsingPOSTParams
WithDefaults hydrates default values in the key export using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyExportUsingPOSTParams) WithHTTPClient ¶
func (o *KeyExportUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyExportUsingPOSTParams
WithHTTPClient adds the HTTPClient to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WithID ¶
func (o *KeyExportUsingPOSTParams) WithID(id string) *KeyExportUsingPOSTParams
WithID adds the id to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WithKeyExport ¶
func (o *KeyExportUsingPOSTParams) WithKeyExport(keyExport *models.KeyExport) *KeyExportUsingPOSTParams
WithKeyExport adds the keyExport to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WithTimeout ¶
func (o *KeyExportUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyExportUsingPOSTParams
WithTimeout adds the timeout to the key export using p o s t params
func (*KeyExportUsingPOSTParams) WriteToRequest ¶
func (o *KeyExportUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyExportUsingPOSTReader ¶
type KeyExportUsingPOSTReader struct {
// contains filtered or unexported fields
}
KeyExportUsingPOSTReader is a Reader for the KeyExportUsingPOST structure.
func (*KeyExportUsingPOSTReader) ReadResponse ¶
func (o *KeyExportUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyGetUsingGETBadRequest ¶
type KeyGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyGetUsingGETBadRequest ¶
func NewKeyGetUsingGETBadRequest() *KeyGetUsingGETBadRequest
NewKeyGetUsingGETBadRequest creates a KeyGetUsingGETBadRequest with default headers values
func (*KeyGetUsingGETBadRequest) Error ¶
func (o *KeyGetUsingGETBadRequest) Error() string
func (*KeyGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyGetUsingGETNotFound ¶
type KeyGetUsingGETNotFound struct { }
KeyGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewKeyGetUsingGETNotFound ¶
func NewKeyGetUsingGETNotFound() *KeyGetUsingGETNotFound
NewKeyGetUsingGETNotFound creates a KeyGetUsingGETNotFound with default headers values
func (*KeyGetUsingGETNotFound) Error ¶
func (o *KeyGetUsingGETNotFound) Error() string
type KeyGetUsingGETOK ¶
type KeyGetUsingGETOK struct {
Payload *models.KeyGetResponse
}
KeyGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewKeyGetUsingGETOK ¶
func NewKeyGetUsingGETOK() *KeyGetUsingGETOK
NewKeyGetUsingGETOK creates a KeyGetUsingGETOK with default headers values
func (*KeyGetUsingGETOK) Error ¶
func (o *KeyGetUsingGETOK) Error() string
func (*KeyGetUsingGETOK) GetPayload ¶
func (o *KeyGetUsingGETOK) GetPayload() *models.KeyGetResponse
type KeyGetUsingGETParams ¶
type KeyGetUsingGETParams struct { /* ID. id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyGetUsingGETParams contains all the parameters to send to the API endpoint
for the key get using g e t operation. Typically these are written to a http.Request.
func NewKeyGetUsingGETParams ¶
func NewKeyGetUsingGETParams() *KeyGetUsingGETParams
NewKeyGetUsingGETParams creates a new KeyGetUsingGETParams 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 NewKeyGetUsingGETParamsWithContext ¶
func NewKeyGetUsingGETParamsWithContext(ctx context.Context) *KeyGetUsingGETParams
NewKeyGetUsingGETParamsWithContext creates a new KeyGetUsingGETParams object with the ability to set a context for a request.
func NewKeyGetUsingGETParamsWithHTTPClient ¶
func NewKeyGetUsingGETParamsWithHTTPClient(client *http.Client) *KeyGetUsingGETParams
NewKeyGetUsingGETParamsWithHTTPClient creates a new KeyGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewKeyGetUsingGETParamsWithTimeout ¶
func NewKeyGetUsingGETParamsWithTimeout(timeout time.Duration) *KeyGetUsingGETParams
NewKeyGetUsingGETParamsWithTimeout creates a new KeyGetUsingGETParams object with the ability to set a timeout on a request.
func (*KeyGetUsingGETParams) SetContext ¶
func (o *KeyGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the key get using g e t params
func (*KeyGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *KeyGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the key get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyGetUsingGETParams) SetHTTPClient ¶
func (o *KeyGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key get using g e t params
func (*KeyGetUsingGETParams) SetID ¶
func (o *KeyGetUsingGETParams) SetID(id string)
SetID adds the id to the key get using g e t params
func (*KeyGetUsingGETParams) SetTimeout ¶
func (o *KeyGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key get using g e t params
func (*KeyGetUsingGETParams) WithContext ¶
func (o *KeyGetUsingGETParams) WithContext(ctx context.Context) *KeyGetUsingGETParams
WithContext adds the context to the key get using g e t params
func (*KeyGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *KeyGetUsingGETParams) WithDefaults() *KeyGetUsingGETParams
WithDefaults hydrates default values in the key get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyGetUsingGETParams) WithHTTPClient ¶
func (o *KeyGetUsingGETParams) WithHTTPClient(client *http.Client) *KeyGetUsingGETParams
WithHTTPClient adds the HTTPClient to the key get using g e t params
func (*KeyGetUsingGETParams) WithID ¶
func (o *KeyGetUsingGETParams) WithID(id string) *KeyGetUsingGETParams
WithID adds the id to the key get using g e t params
func (*KeyGetUsingGETParams) WithTimeout ¶
func (o *KeyGetUsingGETParams) WithTimeout(timeout time.Duration) *KeyGetUsingGETParams
WithTimeout adds the timeout to the key get using g e t params
func (*KeyGetUsingGETParams) WriteToRequest ¶
func (o *KeyGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyGetUsingGETReader ¶
type KeyGetUsingGETReader struct {
// contains filtered or unexported fields
}
KeyGetUsingGETReader is a Reader for the KeyGetUsingGET structure.
func (*KeyGetUsingGETReader) ReadResponse ¶
func (o *KeyGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyImportUsingPOSTBadRequest ¶
type KeyImportUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyImportUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyImportUsingPOSTBadRequest ¶
func NewKeyImportUsingPOSTBadRequest() *KeyImportUsingPOSTBadRequest
NewKeyImportUsingPOSTBadRequest creates a KeyImportUsingPOSTBadRequest with default headers values
func (*KeyImportUsingPOSTBadRequest) Error ¶
func (o *KeyImportUsingPOSTBadRequest) Error() string
func (*KeyImportUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyImportUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyImportUsingPOSTCreated ¶
type KeyImportUsingPOSTCreated struct {
Payload *models.ImportKmsKeyResponse
}
KeyImportUsingPOSTCreated describes a response with status code 201, with default header values.
Entity has been imported
func NewKeyImportUsingPOSTCreated ¶
func NewKeyImportUsingPOSTCreated() *KeyImportUsingPOSTCreated
NewKeyImportUsingPOSTCreated creates a KeyImportUsingPOSTCreated with default headers values
func (*KeyImportUsingPOSTCreated) Error ¶
func (o *KeyImportUsingPOSTCreated) Error() string
func (*KeyImportUsingPOSTCreated) GetPayload ¶
func (o *KeyImportUsingPOSTCreated) GetPayload() *models.ImportKmsKeyResponse
type KeyImportUsingPOSTOK ¶
type KeyImportUsingPOSTOK struct {
Payload *models.ImportKmsKeyResponse
}
KeyImportUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewKeyImportUsingPOSTOK ¶
func NewKeyImportUsingPOSTOK() *KeyImportUsingPOSTOK
NewKeyImportUsingPOSTOK creates a KeyImportUsingPOSTOK with default headers values
func (*KeyImportUsingPOSTOK) Error ¶
func (o *KeyImportUsingPOSTOK) Error() string
func (*KeyImportUsingPOSTOK) GetPayload ¶
func (o *KeyImportUsingPOSTOK) GetPayload() *models.ImportKmsKeyResponse
type KeyImportUsingPOSTParams ¶
type KeyImportUsingPOSTParams struct { /* KeyImport. keyImport */ KeyImport *models.KeyImport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyImportUsingPOSTParams contains all the parameters to send to the API endpoint
for the key import using p o s t operation. Typically these are written to a http.Request.
func NewKeyImportUsingPOSTParams ¶
func NewKeyImportUsingPOSTParams() *KeyImportUsingPOSTParams
NewKeyImportUsingPOSTParams creates a new KeyImportUsingPOSTParams 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 NewKeyImportUsingPOSTParamsWithContext ¶
func NewKeyImportUsingPOSTParamsWithContext(ctx context.Context) *KeyImportUsingPOSTParams
NewKeyImportUsingPOSTParamsWithContext creates a new KeyImportUsingPOSTParams object with the ability to set a context for a request.
func NewKeyImportUsingPOSTParamsWithHTTPClient ¶
func NewKeyImportUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyImportUsingPOSTParams
NewKeyImportUsingPOSTParamsWithHTTPClient creates a new KeyImportUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewKeyImportUsingPOSTParamsWithTimeout ¶
func NewKeyImportUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyImportUsingPOSTParams
NewKeyImportUsingPOSTParamsWithTimeout creates a new KeyImportUsingPOSTParams object with the ability to set a timeout on a request.
func (*KeyImportUsingPOSTParams) SetContext ¶
func (o *KeyImportUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the key import using p o s t params
func (*KeyImportUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *KeyImportUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the key import using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyImportUsingPOSTParams) SetHTTPClient ¶
func (o *KeyImportUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key import using p o s t params
func (*KeyImportUsingPOSTParams) SetKeyImport ¶
func (o *KeyImportUsingPOSTParams) SetKeyImport(keyImport *models.KeyImport)
SetKeyImport adds the keyImport to the key import using p o s t params
func (*KeyImportUsingPOSTParams) SetTimeout ¶
func (o *KeyImportUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key import using p o s t params
func (*KeyImportUsingPOSTParams) WithContext ¶
func (o *KeyImportUsingPOSTParams) WithContext(ctx context.Context) *KeyImportUsingPOSTParams
WithContext adds the context to the key import using p o s t params
func (*KeyImportUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *KeyImportUsingPOSTParams) WithDefaults() *KeyImportUsingPOSTParams
WithDefaults hydrates default values in the key import using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyImportUsingPOSTParams) WithHTTPClient ¶
func (o *KeyImportUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyImportUsingPOSTParams
WithHTTPClient adds the HTTPClient to the key import using p o s t params
func (*KeyImportUsingPOSTParams) WithKeyImport ¶
func (o *KeyImportUsingPOSTParams) WithKeyImport(keyImport *models.KeyImport) *KeyImportUsingPOSTParams
WithKeyImport adds the keyImport to the key import using p o s t params
func (*KeyImportUsingPOSTParams) WithTimeout ¶
func (o *KeyImportUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyImportUsingPOSTParams
WithTimeout adds the timeout to the key import using p o s t params
func (*KeyImportUsingPOSTParams) WriteToRequest ¶
func (o *KeyImportUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyImportUsingPOSTReader ¶
type KeyImportUsingPOSTReader struct {
// contains filtered or unexported fields
}
KeyImportUsingPOSTReader is a Reader for the KeyImportUsingPOST structure.
func (*KeyImportUsingPOSTReader) ReadResponse ¶
func (o *KeyImportUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyListUsingGETBadRequest ¶
type KeyListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyListUsingGETBadRequest ¶
func NewKeyListUsingGETBadRequest() *KeyListUsingGETBadRequest
NewKeyListUsingGETBadRequest creates a KeyListUsingGETBadRequest with default headers values
func (*KeyListUsingGETBadRequest) Error ¶
func (o *KeyListUsingGETBadRequest) Error() string
func (*KeyListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyListUsingGETOK ¶
type KeyListUsingGETOK struct {
Payload *models.KeyListResponse
}
KeyListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewKeyListUsingGETOK ¶
func NewKeyListUsingGETOK() *KeyListUsingGETOK
NewKeyListUsingGETOK creates a KeyListUsingGETOK with default headers values
func (*KeyListUsingGETOK) Error ¶
func (o *KeyListUsingGETOK) Error() string
func (*KeyListUsingGETOK) GetPayload ¶
func (o *KeyListUsingGETOK) GetPayload() *models.KeyListResponse
type KeyListUsingGETParams ¶
type KeyListUsingGETParams struct { /* DisplayName. displayName */ DisplayName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyListUsingGETParams contains all the parameters to send to the API endpoint
for the key list using g e t operation. Typically these are written to a http.Request.
func NewKeyListUsingGETParams ¶
func NewKeyListUsingGETParams() *KeyListUsingGETParams
NewKeyListUsingGETParams creates a new KeyListUsingGETParams 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 NewKeyListUsingGETParamsWithContext ¶
func NewKeyListUsingGETParamsWithContext(ctx context.Context) *KeyListUsingGETParams
NewKeyListUsingGETParamsWithContext creates a new KeyListUsingGETParams object with the ability to set a context for a request.
func NewKeyListUsingGETParamsWithHTTPClient ¶
func NewKeyListUsingGETParamsWithHTTPClient(client *http.Client) *KeyListUsingGETParams
NewKeyListUsingGETParamsWithHTTPClient creates a new KeyListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewKeyListUsingGETParamsWithTimeout ¶
func NewKeyListUsingGETParamsWithTimeout(timeout time.Duration) *KeyListUsingGETParams
NewKeyListUsingGETParamsWithTimeout creates a new KeyListUsingGETParams object with the ability to set a timeout on a request.
func (*KeyListUsingGETParams) SetContext ¶
func (o *KeyListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the key list using g e t params
func (*KeyListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *KeyListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the key list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyListUsingGETParams) SetDisplayName ¶
func (o *KeyListUsingGETParams) SetDisplayName(displayName *string)
SetDisplayName adds the displayName to the key list using g e t params
func (*KeyListUsingGETParams) SetHTTPClient ¶
func (o *KeyListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key list using g e t params
func (*KeyListUsingGETParams) SetTimeout ¶
func (o *KeyListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key list using g e t params
func (*KeyListUsingGETParams) WithContext ¶
func (o *KeyListUsingGETParams) WithContext(ctx context.Context) *KeyListUsingGETParams
WithContext adds the context to the key list using g e t params
func (*KeyListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *KeyListUsingGETParams) WithDefaults() *KeyListUsingGETParams
WithDefaults hydrates default values in the key list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyListUsingGETParams) WithDisplayName ¶
func (o *KeyListUsingGETParams) WithDisplayName(displayName *string) *KeyListUsingGETParams
WithDisplayName adds the displayName to the key list using g e t params
func (*KeyListUsingGETParams) WithHTTPClient ¶
func (o *KeyListUsingGETParams) WithHTTPClient(client *http.Client) *KeyListUsingGETParams
WithHTTPClient adds the HTTPClient to the key list using g e t params
func (*KeyListUsingGETParams) WithTimeout ¶
func (o *KeyListUsingGETParams) WithTimeout(timeout time.Duration) *KeyListUsingGETParams
WithTimeout adds the timeout to the key list using g e t params
func (*KeyListUsingGETParams) WriteToRequest ¶
func (o *KeyListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyListUsingGETReader ¶
type KeyListUsingGETReader struct {
// contains filtered or unexported fields
}
KeyListUsingGETReader is a Reader for the KeyListUsingGET structure.
func (*KeyListUsingGETReader) ReadResponse ¶
func (o *KeyListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyNewVersionUsingPOSTBadRequest ¶
type KeyNewVersionUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyNewVersionUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyNewVersionUsingPOSTBadRequest ¶
func NewKeyNewVersionUsingPOSTBadRequest() *KeyNewVersionUsingPOSTBadRequest
NewKeyNewVersionUsingPOSTBadRequest creates a KeyNewVersionUsingPOSTBadRequest with default headers values
func (*KeyNewVersionUsingPOSTBadRequest) Error ¶
func (o *KeyNewVersionUsingPOSTBadRequest) Error() string
func (*KeyNewVersionUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyNewVersionUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyNewVersionUsingPOSTCreated ¶
type KeyNewVersionUsingPOSTCreated struct {
Payload *models.CreateNewKmsKeyVersionResponse
}
KeyNewVersionUsingPOSTCreated describes a response with status code 201, with default header values.
New key version has been created.
func NewKeyNewVersionUsingPOSTCreated ¶
func NewKeyNewVersionUsingPOSTCreated() *KeyNewVersionUsingPOSTCreated
NewKeyNewVersionUsingPOSTCreated creates a KeyNewVersionUsingPOSTCreated with default headers values
func (*KeyNewVersionUsingPOSTCreated) Error ¶
func (o *KeyNewVersionUsingPOSTCreated) Error() string
func (*KeyNewVersionUsingPOSTCreated) GetPayload ¶
func (o *KeyNewVersionUsingPOSTCreated) GetPayload() *models.CreateNewKmsKeyVersionResponse
type KeyNewVersionUsingPOSTOK ¶
type KeyNewVersionUsingPOSTOK struct {
Payload *models.CreateNewKmsKeyVersionResponse
}
KeyNewVersionUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewKeyNewVersionUsingPOSTOK ¶
func NewKeyNewVersionUsingPOSTOK() *KeyNewVersionUsingPOSTOK
NewKeyNewVersionUsingPOSTOK creates a KeyNewVersionUsingPOSTOK with default headers values
func (*KeyNewVersionUsingPOSTOK) Error ¶
func (o *KeyNewVersionUsingPOSTOK) Error() string
func (*KeyNewVersionUsingPOSTOK) GetPayload ¶
func (o *KeyNewVersionUsingPOSTOK) GetPayload() *models.CreateNewKmsKeyVersionResponse
type KeyNewVersionUsingPOSTParams ¶
type KeyNewVersionUsingPOSTParams struct { /* ID. id */ ID string /* KeyNewVersion. keyNewVersion */ KeyNewVersion *models.KeyNewVersion Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyNewVersionUsingPOSTParams contains all the parameters to send to the API endpoint
for the key new version using p o s t operation. Typically these are written to a http.Request.
func NewKeyNewVersionUsingPOSTParams ¶
func NewKeyNewVersionUsingPOSTParams() *KeyNewVersionUsingPOSTParams
NewKeyNewVersionUsingPOSTParams creates a new KeyNewVersionUsingPOSTParams 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 NewKeyNewVersionUsingPOSTParamsWithContext ¶
func NewKeyNewVersionUsingPOSTParamsWithContext(ctx context.Context) *KeyNewVersionUsingPOSTParams
NewKeyNewVersionUsingPOSTParamsWithContext creates a new KeyNewVersionUsingPOSTParams object with the ability to set a context for a request.
func NewKeyNewVersionUsingPOSTParamsWithHTTPClient ¶
func NewKeyNewVersionUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyNewVersionUsingPOSTParams
NewKeyNewVersionUsingPOSTParamsWithHTTPClient creates a new KeyNewVersionUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewKeyNewVersionUsingPOSTParamsWithTimeout ¶
func NewKeyNewVersionUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyNewVersionUsingPOSTParams
NewKeyNewVersionUsingPOSTParamsWithTimeout creates a new KeyNewVersionUsingPOSTParams object with the ability to set a timeout on a request.
func (*KeyNewVersionUsingPOSTParams) SetContext ¶
func (o *KeyNewVersionUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *KeyNewVersionUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the key new version using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyNewVersionUsingPOSTParams) SetHTTPClient ¶
func (o *KeyNewVersionUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) SetID ¶
func (o *KeyNewVersionUsingPOSTParams) SetID(id string)
SetID adds the id to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) SetKeyNewVersion ¶ added in v1.2.0
func (o *KeyNewVersionUsingPOSTParams) SetKeyNewVersion(keyNewVersion *models.KeyNewVersion)
SetKeyNewVersion adds the keyNewVersion to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) SetTimeout ¶
func (o *KeyNewVersionUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WithContext ¶
func (o *KeyNewVersionUsingPOSTParams) WithContext(ctx context.Context) *KeyNewVersionUsingPOSTParams
WithContext adds the context to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *KeyNewVersionUsingPOSTParams) WithDefaults() *KeyNewVersionUsingPOSTParams
WithDefaults hydrates default values in the key new version using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyNewVersionUsingPOSTParams) WithHTTPClient ¶
func (o *KeyNewVersionUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyNewVersionUsingPOSTParams
WithHTTPClient adds the HTTPClient to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WithID ¶
func (o *KeyNewVersionUsingPOSTParams) WithID(id string) *KeyNewVersionUsingPOSTParams
WithID adds the id to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WithKeyNewVersion ¶ added in v1.2.0
func (o *KeyNewVersionUsingPOSTParams) WithKeyNewVersion(keyNewVersion *models.KeyNewVersion) *KeyNewVersionUsingPOSTParams
WithKeyNewVersion adds the keyNewVersion to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WithTimeout ¶
func (o *KeyNewVersionUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyNewVersionUsingPOSTParams
WithTimeout adds the timeout to the key new version using p o s t params
func (*KeyNewVersionUsingPOSTParams) WriteToRequest ¶
func (o *KeyNewVersionUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyNewVersionUsingPOSTReader ¶
type KeyNewVersionUsingPOSTReader struct {
// contains filtered or unexported fields
}
KeyNewVersionUsingPOSTReader is a Reader for the KeyNewVersionUsingPOST structure.
func (*KeyNewVersionUsingPOSTReader) ReadResponse ¶
func (o *KeyNewVersionUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyRevokeUsingPOSTBadRequest ¶
type KeyRevokeUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
KeyRevokeUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewKeyRevokeUsingPOSTBadRequest ¶
func NewKeyRevokeUsingPOSTBadRequest() *KeyRevokeUsingPOSTBadRequest
NewKeyRevokeUsingPOSTBadRequest creates a KeyRevokeUsingPOSTBadRequest with default headers values
func (*KeyRevokeUsingPOSTBadRequest) Error ¶
func (o *KeyRevokeUsingPOSTBadRequest) Error() string
func (*KeyRevokeUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *KeyRevokeUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type KeyRevokeUsingPOSTOK ¶
type KeyRevokeUsingPOSTOK struct {
Payload *models.RevokeKmsKeyResponse
}
KeyRevokeUsingPOSTOK describes a response with status code 200, with default header values.
Key has been revoked.
func NewKeyRevokeUsingPOSTOK ¶
func NewKeyRevokeUsingPOSTOK() *KeyRevokeUsingPOSTOK
NewKeyRevokeUsingPOSTOK creates a KeyRevokeUsingPOSTOK with default headers values
func (*KeyRevokeUsingPOSTOK) Error ¶
func (o *KeyRevokeUsingPOSTOK) Error() string
func (*KeyRevokeUsingPOSTOK) GetPayload ¶
func (o *KeyRevokeUsingPOSTOK) GetPayload() *models.RevokeKmsKeyResponse
type KeyRevokeUsingPOSTParams ¶
type KeyRevokeUsingPOSTParams struct { /* ID. id */ ID string /* KeyRevocation. keyRevocation */ KeyRevocation *models.KeyRevocation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyRevokeUsingPOSTParams contains all the parameters to send to the API endpoint
for the key revoke using p o s t operation. Typically these are written to a http.Request.
func NewKeyRevokeUsingPOSTParams ¶
func NewKeyRevokeUsingPOSTParams() *KeyRevokeUsingPOSTParams
NewKeyRevokeUsingPOSTParams creates a new KeyRevokeUsingPOSTParams 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 NewKeyRevokeUsingPOSTParamsWithContext ¶
func NewKeyRevokeUsingPOSTParamsWithContext(ctx context.Context) *KeyRevokeUsingPOSTParams
NewKeyRevokeUsingPOSTParamsWithContext creates a new KeyRevokeUsingPOSTParams object with the ability to set a context for a request.
func NewKeyRevokeUsingPOSTParamsWithHTTPClient ¶
func NewKeyRevokeUsingPOSTParamsWithHTTPClient(client *http.Client) *KeyRevokeUsingPOSTParams
NewKeyRevokeUsingPOSTParamsWithHTTPClient creates a new KeyRevokeUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewKeyRevokeUsingPOSTParamsWithTimeout ¶
func NewKeyRevokeUsingPOSTParamsWithTimeout(timeout time.Duration) *KeyRevokeUsingPOSTParams
NewKeyRevokeUsingPOSTParamsWithTimeout creates a new KeyRevokeUsingPOSTParams object with the ability to set a timeout on a request.
func (*KeyRevokeUsingPOSTParams) SetContext ¶
func (o *KeyRevokeUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *KeyRevokeUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the key revoke using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyRevokeUsingPOSTParams) SetHTTPClient ¶
func (o *KeyRevokeUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) SetID ¶
func (o *KeyRevokeUsingPOSTParams) SetID(id string)
SetID adds the id to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) SetKeyRevocation ¶
func (o *KeyRevokeUsingPOSTParams) SetKeyRevocation(keyRevocation *models.KeyRevocation)
SetKeyRevocation adds the keyRevocation to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) SetTimeout ¶
func (o *KeyRevokeUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WithContext ¶
func (o *KeyRevokeUsingPOSTParams) WithContext(ctx context.Context) *KeyRevokeUsingPOSTParams
WithContext adds the context to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *KeyRevokeUsingPOSTParams) WithDefaults() *KeyRevokeUsingPOSTParams
WithDefaults hydrates default values in the key revoke using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*KeyRevokeUsingPOSTParams) WithHTTPClient ¶
func (o *KeyRevokeUsingPOSTParams) WithHTTPClient(client *http.Client) *KeyRevokeUsingPOSTParams
WithHTTPClient adds the HTTPClient to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WithID ¶
func (o *KeyRevokeUsingPOSTParams) WithID(id string) *KeyRevokeUsingPOSTParams
WithID adds the id to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WithKeyRevocation ¶
func (o *KeyRevokeUsingPOSTParams) WithKeyRevocation(keyRevocation *models.KeyRevocation) *KeyRevokeUsingPOSTParams
WithKeyRevocation adds the keyRevocation to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WithTimeout ¶
func (o *KeyRevokeUsingPOSTParams) WithTimeout(timeout time.Duration) *KeyRevokeUsingPOSTParams
WithTimeout adds the timeout to the key revoke using p o s t params
func (*KeyRevokeUsingPOSTParams) WriteToRequest ¶
func (o *KeyRevokeUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyRevokeUsingPOSTReader ¶
type KeyRevokeUsingPOSTReader struct {
// contains filtered or unexported fields
}
KeyRevokeUsingPOSTReader is a Reader for the KeyRevokeUsingPOST structure.
func (*KeyRevokeUsingPOSTReader) ReadResponse ¶
func (o *KeyRevokeUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- key_create_using_p_u_t_parameters.go
- key_create_using_p_u_t_responses.go
- key_delete_using_d_e_l_e_t_e_parameters.go
- key_delete_using_d_e_l_e_t_e_responses.go
- key_export_using_p_o_s_t_parameters.go
- key_export_using_p_o_s_t_responses.go
- key_get_using_g_e_t_parameters.go
- key_get_using_g_e_t_responses.go
- key_import_using_p_o_s_t_parameters.go
- key_import_using_p_o_s_t_responses.go
- key_list_using_g_e_t_parameters.go
- key_list_using_g_e_t_responses.go
- key_new_version_using_p_o_s_t_parameters.go
- key_new_version_using_p_o_s_t_responses.go
- key_revoke_using_p_o_s_t_parameters.go
- key_revoke_using_p_o_s_t_responses.go
- kms_key_management_client.go