secrets

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 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 secrets API

func (*Client) CreateSecret

func (a *Client) CreateSecret(params *CreateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecretCreated, error)

CreateSecret creates secret

Creates a new secret.

func (*Client) DeleteSecret

DeleteSecret deletes secret

Deletes a secret by path or by id in the query.

func (*Client) GetSecret

func (a *Client) GetSecret(params *GetSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretOK, error)

GetSecret gets secret

Gets a full secret by path or by id in the query.

func (*Client) GetSecretByVersion

func (a *Client) GetSecretByVersion(params *GetSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretByVersionOK, error)

GetSecretByVersion gets secret by version

Gets a full secret by path and version in the query.

func (*Client) GetSecretDescription

func (a *Client) GetSecretDescription(params *GetSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretDescriptionOK, error)

GetSecretDescription gets secret description

Gets a secret's metadata without returning the sensitive data.

func (*Client) ListSecretPaths

func (a *Client) ListSecretPaths(params *ListSecretPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSecretPathsOK, error)

ListSecretPaths lists secret paths

Lists secret paths that start with the path parameter.

func (*Client) RollbackSecret

func (a *Client) RollbackSecret(params *RollbackSecretParams, opts ...ClientOption) (*RollbackSecretOK, error)

RollbackSecret rollbacks a secret

Rollbacks a Secret to a previous version.

func (*Client) SearchSecrets

func (a *Client) SearchSecrets(params *SearchSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSecretsOK, error)

SearchSecrets searches for secrets

Lists secret paths that start with the path parameter.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSecret

func (a *Client) UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecretOK, error)

UpdateSecret updates secret

Updates an existing secret.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSecret(params *CreateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecretCreated, error)

	DeleteSecret(params *DeleteSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSecretOK, *DeleteSecretNoContent, error)

	GetSecret(params *GetSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretOK, error)

	GetSecretByVersion(params *GetSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretByVersionOK, error)

	GetSecretDescription(params *GetSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretDescriptionOK, error)

	ListSecretPaths(params *ListSecretPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSecretPathsOK, error)

	RollbackSecret(params *RollbackSecretParams, opts ...ClientOption) (*RollbackSecretOK, error)

	SearchSecrets(params *SearchSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSecretsOK, error)

	UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecretOK, 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 secrets API client.

type CreateSecretBadRequest

type CreateSecretBadRequest struct {
	Payload *models.HTTPError
}
CreateSecretBadRequest describes a response with status code 400, with default header values.

bad request

func NewCreateSecretBadRequest

func NewCreateSecretBadRequest() *CreateSecretBadRequest

NewCreateSecretBadRequest creates a CreateSecretBadRequest with default headers values

func (*CreateSecretBadRequest) Error

func (o *CreateSecretBadRequest) Error() string

func (*CreateSecretBadRequest) GetPayload

func (o *CreateSecretBadRequest) GetPayload() *models.HTTPError

func (*CreateSecretBadRequest) IsClientError

func (o *CreateSecretBadRequest) IsClientError() bool

IsClientError returns true when this create secret bad request response has a 4xx status code

func (*CreateSecretBadRequest) IsCode

func (o *CreateSecretBadRequest) IsCode(code int) bool

IsCode returns true when this create secret bad request response a status code equal to that given

func (*CreateSecretBadRequest) IsRedirect

func (o *CreateSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this create secret bad request response has a 3xx status code

func (*CreateSecretBadRequest) IsServerError

func (o *CreateSecretBadRequest) IsServerError() bool

IsServerError returns true when this create secret bad request response has a 5xx status code

func (*CreateSecretBadRequest) IsSuccess

func (o *CreateSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this create secret bad request response has a 2xx status code

func (*CreateSecretBadRequest) String

func (o *CreateSecretBadRequest) String() string

type CreateSecretCreated

type CreateSecretCreated struct {
	Payload *models.ResponseModelFull
}
CreateSecretCreated describes a response with status code 201, with default header values.

no error

func NewCreateSecretCreated

func NewCreateSecretCreated() *CreateSecretCreated

NewCreateSecretCreated creates a CreateSecretCreated with default headers values

func (*CreateSecretCreated) Error

func (o *CreateSecretCreated) Error() string

func (*CreateSecretCreated) GetPayload

func (o *CreateSecretCreated) GetPayload() *models.ResponseModelFull

func (*CreateSecretCreated) IsClientError

func (o *CreateSecretCreated) IsClientError() bool

IsClientError returns true when this create secret created response has a 4xx status code

func (*CreateSecretCreated) IsCode

func (o *CreateSecretCreated) IsCode(code int) bool

IsCode returns true when this create secret created response a status code equal to that given

func (*CreateSecretCreated) IsRedirect

func (o *CreateSecretCreated) IsRedirect() bool

IsRedirect returns true when this create secret created response has a 3xx status code

func (*CreateSecretCreated) IsServerError

func (o *CreateSecretCreated) IsServerError() bool

IsServerError returns true when this create secret created response has a 5xx status code

func (*CreateSecretCreated) IsSuccess

func (o *CreateSecretCreated) IsSuccess() bool

IsSuccess returns true when this create secret created response has a 2xx status code

func (*CreateSecretCreated) String

func (o *CreateSecretCreated) String() string

type CreateSecretForbidden

type CreateSecretForbidden struct {
	Payload *models.HTTPError
}
CreateSecretForbidden describes a response with status code 403, with default header values.

forbidden

func NewCreateSecretForbidden

func NewCreateSecretForbidden() *CreateSecretForbidden

NewCreateSecretForbidden creates a CreateSecretForbidden with default headers values

func (*CreateSecretForbidden) Error

func (o *CreateSecretForbidden) Error() string

func (*CreateSecretForbidden) GetPayload

func (o *CreateSecretForbidden) GetPayload() *models.HTTPError

func (*CreateSecretForbidden) IsClientError

func (o *CreateSecretForbidden) IsClientError() bool

IsClientError returns true when this create secret forbidden response has a 4xx status code

func (*CreateSecretForbidden) IsCode

func (o *CreateSecretForbidden) IsCode(code int) bool

IsCode returns true when this create secret forbidden response a status code equal to that given

func (*CreateSecretForbidden) IsRedirect

func (o *CreateSecretForbidden) IsRedirect() bool

IsRedirect returns true when this create secret forbidden response has a 3xx status code

func (*CreateSecretForbidden) IsServerError

func (o *CreateSecretForbidden) IsServerError() bool

IsServerError returns true when this create secret forbidden response has a 5xx status code

func (*CreateSecretForbidden) IsSuccess

func (o *CreateSecretForbidden) IsSuccess() bool

IsSuccess returns true when this create secret forbidden response has a 2xx status code

func (*CreateSecretForbidden) String

func (o *CreateSecretForbidden) String() string

type CreateSecretInternalServerError

type CreateSecretInternalServerError struct {
	Payload *models.HTTPError
}
CreateSecretInternalServerError describes a response with status code 500, with default header values.

server error

func NewCreateSecretInternalServerError

func NewCreateSecretInternalServerError() *CreateSecretInternalServerError

NewCreateSecretInternalServerError creates a CreateSecretInternalServerError with default headers values

func (*CreateSecretInternalServerError) Error

func (*CreateSecretInternalServerError) GetPayload

func (*CreateSecretInternalServerError) IsClientError

func (o *CreateSecretInternalServerError) IsClientError() bool

IsClientError returns true when this create secret internal server error response has a 4xx status code

func (*CreateSecretInternalServerError) IsCode

func (o *CreateSecretInternalServerError) IsCode(code int) bool

IsCode returns true when this create secret internal server error response a status code equal to that given

func (*CreateSecretInternalServerError) IsRedirect

func (o *CreateSecretInternalServerError) IsRedirect() bool

IsRedirect returns true when this create secret internal server error response has a 3xx status code

func (*CreateSecretInternalServerError) IsServerError

func (o *CreateSecretInternalServerError) IsServerError() bool

IsServerError returns true when this create secret internal server error response has a 5xx status code

func (*CreateSecretInternalServerError) IsSuccess

func (o *CreateSecretInternalServerError) IsSuccess() bool

IsSuccess returns true when this create secret internal server error response has a 2xx status code

func (*CreateSecretInternalServerError) String

type CreateSecretParams

type CreateSecretParams struct {

	// Body.
	Body *models.RequestModelCreate

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

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

CreateSecretParams contains all the parameters to send to the API endpoint

for the create secret operation.

Typically these are written to a http.Request.

func NewCreateSecretParams

func NewCreateSecretParams() *CreateSecretParams

NewCreateSecretParams creates a new CreateSecretParams 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 NewCreateSecretParamsWithContext

func NewCreateSecretParamsWithContext(ctx context.Context) *CreateSecretParams

NewCreateSecretParamsWithContext creates a new CreateSecretParams object with the ability to set a context for a request.

func NewCreateSecretParamsWithHTTPClient

func NewCreateSecretParamsWithHTTPClient(client *http.Client) *CreateSecretParams

NewCreateSecretParamsWithHTTPClient creates a new CreateSecretParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSecretParamsWithTimeout

func NewCreateSecretParamsWithTimeout(timeout time.Duration) *CreateSecretParams

NewCreateSecretParamsWithTimeout creates a new CreateSecretParams object with the ability to set a timeout on a request.

func (*CreateSecretParams) SetBody

func (o *CreateSecretParams) SetBody(body *models.RequestModelCreate)

SetBody adds the body to the create secret params

func (*CreateSecretParams) SetContext

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

SetContext adds the context to the create secret params

func (*CreateSecretParams) SetDefaults

func (o *CreateSecretParams) SetDefaults()

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

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

func (*CreateSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create secret params

func (*CreateSecretParams) SetPath

func (o *CreateSecretParams) SetPath(path string)

SetPath adds the path to the create secret params

func (*CreateSecretParams) SetTimeout

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

SetTimeout adds the timeout to the create secret params

func (*CreateSecretParams) WithBody

WithBody adds the body to the create secret params

func (*CreateSecretParams) WithContext

WithContext adds the context to the create secret params

func (*CreateSecretParams) WithDefaults

func (o *CreateSecretParams) WithDefaults() *CreateSecretParams

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

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

func (*CreateSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create secret params

func (*CreateSecretParams) WithPath

func (o *CreateSecretParams) WithPath(path string) *CreateSecretParams

WithPath adds the path to the create secret params

func (*CreateSecretParams) WithTimeout

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

WithTimeout adds the timeout to the create secret params

func (*CreateSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSecretReader

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

CreateSecretReader is a Reader for the CreateSecret structure.

func (*CreateSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSecretUnauthorized

type CreateSecretUnauthorized struct {
	Payload *models.HTTPError
}
CreateSecretUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewCreateSecretUnauthorized

func NewCreateSecretUnauthorized() *CreateSecretUnauthorized

NewCreateSecretUnauthorized creates a CreateSecretUnauthorized with default headers values

func (*CreateSecretUnauthorized) Error

func (o *CreateSecretUnauthorized) Error() string

func (*CreateSecretUnauthorized) GetPayload

func (o *CreateSecretUnauthorized) GetPayload() *models.HTTPError

func (*CreateSecretUnauthorized) IsClientError

func (o *CreateSecretUnauthorized) IsClientError() bool

IsClientError returns true when this create secret unauthorized response has a 4xx status code

func (*CreateSecretUnauthorized) IsCode

func (o *CreateSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this create secret unauthorized response a status code equal to that given

func (*CreateSecretUnauthorized) IsRedirect

func (o *CreateSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this create secret unauthorized response has a 3xx status code

func (*CreateSecretUnauthorized) IsServerError

func (o *CreateSecretUnauthorized) IsServerError() bool

IsServerError returns true when this create secret unauthorized response has a 5xx status code

func (*CreateSecretUnauthorized) IsSuccess

func (o *CreateSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this create secret unauthorized response has a 2xx status code

func (*CreateSecretUnauthorized) String

func (o *CreateSecretUnauthorized) String() string

type DeleteSecretBadRequest

type DeleteSecretBadRequest struct {
	Payload *models.HTTPError
}
DeleteSecretBadRequest describes a response with status code 400, with default header values.

bad request

func NewDeleteSecretBadRequest

func NewDeleteSecretBadRequest() *DeleteSecretBadRequest

NewDeleteSecretBadRequest creates a DeleteSecretBadRequest with default headers values

func (*DeleteSecretBadRequest) Error

func (o *DeleteSecretBadRequest) Error() string

func (*DeleteSecretBadRequest) GetPayload

func (o *DeleteSecretBadRequest) GetPayload() *models.HTTPError

func (*DeleteSecretBadRequest) IsClientError

func (o *DeleteSecretBadRequest) IsClientError() bool

IsClientError returns true when this delete secret bad request response has a 4xx status code

func (*DeleteSecretBadRequest) IsCode

func (o *DeleteSecretBadRequest) IsCode(code int) bool

IsCode returns true when this delete secret bad request response a status code equal to that given

func (*DeleteSecretBadRequest) IsRedirect

func (o *DeleteSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this delete secret bad request response has a 3xx status code

func (*DeleteSecretBadRequest) IsServerError

func (o *DeleteSecretBadRequest) IsServerError() bool

IsServerError returns true when this delete secret bad request response has a 5xx status code

func (*DeleteSecretBadRequest) IsSuccess

func (o *DeleteSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this delete secret bad request response has a 2xx status code

func (*DeleteSecretBadRequest) String

func (o *DeleteSecretBadRequest) String() string

type DeleteSecretForbidden

type DeleteSecretForbidden struct {
	Payload *models.HTTPError
}
DeleteSecretForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeleteSecretForbidden

func NewDeleteSecretForbidden() *DeleteSecretForbidden

NewDeleteSecretForbidden creates a DeleteSecretForbidden with default headers values

func (*DeleteSecretForbidden) Error

func (o *DeleteSecretForbidden) Error() string

func (*DeleteSecretForbidden) GetPayload

func (o *DeleteSecretForbidden) GetPayload() *models.HTTPError

func (*DeleteSecretForbidden) IsClientError

func (o *DeleteSecretForbidden) IsClientError() bool

IsClientError returns true when this delete secret forbidden response has a 4xx status code

func (*DeleteSecretForbidden) IsCode

func (o *DeleteSecretForbidden) IsCode(code int) bool

IsCode returns true when this delete secret forbidden response a status code equal to that given

func (*DeleteSecretForbidden) IsRedirect

func (o *DeleteSecretForbidden) IsRedirect() bool

IsRedirect returns true when this delete secret forbidden response has a 3xx status code

func (*DeleteSecretForbidden) IsServerError

func (o *DeleteSecretForbidden) IsServerError() bool

IsServerError returns true when this delete secret forbidden response has a 5xx status code

func (*DeleteSecretForbidden) IsSuccess

func (o *DeleteSecretForbidden) IsSuccess() bool

IsSuccess returns true when this delete secret forbidden response has a 2xx status code

func (*DeleteSecretForbidden) String

func (o *DeleteSecretForbidden) String() string

type DeleteSecretInternalServerError

type DeleteSecretInternalServerError struct {
	Payload *models.HTTPError
}
DeleteSecretInternalServerError describes a response with status code 500, with default header values.

server error

func NewDeleteSecretInternalServerError

func NewDeleteSecretInternalServerError() *DeleteSecretInternalServerError

NewDeleteSecretInternalServerError creates a DeleteSecretInternalServerError with default headers values

func (*DeleteSecretInternalServerError) Error

func (*DeleteSecretInternalServerError) GetPayload

func (*DeleteSecretInternalServerError) IsClientError

func (o *DeleteSecretInternalServerError) IsClientError() bool

IsClientError returns true when this delete secret internal server error response has a 4xx status code

func (*DeleteSecretInternalServerError) IsCode

func (o *DeleteSecretInternalServerError) IsCode(code int) bool

IsCode returns true when this delete secret internal server error response a status code equal to that given

func (*DeleteSecretInternalServerError) IsRedirect

func (o *DeleteSecretInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete secret internal server error response has a 3xx status code

func (*DeleteSecretInternalServerError) IsServerError

func (o *DeleteSecretInternalServerError) IsServerError() bool

IsServerError returns true when this delete secret internal server error response has a 5xx status code

func (*DeleteSecretInternalServerError) IsSuccess

func (o *DeleteSecretInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete secret internal server error response has a 2xx status code

func (*DeleteSecretInternalServerError) String

type DeleteSecretNoContent

type DeleteSecretNoContent struct {
}
DeleteSecretNoContent describes a response with status code 204, with default header values.

no error

func NewDeleteSecretNoContent

func NewDeleteSecretNoContent() *DeleteSecretNoContent

NewDeleteSecretNoContent creates a DeleteSecretNoContent with default headers values

func (*DeleteSecretNoContent) Error

func (o *DeleteSecretNoContent) Error() string

func (*DeleteSecretNoContent) IsClientError

func (o *DeleteSecretNoContent) IsClientError() bool

IsClientError returns true when this delete secret no content response has a 4xx status code

func (*DeleteSecretNoContent) IsCode

func (o *DeleteSecretNoContent) IsCode(code int) bool

IsCode returns true when this delete secret no content response a status code equal to that given

func (*DeleteSecretNoContent) IsRedirect

func (o *DeleteSecretNoContent) IsRedirect() bool

IsRedirect returns true when this delete secret no content response has a 3xx status code

func (*DeleteSecretNoContent) IsServerError

func (o *DeleteSecretNoContent) IsServerError() bool

IsServerError returns true when this delete secret no content response has a 5xx status code

func (*DeleteSecretNoContent) IsSuccess

func (o *DeleteSecretNoContent) IsSuccess() bool

IsSuccess returns true when this delete secret no content response has a 2xx status code

func (*DeleteSecretNoContent) String

func (o *DeleteSecretNoContent) String() string

type DeleteSecretNotFound

type DeleteSecretNotFound struct {
	Payload *models.HTTPError
}
DeleteSecretNotFound describes a response with status code 404, with default header values.

not found

func NewDeleteSecretNotFound

func NewDeleteSecretNotFound() *DeleteSecretNotFound

NewDeleteSecretNotFound creates a DeleteSecretNotFound with default headers values

func (*DeleteSecretNotFound) Error

func (o *DeleteSecretNotFound) Error() string

func (*DeleteSecretNotFound) GetPayload

func (o *DeleteSecretNotFound) GetPayload() *models.HTTPError

func (*DeleteSecretNotFound) IsClientError

func (o *DeleteSecretNotFound) IsClientError() bool

IsClientError returns true when this delete secret not found response has a 4xx status code

func (*DeleteSecretNotFound) IsCode

func (o *DeleteSecretNotFound) IsCode(code int) bool

IsCode returns true when this delete secret not found response a status code equal to that given

func (*DeleteSecretNotFound) IsRedirect

func (o *DeleteSecretNotFound) IsRedirect() bool

IsRedirect returns true when this delete secret not found response has a 3xx status code

func (*DeleteSecretNotFound) IsServerError

func (o *DeleteSecretNotFound) IsServerError() bool

IsServerError returns true when this delete secret not found response has a 5xx status code

func (*DeleteSecretNotFound) IsSuccess

func (o *DeleteSecretNotFound) IsSuccess() bool

IsSuccess returns true when this delete secret not found response has a 2xx status code

func (*DeleteSecretNotFound) String

func (o *DeleteSecretNotFound) String() string

type DeleteSecretOK

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

no error

func NewDeleteSecretOK

func NewDeleteSecretOK() *DeleteSecretOK

NewDeleteSecretOK creates a DeleteSecretOK with default headers values

func (*DeleteSecretOK) Error

func (o *DeleteSecretOK) Error() string

func (*DeleteSecretOK) GetPayload

func (o *DeleteSecretOK) GetPayload() *models.MessageResponse

func (*DeleteSecretOK) IsClientError

func (o *DeleteSecretOK) IsClientError() bool

IsClientError returns true when this delete secret o k response has a 4xx status code

func (*DeleteSecretOK) IsCode

func (o *DeleteSecretOK) IsCode(code int) bool

IsCode returns true when this delete secret o k response a status code equal to that given

func (*DeleteSecretOK) IsRedirect

func (o *DeleteSecretOK) IsRedirect() bool

IsRedirect returns true when this delete secret o k response has a 3xx status code

func (*DeleteSecretOK) IsServerError

func (o *DeleteSecretOK) IsServerError() bool

IsServerError returns true when this delete secret o k response has a 5xx status code

func (*DeleteSecretOK) IsSuccess

func (o *DeleteSecretOK) IsSuccess() bool

IsSuccess returns true when this delete secret o k response has a 2xx status code

func (*DeleteSecretOK) String

func (o *DeleteSecretOK) String() string

type DeleteSecretParams

type DeleteSecretParams struct {

	/* Force.

	   Delete immediately
	*/
	Force *bool

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

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

DeleteSecretParams contains all the parameters to send to the API endpoint

for the delete secret operation.

Typically these are written to a http.Request.

func NewDeleteSecretParams

func NewDeleteSecretParams() *DeleteSecretParams

NewDeleteSecretParams creates a new DeleteSecretParams 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 NewDeleteSecretParamsWithContext

func NewDeleteSecretParamsWithContext(ctx context.Context) *DeleteSecretParams

NewDeleteSecretParamsWithContext creates a new DeleteSecretParams object with the ability to set a context for a request.

func NewDeleteSecretParamsWithHTTPClient

func NewDeleteSecretParamsWithHTTPClient(client *http.Client) *DeleteSecretParams

NewDeleteSecretParamsWithHTTPClient creates a new DeleteSecretParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSecretParamsWithTimeout

func NewDeleteSecretParamsWithTimeout(timeout time.Duration) *DeleteSecretParams

NewDeleteSecretParamsWithTimeout creates a new DeleteSecretParams object with the ability to set a timeout on a request.

func (*DeleteSecretParams) SetContext

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

SetContext adds the context to the delete secret params

func (*DeleteSecretParams) SetDefaults

func (o *DeleteSecretParams) SetDefaults()

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

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

func (*DeleteSecretParams) SetForce

func (o *DeleteSecretParams) SetForce(force *bool)

SetForce adds the force to the delete secret params

func (*DeleteSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete secret params

func (*DeleteSecretParams) SetID

func (o *DeleteSecretParams) SetID(id *string)

SetID adds the id to the delete secret params

func (*DeleteSecretParams) SetPath

func (o *DeleteSecretParams) SetPath(path string)

SetPath adds the path to the delete secret params

func (*DeleteSecretParams) SetTimeout

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

SetTimeout adds the timeout to the delete secret params

func (*DeleteSecretParams) WithContext

WithContext adds the context to the delete secret params

func (*DeleteSecretParams) WithDefaults

func (o *DeleteSecretParams) WithDefaults() *DeleteSecretParams

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

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

func (*DeleteSecretParams) WithForce

func (o *DeleteSecretParams) WithForce(force *bool) *DeleteSecretParams

WithForce adds the force to the delete secret params

func (*DeleteSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete secret params

func (*DeleteSecretParams) WithID

WithID adds the id to the delete secret params

func (*DeleteSecretParams) WithPath

func (o *DeleteSecretParams) WithPath(path string) *DeleteSecretParams

WithPath adds the path to the delete secret params

func (*DeleteSecretParams) WithTimeout

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

WithTimeout adds the timeout to the delete secret params

func (*DeleteSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSecretReader

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

DeleteSecretReader is a Reader for the DeleteSecret structure.

func (*DeleteSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSecretUnauthorized

type DeleteSecretUnauthorized struct {
	Payload *models.HTTPError
}
DeleteSecretUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDeleteSecretUnauthorized

func NewDeleteSecretUnauthorized() *DeleteSecretUnauthorized

NewDeleteSecretUnauthorized creates a DeleteSecretUnauthorized with default headers values

func (*DeleteSecretUnauthorized) Error

func (o *DeleteSecretUnauthorized) Error() string

func (*DeleteSecretUnauthorized) GetPayload

func (o *DeleteSecretUnauthorized) GetPayload() *models.HTTPError

func (*DeleteSecretUnauthorized) IsClientError

func (o *DeleteSecretUnauthorized) IsClientError() bool

IsClientError returns true when this delete secret unauthorized response has a 4xx status code

func (*DeleteSecretUnauthorized) IsCode

func (o *DeleteSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this delete secret unauthorized response a status code equal to that given

func (*DeleteSecretUnauthorized) IsRedirect

func (o *DeleteSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete secret unauthorized response has a 3xx status code

func (*DeleteSecretUnauthorized) IsServerError

func (o *DeleteSecretUnauthorized) IsServerError() bool

IsServerError returns true when this delete secret unauthorized response has a 5xx status code

func (*DeleteSecretUnauthorized) IsSuccess

func (o *DeleteSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete secret unauthorized response has a 2xx status code

func (*DeleteSecretUnauthorized) String

func (o *DeleteSecretUnauthorized) String() string

type GetSecretBadRequest

type GetSecretBadRequest struct {
	Payload *models.HTTPError
}
GetSecretBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetSecretBadRequest

func NewGetSecretBadRequest() *GetSecretBadRequest

NewGetSecretBadRequest creates a GetSecretBadRequest with default headers values

func (*GetSecretBadRequest) Error

func (o *GetSecretBadRequest) Error() string

func (*GetSecretBadRequest) GetPayload

func (o *GetSecretBadRequest) GetPayload() *models.HTTPError

func (*GetSecretBadRequest) IsClientError

func (o *GetSecretBadRequest) IsClientError() bool

IsClientError returns true when this get secret bad request response has a 4xx status code

func (*GetSecretBadRequest) IsCode

func (o *GetSecretBadRequest) IsCode(code int) bool

IsCode returns true when this get secret bad request response a status code equal to that given

func (*GetSecretBadRequest) IsRedirect

func (o *GetSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this get secret bad request response has a 3xx status code

func (*GetSecretBadRequest) IsServerError

func (o *GetSecretBadRequest) IsServerError() bool

IsServerError returns true when this get secret bad request response has a 5xx status code

func (*GetSecretBadRequest) IsSuccess

func (o *GetSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this get secret bad request response has a 2xx status code

func (*GetSecretBadRequest) String

func (o *GetSecretBadRequest) String() string

type GetSecretByVersionBadRequest

type GetSecretByVersionBadRequest struct {
	Payload *models.HTTPError
}
GetSecretByVersionBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetSecretByVersionBadRequest

func NewGetSecretByVersionBadRequest() *GetSecretByVersionBadRequest

NewGetSecretByVersionBadRequest creates a GetSecretByVersionBadRequest with default headers values

func (*GetSecretByVersionBadRequest) Error

func (*GetSecretByVersionBadRequest) GetPayload

func (*GetSecretByVersionBadRequest) IsClientError

func (o *GetSecretByVersionBadRequest) IsClientError() bool

IsClientError returns true when this get secret by version bad request response has a 4xx status code

func (*GetSecretByVersionBadRequest) IsCode

func (o *GetSecretByVersionBadRequest) IsCode(code int) bool

IsCode returns true when this get secret by version bad request response a status code equal to that given

func (*GetSecretByVersionBadRequest) IsRedirect

func (o *GetSecretByVersionBadRequest) IsRedirect() bool

IsRedirect returns true when this get secret by version bad request response has a 3xx status code

func (*GetSecretByVersionBadRequest) IsServerError

func (o *GetSecretByVersionBadRequest) IsServerError() bool

IsServerError returns true when this get secret by version bad request response has a 5xx status code

func (*GetSecretByVersionBadRequest) IsSuccess

func (o *GetSecretByVersionBadRequest) IsSuccess() bool

IsSuccess returns true when this get secret by version bad request response has a 2xx status code

func (*GetSecretByVersionBadRequest) String

type GetSecretByVersionForbidden

type GetSecretByVersionForbidden struct {
	Payload *models.HTTPError
}
GetSecretByVersionForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetSecretByVersionForbidden

func NewGetSecretByVersionForbidden() *GetSecretByVersionForbidden

NewGetSecretByVersionForbidden creates a GetSecretByVersionForbidden with default headers values

func (*GetSecretByVersionForbidden) Error

func (*GetSecretByVersionForbidden) GetPayload

func (o *GetSecretByVersionForbidden) GetPayload() *models.HTTPError

func (*GetSecretByVersionForbidden) IsClientError

func (o *GetSecretByVersionForbidden) IsClientError() bool

IsClientError returns true when this get secret by version forbidden response has a 4xx status code

func (*GetSecretByVersionForbidden) IsCode

func (o *GetSecretByVersionForbidden) IsCode(code int) bool

IsCode returns true when this get secret by version forbidden response a status code equal to that given

func (*GetSecretByVersionForbidden) IsRedirect

func (o *GetSecretByVersionForbidden) IsRedirect() bool

IsRedirect returns true when this get secret by version forbidden response has a 3xx status code

func (*GetSecretByVersionForbidden) IsServerError

func (o *GetSecretByVersionForbidden) IsServerError() bool

IsServerError returns true when this get secret by version forbidden response has a 5xx status code

func (*GetSecretByVersionForbidden) IsSuccess

func (o *GetSecretByVersionForbidden) IsSuccess() bool

IsSuccess returns true when this get secret by version forbidden response has a 2xx status code

func (*GetSecretByVersionForbidden) String

func (o *GetSecretByVersionForbidden) String() string

type GetSecretByVersionInternalServerError

type GetSecretByVersionInternalServerError struct {
	Payload *models.HTTPError
}
GetSecretByVersionInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetSecretByVersionInternalServerError

func NewGetSecretByVersionInternalServerError() *GetSecretByVersionInternalServerError

NewGetSecretByVersionInternalServerError creates a GetSecretByVersionInternalServerError with default headers values

func (*GetSecretByVersionInternalServerError) Error

func (*GetSecretByVersionInternalServerError) GetPayload

func (*GetSecretByVersionInternalServerError) IsClientError

func (o *GetSecretByVersionInternalServerError) IsClientError() bool

IsClientError returns true when this get secret by version internal server error response has a 4xx status code

func (*GetSecretByVersionInternalServerError) IsCode

IsCode returns true when this get secret by version internal server error response a status code equal to that given

func (*GetSecretByVersionInternalServerError) IsRedirect

IsRedirect returns true when this get secret by version internal server error response has a 3xx status code

func (*GetSecretByVersionInternalServerError) IsServerError

func (o *GetSecretByVersionInternalServerError) IsServerError() bool

IsServerError returns true when this get secret by version internal server error response has a 5xx status code

func (*GetSecretByVersionInternalServerError) IsSuccess

IsSuccess returns true when this get secret by version internal server error response has a 2xx status code

func (*GetSecretByVersionInternalServerError) String

type GetSecretByVersionNotFound

type GetSecretByVersionNotFound struct {
	Payload *models.HTTPError
}
GetSecretByVersionNotFound describes a response with status code 404, with default header values.

not found

func NewGetSecretByVersionNotFound

func NewGetSecretByVersionNotFound() *GetSecretByVersionNotFound

NewGetSecretByVersionNotFound creates a GetSecretByVersionNotFound with default headers values

func (*GetSecretByVersionNotFound) Error

func (*GetSecretByVersionNotFound) GetPayload

func (o *GetSecretByVersionNotFound) GetPayload() *models.HTTPError

func (*GetSecretByVersionNotFound) IsClientError

func (o *GetSecretByVersionNotFound) IsClientError() bool

IsClientError returns true when this get secret by version not found response has a 4xx status code

func (*GetSecretByVersionNotFound) IsCode

func (o *GetSecretByVersionNotFound) IsCode(code int) bool

IsCode returns true when this get secret by version not found response a status code equal to that given

func (*GetSecretByVersionNotFound) IsRedirect

func (o *GetSecretByVersionNotFound) IsRedirect() bool

IsRedirect returns true when this get secret by version not found response has a 3xx status code

func (*GetSecretByVersionNotFound) IsServerError

func (o *GetSecretByVersionNotFound) IsServerError() bool

IsServerError returns true when this get secret by version not found response has a 5xx status code

func (*GetSecretByVersionNotFound) IsSuccess

func (o *GetSecretByVersionNotFound) IsSuccess() bool

IsSuccess returns true when this get secret by version not found response has a 2xx status code

func (*GetSecretByVersionNotFound) String

func (o *GetSecretByVersionNotFound) String() string

type GetSecretByVersionOK

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

no error

func NewGetSecretByVersionOK

func NewGetSecretByVersionOK() *GetSecretByVersionOK

NewGetSecretByVersionOK creates a GetSecretByVersionOK with default headers values

func (*GetSecretByVersionOK) Error

func (o *GetSecretByVersionOK) Error() string

func (*GetSecretByVersionOK) GetPayload

func (*GetSecretByVersionOK) IsClientError

func (o *GetSecretByVersionOK) IsClientError() bool

IsClientError returns true when this get secret by version o k response has a 4xx status code

func (*GetSecretByVersionOK) IsCode

func (o *GetSecretByVersionOK) IsCode(code int) bool

IsCode returns true when this get secret by version o k response a status code equal to that given

func (*GetSecretByVersionOK) IsRedirect

func (o *GetSecretByVersionOK) IsRedirect() bool

IsRedirect returns true when this get secret by version o k response has a 3xx status code

func (*GetSecretByVersionOK) IsServerError

func (o *GetSecretByVersionOK) IsServerError() bool

IsServerError returns true when this get secret by version o k response has a 5xx status code

func (*GetSecretByVersionOK) IsSuccess

func (o *GetSecretByVersionOK) IsSuccess() bool

IsSuccess returns true when this get secret by version o k response has a 2xx status code

func (*GetSecretByVersionOK) String

func (o *GetSecretByVersionOK) String() string

type GetSecretByVersionParams

type GetSecretByVersionParams struct {

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

	/* Version.

	   Versions to return

	   Format: int64
	*/
	Version int64

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

GetSecretByVersionParams contains all the parameters to send to the API endpoint

for the get secret by version operation.

Typically these are written to a http.Request.

func NewGetSecretByVersionParams

func NewGetSecretByVersionParams() *GetSecretByVersionParams

NewGetSecretByVersionParams creates a new GetSecretByVersionParams 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 NewGetSecretByVersionParamsWithContext

func NewGetSecretByVersionParamsWithContext(ctx context.Context) *GetSecretByVersionParams

NewGetSecretByVersionParamsWithContext creates a new GetSecretByVersionParams object with the ability to set a context for a request.

func NewGetSecretByVersionParamsWithHTTPClient

func NewGetSecretByVersionParamsWithHTTPClient(client *http.Client) *GetSecretByVersionParams

NewGetSecretByVersionParamsWithHTTPClient creates a new GetSecretByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecretByVersionParamsWithTimeout

func NewGetSecretByVersionParamsWithTimeout(timeout time.Duration) *GetSecretByVersionParams

NewGetSecretByVersionParamsWithTimeout creates a new GetSecretByVersionParams object with the ability to set a timeout on a request.

func (*GetSecretByVersionParams) SetContext

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

SetContext adds the context to the get secret by version params

func (*GetSecretByVersionParams) SetDefaults

func (o *GetSecretByVersionParams) SetDefaults()

SetDefaults hydrates default values in the get secret by version params (not the query body).

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

func (*GetSecretByVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get secret by version params

func (*GetSecretByVersionParams) SetPath

func (o *GetSecretByVersionParams) SetPath(path string)

SetPath adds the path to the get secret by version params

func (*GetSecretByVersionParams) SetTimeout

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

SetTimeout adds the timeout to the get secret by version params

func (*GetSecretByVersionParams) SetVersion

func (o *GetSecretByVersionParams) SetVersion(version int64)

SetVersion adds the version to the get secret by version params

func (*GetSecretByVersionParams) WithContext

WithContext adds the context to the get secret by version params

func (*GetSecretByVersionParams) WithDefaults

WithDefaults hydrates default values in the get secret by version params (not the query body).

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

func (*GetSecretByVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get secret by version params

func (*GetSecretByVersionParams) WithPath

WithPath adds the path to the get secret by version params

func (*GetSecretByVersionParams) WithTimeout

WithTimeout adds the timeout to the get secret by version params

func (*GetSecretByVersionParams) WithVersion

func (o *GetSecretByVersionParams) WithVersion(version int64) *GetSecretByVersionParams

WithVersion adds the version to the get secret by version params

func (*GetSecretByVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecretByVersionReader

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

GetSecretByVersionReader is a Reader for the GetSecretByVersion structure.

func (*GetSecretByVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecretByVersionUnauthorized

type GetSecretByVersionUnauthorized struct {
	Payload *models.HTTPError
}
GetSecretByVersionUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetSecretByVersionUnauthorized

func NewGetSecretByVersionUnauthorized() *GetSecretByVersionUnauthorized

NewGetSecretByVersionUnauthorized creates a GetSecretByVersionUnauthorized with default headers values

func (*GetSecretByVersionUnauthorized) Error

func (*GetSecretByVersionUnauthorized) GetPayload

func (*GetSecretByVersionUnauthorized) IsClientError

func (o *GetSecretByVersionUnauthorized) IsClientError() bool

IsClientError returns true when this get secret by version unauthorized response has a 4xx status code

func (*GetSecretByVersionUnauthorized) IsCode

func (o *GetSecretByVersionUnauthorized) IsCode(code int) bool

IsCode returns true when this get secret by version unauthorized response a status code equal to that given

func (*GetSecretByVersionUnauthorized) IsRedirect

func (o *GetSecretByVersionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get secret by version unauthorized response has a 3xx status code

func (*GetSecretByVersionUnauthorized) IsServerError

func (o *GetSecretByVersionUnauthorized) IsServerError() bool

IsServerError returns true when this get secret by version unauthorized response has a 5xx status code

func (*GetSecretByVersionUnauthorized) IsSuccess

func (o *GetSecretByVersionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get secret by version unauthorized response has a 2xx status code

func (*GetSecretByVersionUnauthorized) String

type GetSecretDescriptionBadRequest

type GetSecretDescriptionBadRequest struct {
	Payload *models.HTTPError
}
GetSecretDescriptionBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetSecretDescriptionBadRequest

func NewGetSecretDescriptionBadRequest() *GetSecretDescriptionBadRequest

NewGetSecretDescriptionBadRequest creates a GetSecretDescriptionBadRequest with default headers values

func (*GetSecretDescriptionBadRequest) Error

func (*GetSecretDescriptionBadRequest) GetPayload

func (*GetSecretDescriptionBadRequest) IsClientError

func (o *GetSecretDescriptionBadRequest) IsClientError() bool

IsClientError returns true when this get secret description bad request response has a 4xx status code

func (*GetSecretDescriptionBadRequest) IsCode

func (o *GetSecretDescriptionBadRequest) IsCode(code int) bool

IsCode returns true when this get secret description bad request response a status code equal to that given

func (*GetSecretDescriptionBadRequest) IsRedirect

func (o *GetSecretDescriptionBadRequest) IsRedirect() bool

IsRedirect returns true when this get secret description bad request response has a 3xx status code

func (*GetSecretDescriptionBadRequest) IsServerError

func (o *GetSecretDescriptionBadRequest) IsServerError() bool

IsServerError returns true when this get secret description bad request response has a 5xx status code

func (*GetSecretDescriptionBadRequest) IsSuccess

func (o *GetSecretDescriptionBadRequest) IsSuccess() bool

IsSuccess returns true when this get secret description bad request response has a 2xx status code

func (*GetSecretDescriptionBadRequest) String

type GetSecretDescriptionForbidden

type GetSecretDescriptionForbidden struct {
	Payload *models.HTTPError
}
GetSecretDescriptionForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetSecretDescriptionForbidden

func NewGetSecretDescriptionForbidden() *GetSecretDescriptionForbidden

NewGetSecretDescriptionForbidden creates a GetSecretDescriptionForbidden with default headers values

func (*GetSecretDescriptionForbidden) Error

func (*GetSecretDescriptionForbidden) GetPayload

func (*GetSecretDescriptionForbidden) IsClientError

func (o *GetSecretDescriptionForbidden) IsClientError() bool

IsClientError returns true when this get secret description forbidden response has a 4xx status code

func (*GetSecretDescriptionForbidden) IsCode

func (o *GetSecretDescriptionForbidden) IsCode(code int) bool

IsCode returns true when this get secret description forbidden response a status code equal to that given

func (*GetSecretDescriptionForbidden) IsRedirect

func (o *GetSecretDescriptionForbidden) IsRedirect() bool

IsRedirect returns true when this get secret description forbidden response has a 3xx status code

func (*GetSecretDescriptionForbidden) IsServerError

func (o *GetSecretDescriptionForbidden) IsServerError() bool

IsServerError returns true when this get secret description forbidden response has a 5xx status code

func (*GetSecretDescriptionForbidden) IsSuccess

func (o *GetSecretDescriptionForbidden) IsSuccess() bool

IsSuccess returns true when this get secret description forbidden response has a 2xx status code

func (*GetSecretDescriptionForbidden) String

type GetSecretDescriptionInternalServerError

type GetSecretDescriptionInternalServerError struct {
	Payload *models.HTTPError
}
GetSecretDescriptionInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetSecretDescriptionInternalServerError

func NewGetSecretDescriptionInternalServerError() *GetSecretDescriptionInternalServerError

NewGetSecretDescriptionInternalServerError creates a GetSecretDescriptionInternalServerError with default headers values

func (*GetSecretDescriptionInternalServerError) Error

func (*GetSecretDescriptionInternalServerError) GetPayload

func (*GetSecretDescriptionInternalServerError) IsClientError

func (o *GetSecretDescriptionInternalServerError) IsClientError() bool

IsClientError returns true when this get secret description internal server error response has a 4xx status code

func (*GetSecretDescriptionInternalServerError) IsCode

IsCode returns true when this get secret description internal server error response a status code equal to that given

func (*GetSecretDescriptionInternalServerError) IsRedirect

IsRedirect returns true when this get secret description internal server error response has a 3xx status code

func (*GetSecretDescriptionInternalServerError) IsServerError

func (o *GetSecretDescriptionInternalServerError) IsServerError() bool

IsServerError returns true when this get secret description internal server error response has a 5xx status code

func (*GetSecretDescriptionInternalServerError) IsSuccess

IsSuccess returns true when this get secret description internal server error response has a 2xx status code

func (*GetSecretDescriptionInternalServerError) String

type GetSecretDescriptionNotFound

type GetSecretDescriptionNotFound struct {
	Payload *models.HTTPError
}
GetSecretDescriptionNotFound describes a response with status code 404, with default header values.

not found

func NewGetSecretDescriptionNotFound

func NewGetSecretDescriptionNotFound() *GetSecretDescriptionNotFound

NewGetSecretDescriptionNotFound creates a GetSecretDescriptionNotFound with default headers values

func (*GetSecretDescriptionNotFound) Error

func (*GetSecretDescriptionNotFound) GetPayload

func (*GetSecretDescriptionNotFound) IsClientError

func (o *GetSecretDescriptionNotFound) IsClientError() bool

IsClientError returns true when this get secret description not found response has a 4xx status code

func (*GetSecretDescriptionNotFound) IsCode

func (o *GetSecretDescriptionNotFound) IsCode(code int) bool

IsCode returns true when this get secret description not found response a status code equal to that given

func (*GetSecretDescriptionNotFound) IsRedirect

func (o *GetSecretDescriptionNotFound) IsRedirect() bool

IsRedirect returns true when this get secret description not found response has a 3xx status code

func (*GetSecretDescriptionNotFound) IsServerError

func (o *GetSecretDescriptionNotFound) IsServerError() bool

IsServerError returns true when this get secret description not found response has a 5xx status code

func (*GetSecretDescriptionNotFound) IsSuccess

func (o *GetSecretDescriptionNotFound) IsSuccess() bool

IsSuccess returns true when this get secret description not found response has a 2xx status code

func (*GetSecretDescriptionNotFound) String

type GetSecretDescriptionOK

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

no error

func NewGetSecretDescriptionOK

func NewGetSecretDescriptionOK() *GetSecretDescriptionOK

NewGetSecretDescriptionOK creates a GetSecretDescriptionOK with default headers values

func (*GetSecretDescriptionOK) Error

func (o *GetSecretDescriptionOK) Error() string

func (*GetSecretDescriptionOK) GetPayload

func (*GetSecretDescriptionOK) IsClientError

func (o *GetSecretDescriptionOK) IsClientError() bool

IsClientError returns true when this get secret description o k response has a 4xx status code

func (*GetSecretDescriptionOK) IsCode

func (o *GetSecretDescriptionOK) IsCode(code int) bool

IsCode returns true when this get secret description o k response a status code equal to that given

func (*GetSecretDescriptionOK) IsRedirect

func (o *GetSecretDescriptionOK) IsRedirect() bool

IsRedirect returns true when this get secret description o k response has a 3xx status code

func (*GetSecretDescriptionOK) IsServerError

func (o *GetSecretDescriptionOK) IsServerError() bool

IsServerError returns true when this get secret description o k response has a 5xx status code

func (*GetSecretDescriptionOK) IsSuccess

func (o *GetSecretDescriptionOK) IsSuccess() bool

IsSuccess returns true when this get secret description o k response has a 2xx status code

func (*GetSecretDescriptionOK) String

func (o *GetSecretDescriptionOK) String() string

type GetSecretDescriptionParams

type GetSecretDescriptionParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

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

GetSecretDescriptionParams contains all the parameters to send to the API endpoint

for the get secret description operation.

Typically these are written to a http.Request.

func NewGetSecretDescriptionParams

func NewGetSecretDescriptionParams() *GetSecretDescriptionParams

NewGetSecretDescriptionParams creates a new GetSecretDescriptionParams 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 NewGetSecretDescriptionParamsWithContext

func NewGetSecretDescriptionParamsWithContext(ctx context.Context) *GetSecretDescriptionParams

NewGetSecretDescriptionParamsWithContext creates a new GetSecretDescriptionParams object with the ability to set a context for a request.

func NewGetSecretDescriptionParamsWithHTTPClient

func NewGetSecretDescriptionParamsWithHTTPClient(client *http.Client) *GetSecretDescriptionParams

NewGetSecretDescriptionParamsWithHTTPClient creates a new GetSecretDescriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecretDescriptionParamsWithTimeout

func NewGetSecretDescriptionParamsWithTimeout(timeout time.Duration) *GetSecretDescriptionParams

NewGetSecretDescriptionParamsWithTimeout creates a new GetSecretDescriptionParams object with the ability to set a timeout on a request.

func (*GetSecretDescriptionParams) SetContext

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

SetContext adds the context to the get secret description params

func (*GetSecretDescriptionParams) SetDefaults

func (o *GetSecretDescriptionParams) SetDefaults()

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

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

func (*GetSecretDescriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get secret description params

func (*GetSecretDescriptionParams) SetID

func (o *GetSecretDescriptionParams) SetID(id *string)

SetID adds the id to the get secret description params

func (*GetSecretDescriptionParams) SetPath

func (o *GetSecretDescriptionParams) SetPath(path string)

SetPath adds the path to the get secret description params

func (*GetSecretDescriptionParams) SetTimeout

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

SetTimeout adds the timeout to the get secret description params

func (*GetSecretDescriptionParams) WithContext

WithContext adds the context to the get secret description params

func (*GetSecretDescriptionParams) WithDefaults

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

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

func (*GetSecretDescriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get secret description params

func (*GetSecretDescriptionParams) WithID

WithID adds the id to the get secret description params

func (*GetSecretDescriptionParams) WithPath

WithPath adds the path to the get secret description params

func (*GetSecretDescriptionParams) WithTimeout

WithTimeout adds the timeout to the get secret description params

func (*GetSecretDescriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecretDescriptionReader

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

GetSecretDescriptionReader is a Reader for the GetSecretDescription structure.

func (*GetSecretDescriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecretDescriptionUnauthorized

type GetSecretDescriptionUnauthorized struct {
	Payload *models.HTTPError
}
GetSecretDescriptionUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetSecretDescriptionUnauthorized

func NewGetSecretDescriptionUnauthorized() *GetSecretDescriptionUnauthorized

NewGetSecretDescriptionUnauthorized creates a GetSecretDescriptionUnauthorized with default headers values

func (*GetSecretDescriptionUnauthorized) Error

func (*GetSecretDescriptionUnauthorized) GetPayload

func (*GetSecretDescriptionUnauthorized) IsClientError

func (o *GetSecretDescriptionUnauthorized) IsClientError() bool

IsClientError returns true when this get secret description unauthorized response has a 4xx status code

func (*GetSecretDescriptionUnauthorized) IsCode

func (o *GetSecretDescriptionUnauthorized) IsCode(code int) bool

IsCode returns true when this get secret description unauthorized response a status code equal to that given

func (*GetSecretDescriptionUnauthorized) IsRedirect

func (o *GetSecretDescriptionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get secret description unauthorized response has a 3xx status code

func (*GetSecretDescriptionUnauthorized) IsServerError

func (o *GetSecretDescriptionUnauthorized) IsServerError() bool

IsServerError returns true when this get secret description unauthorized response has a 5xx status code

func (*GetSecretDescriptionUnauthorized) IsSuccess

func (o *GetSecretDescriptionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get secret description unauthorized response has a 2xx status code

func (*GetSecretDescriptionUnauthorized) String

type GetSecretForbidden

type GetSecretForbidden struct {
	Payload *models.HTTPError
}
GetSecretForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetSecretForbidden

func NewGetSecretForbidden() *GetSecretForbidden

NewGetSecretForbidden creates a GetSecretForbidden with default headers values

func (*GetSecretForbidden) Error

func (o *GetSecretForbidden) Error() string

func (*GetSecretForbidden) GetPayload

func (o *GetSecretForbidden) GetPayload() *models.HTTPError

func (*GetSecretForbidden) IsClientError

func (o *GetSecretForbidden) IsClientError() bool

IsClientError returns true when this get secret forbidden response has a 4xx status code

func (*GetSecretForbidden) IsCode

func (o *GetSecretForbidden) IsCode(code int) bool

IsCode returns true when this get secret forbidden response a status code equal to that given

func (*GetSecretForbidden) IsRedirect

func (o *GetSecretForbidden) IsRedirect() bool

IsRedirect returns true when this get secret forbidden response has a 3xx status code

func (*GetSecretForbidden) IsServerError

func (o *GetSecretForbidden) IsServerError() bool

IsServerError returns true when this get secret forbidden response has a 5xx status code

func (*GetSecretForbidden) IsSuccess

func (o *GetSecretForbidden) IsSuccess() bool

IsSuccess returns true when this get secret forbidden response has a 2xx status code

func (*GetSecretForbidden) String

func (o *GetSecretForbidden) String() string

type GetSecretInternalServerError

type GetSecretInternalServerError struct {
	Payload *models.HTTPError
}
GetSecretInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetSecretInternalServerError

func NewGetSecretInternalServerError() *GetSecretInternalServerError

NewGetSecretInternalServerError creates a GetSecretInternalServerError with default headers values

func (*GetSecretInternalServerError) Error

func (*GetSecretInternalServerError) GetPayload

func (*GetSecretInternalServerError) IsClientError

func (o *GetSecretInternalServerError) IsClientError() bool

IsClientError returns true when this get secret internal server error response has a 4xx status code

func (*GetSecretInternalServerError) IsCode

func (o *GetSecretInternalServerError) IsCode(code int) bool

IsCode returns true when this get secret internal server error response a status code equal to that given

func (*GetSecretInternalServerError) IsRedirect

func (o *GetSecretInternalServerError) IsRedirect() bool

IsRedirect returns true when this get secret internal server error response has a 3xx status code

func (*GetSecretInternalServerError) IsServerError

func (o *GetSecretInternalServerError) IsServerError() bool

IsServerError returns true when this get secret internal server error response has a 5xx status code

func (*GetSecretInternalServerError) IsSuccess

func (o *GetSecretInternalServerError) IsSuccess() bool

IsSuccess returns true when this get secret internal server error response has a 2xx status code

func (*GetSecretInternalServerError) String

type GetSecretNotFound

type GetSecretNotFound struct {
	Payload *models.HTTPError
}
GetSecretNotFound describes a response with status code 404, with default header values.

not found

func NewGetSecretNotFound

func NewGetSecretNotFound() *GetSecretNotFound

NewGetSecretNotFound creates a GetSecretNotFound with default headers values

func (*GetSecretNotFound) Error

func (o *GetSecretNotFound) Error() string

func (*GetSecretNotFound) GetPayload

func (o *GetSecretNotFound) GetPayload() *models.HTTPError

func (*GetSecretNotFound) IsClientError

func (o *GetSecretNotFound) IsClientError() bool

IsClientError returns true when this get secret not found response has a 4xx status code

func (*GetSecretNotFound) IsCode

func (o *GetSecretNotFound) IsCode(code int) bool

IsCode returns true when this get secret not found response a status code equal to that given

func (*GetSecretNotFound) IsRedirect

func (o *GetSecretNotFound) IsRedirect() bool

IsRedirect returns true when this get secret not found response has a 3xx status code

func (*GetSecretNotFound) IsServerError

func (o *GetSecretNotFound) IsServerError() bool

IsServerError returns true when this get secret not found response has a 5xx status code

func (*GetSecretNotFound) IsSuccess

func (o *GetSecretNotFound) IsSuccess() bool

IsSuccess returns true when this get secret not found response has a 2xx status code

func (*GetSecretNotFound) String

func (o *GetSecretNotFound) String() string

type GetSecretOK

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

no error

func NewGetSecretOK

func NewGetSecretOK() *GetSecretOK

NewGetSecretOK creates a GetSecretOK with default headers values

func (*GetSecretOK) Error

func (o *GetSecretOK) Error() string

func (*GetSecretOK) GetPayload

func (o *GetSecretOK) GetPayload() *models.ResponseModelFull

func (*GetSecretOK) IsClientError

func (o *GetSecretOK) IsClientError() bool

IsClientError returns true when this get secret o k response has a 4xx status code

func (*GetSecretOK) IsCode

func (o *GetSecretOK) IsCode(code int) bool

IsCode returns true when this get secret o k response a status code equal to that given

func (*GetSecretOK) IsRedirect

func (o *GetSecretOK) IsRedirect() bool

IsRedirect returns true when this get secret o k response has a 3xx status code

func (*GetSecretOK) IsServerError

func (o *GetSecretOK) IsServerError() bool

IsServerError returns true when this get secret o k response has a 5xx status code

func (*GetSecretOK) IsSuccess

func (o *GetSecretOK) IsSuccess() bool

IsSuccess returns true when this get secret o k response has a 2xx status code

func (*GetSecretOK) String

func (o *GetSecretOK) String() string

type GetSecretParams

type GetSecretParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

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

GetSecretParams contains all the parameters to send to the API endpoint

for the get secret operation.

Typically these are written to a http.Request.

func NewGetSecretParams

func NewGetSecretParams() *GetSecretParams

NewGetSecretParams creates a new GetSecretParams 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 NewGetSecretParamsWithContext

func NewGetSecretParamsWithContext(ctx context.Context) *GetSecretParams

NewGetSecretParamsWithContext creates a new GetSecretParams object with the ability to set a context for a request.

func NewGetSecretParamsWithHTTPClient

func NewGetSecretParamsWithHTTPClient(client *http.Client) *GetSecretParams

NewGetSecretParamsWithHTTPClient creates a new GetSecretParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecretParamsWithTimeout

func NewGetSecretParamsWithTimeout(timeout time.Duration) *GetSecretParams

NewGetSecretParamsWithTimeout creates a new GetSecretParams object with the ability to set a timeout on a request.

func (*GetSecretParams) SetContext

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

SetContext adds the context to the get secret params

func (*GetSecretParams) SetDefaults

func (o *GetSecretParams) SetDefaults()

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

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

func (*GetSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get secret params

func (*GetSecretParams) SetID

func (o *GetSecretParams) SetID(id *string)

SetID adds the id to the get secret params

func (*GetSecretParams) SetPath

func (o *GetSecretParams) SetPath(path string)

SetPath adds the path to the get secret params

func (*GetSecretParams) SetTimeout

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

SetTimeout adds the timeout to the get secret params

func (*GetSecretParams) WithContext

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

WithContext adds the context to the get secret params

func (*GetSecretParams) WithDefaults

func (o *GetSecretParams) WithDefaults() *GetSecretParams

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

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

func (*GetSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get secret params

func (*GetSecretParams) WithID

func (o *GetSecretParams) WithID(id *string) *GetSecretParams

WithID adds the id to the get secret params

func (*GetSecretParams) WithPath

func (o *GetSecretParams) WithPath(path string) *GetSecretParams

WithPath adds the path to the get secret params

func (*GetSecretParams) WithTimeout

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

WithTimeout adds the timeout to the get secret params

func (*GetSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSecretReader

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

GetSecretReader is a Reader for the GetSecret structure.

func (*GetSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecretUnauthorized

type GetSecretUnauthorized struct {
	Payload *models.HTTPError
}
GetSecretUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetSecretUnauthorized

func NewGetSecretUnauthorized() *GetSecretUnauthorized

NewGetSecretUnauthorized creates a GetSecretUnauthorized with default headers values

func (*GetSecretUnauthorized) Error

func (o *GetSecretUnauthorized) Error() string

func (*GetSecretUnauthorized) GetPayload

func (o *GetSecretUnauthorized) GetPayload() *models.HTTPError

func (*GetSecretUnauthorized) IsClientError

func (o *GetSecretUnauthorized) IsClientError() bool

IsClientError returns true when this get secret unauthorized response has a 4xx status code

func (*GetSecretUnauthorized) IsCode

func (o *GetSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this get secret unauthorized response a status code equal to that given

func (*GetSecretUnauthorized) IsRedirect

func (o *GetSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this get secret unauthorized response has a 3xx status code

func (*GetSecretUnauthorized) IsServerError

func (o *GetSecretUnauthorized) IsServerError() bool

IsServerError returns true when this get secret unauthorized response has a 5xx status code

func (*GetSecretUnauthorized) IsSuccess

func (o *GetSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this get secret unauthorized response has a 2xx status code

func (*GetSecretUnauthorized) String

func (o *GetSecretUnauthorized) String() string

type ListSecretPathsBadRequest

type ListSecretPathsBadRequest struct {
	Payload *models.HTTPError
}
ListSecretPathsBadRequest describes a response with status code 400, with default header values.

bad request

func NewListSecretPathsBadRequest

func NewListSecretPathsBadRequest() *ListSecretPathsBadRequest

NewListSecretPathsBadRequest creates a ListSecretPathsBadRequest with default headers values

func (*ListSecretPathsBadRequest) Error

func (o *ListSecretPathsBadRequest) Error() string

func (*ListSecretPathsBadRequest) GetPayload

func (o *ListSecretPathsBadRequest) GetPayload() *models.HTTPError

func (*ListSecretPathsBadRequest) IsClientError

func (o *ListSecretPathsBadRequest) IsClientError() bool

IsClientError returns true when this list secret paths bad request response has a 4xx status code

func (*ListSecretPathsBadRequest) IsCode

func (o *ListSecretPathsBadRequest) IsCode(code int) bool

IsCode returns true when this list secret paths bad request response a status code equal to that given

func (*ListSecretPathsBadRequest) IsRedirect

func (o *ListSecretPathsBadRequest) IsRedirect() bool

IsRedirect returns true when this list secret paths bad request response has a 3xx status code

func (*ListSecretPathsBadRequest) IsServerError

func (o *ListSecretPathsBadRequest) IsServerError() bool

IsServerError returns true when this list secret paths bad request response has a 5xx status code

func (*ListSecretPathsBadRequest) IsSuccess

func (o *ListSecretPathsBadRequest) IsSuccess() bool

IsSuccess returns true when this list secret paths bad request response has a 2xx status code

func (*ListSecretPathsBadRequest) String

func (o *ListSecretPathsBadRequest) String() string

type ListSecretPathsForbidden

type ListSecretPathsForbidden struct {
	Payload *models.HTTPError
}
ListSecretPathsForbidden describes a response with status code 403, with default header values.

forbidden

func NewListSecretPathsForbidden

func NewListSecretPathsForbidden() *ListSecretPathsForbidden

NewListSecretPathsForbidden creates a ListSecretPathsForbidden with default headers values

func (*ListSecretPathsForbidden) Error

func (o *ListSecretPathsForbidden) Error() string

func (*ListSecretPathsForbidden) GetPayload

func (o *ListSecretPathsForbidden) GetPayload() *models.HTTPError

func (*ListSecretPathsForbidden) IsClientError

func (o *ListSecretPathsForbidden) IsClientError() bool

IsClientError returns true when this list secret paths forbidden response has a 4xx status code

func (*ListSecretPathsForbidden) IsCode

func (o *ListSecretPathsForbidden) IsCode(code int) bool

IsCode returns true when this list secret paths forbidden response a status code equal to that given

func (*ListSecretPathsForbidden) IsRedirect

func (o *ListSecretPathsForbidden) IsRedirect() bool

IsRedirect returns true when this list secret paths forbidden response has a 3xx status code

func (*ListSecretPathsForbidden) IsServerError

func (o *ListSecretPathsForbidden) IsServerError() bool

IsServerError returns true when this list secret paths forbidden response has a 5xx status code

func (*ListSecretPathsForbidden) IsSuccess

func (o *ListSecretPathsForbidden) IsSuccess() bool

IsSuccess returns true when this list secret paths forbidden response has a 2xx status code

func (*ListSecretPathsForbidden) String

func (o *ListSecretPathsForbidden) String() string

type ListSecretPathsInternalServerError

type ListSecretPathsInternalServerError struct {
	Payload *models.HTTPError
}
ListSecretPathsInternalServerError describes a response with status code 500, with default header values.

server error

func NewListSecretPathsInternalServerError

func NewListSecretPathsInternalServerError() *ListSecretPathsInternalServerError

NewListSecretPathsInternalServerError creates a ListSecretPathsInternalServerError with default headers values

func (*ListSecretPathsInternalServerError) Error

func (*ListSecretPathsInternalServerError) GetPayload

func (*ListSecretPathsInternalServerError) IsClientError

func (o *ListSecretPathsInternalServerError) IsClientError() bool

IsClientError returns true when this list secret paths internal server error response has a 4xx status code

func (*ListSecretPathsInternalServerError) IsCode

IsCode returns true when this list secret paths internal server error response a status code equal to that given

func (*ListSecretPathsInternalServerError) IsRedirect

func (o *ListSecretPathsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list secret paths internal server error response has a 3xx status code

func (*ListSecretPathsInternalServerError) IsServerError

func (o *ListSecretPathsInternalServerError) IsServerError() bool

IsServerError returns true when this list secret paths internal server error response has a 5xx status code

func (*ListSecretPathsInternalServerError) IsSuccess

IsSuccess returns true when this list secret paths internal server error response has a 2xx status code

func (*ListSecretPathsInternalServerError) String

type ListSecretPathsNotFound

type ListSecretPathsNotFound struct {
	Payload *models.HTTPError
}
ListSecretPathsNotFound describes a response with status code 404, with default header values.

not found

func NewListSecretPathsNotFound

func NewListSecretPathsNotFound() *ListSecretPathsNotFound

NewListSecretPathsNotFound creates a ListSecretPathsNotFound with default headers values

func (*ListSecretPathsNotFound) Error

func (o *ListSecretPathsNotFound) Error() string

func (*ListSecretPathsNotFound) GetPayload

func (o *ListSecretPathsNotFound) GetPayload() *models.HTTPError

func (*ListSecretPathsNotFound) IsClientError

func (o *ListSecretPathsNotFound) IsClientError() bool

IsClientError returns true when this list secret paths not found response has a 4xx status code

func (*ListSecretPathsNotFound) IsCode

func (o *ListSecretPathsNotFound) IsCode(code int) bool

IsCode returns true when this list secret paths not found response a status code equal to that given

func (*ListSecretPathsNotFound) IsRedirect

func (o *ListSecretPathsNotFound) IsRedirect() bool

IsRedirect returns true when this list secret paths not found response has a 3xx status code

func (*ListSecretPathsNotFound) IsServerError

func (o *ListSecretPathsNotFound) IsServerError() bool

IsServerError returns true when this list secret paths not found response has a 5xx status code

func (*ListSecretPathsNotFound) IsSuccess

func (o *ListSecretPathsNotFound) IsSuccess() bool

IsSuccess returns true when this list secret paths not found response has a 2xx status code

func (*ListSecretPathsNotFound) String

func (o *ListSecretPathsNotFound) String() string

type ListSecretPathsOK

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

no error

func NewListSecretPathsOK

func NewListSecretPathsOK() *ListSecretPathsOK

NewListSecretPathsOK creates a ListSecretPathsOK with default headers values

func (*ListSecretPathsOK) Error

func (o *ListSecretPathsOK) Error() string

func (*ListSecretPathsOK) GetPayload

func (*ListSecretPathsOK) IsClientError

func (o *ListSecretPathsOK) IsClientError() bool

IsClientError returns true when this list secret paths o k response has a 4xx status code

func (*ListSecretPathsOK) IsCode

func (o *ListSecretPathsOK) IsCode(code int) bool

IsCode returns true when this list secret paths o k response a status code equal to that given

func (*ListSecretPathsOK) IsRedirect

func (o *ListSecretPathsOK) IsRedirect() bool

IsRedirect returns true when this list secret paths o k response has a 3xx status code

func (*ListSecretPathsOK) IsServerError

func (o *ListSecretPathsOK) IsServerError() bool

IsServerError returns true when this list secret paths o k response has a 5xx status code

func (*ListSecretPathsOK) IsSuccess

func (o *ListSecretPathsOK) IsSuccess() bool

IsSuccess returns true when this list secret paths o k response has a 2xx status code

func (*ListSecretPathsOK) String

func (o *ListSecretPathsOK) String() string

type ListSecretPathsParams

type ListSecretPathsParams struct {

	/* Limit.

	   The maximum number of path matches to return

	   Format: int64
	*/
	Limit *int64

	/* Path.

	   The secret path to match on
	*/
	Path string

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

ListSecretPathsParams contains all the parameters to send to the API endpoint

for the list secret paths operation.

Typically these are written to a http.Request.

func NewListSecretPathsParams

func NewListSecretPathsParams() *ListSecretPathsParams

NewListSecretPathsParams creates a new ListSecretPathsParams 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 NewListSecretPathsParamsWithContext

func NewListSecretPathsParamsWithContext(ctx context.Context) *ListSecretPathsParams

NewListSecretPathsParamsWithContext creates a new ListSecretPathsParams object with the ability to set a context for a request.

func NewListSecretPathsParamsWithHTTPClient

func NewListSecretPathsParamsWithHTTPClient(client *http.Client) *ListSecretPathsParams

NewListSecretPathsParamsWithHTTPClient creates a new ListSecretPathsParams object with the ability to set a custom HTTPClient for a request.

func NewListSecretPathsParamsWithTimeout

func NewListSecretPathsParamsWithTimeout(timeout time.Duration) *ListSecretPathsParams

NewListSecretPathsParamsWithTimeout creates a new ListSecretPathsParams object with the ability to set a timeout on a request.

func (*ListSecretPathsParams) SetContext

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

SetContext adds the context to the list secret paths params

func (*ListSecretPathsParams) SetDefaults

func (o *ListSecretPathsParams) SetDefaults()

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

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

func (*ListSecretPathsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list secret paths params

func (*ListSecretPathsParams) SetLimit

func (o *ListSecretPathsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list secret paths params

func (*ListSecretPathsParams) SetPath

func (o *ListSecretPathsParams) SetPath(path string)

SetPath adds the path to the list secret paths params

func (*ListSecretPathsParams) SetTimeout

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

SetTimeout adds the timeout to the list secret paths params

func (*ListSecretPathsParams) WithContext

WithContext adds the context to the list secret paths params

func (*ListSecretPathsParams) WithDefaults

func (o *ListSecretPathsParams) WithDefaults() *ListSecretPathsParams

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

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

func (*ListSecretPathsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list secret paths params

func (*ListSecretPathsParams) WithLimit

func (o *ListSecretPathsParams) WithLimit(limit *int64) *ListSecretPathsParams

WithLimit adds the limit to the list secret paths params

func (*ListSecretPathsParams) WithPath

WithPath adds the path to the list secret paths params

func (*ListSecretPathsParams) WithTimeout

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

WithTimeout adds the timeout to the list secret paths params

func (*ListSecretPathsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSecretPathsReader

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

ListSecretPathsReader is a Reader for the ListSecretPaths structure.

func (*ListSecretPathsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSecretPathsUnauthorized

type ListSecretPathsUnauthorized struct {
	Payload *models.HTTPError
}
ListSecretPathsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewListSecretPathsUnauthorized

func NewListSecretPathsUnauthorized() *ListSecretPathsUnauthorized

NewListSecretPathsUnauthorized creates a ListSecretPathsUnauthorized with default headers values

func (*ListSecretPathsUnauthorized) Error

func (*ListSecretPathsUnauthorized) GetPayload

func (o *ListSecretPathsUnauthorized) GetPayload() *models.HTTPError

func (*ListSecretPathsUnauthorized) IsClientError

func (o *ListSecretPathsUnauthorized) IsClientError() bool

IsClientError returns true when this list secret paths unauthorized response has a 4xx status code

func (*ListSecretPathsUnauthorized) IsCode

func (o *ListSecretPathsUnauthorized) IsCode(code int) bool

IsCode returns true when this list secret paths unauthorized response a status code equal to that given

func (*ListSecretPathsUnauthorized) IsRedirect

func (o *ListSecretPathsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list secret paths unauthorized response has a 3xx status code

func (*ListSecretPathsUnauthorized) IsServerError

func (o *ListSecretPathsUnauthorized) IsServerError() bool

IsServerError returns true when this list secret paths unauthorized response has a 5xx status code

func (*ListSecretPathsUnauthorized) IsSuccess

func (o *ListSecretPathsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list secret paths unauthorized response has a 2xx status code

func (*ListSecretPathsUnauthorized) String

func (o *ListSecretPathsUnauthorized) String() string

type RollbackSecretBadRequest

type RollbackSecretBadRequest struct {
	Payload *models.HTTPError
}
RollbackSecretBadRequest describes a response with status code 400, with default header values.

bad request

func NewRollbackSecretBadRequest

func NewRollbackSecretBadRequest() *RollbackSecretBadRequest

NewRollbackSecretBadRequest creates a RollbackSecretBadRequest with default headers values

func (*RollbackSecretBadRequest) Error

func (o *RollbackSecretBadRequest) Error() string

func (*RollbackSecretBadRequest) GetPayload

func (o *RollbackSecretBadRequest) GetPayload() *models.HTTPError

func (*RollbackSecretBadRequest) IsClientError

func (o *RollbackSecretBadRequest) IsClientError() bool

IsClientError returns true when this rollback secret bad request response has a 4xx status code

func (*RollbackSecretBadRequest) IsCode

func (o *RollbackSecretBadRequest) IsCode(code int) bool

IsCode returns true when this rollback secret bad request response a status code equal to that given

func (*RollbackSecretBadRequest) IsRedirect

func (o *RollbackSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this rollback secret bad request response has a 3xx status code

func (*RollbackSecretBadRequest) IsServerError

func (o *RollbackSecretBadRequest) IsServerError() bool

IsServerError returns true when this rollback secret bad request response has a 5xx status code

func (*RollbackSecretBadRequest) IsSuccess

func (o *RollbackSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this rollback secret bad request response has a 2xx status code

func (*RollbackSecretBadRequest) String

func (o *RollbackSecretBadRequest) String() string

type RollbackSecretForbidden

type RollbackSecretForbidden struct {
	Payload *models.HTTPError
}
RollbackSecretForbidden describes a response with status code 403, with default header values.

forbidden

func NewRollbackSecretForbidden

func NewRollbackSecretForbidden() *RollbackSecretForbidden

NewRollbackSecretForbidden creates a RollbackSecretForbidden with default headers values

func (*RollbackSecretForbidden) Error

func (o *RollbackSecretForbidden) Error() string

func (*RollbackSecretForbidden) GetPayload

func (o *RollbackSecretForbidden) GetPayload() *models.HTTPError

func (*RollbackSecretForbidden) IsClientError

func (o *RollbackSecretForbidden) IsClientError() bool

IsClientError returns true when this rollback secret forbidden response has a 4xx status code

func (*RollbackSecretForbidden) IsCode

func (o *RollbackSecretForbidden) IsCode(code int) bool

IsCode returns true when this rollback secret forbidden response a status code equal to that given

func (*RollbackSecretForbidden) IsRedirect

func (o *RollbackSecretForbidden) IsRedirect() bool

IsRedirect returns true when this rollback secret forbidden response has a 3xx status code

func (*RollbackSecretForbidden) IsServerError

func (o *RollbackSecretForbidden) IsServerError() bool

IsServerError returns true when this rollback secret forbidden response has a 5xx status code

func (*RollbackSecretForbidden) IsSuccess

func (o *RollbackSecretForbidden) IsSuccess() bool

IsSuccess returns true when this rollback secret forbidden response has a 2xx status code

func (*RollbackSecretForbidden) String

func (o *RollbackSecretForbidden) String() string

type RollbackSecretInternalServerError

type RollbackSecretInternalServerError struct {
	Payload *models.HTTPError
}
RollbackSecretInternalServerError describes a response with status code 500, with default header values.

server error

func NewRollbackSecretInternalServerError

func NewRollbackSecretInternalServerError() *RollbackSecretInternalServerError

NewRollbackSecretInternalServerError creates a RollbackSecretInternalServerError with default headers values

func (*RollbackSecretInternalServerError) Error

func (*RollbackSecretInternalServerError) GetPayload

func (*RollbackSecretInternalServerError) IsClientError

func (o *RollbackSecretInternalServerError) IsClientError() bool

IsClientError returns true when this rollback secret internal server error response has a 4xx status code

func (*RollbackSecretInternalServerError) IsCode

func (o *RollbackSecretInternalServerError) IsCode(code int) bool

IsCode returns true when this rollback secret internal server error response a status code equal to that given

func (*RollbackSecretInternalServerError) IsRedirect

func (o *RollbackSecretInternalServerError) IsRedirect() bool

IsRedirect returns true when this rollback secret internal server error response has a 3xx status code

func (*RollbackSecretInternalServerError) IsServerError

func (o *RollbackSecretInternalServerError) IsServerError() bool

IsServerError returns true when this rollback secret internal server error response has a 5xx status code

func (*RollbackSecretInternalServerError) IsSuccess

func (o *RollbackSecretInternalServerError) IsSuccess() bool

IsSuccess returns true when this rollback secret internal server error response has a 2xx status code

func (*RollbackSecretInternalServerError) String

type RollbackSecretNotFound

type RollbackSecretNotFound struct {
	Payload *models.HTTPError
}
RollbackSecretNotFound describes a response with status code 404, with default header values.

not found

func NewRollbackSecretNotFound

func NewRollbackSecretNotFound() *RollbackSecretNotFound

NewRollbackSecretNotFound creates a RollbackSecretNotFound with default headers values

func (*RollbackSecretNotFound) Error

func (o *RollbackSecretNotFound) Error() string

func (*RollbackSecretNotFound) GetPayload

func (o *RollbackSecretNotFound) GetPayload() *models.HTTPError

func (*RollbackSecretNotFound) IsClientError

func (o *RollbackSecretNotFound) IsClientError() bool

IsClientError returns true when this rollback secret not found response has a 4xx status code

func (*RollbackSecretNotFound) IsCode

func (o *RollbackSecretNotFound) IsCode(code int) bool

IsCode returns true when this rollback secret not found response a status code equal to that given

func (*RollbackSecretNotFound) IsRedirect

func (o *RollbackSecretNotFound) IsRedirect() bool

IsRedirect returns true when this rollback secret not found response has a 3xx status code

func (*RollbackSecretNotFound) IsServerError

func (o *RollbackSecretNotFound) IsServerError() bool

IsServerError returns true when this rollback secret not found response has a 5xx status code

func (*RollbackSecretNotFound) IsSuccess

func (o *RollbackSecretNotFound) IsSuccess() bool

IsSuccess returns true when this rollback secret not found response has a 2xx status code

func (*RollbackSecretNotFound) String

func (o *RollbackSecretNotFound) String() string

type RollbackSecretOK

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

no error

func NewRollbackSecretOK

func NewRollbackSecretOK() *RollbackSecretOK

NewRollbackSecretOK creates a RollbackSecretOK with default headers values

func (*RollbackSecretOK) Error

func (o *RollbackSecretOK) Error() string

func (*RollbackSecretOK) GetPayload

func (*RollbackSecretOK) IsClientError

func (o *RollbackSecretOK) IsClientError() bool

IsClientError returns true when this rollback secret o k response has a 4xx status code

func (*RollbackSecretOK) IsCode

func (o *RollbackSecretOK) IsCode(code int) bool

IsCode returns true when this rollback secret o k response a status code equal to that given

func (*RollbackSecretOK) IsRedirect

func (o *RollbackSecretOK) IsRedirect() bool

IsRedirect returns true when this rollback secret o k response has a 3xx status code

func (*RollbackSecretOK) IsServerError

func (o *RollbackSecretOK) IsServerError() bool

IsServerError returns true when this rollback secret o k response has a 5xx status code

func (*RollbackSecretOK) IsSuccess

func (o *RollbackSecretOK) IsSuccess() bool

IsSuccess returns true when this rollback secret o k response has a 2xx status code

func (*RollbackSecretOK) String

func (o *RollbackSecretOK) String() string

type RollbackSecretParams

type RollbackSecretParams struct {

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

	/* Version.

	   Versions to return

	   Format: int64
	*/
	Version int64

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

RollbackSecretParams contains all the parameters to send to the API endpoint

for the rollback secret operation.

Typically these are written to a http.Request.

func NewRollbackSecretParams

func NewRollbackSecretParams() *RollbackSecretParams

NewRollbackSecretParams creates a new RollbackSecretParams 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 NewRollbackSecretParamsWithContext

func NewRollbackSecretParamsWithContext(ctx context.Context) *RollbackSecretParams

NewRollbackSecretParamsWithContext creates a new RollbackSecretParams object with the ability to set a context for a request.

func NewRollbackSecretParamsWithHTTPClient

func NewRollbackSecretParamsWithHTTPClient(client *http.Client) *RollbackSecretParams

NewRollbackSecretParamsWithHTTPClient creates a new RollbackSecretParams object with the ability to set a custom HTTPClient for a request.

func NewRollbackSecretParamsWithTimeout

func NewRollbackSecretParamsWithTimeout(timeout time.Duration) *RollbackSecretParams

NewRollbackSecretParamsWithTimeout creates a new RollbackSecretParams object with the ability to set a timeout on a request.

func (*RollbackSecretParams) SetContext

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

SetContext adds the context to the rollback secret params

func (*RollbackSecretParams) SetDefaults

func (o *RollbackSecretParams) SetDefaults()

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

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

func (*RollbackSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback secret params

func (*RollbackSecretParams) SetPath

func (o *RollbackSecretParams) SetPath(path string)

SetPath adds the path to the rollback secret params

func (*RollbackSecretParams) SetTimeout

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

SetTimeout adds the timeout to the rollback secret params

func (*RollbackSecretParams) SetVersion

func (o *RollbackSecretParams) SetVersion(version int64)

SetVersion adds the version to the rollback secret params

func (*RollbackSecretParams) WithContext

WithContext adds the context to the rollback secret params

func (*RollbackSecretParams) WithDefaults

func (o *RollbackSecretParams) WithDefaults() *RollbackSecretParams

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

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

func (*RollbackSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rollback secret params

func (*RollbackSecretParams) WithPath

WithPath adds the path to the rollback secret params

func (*RollbackSecretParams) WithTimeout

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

WithTimeout adds the timeout to the rollback secret params

func (*RollbackSecretParams) WithVersion

func (o *RollbackSecretParams) WithVersion(version int64) *RollbackSecretParams

WithVersion adds the version to the rollback secret params

func (*RollbackSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RollbackSecretReader

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

RollbackSecretReader is a Reader for the RollbackSecret structure.

func (*RollbackSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackSecretUnauthorized

type RollbackSecretUnauthorized struct {
	Payload *models.HTTPError
}
RollbackSecretUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRollbackSecretUnauthorized

func NewRollbackSecretUnauthorized() *RollbackSecretUnauthorized

NewRollbackSecretUnauthorized creates a RollbackSecretUnauthorized with default headers values

func (*RollbackSecretUnauthorized) Error

func (*RollbackSecretUnauthorized) GetPayload

func (o *RollbackSecretUnauthorized) GetPayload() *models.HTTPError

func (*RollbackSecretUnauthorized) IsClientError

func (o *RollbackSecretUnauthorized) IsClientError() bool

IsClientError returns true when this rollback secret unauthorized response has a 4xx status code

func (*RollbackSecretUnauthorized) IsCode

func (o *RollbackSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this rollback secret unauthorized response a status code equal to that given

func (*RollbackSecretUnauthorized) IsRedirect

func (o *RollbackSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this rollback secret unauthorized response has a 3xx status code

func (*RollbackSecretUnauthorized) IsServerError

func (o *RollbackSecretUnauthorized) IsServerError() bool

IsServerError returns true when this rollback secret unauthorized response has a 5xx status code

func (*RollbackSecretUnauthorized) IsSuccess

func (o *RollbackSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this rollback secret unauthorized response has a 2xx status code

func (*RollbackSecretUnauthorized) String

func (o *RollbackSecretUnauthorized) String() string

type SearchSecretsBadRequest

type SearchSecretsBadRequest struct {
	Payload *models.HTTPError
}
SearchSecretsBadRequest describes a response with status code 400, with default header values.

bad request

func NewSearchSecretsBadRequest

func NewSearchSecretsBadRequest() *SearchSecretsBadRequest

NewSearchSecretsBadRequest creates a SearchSecretsBadRequest with default headers values

func (*SearchSecretsBadRequest) Error

func (o *SearchSecretsBadRequest) Error() string

func (*SearchSecretsBadRequest) GetPayload

func (o *SearchSecretsBadRequest) GetPayload() *models.HTTPError

func (*SearchSecretsBadRequest) IsClientError

func (o *SearchSecretsBadRequest) IsClientError() bool

IsClientError returns true when this search secrets bad request response has a 4xx status code

func (*SearchSecretsBadRequest) IsCode

func (o *SearchSecretsBadRequest) IsCode(code int) bool

IsCode returns true when this search secrets bad request response a status code equal to that given

func (*SearchSecretsBadRequest) IsRedirect

func (o *SearchSecretsBadRequest) IsRedirect() bool

IsRedirect returns true when this search secrets bad request response has a 3xx status code

func (*SearchSecretsBadRequest) IsServerError

func (o *SearchSecretsBadRequest) IsServerError() bool

IsServerError returns true when this search secrets bad request response has a 5xx status code

func (*SearchSecretsBadRequest) IsSuccess

func (o *SearchSecretsBadRequest) IsSuccess() bool

IsSuccess returns true when this search secrets bad request response has a 2xx status code

func (*SearchSecretsBadRequest) String

func (o *SearchSecretsBadRequest) String() string

type SearchSecretsForbidden

type SearchSecretsForbidden struct {
	Payload *models.HTTPError
}
SearchSecretsForbidden describes a response with status code 403, with default header values.

forbidden

func NewSearchSecretsForbidden

func NewSearchSecretsForbidden() *SearchSecretsForbidden

NewSearchSecretsForbidden creates a SearchSecretsForbidden with default headers values

func (*SearchSecretsForbidden) Error

func (o *SearchSecretsForbidden) Error() string

func (*SearchSecretsForbidden) GetPayload

func (o *SearchSecretsForbidden) GetPayload() *models.HTTPError

func (*SearchSecretsForbidden) IsClientError

func (o *SearchSecretsForbidden) IsClientError() bool

IsClientError returns true when this search secrets forbidden response has a 4xx status code

func (*SearchSecretsForbidden) IsCode

func (o *SearchSecretsForbidden) IsCode(code int) bool

IsCode returns true when this search secrets forbidden response a status code equal to that given

func (*SearchSecretsForbidden) IsRedirect

func (o *SearchSecretsForbidden) IsRedirect() bool

IsRedirect returns true when this search secrets forbidden response has a 3xx status code

func (*SearchSecretsForbidden) IsServerError

func (o *SearchSecretsForbidden) IsServerError() bool

IsServerError returns true when this search secrets forbidden response has a 5xx status code

func (*SearchSecretsForbidden) IsSuccess

func (o *SearchSecretsForbidden) IsSuccess() bool

IsSuccess returns true when this search secrets forbidden response has a 2xx status code

func (*SearchSecretsForbidden) String

func (o *SearchSecretsForbidden) String() string

type SearchSecretsInternalServerError

type SearchSecretsInternalServerError struct {
	Payload *models.HTTPError
}
SearchSecretsInternalServerError describes a response with status code 500, with default header values.

server error

func NewSearchSecretsInternalServerError

func NewSearchSecretsInternalServerError() *SearchSecretsInternalServerError

NewSearchSecretsInternalServerError creates a SearchSecretsInternalServerError with default headers values

func (*SearchSecretsInternalServerError) Error

func (*SearchSecretsInternalServerError) GetPayload

func (*SearchSecretsInternalServerError) IsClientError

func (o *SearchSecretsInternalServerError) IsClientError() bool

IsClientError returns true when this search secrets internal server error response has a 4xx status code

func (*SearchSecretsInternalServerError) IsCode

func (o *SearchSecretsInternalServerError) IsCode(code int) bool

IsCode returns true when this search secrets internal server error response a status code equal to that given

func (*SearchSecretsInternalServerError) IsRedirect

func (o *SearchSecretsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search secrets internal server error response has a 3xx status code

func (*SearchSecretsInternalServerError) IsServerError

func (o *SearchSecretsInternalServerError) IsServerError() bool

IsServerError returns true when this search secrets internal server error response has a 5xx status code

func (*SearchSecretsInternalServerError) IsSuccess

func (o *SearchSecretsInternalServerError) IsSuccess() bool

IsSuccess returns true when this search secrets internal server error response has a 2xx status code

func (*SearchSecretsInternalServerError) String

type SearchSecretsNotFound

type SearchSecretsNotFound struct {
	Payload *models.HTTPError
}
SearchSecretsNotFound describes a response with status code 404, with default header values.

not found

func NewSearchSecretsNotFound

func NewSearchSecretsNotFound() *SearchSecretsNotFound

NewSearchSecretsNotFound creates a SearchSecretsNotFound with default headers values

func (*SearchSecretsNotFound) Error

func (o *SearchSecretsNotFound) Error() string

func (*SearchSecretsNotFound) GetPayload

func (o *SearchSecretsNotFound) GetPayload() *models.HTTPError

func (*SearchSecretsNotFound) IsClientError

func (o *SearchSecretsNotFound) IsClientError() bool

IsClientError returns true when this search secrets not found response has a 4xx status code

func (*SearchSecretsNotFound) IsCode

func (o *SearchSecretsNotFound) IsCode(code int) bool

IsCode returns true when this search secrets not found response a status code equal to that given

func (*SearchSecretsNotFound) IsRedirect

func (o *SearchSecretsNotFound) IsRedirect() bool

IsRedirect returns true when this search secrets not found response has a 3xx status code

func (*SearchSecretsNotFound) IsServerError

func (o *SearchSecretsNotFound) IsServerError() bool

IsServerError returns true when this search secrets not found response has a 5xx status code

func (*SearchSecretsNotFound) IsSuccess

func (o *SearchSecretsNotFound) IsSuccess() bool

IsSuccess returns true when this search secrets not found response has a 2xx status code

func (*SearchSecretsNotFound) String

func (o *SearchSecretsNotFound) String() string

type SearchSecretsOK

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

no error

func NewSearchSecretsOK

func NewSearchSecretsOK() *SearchSecretsOK

NewSearchSecretsOK creates a SearchSecretsOK with default headers values

func (*SearchSecretsOK) Error

func (o *SearchSecretsOK) Error() string

func (*SearchSecretsOK) GetPayload

func (o *SearchSecretsOK) GetPayload() *models.ResponseModelSearch

func (*SearchSecretsOK) IsClientError

func (o *SearchSecretsOK) IsClientError() bool

IsClientError returns true when this search secrets o k response has a 4xx status code

func (*SearchSecretsOK) IsCode

func (o *SearchSecretsOK) IsCode(code int) bool

IsCode returns true when this search secrets o k response a status code equal to that given

func (*SearchSecretsOK) IsRedirect

func (o *SearchSecretsOK) IsRedirect() bool

IsRedirect returns true when this search secrets o k response has a 3xx status code

func (*SearchSecretsOK) IsServerError

func (o *SearchSecretsOK) IsServerError() bool

IsServerError returns true when this search secrets o k response has a 5xx status code

func (*SearchSecretsOK) IsSuccess

func (o *SearchSecretsOK) IsSuccess() bool

IsSuccess returns true when this search secrets o k response has a 2xx status code

func (*SearchSecretsOK) String

func (o *SearchSecretsOK) String() string

type SearchSecretsParams

type SearchSecretsParams struct {

	/* Cursor.

	   Cursor to next batch of results
	*/
	Cursor *string

	/* Limit.

	   Limit for the number of results per page (cursor)

	   Format: int64
	*/
	Limit *int64

	/* SearchComparison.

	   Comparison type (equal, contains, begins_with) for advanced searching
	*/
	Comparison *string

	/* SearchField.

	   Secret field for advanced searching
	*/
	Field *string

	/* SearchLinks.

	   Whether to search for secrets that link to the path in the search term
	*/
	Link *bool

	/* SearchType.

	   Attribute type (string, number) to search on
	*/
	UnderlyingType *string

	/* SearchTerm.

	   Partial search term for search by path
	*/
	SearchTerm *string

	/* Sort.

	   Sort results ascending (asc) or descending (desc) order by lastModified attribute on field search. Default is desc
	*/
	Sort *string

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

SearchSecretsParams contains all the parameters to send to the API endpoint

for the search secrets operation.

Typically these are written to a http.Request.

func NewSearchSecretsParams

func NewSearchSecretsParams() *SearchSecretsParams

NewSearchSecretsParams creates a new SearchSecretsParams 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 NewSearchSecretsParamsWithContext

func NewSearchSecretsParamsWithContext(ctx context.Context) *SearchSecretsParams

NewSearchSecretsParamsWithContext creates a new SearchSecretsParams object with the ability to set a context for a request.

func NewSearchSecretsParamsWithHTTPClient

func NewSearchSecretsParamsWithHTTPClient(client *http.Client) *SearchSecretsParams

NewSearchSecretsParamsWithHTTPClient creates a new SearchSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchSecretsParamsWithTimeout

func NewSearchSecretsParamsWithTimeout(timeout time.Duration) *SearchSecretsParams

NewSearchSecretsParamsWithTimeout creates a new SearchSecretsParams object with the ability to set a timeout on a request.

func (*SearchSecretsParams) SetComparison

func (o *SearchSecretsParams) SetComparison(searchComparison *string)

SetComparison adds the searchComparison to the search secrets params

func (*SearchSecretsParams) SetContext

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

SetContext adds the context to the search secrets params

func (*SearchSecretsParams) SetCursor

func (o *SearchSecretsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the search secrets params

func (*SearchSecretsParams) SetDefaults

func (o *SearchSecretsParams) SetDefaults()

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

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

func (*SearchSecretsParams) SetField

func (o *SearchSecretsParams) SetField(searchField *string)

SetField adds the searchField to the search secrets params

func (*SearchSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search secrets params

func (*SearchSecretsParams) SetLimit

func (o *SearchSecretsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search secrets params

func (o *SearchSecretsParams) SetLink(searchLinks *bool)

SetLink adds the searchLinks to the search secrets params

func (*SearchSecretsParams) SetSearchTerm

func (o *SearchSecretsParams) SetSearchTerm(searchTerm *string)

SetSearchTerm adds the searchTerm to the search secrets params

func (*SearchSecretsParams) SetSort

func (o *SearchSecretsParams) SetSort(sort *string)

SetSort adds the sort to the search secrets params

func (*SearchSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the search secrets params

func (*SearchSecretsParams) SetUnderlyingType

func (o *SearchSecretsParams) SetUnderlyingType(searchType *string)

SetUnderlyingType adds the searchType to the search secrets params

func (*SearchSecretsParams) WithComparison

func (o *SearchSecretsParams) WithComparison(searchComparison *string) *SearchSecretsParams

WithComparison adds the searchComparison to the search secrets params

func (*SearchSecretsParams) WithContext

WithContext adds the context to the search secrets params

func (*SearchSecretsParams) WithCursor

func (o *SearchSecretsParams) WithCursor(cursor *string) *SearchSecretsParams

WithCursor adds the cursor to the search secrets params

func (*SearchSecretsParams) WithDefaults

func (o *SearchSecretsParams) WithDefaults() *SearchSecretsParams

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

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

func (*SearchSecretsParams) WithField

func (o *SearchSecretsParams) WithField(searchField *string) *SearchSecretsParams

WithField adds the searchField to the search secrets params

func (*SearchSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search secrets params

func (*SearchSecretsParams) WithLimit

func (o *SearchSecretsParams) WithLimit(limit *int64) *SearchSecretsParams

WithLimit adds the limit to the search secrets params

func (o *SearchSecretsParams) WithLink(searchLinks *bool) *SearchSecretsParams

WithLink adds the searchLinks to the search secrets params

func (*SearchSecretsParams) WithSearchTerm

func (o *SearchSecretsParams) WithSearchTerm(searchTerm *string) *SearchSecretsParams

WithSearchTerm adds the searchTerm to the search secrets params

func (*SearchSecretsParams) WithSort

func (o *SearchSecretsParams) WithSort(sort *string) *SearchSecretsParams

WithSort adds the sort to the search secrets params

func (*SearchSecretsParams) WithTimeout

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

WithTimeout adds the timeout to the search secrets params

func (*SearchSecretsParams) WithUnderlyingType

func (o *SearchSecretsParams) WithUnderlyingType(searchType *string) *SearchSecretsParams

WithUnderlyingType adds the searchType to the search secrets params

func (*SearchSecretsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchSecretsReader

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

SearchSecretsReader is a Reader for the SearchSecrets structure.

func (*SearchSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchSecretsUnauthorized

type SearchSecretsUnauthorized struct {
	Payload *models.HTTPError
}
SearchSecretsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSearchSecretsUnauthorized

func NewSearchSecretsUnauthorized() *SearchSecretsUnauthorized

NewSearchSecretsUnauthorized creates a SearchSecretsUnauthorized with default headers values

func (*SearchSecretsUnauthorized) Error

func (o *SearchSecretsUnauthorized) Error() string

func (*SearchSecretsUnauthorized) GetPayload

func (o *SearchSecretsUnauthorized) GetPayload() *models.HTTPError

func (*SearchSecretsUnauthorized) IsClientError

func (o *SearchSecretsUnauthorized) IsClientError() bool

IsClientError returns true when this search secrets unauthorized response has a 4xx status code

func (*SearchSecretsUnauthorized) IsCode

func (o *SearchSecretsUnauthorized) IsCode(code int) bool

IsCode returns true when this search secrets unauthorized response a status code equal to that given

func (*SearchSecretsUnauthorized) IsRedirect

func (o *SearchSecretsUnauthorized) IsRedirect() bool

IsRedirect returns true when this search secrets unauthorized response has a 3xx status code

func (*SearchSecretsUnauthorized) IsServerError

func (o *SearchSecretsUnauthorized) IsServerError() bool

IsServerError returns true when this search secrets unauthorized response has a 5xx status code

func (*SearchSecretsUnauthorized) IsSuccess

func (o *SearchSecretsUnauthorized) IsSuccess() bool

IsSuccess returns true when this search secrets unauthorized response has a 2xx status code

func (*SearchSecretsUnauthorized) String

func (o *SearchSecretsUnauthorized) String() string

type UpdateSecretBadRequest

type UpdateSecretBadRequest struct {
	Payload *models.HTTPError
}
UpdateSecretBadRequest describes a response with status code 400, with default header values.

bad request

func NewUpdateSecretBadRequest

func NewUpdateSecretBadRequest() *UpdateSecretBadRequest

NewUpdateSecretBadRequest creates a UpdateSecretBadRequest with default headers values

func (*UpdateSecretBadRequest) Error

func (o *UpdateSecretBadRequest) Error() string

func (*UpdateSecretBadRequest) GetPayload

func (o *UpdateSecretBadRequest) GetPayload() *models.HTTPError

func (*UpdateSecretBadRequest) IsClientError

func (o *UpdateSecretBadRequest) IsClientError() bool

IsClientError returns true when this update secret bad request response has a 4xx status code

func (*UpdateSecretBadRequest) IsCode

func (o *UpdateSecretBadRequest) IsCode(code int) bool

IsCode returns true when this update secret bad request response a status code equal to that given

func (*UpdateSecretBadRequest) IsRedirect

func (o *UpdateSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this update secret bad request response has a 3xx status code

func (*UpdateSecretBadRequest) IsServerError

func (o *UpdateSecretBadRequest) IsServerError() bool

IsServerError returns true when this update secret bad request response has a 5xx status code

func (*UpdateSecretBadRequest) IsSuccess

func (o *UpdateSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this update secret bad request response has a 2xx status code

func (*UpdateSecretBadRequest) String

func (o *UpdateSecretBadRequest) String() string

type UpdateSecretForbidden

type UpdateSecretForbidden struct {
	Payload *models.HTTPError
}
UpdateSecretForbidden describes a response with status code 403, with default header values.

forbidden

func NewUpdateSecretForbidden

func NewUpdateSecretForbidden() *UpdateSecretForbidden

NewUpdateSecretForbidden creates a UpdateSecretForbidden with default headers values

func (*UpdateSecretForbidden) Error

func (o *UpdateSecretForbidden) Error() string

func (*UpdateSecretForbidden) GetPayload

func (o *UpdateSecretForbidden) GetPayload() *models.HTTPError

func (*UpdateSecretForbidden) IsClientError

func (o *UpdateSecretForbidden) IsClientError() bool

IsClientError returns true when this update secret forbidden response has a 4xx status code

func (*UpdateSecretForbidden) IsCode

func (o *UpdateSecretForbidden) IsCode(code int) bool

IsCode returns true when this update secret forbidden response a status code equal to that given

func (*UpdateSecretForbidden) IsRedirect

func (o *UpdateSecretForbidden) IsRedirect() bool

IsRedirect returns true when this update secret forbidden response has a 3xx status code

func (*UpdateSecretForbidden) IsServerError

func (o *UpdateSecretForbidden) IsServerError() bool

IsServerError returns true when this update secret forbidden response has a 5xx status code

func (*UpdateSecretForbidden) IsSuccess

func (o *UpdateSecretForbidden) IsSuccess() bool

IsSuccess returns true when this update secret forbidden response has a 2xx status code

func (*UpdateSecretForbidden) String

func (o *UpdateSecretForbidden) String() string

type UpdateSecretInternalServerError

type UpdateSecretInternalServerError struct {
	Payload *models.HTTPError
}
UpdateSecretInternalServerError describes a response with status code 500, with default header values.

server error

func NewUpdateSecretInternalServerError

func NewUpdateSecretInternalServerError() *UpdateSecretInternalServerError

NewUpdateSecretInternalServerError creates a UpdateSecretInternalServerError with default headers values

func (*UpdateSecretInternalServerError) Error

func (*UpdateSecretInternalServerError) GetPayload

func (*UpdateSecretInternalServerError) IsClientError

func (o *UpdateSecretInternalServerError) IsClientError() bool

IsClientError returns true when this update secret internal server error response has a 4xx status code

func (*UpdateSecretInternalServerError) IsCode

func (o *UpdateSecretInternalServerError) IsCode(code int) bool

IsCode returns true when this update secret internal server error response a status code equal to that given

func (*UpdateSecretInternalServerError) IsRedirect

func (o *UpdateSecretInternalServerError) IsRedirect() bool

IsRedirect returns true when this update secret internal server error response has a 3xx status code

func (*UpdateSecretInternalServerError) IsServerError

func (o *UpdateSecretInternalServerError) IsServerError() bool

IsServerError returns true when this update secret internal server error response has a 5xx status code

func (*UpdateSecretInternalServerError) IsSuccess

func (o *UpdateSecretInternalServerError) IsSuccess() bool

IsSuccess returns true when this update secret internal server error response has a 2xx status code

func (*UpdateSecretInternalServerError) String

type UpdateSecretNotFound

type UpdateSecretNotFound struct {
	Payload *models.HTTPError
}
UpdateSecretNotFound describes a response with status code 404, with default header values.

not found

func NewUpdateSecretNotFound

func NewUpdateSecretNotFound() *UpdateSecretNotFound

NewUpdateSecretNotFound creates a UpdateSecretNotFound with default headers values

func (*UpdateSecretNotFound) Error

func (o *UpdateSecretNotFound) Error() string

func (*UpdateSecretNotFound) GetPayload

func (o *UpdateSecretNotFound) GetPayload() *models.HTTPError

func (*UpdateSecretNotFound) IsClientError

func (o *UpdateSecretNotFound) IsClientError() bool

IsClientError returns true when this update secret not found response has a 4xx status code

func (*UpdateSecretNotFound) IsCode

func (o *UpdateSecretNotFound) IsCode(code int) bool

IsCode returns true when this update secret not found response a status code equal to that given

func (*UpdateSecretNotFound) IsRedirect

func (o *UpdateSecretNotFound) IsRedirect() bool

IsRedirect returns true when this update secret not found response has a 3xx status code

func (*UpdateSecretNotFound) IsServerError

func (o *UpdateSecretNotFound) IsServerError() bool

IsServerError returns true when this update secret not found response has a 5xx status code

func (*UpdateSecretNotFound) IsSuccess

func (o *UpdateSecretNotFound) IsSuccess() bool

IsSuccess returns true when this update secret not found response has a 2xx status code

func (*UpdateSecretNotFound) String

func (o *UpdateSecretNotFound) String() string

type UpdateSecretOK

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

no error

func NewUpdateSecretOK

func NewUpdateSecretOK() *UpdateSecretOK

NewUpdateSecretOK creates a UpdateSecretOK with default headers values

func (*UpdateSecretOK) Error

func (o *UpdateSecretOK) Error() string

func (*UpdateSecretOK) GetPayload

func (o *UpdateSecretOK) GetPayload() *models.ResponseModelFull

func (*UpdateSecretOK) IsClientError

func (o *UpdateSecretOK) IsClientError() bool

IsClientError returns true when this update secret o k response has a 4xx status code

func (*UpdateSecretOK) IsCode

func (o *UpdateSecretOK) IsCode(code int) bool

IsCode returns true when this update secret o k response a status code equal to that given

func (*UpdateSecretOK) IsRedirect

func (o *UpdateSecretOK) IsRedirect() bool

IsRedirect returns true when this update secret o k response has a 3xx status code

func (*UpdateSecretOK) IsServerError

func (o *UpdateSecretOK) IsServerError() bool

IsServerError returns true when this update secret o k response has a 5xx status code

func (*UpdateSecretOK) IsSuccess

func (o *UpdateSecretOK) IsSuccess() bool

IsSuccess returns true when this update secret o k response has a 2xx status code

func (*UpdateSecretOK) String

func (o *UpdateSecretOK) String() string

type UpdateSecretParams

type UpdateSecretParams struct {

	// Body.
	Body *models.RequestModelUpdate

	/* Path.

	   The full secret path i.e. servers/prod/webserver-01
	*/
	Path string

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

UpdateSecretParams contains all the parameters to send to the API endpoint

for the update secret operation.

Typically these are written to a http.Request.

func NewUpdateSecretParams

func NewUpdateSecretParams() *UpdateSecretParams

NewUpdateSecretParams creates a new UpdateSecretParams 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 NewUpdateSecretParamsWithContext

func NewUpdateSecretParamsWithContext(ctx context.Context) *UpdateSecretParams

NewUpdateSecretParamsWithContext creates a new UpdateSecretParams object with the ability to set a context for a request.

func NewUpdateSecretParamsWithHTTPClient

func NewUpdateSecretParamsWithHTTPClient(client *http.Client) *UpdateSecretParams

NewUpdateSecretParamsWithHTTPClient creates a new UpdateSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSecretParamsWithTimeout

func NewUpdateSecretParamsWithTimeout(timeout time.Duration) *UpdateSecretParams

NewUpdateSecretParamsWithTimeout creates a new UpdateSecretParams object with the ability to set a timeout on a request.

func (*UpdateSecretParams) SetBody

func (o *UpdateSecretParams) SetBody(body *models.RequestModelUpdate)

SetBody adds the body to the update secret params

func (*UpdateSecretParams) SetContext

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

SetContext adds the context to the update secret params

func (*UpdateSecretParams) SetDefaults

func (o *UpdateSecretParams) SetDefaults()

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

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

func (*UpdateSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update secret params

func (*UpdateSecretParams) SetPath

func (o *UpdateSecretParams) SetPath(path string)

SetPath adds the path to the update secret params

func (*UpdateSecretParams) SetTimeout

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

SetTimeout adds the timeout to the update secret params

func (*UpdateSecretParams) WithBody

WithBody adds the body to the update secret params

func (*UpdateSecretParams) WithContext

WithContext adds the context to the update secret params

func (*UpdateSecretParams) WithDefaults

func (o *UpdateSecretParams) WithDefaults() *UpdateSecretParams

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

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

func (*UpdateSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update secret params

func (*UpdateSecretParams) WithPath

func (o *UpdateSecretParams) WithPath(path string) *UpdateSecretParams

WithPath adds the path to the update secret params

func (*UpdateSecretParams) WithTimeout

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

WithTimeout adds the timeout to the update secret params

func (*UpdateSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSecretReader

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

UpdateSecretReader is a Reader for the UpdateSecret structure.

func (*UpdateSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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