k_m_s_key_management

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

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

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 (*KeyCreateUsingPUTBadRequest) GetPayload added in v1.2.0

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

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

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

WithContext adds the context to the key create using p u t params

func (*KeyCreateUsingPUTParams) WithDefaults added in v1.2.4

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

WithTimeout adds the timeout to the key create using p u t params

func (*KeyCreateUsingPUTParams) WriteToRequest

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 (*KeyDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

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

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

WithContext adds the context to the key delete using d e l e t e params

func (*KeyDeleteUsingDELETEParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the key delete using d e l e t e params

func (*KeyDeleteUsingDELETEParams) WithID

WithID adds the id to the key delete using d e l e t e params

func (*KeyDeleteUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the key delete using d e l e t e params

func (*KeyDeleteUsingDELETEParams) WriteToRequest

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 (*KeyExportUsingPOSTBadRequest) GetPayload added in v1.2.0

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

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

WithContext adds the context to the key export using p o s t params

func (*KeyExportUsingPOSTParams) WithDefaults added in v1.2.4

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

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

WithTimeout adds the timeout to the key export using p o s t params

func (*KeyExportUsingPOSTParams) WriteToRequest

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

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

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

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 (*KeyImportUsingPOSTBadRequest) GetPayload added in v1.2.0

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

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

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

WithContext adds the context to the key import using p o s t params

func (*KeyImportUsingPOSTParams) WithDefaults added in v1.2.4

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

WithTimeout adds the timeout to the key import using p o s t params

func (*KeyImportUsingPOSTParams) WriteToRequest

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

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

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 (*KeyNewVersionUsingPOSTBadRequest) GetPayload added in v1.2.0

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 (*KeyNewVersionUsingPOSTCreated) GetPayload

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

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

WithContext adds the context to the key new version using p o s t params

func (*KeyNewVersionUsingPOSTParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the key new version using p o s t params

func (*KeyNewVersionUsingPOSTParams) WithID

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

WithTimeout adds the timeout to the key new version using p o s t params

func (*KeyNewVersionUsingPOSTParams) WriteToRequest

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 (*KeyRevokeUsingPOSTBadRequest) GetPayload added in v1.2.0

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

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

WithContext adds the context to the key revoke using p o s t params

func (*KeyRevokeUsingPOSTParams) WithDefaults added in v1.2.4

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

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

WithTimeout adds the timeout to the key revoke using p o s t params

func (*KeyRevokeUsingPOSTParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL