crypto

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 12 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 crypto API

func (*Client) CreateVault

func (a *Client) CreateVault(params *CreateVaultParams, opts ...ClientOption) (*CreateVaultOK, error)

CreateVault Create vault

func (*Client) Decrypt

func (a *Client) Decrypt(params *DecryptParams, opts ...ClientOption) (*DecryptOK, error)

Decrypt Decrypt data

func (*Client) DeleteVault

func (a *Client) DeleteVault(params *DeleteVaultParams, opts ...ClientOption) (*DeleteVaultOK, error)

DeleteVault Delete vault

func (*Client) Encrypt

func (a *Client) Encrypt(params *EncryptParams, opts ...ClientOption) (*EncryptOK, error)

Encrypt Encrypt data

func (*Client) ListVaults

func (a *Client) ListVaults(params *ListVaultsParams, opts ...ClientOption) (*ListVaultsOK, error)

ListVaults List vaults

func (*Client) QueryVault

func (a *Client) QueryVault(params *QueryVaultParams, opts ...ClientOption) (*QueryVaultOK, error)

QueryVault Query vault

func (*Client) SecretDecrypt

func (a *Client) SecretDecrypt(params *SecretDecryptParams, opts ...ClientOption) (*SecretDecryptOK, error)

SecretDecrypt Decrypt k8s secret

func (*Client) SecretEncrypt

func (a *Client) SecretEncrypt(params *SecretEncryptParams, opts ...ClientOption) (*SecretEncryptOK, error)

SecretEncrypt Encrypt k8s secret

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateVault

func (a *Client) UpdateVault(params *UpdateVaultParams, opts ...ClientOption) (*UpdateVaultOK, error)

UpdateVault Update vault

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVault(params *CreateVaultParams, opts ...ClientOption) (*CreateVaultOK, error)

	Decrypt(params *DecryptParams, opts ...ClientOption) (*DecryptOK, error)

	DeleteVault(params *DeleteVaultParams, opts ...ClientOption) (*DeleteVaultOK, error)

	Encrypt(params *EncryptParams, opts ...ClientOption) (*EncryptOK, error)

	ListVaults(params *ListVaultsParams, opts ...ClientOption) (*ListVaultsOK, error)

	QueryVault(params *QueryVaultParams, opts ...ClientOption) (*QueryVaultOK, error)

	SecretDecrypt(params *SecretDecryptParams, opts ...ClientOption) (*SecretDecryptOK, error)

	SecretEncrypt(params *SecretEncryptParams, opts ...ClientOption) (*SecretEncryptOK, error)

	UpdateVault(params *UpdateVaultParams, opts ...ClientOption) (*UpdateVaultOK, 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 crypto API client.

type CreateVaultBadRequest

type CreateVaultBadRequest struct {
	Payload *CreateVaultBadRequestBody
}
CreateVaultBadRequest describes a response with status code 400, with default header values.

CreateVaultBadRequest create vault bad request

func NewCreateVaultBadRequest

func NewCreateVaultBadRequest() *CreateVaultBadRequest

NewCreateVaultBadRequest creates a CreateVaultBadRequest with default headers values

func (*CreateVaultBadRequest) Error

func (o *CreateVaultBadRequest) Error() string

func (*CreateVaultBadRequest) GetPayload

type CreateVaultBadRequestBody

type CreateVaultBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

CreateVaultBadRequestBody create vault bad request body swagger:model CreateVaultBadRequestBody

func (*CreateVaultBadRequestBody) ContextValidate

func (o *CreateVaultBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create vault bad request body based on context it is used

func (*CreateVaultBadRequestBody) MarshalBinary

func (o *CreateVaultBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVaultBadRequestBody) UnmarshalBinary

func (o *CreateVaultBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVaultBadRequestBody) Validate

func (o *CreateVaultBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create vault bad request body

type CreateVaultForbidden

type CreateVaultForbidden struct {
	Payload *CreateVaultForbiddenBody
}
CreateVaultForbidden describes a response with status code 403, with default header values.

CreateVaultForbidden create vault forbidden

func NewCreateVaultForbidden

func NewCreateVaultForbidden() *CreateVaultForbidden

NewCreateVaultForbidden creates a CreateVaultForbidden with default headers values

func (*CreateVaultForbidden) Error

func (o *CreateVaultForbidden) Error() string

func (*CreateVaultForbidden) GetPayload

type CreateVaultForbiddenBody

type CreateVaultForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

CreateVaultForbiddenBody create vault forbidden body swagger:model CreateVaultForbiddenBody

func (*CreateVaultForbiddenBody) ContextValidate

func (o *CreateVaultForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create vault forbidden body based on context it is used

func (*CreateVaultForbiddenBody) MarshalBinary

func (o *CreateVaultForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVaultForbiddenBody) UnmarshalBinary

func (o *CreateVaultForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVaultForbiddenBody) Validate

func (o *CreateVaultForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create vault forbidden body

type CreateVaultInternalServerError

type CreateVaultInternalServerError struct {
	Payload interface{}
}
CreateVaultInternalServerError describes a response with status code 500, with default header values.

CreateVaultInternalServerError create vault internal server error

func NewCreateVaultInternalServerError

func NewCreateVaultInternalServerError() *CreateVaultInternalServerError

NewCreateVaultInternalServerError creates a CreateVaultInternalServerError with default headers values

func (*CreateVaultInternalServerError) Error

func (*CreateVaultInternalServerError) GetPayload

func (o *CreateVaultInternalServerError) GetPayload() interface{}

type CreateVaultNotFound

type CreateVaultNotFound struct {
	Payload *CreateVaultNotFoundBody
}
CreateVaultNotFound describes a response with status code 404, with default header values.

CreateVaultNotFound create vault not found

func NewCreateVaultNotFound

func NewCreateVaultNotFound() *CreateVaultNotFound

NewCreateVaultNotFound creates a CreateVaultNotFound with default headers values

func (*CreateVaultNotFound) Error

func (o *CreateVaultNotFound) Error() string

func (*CreateVaultNotFound) GetPayload

type CreateVaultNotFoundBody

type CreateVaultNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

CreateVaultNotFoundBody create vault not found body swagger:model CreateVaultNotFoundBody

func (*CreateVaultNotFoundBody) ContextValidate

func (o *CreateVaultNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create vault not found body based on context it is used

func (*CreateVaultNotFoundBody) MarshalBinary

func (o *CreateVaultNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVaultNotFoundBody) UnmarshalBinary

func (o *CreateVaultNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVaultNotFoundBody) Validate

func (o *CreateVaultNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create vault not found body

type CreateVaultOK

type CreateVaultOK struct {
	Payload string
}
CreateVaultOK describes a response with status code 200, with default header values.

Create vault succeeded

func NewCreateVaultOK

func NewCreateVaultOK() *CreateVaultOK

NewCreateVaultOK creates a CreateVaultOK with default headers values

func (*CreateVaultOK) Error

func (o *CreateVaultOK) Error() string

func (*CreateVaultOK) GetPayload

func (o *CreateVaultOK) GetPayload() string

type CreateVaultParams

type CreateVaultParams struct {

	/* Data.

	   Vault data
	*/
	Data map[string]string

	/* Name.

	   Vault name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVaultParams contains all the parameters to send to the API endpoint

for the create vault operation.

Typically these are written to a http.Request.

func NewCreateVaultParams

func NewCreateVaultParams() *CreateVaultParams

NewCreateVaultParams creates a new CreateVaultParams 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 NewCreateVaultParamsWithContext

func NewCreateVaultParamsWithContext(ctx context.Context) *CreateVaultParams

NewCreateVaultParamsWithContext creates a new CreateVaultParams object with the ability to set a context for a request.

func NewCreateVaultParamsWithHTTPClient

func NewCreateVaultParamsWithHTTPClient(client *http.Client) *CreateVaultParams

NewCreateVaultParamsWithHTTPClient creates a new CreateVaultParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVaultParamsWithTimeout

func NewCreateVaultParamsWithTimeout(timeout time.Duration) *CreateVaultParams

NewCreateVaultParamsWithTimeout creates a new CreateVaultParams object with the ability to set a timeout on a request.

func (*CreateVaultParams) SetContext

func (o *CreateVaultParams) SetContext(ctx context.Context)

SetContext adds the context to the create vault params

func (*CreateVaultParams) SetData

func (o *CreateVaultParams) SetData(data map[string]string)

SetData adds the data to the create vault params

func (*CreateVaultParams) SetDefaults

func (o *CreateVaultParams) SetDefaults()

SetDefaults hydrates default values in the create vault params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVaultParams) SetHTTPClient

func (o *CreateVaultParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create vault params

func (*CreateVaultParams) SetName

func (o *CreateVaultParams) SetName(name string)

SetName adds the name to the create vault params

func (*CreateVaultParams) SetTimeout

func (o *CreateVaultParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create vault params

func (*CreateVaultParams) WithContext

func (o *CreateVaultParams) WithContext(ctx context.Context) *CreateVaultParams

WithContext adds the context to the create vault params

func (*CreateVaultParams) WithData

func (o *CreateVaultParams) WithData(data map[string]string) *CreateVaultParams

WithData adds the data to the create vault params

func (*CreateVaultParams) WithDefaults

func (o *CreateVaultParams) WithDefaults() *CreateVaultParams

WithDefaults hydrates default values in the create vault params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVaultParams) WithHTTPClient

func (o *CreateVaultParams) WithHTTPClient(client *http.Client) *CreateVaultParams

WithHTTPClient adds the HTTPClient to the create vault params

func (*CreateVaultParams) WithName

func (o *CreateVaultParams) WithName(name string) *CreateVaultParams

WithName adds the name to the create vault params

func (*CreateVaultParams) WithTimeout

func (o *CreateVaultParams) WithTimeout(timeout time.Duration) *CreateVaultParams

WithTimeout adds the timeout to the create vault params

func (*CreateVaultParams) WriteToRequest

func (o *CreateVaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateVaultReader

type CreateVaultReader struct {
	// contains filtered or unexported fields
}

CreateVaultReader is a Reader for the CreateVault structure.

func (*CreateVaultReader) ReadResponse

func (o *CreateVaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVaultUnauthorized

type CreateVaultUnauthorized struct {
	Payload interface{}
}
CreateVaultUnauthorized describes a response with status code 401, with default header values.

CreateVaultUnauthorized create vault unauthorized

func NewCreateVaultUnauthorized

func NewCreateVaultUnauthorized() *CreateVaultUnauthorized

NewCreateVaultUnauthorized creates a CreateVaultUnauthorized with default headers values

func (*CreateVaultUnauthorized) Error

func (o *CreateVaultUnauthorized) Error() string

func (*CreateVaultUnauthorized) GetPayload

func (o *CreateVaultUnauthorized) GetPayload() interface{}

type DecryptBadRequest

type DecryptBadRequest struct {
	Payload *DecryptBadRequestBody
}
DecryptBadRequest describes a response with status code 400, with default header values.

DecryptBadRequest decrypt bad request

func NewDecryptBadRequest

func NewDecryptBadRequest() *DecryptBadRequest

NewDecryptBadRequest creates a DecryptBadRequest with default headers values

func (*DecryptBadRequest) Error

func (o *DecryptBadRequest) Error() string

func (*DecryptBadRequest) GetPayload

func (o *DecryptBadRequest) GetPayload() *DecryptBadRequestBody

type DecryptBadRequestBody

type DecryptBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

DecryptBadRequestBody decrypt bad request body swagger:model DecryptBadRequestBody

func (*DecryptBadRequestBody) ContextValidate

func (o *DecryptBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this decrypt bad request body based on context it is used

func (*DecryptBadRequestBody) MarshalBinary

func (o *DecryptBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DecryptBadRequestBody) UnmarshalBinary

func (o *DecryptBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DecryptBadRequestBody) Validate

func (o *DecryptBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this decrypt bad request body

type DecryptForbidden

type DecryptForbidden struct {
	Payload *DecryptForbiddenBody
}
DecryptForbidden describes a response with status code 403, with default header values.

DecryptForbidden decrypt forbidden

func NewDecryptForbidden

func NewDecryptForbidden() *DecryptForbidden

NewDecryptForbidden creates a DecryptForbidden with default headers values

func (*DecryptForbidden) Error

func (o *DecryptForbidden) Error() string

func (*DecryptForbidden) GetPayload

func (o *DecryptForbidden) GetPayload() *DecryptForbiddenBody

type DecryptForbiddenBody

type DecryptForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

DecryptForbiddenBody decrypt forbidden body swagger:model DecryptForbiddenBody

func (*DecryptForbiddenBody) ContextValidate

func (o *DecryptForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this decrypt forbidden body based on context it is used

func (*DecryptForbiddenBody) MarshalBinary

func (o *DecryptForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DecryptForbiddenBody) UnmarshalBinary

func (o *DecryptForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DecryptForbiddenBody) Validate

func (o *DecryptForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this decrypt forbidden body

type DecryptInternalServerError

type DecryptInternalServerError struct {
	Payload interface{}
}
DecryptInternalServerError describes a response with status code 500, with default header values.

DecryptInternalServerError decrypt internal server error

func NewDecryptInternalServerError

func NewDecryptInternalServerError() *DecryptInternalServerError

NewDecryptInternalServerError creates a DecryptInternalServerError with default headers values

func (*DecryptInternalServerError) Error

func (*DecryptInternalServerError) GetPayload

func (o *DecryptInternalServerError) GetPayload() interface{}

type DecryptNotFound

type DecryptNotFound struct {
	Payload *DecryptNotFoundBody
}
DecryptNotFound describes a response with status code 404, with default header values.

DecryptNotFound decrypt not found

func NewDecryptNotFound

func NewDecryptNotFound() *DecryptNotFound

NewDecryptNotFound creates a DecryptNotFound with default headers values

func (*DecryptNotFound) Error

func (o *DecryptNotFound) Error() string

func (*DecryptNotFound) GetPayload

func (o *DecryptNotFound) GetPayload() *DecryptNotFoundBody

type DecryptNotFoundBody

type DecryptNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

DecryptNotFoundBody decrypt not found body swagger:model DecryptNotFoundBody

func (*DecryptNotFoundBody) ContextValidate

func (o *DecryptNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this decrypt not found body based on context it is used

func (*DecryptNotFoundBody) MarshalBinary

func (o *DecryptNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DecryptNotFoundBody) UnmarshalBinary

func (o *DecryptNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DecryptNotFoundBody) Validate

func (o *DecryptNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this decrypt not found body

type DecryptOK

type DecryptOK struct {
	Payload *models.CryptoData
}
DecryptOK describes a response with status code 200, with default header values.

Data decrypted

func NewDecryptOK

func NewDecryptOK() *DecryptOK

NewDecryptOK creates a DecryptOK with default headers values

func (*DecryptOK) Error

func (o *DecryptOK) Error() string

func (*DecryptOK) GetPayload

func (o *DecryptOK) GetPayload() *models.CryptoData

type DecryptParams

type DecryptParams struct {

	/* Data.

	   Data to decrypt
	*/
	Data *models.CryptoData

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DecryptParams contains all the parameters to send to the API endpoint

for the decrypt operation.

Typically these are written to a http.Request.

func NewDecryptParams

func NewDecryptParams() *DecryptParams

NewDecryptParams creates a new DecryptParams 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 NewDecryptParamsWithContext

func NewDecryptParamsWithContext(ctx context.Context) *DecryptParams

NewDecryptParamsWithContext creates a new DecryptParams object with the ability to set a context for a request.

func NewDecryptParamsWithHTTPClient

func NewDecryptParamsWithHTTPClient(client *http.Client) *DecryptParams

NewDecryptParamsWithHTTPClient creates a new DecryptParams object with the ability to set a custom HTTPClient for a request.

func NewDecryptParamsWithTimeout

func NewDecryptParamsWithTimeout(timeout time.Duration) *DecryptParams

NewDecryptParamsWithTimeout creates a new DecryptParams object with the ability to set a timeout on a request.

func (*DecryptParams) SetContext

func (o *DecryptParams) SetContext(ctx context.Context)

SetContext adds the context to the decrypt params

func (*DecryptParams) SetData

func (o *DecryptParams) SetData(data *models.CryptoData)

SetData adds the data to the decrypt params

func (*DecryptParams) SetDefaults

func (o *DecryptParams) SetDefaults()

SetDefaults hydrates default values in the decrypt params (not the query body).

All values with no default are reset to their zero value.

func (*DecryptParams) SetHTTPClient

func (o *DecryptParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the decrypt params

func (*DecryptParams) SetTimeout

func (o *DecryptParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the decrypt params

func (*DecryptParams) WithContext

func (o *DecryptParams) WithContext(ctx context.Context) *DecryptParams

WithContext adds the context to the decrypt params

func (*DecryptParams) WithData

func (o *DecryptParams) WithData(data *models.CryptoData) *DecryptParams

WithData adds the data to the decrypt params

func (*DecryptParams) WithDefaults

func (o *DecryptParams) WithDefaults() *DecryptParams

WithDefaults hydrates default values in the decrypt params (not the query body).

All values with no default are reset to their zero value.

func (*DecryptParams) WithHTTPClient

func (o *DecryptParams) WithHTTPClient(client *http.Client) *DecryptParams

WithHTTPClient adds the HTTPClient to the decrypt params

func (*DecryptParams) WithTimeout

func (o *DecryptParams) WithTimeout(timeout time.Duration) *DecryptParams

WithTimeout adds the timeout to the decrypt params

func (*DecryptParams) WriteToRequest

func (o *DecryptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DecryptReader

type DecryptReader struct {
	// contains filtered or unexported fields
}

DecryptReader is a Reader for the Decrypt structure.

func (*DecryptReader) ReadResponse

func (o *DecryptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DecryptUnauthorized

type DecryptUnauthorized struct {
	Payload interface{}
}
DecryptUnauthorized describes a response with status code 401, with default header values.

DecryptUnauthorized decrypt unauthorized

func NewDecryptUnauthorized

func NewDecryptUnauthorized() *DecryptUnauthorized

NewDecryptUnauthorized creates a DecryptUnauthorized with default headers values

func (*DecryptUnauthorized) Error

func (o *DecryptUnauthorized) Error() string

func (*DecryptUnauthorized) GetPayload

func (o *DecryptUnauthorized) GetPayload() interface{}

type DeleteVaultBadRequest

type DeleteVaultBadRequest struct {
	Payload *DeleteVaultBadRequestBody
}
DeleteVaultBadRequest describes a response with status code 400, with default header values.

DeleteVaultBadRequest delete vault bad request

func NewDeleteVaultBadRequest

func NewDeleteVaultBadRequest() *DeleteVaultBadRequest

NewDeleteVaultBadRequest creates a DeleteVaultBadRequest with default headers values

func (*DeleteVaultBadRequest) Error

func (o *DeleteVaultBadRequest) Error() string

func (*DeleteVaultBadRequest) GetPayload

type DeleteVaultBadRequestBody

type DeleteVaultBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

DeleteVaultBadRequestBody delete vault bad request body swagger:model DeleteVaultBadRequestBody

func (*DeleteVaultBadRequestBody) ContextValidate

func (o *DeleteVaultBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete vault bad request body based on context it is used

func (*DeleteVaultBadRequestBody) MarshalBinary

func (o *DeleteVaultBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteVaultBadRequestBody) UnmarshalBinary

func (o *DeleteVaultBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteVaultBadRequestBody) Validate

func (o *DeleteVaultBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this delete vault bad request body

type DeleteVaultForbidden

type DeleteVaultForbidden struct {
	Payload *DeleteVaultForbiddenBody
}
DeleteVaultForbidden describes a response with status code 403, with default header values.

DeleteVaultForbidden delete vault forbidden

func NewDeleteVaultForbidden

func NewDeleteVaultForbidden() *DeleteVaultForbidden

NewDeleteVaultForbidden creates a DeleteVaultForbidden with default headers values

func (*DeleteVaultForbidden) Error

func (o *DeleteVaultForbidden) Error() string

func (*DeleteVaultForbidden) GetPayload

type DeleteVaultForbiddenBody

type DeleteVaultForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

DeleteVaultForbiddenBody delete vault forbidden body swagger:model DeleteVaultForbiddenBody

func (*DeleteVaultForbiddenBody) ContextValidate

func (o *DeleteVaultForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete vault forbidden body based on context it is used

func (*DeleteVaultForbiddenBody) MarshalBinary

func (o *DeleteVaultForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteVaultForbiddenBody) UnmarshalBinary

func (o *DeleteVaultForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteVaultForbiddenBody) Validate

func (o *DeleteVaultForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this delete vault forbidden body

type DeleteVaultInternalServerError

type DeleteVaultInternalServerError struct {
	Payload interface{}
}
DeleteVaultInternalServerError describes a response with status code 500, with default header values.

DeleteVaultInternalServerError delete vault internal server error

func NewDeleteVaultInternalServerError

func NewDeleteVaultInternalServerError() *DeleteVaultInternalServerError

NewDeleteVaultInternalServerError creates a DeleteVaultInternalServerError with default headers values

func (*DeleteVaultInternalServerError) Error

func (*DeleteVaultInternalServerError) GetPayload

func (o *DeleteVaultInternalServerError) GetPayload() interface{}

type DeleteVaultNotFound

type DeleteVaultNotFound struct {
	Payload *DeleteVaultNotFoundBody
}
DeleteVaultNotFound describes a response with status code 404, with default header values.

DeleteVaultNotFound delete vault not found

func NewDeleteVaultNotFound

func NewDeleteVaultNotFound() *DeleteVaultNotFound

NewDeleteVaultNotFound creates a DeleteVaultNotFound with default headers values

func (*DeleteVaultNotFound) Error

func (o *DeleteVaultNotFound) Error() string

func (*DeleteVaultNotFound) GetPayload

type DeleteVaultNotFoundBody

type DeleteVaultNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

DeleteVaultNotFoundBody delete vault not found body swagger:model DeleteVaultNotFoundBody

func (*DeleteVaultNotFoundBody) ContextValidate

func (o *DeleteVaultNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete vault not found body based on context it is used

func (*DeleteVaultNotFoundBody) MarshalBinary

func (o *DeleteVaultNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteVaultNotFoundBody) UnmarshalBinary

func (o *DeleteVaultNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteVaultNotFoundBody) Validate

func (o *DeleteVaultNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this delete vault not found body

type DeleteVaultOK

type DeleteVaultOK struct {
	Payload string
}
DeleteVaultOK describes a response with status code 200, with default header values.

Delete vault succeed

func NewDeleteVaultOK

func NewDeleteVaultOK() *DeleteVaultOK

NewDeleteVaultOK creates a DeleteVaultOK with default headers values

func (*DeleteVaultOK) Error

func (o *DeleteVaultOK) Error() string

func (*DeleteVaultOK) GetPayload

func (o *DeleteVaultOK) GetPayload() string

type DeleteVaultParams

type DeleteVaultParams struct {

	/* Keys.

	   Key filter
	*/
	Keys []string

	/* Name.

	   Vault name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVaultParams contains all the parameters to send to the API endpoint

for the delete vault operation.

Typically these are written to a http.Request.

func NewDeleteVaultParams

func NewDeleteVaultParams() *DeleteVaultParams

NewDeleteVaultParams creates a new DeleteVaultParams 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 NewDeleteVaultParamsWithContext

func NewDeleteVaultParamsWithContext(ctx context.Context) *DeleteVaultParams

NewDeleteVaultParamsWithContext creates a new DeleteVaultParams object with the ability to set a context for a request.

func NewDeleteVaultParamsWithHTTPClient

func NewDeleteVaultParamsWithHTTPClient(client *http.Client) *DeleteVaultParams

NewDeleteVaultParamsWithHTTPClient creates a new DeleteVaultParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVaultParamsWithTimeout

func NewDeleteVaultParamsWithTimeout(timeout time.Duration) *DeleteVaultParams

NewDeleteVaultParamsWithTimeout creates a new DeleteVaultParams object with the ability to set a timeout on a request.

func (*DeleteVaultParams) SetContext

func (o *DeleteVaultParams) SetContext(ctx context.Context)

SetContext adds the context to the delete vault params

func (*DeleteVaultParams) SetDefaults

func (o *DeleteVaultParams) SetDefaults()

SetDefaults hydrates default values in the delete vault params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVaultParams) SetHTTPClient

func (o *DeleteVaultParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete vault params

func (*DeleteVaultParams) SetKeys

func (o *DeleteVaultParams) SetKeys(keys []string)

SetKeys adds the keys to the delete vault params

func (*DeleteVaultParams) SetName

func (o *DeleteVaultParams) SetName(name string)

SetName adds the name to the delete vault params

func (*DeleteVaultParams) SetTimeout

func (o *DeleteVaultParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete vault params

func (*DeleteVaultParams) WithContext

func (o *DeleteVaultParams) WithContext(ctx context.Context) *DeleteVaultParams

WithContext adds the context to the delete vault params

func (*DeleteVaultParams) WithDefaults

func (o *DeleteVaultParams) WithDefaults() *DeleteVaultParams

WithDefaults hydrates default values in the delete vault params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVaultParams) WithHTTPClient

func (o *DeleteVaultParams) WithHTTPClient(client *http.Client) *DeleteVaultParams

WithHTTPClient adds the HTTPClient to the delete vault params

func (*DeleteVaultParams) WithKeys

func (o *DeleteVaultParams) WithKeys(keys []string) *DeleteVaultParams

WithKeys adds the keys to the delete vault params

func (*DeleteVaultParams) WithName

func (o *DeleteVaultParams) WithName(name string) *DeleteVaultParams

WithName adds the name to the delete vault params

func (*DeleteVaultParams) WithTimeout

func (o *DeleteVaultParams) WithTimeout(timeout time.Duration) *DeleteVaultParams

WithTimeout adds the timeout to the delete vault params

func (*DeleteVaultParams) WriteToRequest

func (o *DeleteVaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteVaultReader

type DeleteVaultReader struct {
	// contains filtered or unexported fields
}

DeleteVaultReader is a Reader for the DeleteVault structure.

func (*DeleteVaultReader) ReadResponse

func (o *DeleteVaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVaultUnauthorized

type DeleteVaultUnauthorized struct {
	Payload interface{}
}
DeleteVaultUnauthorized describes a response with status code 401, with default header values.

DeleteVaultUnauthorized delete vault unauthorized

func NewDeleteVaultUnauthorized

func NewDeleteVaultUnauthorized() *DeleteVaultUnauthorized

NewDeleteVaultUnauthorized creates a DeleteVaultUnauthorized with default headers values

func (*DeleteVaultUnauthorized) Error

func (o *DeleteVaultUnauthorized) Error() string

func (*DeleteVaultUnauthorized) GetPayload

func (o *DeleteVaultUnauthorized) GetPayload() interface{}

type EncryptBadRequest

type EncryptBadRequest struct {
	Payload *EncryptBadRequestBody
}
EncryptBadRequest describes a response with status code 400, with default header values.

EncryptBadRequest encrypt bad request

func NewEncryptBadRequest

func NewEncryptBadRequest() *EncryptBadRequest

NewEncryptBadRequest creates a EncryptBadRequest with default headers values

func (*EncryptBadRequest) Error

func (o *EncryptBadRequest) Error() string

func (*EncryptBadRequest) GetPayload

func (o *EncryptBadRequest) GetPayload() *EncryptBadRequestBody

type EncryptBadRequestBody

type EncryptBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

EncryptBadRequestBody encrypt bad request body swagger:model EncryptBadRequestBody

func (*EncryptBadRequestBody) ContextValidate

func (o *EncryptBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encrypt bad request body based on context it is used

func (*EncryptBadRequestBody) MarshalBinary

func (o *EncryptBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EncryptBadRequestBody) UnmarshalBinary

func (o *EncryptBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EncryptBadRequestBody) Validate

func (o *EncryptBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this encrypt bad request body

type EncryptForbidden

type EncryptForbidden struct {
	Payload *EncryptForbiddenBody
}
EncryptForbidden describes a response with status code 403, with default header values.

EncryptForbidden encrypt forbidden

func NewEncryptForbidden

func NewEncryptForbidden() *EncryptForbidden

NewEncryptForbidden creates a EncryptForbidden with default headers values

func (*EncryptForbidden) Error

func (o *EncryptForbidden) Error() string

func (*EncryptForbidden) GetPayload

func (o *EncryptForbidden) GetPayload() *EncryptForbiddenBody

type EncryptForbiddenBody

type EncryptForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

EncryptForbiddenBody encrypt forbidden body swagger:model EncryptForbiddenBody

func (*EncryptForbiddenBody) ContextValidate

func (o *EncryptForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encrypt forbidden body based on context it is used

func (*EncryptForbiddenBody) MarshalBinary

func (o *EncryptForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EncryptForbiddenBody) UnmarshalBinary

func (o *EncryptForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EncryptForbiddenBody) Validate

func (o *EncryptForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this encrypt forbidden body

type EncryptInternalServerError

type EncryptInternalServerError struct {
	Payload interface{}
}
EncryptInternalServerError describes a response with status code 500, with default header values.

EncryptInternalServerError encrypt internal server error

func NewEncryptInternalServerError

func NewEncryptInternalServerError() *EncryptInternalServerError

NewEncryptInternalServerError creates a EncryptInternalServerError with default headers values

func (*EncryptInternalServerError) Error

func (*EncryptInternalServerError) GetPayload

func (o *EncryptInternalServerError) GetPayload() interface{}

type EncryptNotFound

type EncryptNotFound struct {
	Payload *EncryptNotFoundBody
}
EncryptNotFound describes a response with status code 404, with default header values.

EncryptNotFound encrypt not found

func NewEncryptNotFound

func NewEncryptNotFound() *EncryptNotFound

NewEncryptNotFound creates a EncryptNotFound with default headers values

func (*EncryptNotFound) Error

func (o *EncryptNotFound) Error() string

func (*EncryptNotFound) GetPayload

func (o *EncryptNotFound) GetPayload() *EncryptNotFoundBody

type EncryptNotFoundBody

type EncryptNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

EncryptNotFoundBody encrypt not found body swagger:model EncryptNotFoundBody

func (*EncryptNotFoundBody) ContextValidate

func (o *EncryptNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encrypt not found body based on context it is used

func (*EncryptNotFoundBody) MarshalBinary

func (o *EncryptNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EncryptNotFoundBody) UnmarshalBinary

func (o *EncryptNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EncryptNotFoundBody) Validate

func (o *EncryptNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this encrypt not found body

type EncryptOK

type EncryptOK struct {
	Payload *models.CryptoData
}
EncryptOK describes a response with status code 200, with default header values.

Data encrypted

func NewEncryptOK

func NewEncryptOK() *EncryptOK

NewEncryptOK creates a EncryptOK with default headers values

func (*EncryptOK) Error

func (o *EncryptOK) Error() string

func (*EncryptOK) GetPayload

func (o *EncryptOK) GetPayload() *models.CryptoData

type EncryptParams

type EncryptParams struct {

	/* Data.

	   Data to encrypt
	*/
	Data *models.CryptoData

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EncryptParams contains all the parameters to send to the API endpoint

for the encrypt operation.

Typically these are written to a http.Request.

func NewEncryptParams

func NewEncryptParams() *EncryptParams

NewEncryptParams creates a new EncryptParams 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 NewEncryptParamsWithContext

func NewEncryptParamsWithContext(ctx context.Context) *EncryptParams

NewEncryptParamsWithContext creates a new EncryptParams object with the ability to set a context for a request.

func NewEncryptParamsWithHTTPClient

func NewEncryptParamsWithHTTPClient(client *http.Client) *EncryptParams

NewEncryptParamsWithHTTPClient creates a new EncryptParams object with the ability to set a custom HTTPClient for a request.

func NewEncryptParamsWithTimeout

func NewEncryptParamsWithTimeout(timeout time.Duration) *EncryptParams

NewEncryptParamsWithTimeout creates a new EncryptParams object with the ability to set a timeout on a request.

func (*EncryptParams) SetContext

func (o *EncryptParams) SetContext(ctx context.Context)

SetContext adds the context to the encrypt params

func (*EncryptParams) SetData

func (o *EncryptParams) SetData(data *models.CryptoData)

SetData adds the data to the encrypt params

func (*EncryptParams) SetDefaults

func (o *EncryptParams) SetDefaults()

SetDefaults hydrates default values in the encrypt params (not the query body).

All values with no default are reset to their zero value.

func (*EncryptParams) SetHTTPClient

func (o *EncryptParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the encrypt params

func (*EncryptParams) SetTimeout

func (o *EncryptParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the encrypt params

func (*EncryptParams) WithContext

func (o *EncryptParams) WithContext(ctx context.Context) *EncryptParams

WithContext adds the context to the encrypt params

func (*EncryptParams) WithData

func (o *EncryptParams) WithData(data *models.CryptoData) *EncryptParams

WithData adds the data to the encrypt params

func (*EncryptParams) WithDefaults

func (o *EncryptParams) WithDefaults() *EncryptParams

WithDefaults hydrates default values in the encrypt params (not the query body).

All values with no default are reset to their zero value.

func (*EncryptParams) WithHTTPClient

func (o *EncryptParams) WithHTTPClient(client *http.Client) *EncryptParams

WithHTTPClient adds the HTTPClient to the encrypt params

func (*EncryptParams) WithTimeout

func (o *EncryptParams) WithTimeout(timeout time.Duration) *EncryptParams

WithTimeout adds the timeout to the encrypt params

func (*EncryptParams) WriteToRequest

func (o *EncryptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EncryptReader

type EncryptReader struct {
	// contains filtered or unexported fields
}

EncryptReader is a Reader for the Encrypt structure.

func (*EncryptReader) ReadResponse

func (o *EncryptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EncryptUnauthorized

type EncryptUnauthorized struct {
	Payload interface{}
}
EncryptUnauthorized describes a response with status code 401, with default header values.

EncryptUnauthorized encrypt unauthorized

func NewEncryptUnauthorized

func NewEncryptUnauthorized() *EncryptUnauthorized

NewEncryptUnauthorized creates a EncryptUnauthorized with default headers values

func (*EncryptUnauthorized) Error

func (o *EncryptUnauthorized) Error() string

func (*EncryptUnauthorized) GetPayload

func (o *EncryptUnauthorized) GetPayload() interface{}

type ListVaultsBadRequest

type ListVaultsBadRequest struct {
	Payload *ListVaultsBadRequestBody
}
ListVaultsBadRequest describes a response with status code 400, with default header values.

ListVaultsBadRequest list vaults bad request

func NewListVaultsBadRequest

func NewListVaultsBadRequest() *ListVaultsBadRequest

NewListVaultsBadRequest creates a ListVaultsBadRequest with default headers values

func (*ListVaultsBadRequest) Error

func (o *ListVaultsBadRequest) Error() string

func (*ListVaultsBadRequest) GetPayload

type ListVaultsBadRequestBody

type ListVaultsBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

ListVaultsBadRequestBody list vaults bad request body swagger:model ListVaultsBadRequestBody

func (*ListVaultsBadRequestBody) ContextValidate

func (o *ListVaultsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list vaults bad request body based on context it is used

func (*ListVaultsBadRequestBody) MarshalBinary

func (o *ListVaultsBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListVaultsBadRequestBody) UnmarshalBinary

func (o *ListVaultsBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListVaultsBadRequestBody) Validate

func (o *ListVaultsBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this list vaults bad request body

type ListVaultsForbidden

type ListVaultsForbidden struct {
	Payload *ListVaultsForbiddenBody
}
ListVaultsForbidden describes a response with status code 403, with default header values.

ListVaultsForbidden list vaults forbidden

func NewListVaultsForbidden

func NewListVaultsForbidden() *ListVaultsForbidden

NewListVaultsForbidden creates a ListVaultsForbidden with default headers values

func (*ListVaultsForbidden) Error

func (o *ListVaultsForbidden) Error() string

func (*ListVaultsForbidden) GetPayload

type ListVaultsForbiddenBody

type ListVaultsForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

ListVaultsForbiddenBody list vaults forbidden body swagger:model ListVaultsForbiddenBody

func (*ListVaultsForbiddenBody) ContextValidate

func (o *ListVaultsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list vaults forbidden body based on context it is used

func (*ListVaultsForbiddenBody) MarshalBinary

func (o *ListVaultsForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListVaultsForbiddenBody) UnmarshalBinary

func (o *ListVaultsForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListVaultsForbiddenBody) Validate

func (o *ListVaultsForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this list vaults forbidden body

type ListVaultsInternalServerError

type ListVaultsInternalServerError struct {
	Payload interface{}
}
ListVaultsInternalServerError describes a response with status code 500, with default header values.

ListVaultsInternalServerError list vaults internal server error

func NewListVaultsInternalServerError

func NewListVaultsInternalServerError() *ListVaultsInternalServerError

NewListVaultsInternalServerError creates a ListVaultsInternalServerError with default headers values

func (*ListVaultsInternalServerError) Error

func (*ListVaultsInternalServerError) GetPayload

func (o *ListVaultsInternalServerError) GetPayload() interface{}

type ListVaultsNotFound

type ListVaultsNotFound struct {
	Payload *ListVaultsNotFoundBody
}
ListVaultsNotFound describes a response with status code 404, with default header values.

ListVaultsNotFound list vaults not found

func NewListVaultsNotFound

func NewListVaultsNotFound() *ListVaultsNotFound

NewListVaultsNotFound creates a ListVaultsNotFound with default headers values

func (*ListVaultsNotFound) Error

func (o *ListVaultsNotFound) Error() string

func (*ListVaultsNotFound) GetPayload

func (o *ListVaultsNotFound) GetPayload() *ListVaultsNotFoundBody

type ListVaultsNotFoundBody

type ListVaultsNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

ListVaultsNotFoundBody list vaults not found body swagger:model ListVaultsNotFoundBody

func (*ListVaultsNotFoundBody) ContextValidate

func (o *ListVaultsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list vaults not found body based on context it is used

func (*ListVaultsNotFoundBody) MarshalBinary

func (o *ListVaultsNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListVaultsNotFoundBody) UnmarshalBinary

func (o *ListVaultsNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListVaultsNotFoundBody) Validate

func (o *ListVaultsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list vaults not found body

type ListVaultsOK

type ListVaultsOK struct {
	Payload []string
}
ListVaultsOK describes a response with status code 200, with default header values.

Get vaults succeed

func NewListVaultsOK

func NewListVaultsOK() *ListVaultsOK

NewListVaultsOK creates a ListVaultsOK with default headers values

func (*ListVaultsOK) Error

func (o *ListVaultsOK) Error() string

func (*ListVaultsOK) GetPayload

func (o *ListVaultsOK) GetPayload() []string

type ListVaultsParams

type ListVaultsParams struct {

	/* Name.

	   Name filter
	*/
	Name *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListVaultsParams contains all the parameters to send to the API endpoint

for the list vaults operation.

Typically these are written to a http.Request.

func NewListVaultsParams

func NewListVaultsParams() *ListVaultsParams

NewListVaultsParams creates a new ListVaultsParams 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 NewListVaultsParamsWithContext

func NewListVaultsParamsWithContext(ctx context.Context) *ListVaultsParams

NewListVaultsParamsWithContext creates a new ListVaultsParams object with the ability to set a context for a request.

func NewListVaultsParamsWithHTTPClient

func NewListVaultsParamsWithHTTPClient(client *http.Client) *ListVaultsParams

NewListVaultsParamsWithHTTPClient creates a new ListVaultsParams object with the ability to set a custom HTTPClient for a request.

func NewListVaultsParamsWithTimeout

func NewListVaultsParamsWithTimeout(timeout time.Duration) *ListVaultsParams

NewListVaultsParamsWithTimeout creates a new ListVaultsParams object with the ability to set a timeout on a request.

func (*ListVaultsParams) SetContext

func (o *ListVaultsParams) SetContext(ctx context.Context)

SetContext adds the context to the list vaults params

func (*ListVaultsParams) SetDefaults

func (o *ListVaultsParams) SetDefaults()

SetDefaults hydrates default values in the list vaults params (not the query body).

All values with no default are reset to their zero value.

func (*ListVaultsParams) SetHTTPClient

func (o *ListVaultsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list vaults params

func (*ListVaultsParams) SetName

func (o *ListVaultsParams) SetName(name *string)

SetName adds the name to the list vaults params

func (*ListVaultsParams) SetTimeout

func (o *ListVaultsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list vaults params

func (*ListVaultsParams) WithContext

func (o *ListVaultsParams) WithContext(ctx context.Context) *ListVaultsParams

WithContext adds the context to the list vaults params

func (*ListVaultsParams) WithDefaults

func (o *ListVaultsParams) WithDefaults() *ListVaultsParams

WithDefaults hydrates default values in the list vaults params (not the query body).

All values with no default are reset to their zero value.

func (*ListVaultsParams) WithHTTPClient

func (o *ListVaultsParams) WithHTTPClient(client *http.Client) *ListVaultsParams

WithHTTPClient adds the HTTPClient to the list vaults params

func (*ListVaultsParams) WithName

func (o *ListVaultsParams) WithName(name *string) *ListVaultsParams

WithName adds the name to the list vaults params

func (*ListVaultsParams) WithTimeout

func (o *ListVaultsParams) WithTimeout(timeout time.Duration) *ListVaultsParams

WithTimeout adds the timeout to the list vaults params

func (*ListVaultsParams) WriteToRequest

func (o *ListVaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListVaultsReader

type ListVaultsReader struct {
	// contains filtered or unexported fields
}

ListVaultsReader is a Reader for the ListVaults structure.

func (*ListVaultsReader) ReadResponse

func (o *ListVaultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListVaultsUnauthorized

type ListVaultsUnauthorized struct {
	Payload interface{}
}
ListVaultsUnauthorized describes a response with status code 401, with default header values.

ListVaultsUnauthorized list vaults unauthorized

func NewListVaultsUnauthorized

func NewListVaultsUnauthorized() *ListVaultsUnauthorized

NewListVaultsUnauthorized creates a ListVaultsUnauthorized with default headers values

func (*ListVaultsUnauthorized) Error

func (o *ListVaultsUnauthorized) Error() string

func (*ListVaultsUnauthorized) GetPayload

func (o *ListVaultsUnauthorized) GetPayload() interface{}

type QueryVaultBadRequest

type QueryVaultBadRequest struct {
	Payload *QueryVaultBadRequestBody
}
QueryVaultBadRequest describes a response with status code 400, with default header values.

QueryVaultBadRequest query vault bad request

func NewQueryVaultBadRequest

func NewQueryVaultBadRequest() *QueryVaultBadRequest

NewQueryVaultBadRequest creates a QueryVaultBadRequest with default headers values

func (*QueryVaultBadRequest) Error

func (o *QueryVaultBadRequest) Error() string

func (*QueryVaultBadRequest) GetPayload

type QueryVaultBadRequestBody

type QueryVaultBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

QueryVaultBadRequestBody query vault bad request body swagger:model QueryVaultBadRequestBody

func (*QueryVaultBadRequestBody) ContextValidate

func (o *QueryVaultBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this query vault bad request body based on context it is used

func (*QueryVaultBadRequestBody) MarshalBinary

func (o *QueryVaultBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryVaultBadRequestBody) UnmarshalBinary

func (o *QueryVaultBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryVaultBadRequestBody) Validate

func (o *QueryVaultBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this query vault bad request body

type QueryVaultForbidden

type QueryVaultForbidden struct {
	Payload *QueryVaultForbiddenBody
}
QueryVaultForbidden describes a response with status code 403, with default header values.

QueryVaultForbidden query vault forbidden

func NewQueryVaultForbidden

func NewQueryVaultForbidden() *QueryVaultForbidden

NewQueryVaultForbidden creates a QueryVaultForbidden with default headers values

func (*QueryVaultForbidden) Error

func (o *QueryVaultForbidden) Error() string

func (*QueryVaultForbidden) GetPayload

type QueryVaultForbiddenBody

type QueryVaultForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

QueryVaultForbiddenBody query vault forbidden body swagger:model QueryVaultForbiddenBody

func (*QueryVaultForbiddenBody) ContextValidate

func (o *QueryVaultForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this query vault forbidden body based on context it is used

func (*QueryVaultForbiddenBody) MarshalBinary

func (o *QueryVaultForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryVaultForbiddenBody) UnmarshalBinary

func (o *QueryVaultForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryVaultForbiddenBody) Validate

func (o *QueryVaultForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this query vault forbidden body

type QueryVaultInternalServerError

type QueryVaultInternalServerError struct {
	Payload interface{}
}
QueryVaultInternalServerError describes a response with status code 500, with default header values.

QueryVaultInternalServerError query vault internal server error

func NewQueryVaultInternalServerError

func NewQueryVaultInternalServerError() *QueryVaultInternalServerError

NewQueryVaultInternalServerError creates a QueryVaultInternalServerError with default headers values

func (*QueryVaultInternalServerError) Error

func (*QueryVaultInternalServerError) GetPayload

func (o *QueryVaultInternalServerError) GetPayload() interface{}

type QueryVaultNotFound

type QueryVaultNotFound struct {
	Payload *QueryVaultNotFoundBody
}
QueryVaultNotFound describes a response with status code 404, with default header values.

QueryVaultNotFound query vault not found

func NewQueryVaultNotFound

func NewQueryVaultNotFound() *QueryVaultNotFound

NewQueryVaultNotFound creates a QueryVaultNotFound with default headers values

func (*QueryVaultNotFound) Error

func (o *QueryVaultNotFound) Error() string

func (*QueryVaultNotFound) GetPayload

func (o *QueryVaultNotFound) GetPayload() *QueryVaultNotFoundBody

type QueryVaultNotFoundBody

type QueryVaultNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

QueryVaultNotFoundBody query vault not found body swagger:model QueryVaultNotFoundBody

func (*QueryVaultNotFoundBody) ContextValidate

func (o *QueryVaultNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this query vault not found body based on context it is used

func (*QueryVaultNotFoundBody) MarshalBinary

func (o *QueryVaultNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryVaultNotFoundBody) UnmarshalBinary

func (o *QueryVaultNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryVaultNotFoundBody) Validate

func (o *QueryVaultNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this query vault not found body

type QueryVaultOK

type QueryVaultOK struct {
	Payload map[string]string
}
QueryVaultOK describes a response with status code 200, with default header values.

Get vault succeed

func NewQueryVaultOK

func NewQueryVaultOK() *QueryVaultOK

NewQueryVaultOK creates a QueryVaultOK with default headers values

func (*QueryVaultOK) Error

func (o *QueryVaultOK) Error() string

func (*QueryVaultOK) GetPayload

func (o *QueryVaultOK) GetPayload() map[string]string

type QueryVaultParams

type QueryVaultParams struct {

	/* Keys.

	   Key filter
	*/
	Keys []string

	/* Name.

	   Vault name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryVaultParams contains all the parameters to send to the API endpoint

for the query vault operation.

Typically these are written to a http.Request.

func NewQueryVaultParams

func NewQueryVaultParams() *QueryVaultParams

NewQueryVaultParams creates a new QueryVaultParams 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 NewQueryVaultParamsWithContext

func NewQueryVaultParamsWithContext(ctx context.Context) *QueryVaultParams

NewQueryVaultParamsWithContext creates a new QueryVaultParams object with the ability to set a context for a request.

func NewQueryVaultParamsWithHTTPClient

func NewQueryVaultParamsWithHTTPClient(client *http.Client) *QueryVaultParams

NewQueryVaultParamsWithHTTPClient creates a new QueryVaultParams object with the ability to set a custom HTTPClient for a request.

func NewQueryVaultParamsWithTimeout

func NewQueryVaultParamsWithTimeout(timeout time.Duration) *QueryVaultParams

NewQueryVaultParamsWithTimeout creates a new QueryVaultParams object with the ability to set a timeout on a request.

func (*QueryVaultParams) SetContext

func (o *QueryVaultParams) SetContext(ctx context.Context)

SetContext adds the context to the query vault params

func (*QueryVaultParams) SetDefaults

func (o *QueryVaultParams) SetDefaults()

SetDefaults hydrates default values in the query vault params (not the query body).

All values with no default are reset to their zero value.

func (*QueryVaultParams) SetHTTPClient

func (o *QueryVaultParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query vault params

func (*QueryVaultParams) SetKeys

func (o *QueryVaultParams) SetKeys(keys []string)

SetKeys adds the keys to the query vault params

func (*QueryVaultParams) SetName

func (o *QueryVaultParams) SetName(name string)

SetName adds the name to the query vault params

func (*QueryVaultParams) SetTimeout

func (o *QueryVaultParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query vault params

func (*QueryVaultParams) WithContext

func (o *QueryVaultParams) WithContext(ctx context.Context) *QueryVaultParams

WithContext adds the context to the query vault params

func (*QueryVaultParams) WithDefaults

func (o *QueryVaultParams) WithDefaults() *QueryVaultParams

WithDefaults hydrates default values in the query vault params (not the query body).

All values with no default are reset to their zero value.

func (*QueryVaultParams) WithHTTPClient

func (o *QueryVaultParams) WithHTTPClient(client *http.Client) *QueryVaultParams

WithHTTPClient adds the HTTPClient to the query vault params

func (*QueryVaultParams) WithKeys

func (o *QueryVaultParams) WithKeys(keys []string) *QueryVaultParams

WithKeys adds the keys to the query vault params

func (*QueryVaultParams) WithName

func (o *QueryVaultParams) WithName(name string) *QueryVaultParams

WithName adds the name to the query vault params

func (*QueryVaultParams) WithTimeout

func (o *QueryVaultParams) WithTimeout(timeout time.Duration) *QueryVaultParams

WithTimeout adds the timeout to the query vault params

func (*QueryVaultParams) WriteToRequest

func (o *QueryVaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryVaultReader

type QueryVaultReader struct {
	// contains filtered or unexported fields
}

QueryVaultReader is a Reader for the QueryVault structure.

func (*QueryVaultReader) ReadResponse

func (o *QueryVaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryVaultUnauthorized

type QueryVaultUnauthorized struct {
	Payload interface{}
}
QueryVaultUnauthorized describes a response with status code 401, with default header values.

QueryVaultUnauthorized query vault unauthorized

func NewQueryVaultUnauthorized

func NewQueryVaultUnauthorized() *QueryVaultUnauthorized

NewQueryVaultUnauthorized creates a QueryVaultUnauthorized with default headers values

func (*QueryVaultUnauthorized) Error

func (o *QueryVaultUnauthorized) Error() string

func (*QueryVaultUnauthorized) GetPayload

func (o *QueryVaultUnauthorized) GetPayload() interface{}

type SecretDecryptBadRequest

type SecretDecryptBadRequest struct {
	Payload *SecretDecryptBadRequestBody
}
SecretDecryptBadRequest describes a response with status code 400, with default header values.

SecretDecryptBadRequest secret decrypt bad request

func NewSecretDecryptBadRequest

func NewSecretDecryptBadRequest() *SecretDecryptBadRequest

NewSecretDecryptBadRequest creates a SecretDecryptBadRequest with default headers values

func (*SecretDecryptBadRequest) Error

func (o *SecretDecryptBadRequest) Error() string

func (*SecretDecryptBadRequest) GetPayload

type SecretDecryptBadRequestBody

type SecretDecryptBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

SecretDecryptBadRequestBody secret decrypt bad request body swagger:model SecretDecryptBadRequestBody

func (*SecretDecryptBadRequestBody) ContextValidate

func (o *SecretDecryptBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret decrypt bad request body based on context it is used

func (*SecretDecryptBadRequestBody) MarshalBinary

func (o *SecretDecryptBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretDecryptBadRequestBody) UnmarshalBinary

func (o *SecretDecryptBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretDecryptBadRequestBody) Validate

func (o *SecretDecryptBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this secret decrypt bad request body

type SecretDecryptForbidden

type SecretDecryptForbidden struct {
	Payload *SecretDecryptForbiddenBody
}
SecretDecryptForbidden describes a response with status code 403, with default header values.

SecretDecryptForbidden secret decrypt forbidden

func NewSecretDecryptForbidden

func NewSecretDecryptForbidden() *SecretDecryptForbidden

NewSecretDecryptForbidden creates a SecretDecryptForbidden with default headers values

func (*SecretDecryptForbidden) Error

func (o *SecretDecryptForbidden) Error() string

func (*SecretDecryptForbidden) GetPayload

type SecretDecryptForbiddenBody

type SecretDecryptForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

SecretDecryptForbiddenBody secret decrypt forbidden body swagger:model SecretDecryptForbiddenBody

func (*SecretDecryptForbiddenBody) ContextValidate

func (o *SecretDecryptForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret decrypt forbidden body based on context it is used

func (*SecretDecryptForbiddenBody) MarshalBinary

func (o *SecretDecryptForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretDecryptForbiddenBody) UnmarshalBinary

func (o *SecretDecryptForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretDecryptForbiddenBody) Validate

func (o *SecretDecryptForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this secret decrypt forbidden body

type SecretDecryptInternalServerError

type SecretDecryptInternalServerError struct {
	Payload interface{}
}
SecretDecryptInternalServerError describes a response with status code 500, with default header values.

SecretDecryptInternalServerError secret decrypt internal server error

func NewSecretDecryptInternalServerError

func NewSecretDecryptInternalServerError() *SecretDecryptInternalServerError

NewSecretDecryptInternalServerError creates a SecretDecryptInternalServerError with default headers values

func (*SecretDecryptInternalServerError) Error

func (*SecretDecryptInternalServerError) GetPayload

func (o *SecretDecryptInternalServerError) GetPayload() interface{}

type SecretDecryptNotFound

type SecretDecryptNotFound struct {
	Payload *SecretDecryptNotFoundBody
}
SecretDecryptNotFound describes a response with status code 404, with default header values.

SecretDecryptNotFound secret decrypt not found

func NewSecretDecryptNotFound

func NewSecretDecryptNotFound() *SecretDecryptNotFound

NewSecretDecryptNotFound creates a SecretDecryptNotFound with default headers values

func (*SecretDecryptNotFound) Error

func (o *SecretDecryptNotFound) Error() string

func (*SecretDecryptNotFound) GetPayload

type SecretDecryptNotFoundBody

type SecretDecryptNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

SecretDecryptNotFoundBody secret decrypt not found body swagger:model SecretDecryptNotFoundBody

func (*SecretDecryptNotFoundBody) ContextValidate

func (o *SecretDecryptNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret decrypt not found body based on context it is used

func (*SecretDecryptNotFoundBody) MarshalBinary

func (o *SecretDecryptNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretDecryptNotFoundBody) UnmarshalBinary

func (o *SecretDecryptNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretDecryptNotFoundBody) Validate

func (o *SecretDecryptNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this secret decrypt not found body

type SecretDecryptOK

type SecretDecryptOK struct {
	Payload *models.KubeSecret
}
SecretDecryptOK describes a response with status code 200, with default header values.

Secret decrypted

func NewSecretDecryptOK

func NewSecretDecryptOK() *SecretDecryptOK

NewSecretDecryptOK creates a SecretDecryptOK with default headers values

func (*SecretDecryptOK) Error

func (o *SecretDecryptOK) Error() string

func (*SecretDecryptOK) GetPayload

func (o *SecretDecryptOK) GetPayload() *models.KubeSecret

type SecretDecryptParams

type SecretDecryptParams struct {

	/* Secret.

	   Secret to decrypt
	*/
	Secret *models.KubeSecret

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SecretDecryptParams contains all the parameters to send to the API endpoint

for the secret decrypt operation.

Typically these are written to a http.Request.

func NewSecretDecryptParams

func NewSecretDecryptParams() *SecretDecryptParams

NewSecretDecryptParams creates a new SecretDecryptParams 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 NewSecretDecryptParamsWithContext

func NewSecretDecryptParamsWithContext(ctx context.Context) *SecretDecryptParams

NewSecretDecryptParamsWithContext creates a new SecretDecryptParams object with the ability to set a context for a request.

func NewSecretDecryptParamsWithHTTPClient

func NewSecretDecryptParamsWithHTTPClient(client *http.Client) *SecretDecryptParams

NewSecretDecryptParamsWithHTTPClient creates a new SecretDecryptParams object with the ability to set a custom HTTPClient for a request.

func NewSecretDecryptParamsWithTimeout

func NewSecretDecryptParamsWithTimeout(timeout time.Duration) *SecretDecryptParams

NewSecretDecryptParamsWithTimeout creates a new SecretDecryptParams object with the ability to set a timeout on a request.

func (*SecretDecryptParams) SetContext

func (o *SecretDecryptParams) SetContext(ctx context.Context)

SetContext adds the context to the secret decrypt params

func (*SecretDecryptParams) SetDefaults

func (o *SecretDecryptParams) SetDefaults()

SetDefaults hydrates default values in the secret decrypt params (not the query body).

All values with no default are reset to their zero value.

func (*SecretDecryptParams) SetHTTPClient

func (o *SecretDecryptParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the secret decrypt params

func (*SecretDecryptParams) SetSecret

func (o *SecretDecryptParams) SetSecret(secret *models.KubeSecret)

SetSecret adds the secret to the secret decrypt params

func (*SecretDecryptParams) SetTimeout

func (o *SecretDecryptParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the secret decrypt params

func (*SecretDecryptParams) WithContext

WithContext adds the context to the secret decrypt params

func (*SecretDecryptParams) WithDefaults

func (o *SecretDecryptParams) WithDefaults() *SecretDecryptParams

WithDefaults hydrates default values in the secret decrypt params (not the query body).

All values with no default are reset to their zero value.

func (*SecretDecryptParams) WithHTTPClient

func (o *SecretDecryptParams) WithHTTPClient(client *http.Client) *SecretDecryptParams

WithHTTPClient adds the HTTPClient to the secret decrypt params

func (*SecretDecryptParams) WithSecret

func (o *SecretDecryptParams) WithSecret(secret *models.KubeSecret) *SecretDecryptParams

WithSecret adds the secret to the secret decrypt params

func (*SecretDecryptParams) WithTimeout

func (o *SecretDecryptParams) WithTimeout(timeout time.Duration) *SecretDecryptParams

WithTimeout adds the timeout to the secret decrypt params

func (*SecretDecryptParams) WriteToRequest

func (o *SecretDecryptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SecretDecryptReader

type SecretDecryptReader struct {
	// contains filtered or unexported fields
}

SecretDecryptReader is a Reader for the SecretDecrypt structure.

func (*SecretDecryptReader) ReadResponse

func (o *SecretDecryptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SecretDecryptUnauthorized

type SecretDecryptUnauthorized struct {
	Payload interface{}
}
SecretDecryptUnauthorized describes a response with status code 401, with default header values.

SecretDecryptUnauthorized secret decrypt unauthorized

func NewSecretDecryptUnauthorized

func NewSecretDecryptUnauthorized() *SecretDecryptUnauthorized

NewSecretDecryptUnauthorized creates a SecretDecryptUnauthorized with default headers values

func (*SecretDecryptUnauthorized) Error

func (o *SecretDecryptUnauthorized) Error() string

func (*SecretDecryptUnauthorized) GetPayload

func (o *SecretDecryptUnauthorized) GetPayload() interface{}

type SecretEncryptBadRequest

type SecretEncryptBadRequest struct {
	Payload *SecretEncryptBadRequestBody
}
SecretEncryptBadRequest describes a response with status code 400, with default header values.

SecretEncryptBadRequest secret encrypt bad request

func NewSecretEncryptBadRequest

func NewSecretEncryptBadRequest() *SecretEncryptBadRequest

NewSecretEncryptBadRequest creates a SecretEncryptBadRequest with default headers values

func (*SecretEncryptBadRequest) Error

func (o *SecretEncryptBadRequest) Error() string

func (*SecretEncryptBadRequest) GetPayload

type SecretEncryptBadRequestBody

type SecretEncryptBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

SecretEncryptBadRequestBody secret encrypt bad request body swagger:model SecretEncryptBadRequestBody

func (*SecretEncryptBadRequestBody) ContextValidate

func (o *SecretEncryptBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret encrypt bad request body based on context it is used

func (*SecretEncryptBadRequestBody) MarshalBinary

func (o *SecretEncryptBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretEncryptBadRequestBody) UnmarshalBinary

func (o *SecretEncryptBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretEncryptBadRequestBody) Validate

func (o *SecretEncryptBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this secret encrypt bad request body

type SecretEncryptForbidden

type SecretEncryptForbidden struct {
	Payload *SecretEncryptForbiddenBody
}
SecretEncryptForbidden describes a response with status code 403, with default header values.

SecretEncryptForbidden secret encrypt forbidden

func NewSecretEncryptForbidden

func NewSecretEncryptForbidden() *SecretEncryptForbidden

NewSecretEncryptForbidden creates a SecretEncryptForbidden with default headers values

func (*SecretEncryptForbidden) Error

func (o *SecretEncryptForbidden) Error() string

func (*SecretEncryptForbidden) GetPayload

type SecretEncryptForbiddenBody

type SecretEncryptForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

SecretEncryptForbiddenBody secret encrypt forbidden body swagger:model SecretEncryptForbiddenBody

func (*SecretEncryptForbiddenBody) ContextValidate

func (o *SecretEncryptForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret encrypt forbidden body based on context it is used

func (*SecretEncryptForbiddenBody) MarshalBinary

func (o *SecretEncryptForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretEncryptForbiddenBody) UnmarshalBinary

func (o *SecretEncryptForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretEncryptForbiddenBody) Validate

func (o *SecretEncryptForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this secret encrypt forbidden body

type SecretEncryptInternalServerError

type SecretEncryptInternalServerError struct {
	Payload interface{}
}
SecretEncryptInternalServerError describes a response with status code 500, with default header values.

SecretEncryptInternalServerError secret encrypt internal server error

func NewSecretEncryptInternalServerError

func NewSecretEncryptInternalServerError() *SecretEncryptInternalServerError

NewSecretEncryptInternalServerError creates a SecretEncryptInternalServerError with default headers values

func (*SecretEncryptInternalServerError) Error

func (*SecretEncryptInternalServerError) GetPayload

func (o *SecretEncryptInternalServerError) GetPayload() interface{}

type SecretEncryptNotFound

type SecretEncryptNotFound struct {
	Payload *SecretEncryptNotFoundBody
}
SecretEncryptNotFound describes a response with status code 404, with default header values.

SecretEncryptNotFound secret encrypt not found

func NewSecretEncryptNotFound

func NewSecretEncryptNotFound() *SecretEncryptNotFound

NewSecretEncryptNotFound creates a SecretEncryptNotFound with default headers values

func (*SecretEncryptNotFound) Error

func (o *SecretEncryptNotFound) Error() string

func (*SecretEncryptNotFound) GetPayload

type SecretEncryptNotFoundBody

type SecretEncryptNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

SecretEncryptNotFoundBody secret encrypt not found body swagger:model SecretEncryptNotFoundBody

func (*SecretEncryptNotFoundBody) ContextValidate

func (o *SecretEncryptNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret encrypt not found body based on context it is used

func (*SecretEncryptNotFoundBody) MarshalBinary

func (o *SecretEncryptNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretEncryptNotFoundBody) UnmarshalBinary

func (o *SecretEncryptNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretEncryptNotFoundBody) Validate

func (o *SecretEncryptNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this secret encrypt not found body

type SecretEncryptOK

type SecretEncryptOK struct {
	Payload *models.KubeSecret
}
SecretEncryptOK describes a response with status code 200, with default header values.

Secret encrypted

func NewSecretEncryptOK

func NewSecretEncryptOK() *SecretEncryptOK

NewSecretEncryptOK creates a SecretEncryptOK with default headers values

func (*SecretEncryptOK) Error

func (o *SecretEncryptOK) Error() string

func (*SecretEncryptOK) GetPayload

func (o *SecretEncryptOK) GetPayload() *models.KubeSecret

type SecretEncryptParams

type SecretEncryptParams struct {

	/* Secret.

	   Secret to encrypt
	*/
	Secret *models.KubeSecret

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SecretEncryptParams contains all the parameters to send to the API endpoint

for the secret encrypt operation.

Typically these are written to a http.Request.

func NewSecretEncryptParams

func NewSecretEncryptParams() *SecretEncryptParams

NewSecretEncryptParams creates a new SecretEncryptParams 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 NewSecretEncryptParamsWithContext

func NewSecretEncryptParamsWithContext(ctx context.Context) *SecretEncryptParams

NewSecretEncryptParamsWithContext creates a new SecretEncryptParams object with the ability to set a context for a request.

func NewSecretEncryptParamsWithHTTPClient

func NewSecretEncryptParamsWithHTTPClient(client *http.Client) *SecretEncryptParams

NewSecretEncryptParamsWithHTTPClient creates a new SecretEncryptParams object with the ability to set a custom HTTPClient for a request.

func NewSecretEncryptParamsWithTimeout

func NewSecretEncryptParamsWithTimeout(timeout time.Duration) *SecretEncryptParams

NewSecretEncryptParamsWithTimeout creates a new SecretEncryptParams object with the ability to set a timeout on a request.

func (*SecretEncryptParams) SetContext

func (o *SecretEncryptParams) SetContext(ctx context.Context)

SetContext adds the context to the secret encrypt params

func (*SecretEncryptParams) SetDefaults

func (o *SecretEncryptParams) SetDefaults()

SetDefaults hydrates default values in the secret encrypt params (not the query body).

All values with no default are reset to their zero value.

func (*SecretEncryptParams) SetHTTPClient

func (o *SecretEncryptParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the secret encrypt params

func (*SecretEncryptParams) SetSecret

func (o *SecretEncryptParams) SetSecret(secret *models.KubeSecret)

SetSecret adds the secret to the secret encrypt params

func (*SecretEncryptParams) SetTimeout

func (o *SecretEncryptParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the secret encrypt params

func (*SecretEncryptParams) WithContext

WithContext adds the context to the secret encrypt params

func (*SecretEncryptParams) WithDefaults

func (o *SecretEncryptParams) WithDefaults() *SecretEncryptParams

WithDefaults hydrates default values in the secret encrypt params (not the query body).

All values with no default are reset to their zero value.

func (*SecretEncryptParams) WithHTTPClient

func (o *SecretEncryptParams) WithHTTPClient(client *http.Client) *SecretEncryptParams

WithHTTPClient adds the HTTPClient to the secret encrypt params

func (*SecretEncryptParams) WithSecret

func (o *SecretEncryptParams) WithSecret(secret *models.KubeSecret) *SecretEncryptParams

WithSecret adds the secret to the secret encrypt params

func (*SecretEncryptParams) WithTimeout

func (o *SecretEncryptParams) WithTimeout(timeout time.Duration) *SecretEncryptParams

WithTimeout adds the timeout to the secret encrypt params

func (*SecretEncryptParams) WriteToRequest

func (o *SecretEncryptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SecretEncryptReader

type SecretEncryptReader struct {
	// contains filtered or unexported fields
}

SecretEncryptReader is a Reader for the SecretEncrypt structure.

func (*SecretEncryptReader) ReadResponse

func (o *SecretEncryptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SecretEncryptUnauthorized

type SecretEncryptUnauthorized struct {
	Payload interface{}
}
SecretEncryptUnauthorized describes a response with status code 401, with default header values.

SecretEncryptUnauthorized secret encrypt unauthorized

func NewSecretEncryptUnauthorized

func NewSecretEncryptUnauthorized() *SecretEncryptUnauthorized

NewSecretEncryptUnauthorized creates a SecretEncryptUnauthorized with default headers values

func (*SecretEncryptUnauthorized) Error

func (o *SecretEncryptUnauthorized) Error() string

func (*SecretEncryptUnauthorized) GetPayload

func (o *SecretEncryptUnauthorized) GetPayload() interface{}

type UpdateVaultBadRequest

type UpdateVaultBadRequest struct {
	Payload *UpdateVaultBadRequestBody
}
UpdateVaultBadRequest describes a response with status code 400, with default header values.

UpdateVaultBadRequest update vault bad request

func NewUpdateVaultBadRequest

func NewUpdateVaultBadRequest() *UpdateVaultBadRequest

NewUpdateVaultBadRequest creates a UpdateVaultBadRequest with default headers values

func (*UpdateVaultBadRequest) Error

func (o *UpdateVaultBadRequest) Error() string

func (*UpdateVaultBadRequest) GetPayload

type UpdateVaultBadRequestBody

type UpdateVaultBadRequestBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

UpdateVaultBadRequestBody update vault bad request body swagger:model UpdateVaultBadRequestBody

func (*UpdateVaultBadRequestBody) ContextValidate

func (o *UpdateVaultBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update vault bad request body based on context it is used

func (*UpdateVaultBadRequestBody) MarshalBinary

func (o *UpdateVaultBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVaultBadRequestBody) UnmarshalBinary

func (o *UpdateVaultBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVaultBadRequestBody) Validate

func (o *UpdateVaultBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this update vault bad request body

type UpdateVaultForbidden

type UpdateVaultForbidden struct {
	Payload *UpdateVaultForbiddenBody
}
UpdateVaultForbidden describes a response with status code 403, with default header values.

UpdateVaultForbidden update vault forbidden

func NewUpdateVaultForbidden

func NewUpdateVaultForbidden() *UpdateVaultForbidden

NewUpdateVaultForbidden creates a UpdateVaultForbidden with default headers values

func (*UpdateVaultForbidden) Error

func (o *UpdateVaultForbidden) Error() string

func (*UpdateVaultForbidden) GetPayload

type UpdateVaultForbiddenBody

type UpdateVaultForbiddenBody struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

UpdateVaultForbiddenBody update vault forbidden body swagger:model UpdateVaultForbiddenBody

func (*UpdateVaultForbiddenBody) ContextValidate

func (o *UpdateVaultForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update vault forbidden body based on context it is used

func (*UpdateVaultForbiddenBody) MarshalBinary

func (o *UpdateVaultForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVaultForbiddenBody) UnmarshalBinary

func (o *UpdateVaultForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVaultForbiddenBody) Validate

func (o *UpdateVaultForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this update vault forbidden body

type UpdateVaultInternalServerError

type UpdateVaultInternalServerError struct {
	Payload interface{}
}
UpdateVaultInternalServerError describes a response with status code 500, with default header values.

UpdateVaultInternalServerError update vault internal server error

func NewUpdateVaultInternalServerError

func NewUpdateVaultInternalServerError() *UpdateVaultInternalServerError

NewUpdateVaultInternalServerError creates a UpdateVaultInternalServerError with default headers values

func (*UpdateVaultInternalServerError) Error

func (*UpdateVaultInternalServerError) GetPayload

func (o *UpdateVaultInternalServerError) GetPayload() interface{}

type UpdateVaultNotFound

type UpdateVaultNotFound struct {
	Payload *UpdateVaultNotFoundBody
}
UpdateVaultNotFound describes a response with status code 404, with default header values.

UpdateVaultNotFound update vault not found

func NewUpdateVaultNotFound

func NewUpdateVaultNotFound() *UpdateVaultNotFound

NewUpdateVaultNotFound creates a UpdateVaultNotFound with default headers values

func (*UpdateVaultNotFound) Error

func (o *UpdateVaultNotFound) Error() string

func (*UpdateVaultNotFound) GetPayload

type UpdateVaultNotFoundBody

type UpdateVaultNotFoundBody struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// status
	// Required: true
	Status *string `json:"status"`
}

UpdateVaultNotFoundBody update vault not found body swagger:model UpdateVaultNotFoundBody

func (*UpdateVaultNotFoundBody) ContextValidate

func (o *UpdateVaultNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update vault not found body based on context it is used

func (*UpdateVaultNotFoundBody) MarshalBinary

func (o *UpdateVaultNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVaultNotFoundBody) UnmarshalBinary

func (o *UpdateVaultNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVaultNotFoundBody) Validate

func (o *UpdateVaultNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this update vault not found body

type UpdateVaultOK

type UpdateVaultOK struct {
	Payload string
}
UpdateVaultOK describes a response with status code 200, with default header values.

Update vault succeeded

func NewUpdateVaultOK

func NewUpdateVaultOK() *UpdateVaultOK

NewUpdateVaultOK creates a UpdateVaultOK with default headers values

func (*UpdateVaultOK) Error

func (o *UpdateVaultOK) Error() string

func (*UpdateVaultOK) GetPayload

func (o *UpdateVaultOK) GetPayload() string

type UpdateVaultParams

type UpdateVaultParams struct {

	/* Data.

	   Vault data
	*/
	Data map[string]string

	/* Name.

	   Vault name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVaultParams contains all the parameters to send to the API endpoint

for the update vault operation.

Typically these are written to a http.Request.

func NewUpdateVaultParams

func NewUpdateVaultParams() *UpdateVaultParams

NewUpdateVaultParams creates a new UpdateVaultParams 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 NewUpdateVaultParamsWithContext

func NewUpdateVaultParamsWithContext(ctx context.Context) *UpdateVaultParams

NewUpdateVaultParamsWithContext creates a new UpdateVaultParams object with the ability to set a context for a request.

func NewUpdateVaultParamsWithHTTPClient

func NewUpdateVaultParamsWithHTTPClient(client *http.Client) *UpdateVaultParams

NewUpdateVaultParamsWithHTTPClient creates a new UpdateVaultParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVaultParamsWithTimeout

func NewUpdateVaultParamsWithTimeout(timeout time.Duration) *UpdateVaultParams

NewUpdateVaultParamsWithTimeout creates a new UpdateVaultParams object with the ability to set a timeout on a request.

func (*UpdateVaultParams) SetContext

func (o *UpdateVaultParams) SetContext(ctx context.Context)

SetContext adds the context to the update vault params

func (*UpdateVaultParams) SetData

func (o *UpdateVaultParams) SetData(data map[string]string)

SetData adds the data to the update vault params

func (*UpdateVaultParams) SetDefaults

func (o *UpdateVaultParams) SetDefaults()

SetDefaults hydrates default values in the update vault params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVaultParams) SetHTTPClient

func (o *UpdateVaultParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update vault params

func (*UpdateVaultParams) SetName

func (o *UpdateVaultParams) SetName(name string)

SetName adds the name to the update vault params

func (*UpdateVaultParams) SetTimeout

func (o *UpdateVaultParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update vault params

func (*UpdateVaultParams) WithContext

func (o *UpdateVaultParams) WithContext(ctx context.Context) *UpdateVaultParams

WithContext adds the context to the update vault params

func (*UpdateVaultParams) WithData

func (o *UpdateVaultParams) WithData(data map[string]string) *UpdateVaultParams

WithData adds the data to the update vault params

func (*UpdateVaultParams) WithDefaults

func (o *UpdateVaultParams) WithDefaults() *UpdateVaultParams

WithDefaults hydrates default values in the update vault params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVaultParams) WithHTTPClient

func (o *UpdateVaultParams) WithHTTPClient(client *http.Client) *UpdateVaultParams

WithHTTPClient adds the HTTPClient to the update vault params

func (*UpdateVaultParams) WithName

func (o *UpdateVaultParams) WithName(name string) *UpdateVaultParams

WithName adds the name to the update vault params

func (*UpdateVaultParams) WithTimeout

func (o *UpdateVaultParams) WithTimeout(timeout time.Duration) *UpdateVaultParams

WithTimeout adds the timeout to the update vault params

func (*UpdateVaultParams) WriteToRequest

func (o *UpdateVaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVaultReader

type UpdateVaultReader struct {
	// contains filtered or unexported fields
}

UpdateVaultReader is a Reader for the UpdateVault structure.

func (*UpdateVaultReader) ReadResponse

func (o *UpdateVaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVaultUnauthorized

type UpdateVaultUnauthorized struct {
	Payload interface{}
}
UpdateVaultUnauthorized describes a response with status code 401, with default header values.

UpdateVaultUnauthorized update vault unauthorized

func NewUpdateVaultUnauthorized

func NewUpdateVaultUnauthorized() *UpdateVaultUnauthorized

NewUpdateVaultUnauthorized creates a UpdateVaultUnauthorized with default headers values

func (*UpdateVaultUnauthorized) Error

func (o *UpdateVaultUnauthorized) Error() string

func (*UpdateVaultUnauthorized) GetPayload

func (o *UpdateVaultUnauthorized) GetPayload() interface{}

Jump to

Keyboard shortcuts

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