home

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 home API

func (*Client) CreateHomeSecret

func (a *Client) CreateHomeSecret(params *CreateHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHomeSecretCreated, error)

CreateHomeSecret creates home secrets

Creates a new home secret.

func (*Client) DeleteHomeSecret

DeleteHomeSecret deletes home secret

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

func (*Client) GetHomeSecret

func (a *Client) GetHomeSecret(params *GetHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretOK, error)

GetHomeSecret gets home

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

func (*Client) GetHomeSecretByVersion

func (a *Client) GetHomeSecretByVersion(params *GetHomeSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretByVersionOK, error)

GetHomeSecretByVersion gets home secret by version

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

func (*Client) GetHomeSecretDescription

func (a *Client) GetHomeSecretDescription(params *GetHomeSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretDescriptionOK, error)

GetHomeSecretDescription gets home secret description

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

func (*Client) RestoreHomeSecret

func (a *Client) RestoreHomeSecret(params *RestoreHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreHomeSecretOK, error)

RestoreHomeSecret restores home secret

Restores a home secret by path or by id in the query.

func (*Client) RollbackHomeSecret

func (a *Client) RollbackHomeSecret(params *RollbackHomeSecretParams, opts ...ClientOption) (*RollbackHomeSecretOK, error)

RollbackHomeSecret rollbacks a home secret

Rollbacks a Home Secret to a previous version.

func (*Client) SearchHomeSecrets

func (a *Client) SearchHomeSecrets(params *SearchHomeSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchHomeSecretsOK, error)

SearchHomeSecrets searches for home secrets

Lists home 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) UpdateHomeSecret

func (a *Client) UpdateHomeSecret(params *UpdateHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHomeSecretOK, error)

UpdateHomeSecret updates home secret

Updates an existing home secret.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateHomeSecret(params *CreateHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHomeSecretCreated, error)

	DeleteHomeSecret(params *DeleteHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHomeSecretOK, *DeleteHomeSecretNoContent, error)

	GetHomeSecret(params *GetHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretOK, error)

	GetHomeSecretByVersion(params *GetHomeSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretByVersionOK, error)

	GetHomeSecretDescription(params *GetHomeSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeSecretDescriptionOK, error)

	RestoreHomeSecret(params *RestoreHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreHomeSecretOK, error)

	RollbackHomeSecret(params *RollbackHomeSecretParams, opts ...ClientOption) (*RollbackHomeSecretOK, error)

	SearchHomeSecrets(params *SearchHomeSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchHomeSecretsOK, error)

	UpdateHomeSecret(params *UpdateHomeSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHomeSecretOK, 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 home API client.

type CreateHomeSecretBadRequest

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

bad request

func NewCreateHomeSecretBadRequest

func NewCreateHomeSecretBadRequest() *CreateHomeSecretBadRequest

NewCreateHomeSecretBadRequest creates a CreateHomeSecretBadRequest with default headers values

func (*CreateHomeSecretBadRequest) Error

func (*CreateHomeSecretBadRequest) GetPayload

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

func (*CreateHomeSecretBadRequest) IsClientError

func (o *CreateHomeSecretBadRequest) IsClientError() bool

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

func (*CreateHomeSecretBadRequest) IsCode

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

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

func (*CreateHomeSecretBadRequest) IsRedirect

func (o *CreateHomeSecretBadRequest) IsRedirect() bool

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

func (*CreateHomeSecretBadRequest) IsServerError

func (o *CreateHomeSecretBadRequest) IsServerError() bool

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

func (*CreateHomeSecretBadRequest) IsSuccess

func (o *CreateHomeSecretBadRequest) IsSuccess() bool

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

func (*CreateHomeSecretBadRequest) String

func (o *CreateHomeSecretBadRequest) String() string

type CreateHomeSecretCreated

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

no error

func NewCreateHomeSecretCreated

func NewCreateHomeSecretCreated() *CreateHomeSecretCreated

NewCreateHomeSecretCreated creates a CreateHomeSecretCreated with default headers values

func (*CreateHomeSecretCreated) Error

func (o *CreateHomeSecretCreated) Error() string

func (*CreateHomeSecretCreated) GetPayload

func (*CreateHomeSecretCreated) IsClientError

func (o *CreateHomeSecretCreated) IsClientError() bool

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

func (*CreateHomeSecretCreated) IsCode

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

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

func (*CreateHomeSecretCreated) IsRedirect

func (o *CreateHomeSecretCreated) IsRedirect() bool

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

func (*CreateHomeSecretCreated) IsServerError

func (o *CreateHomeSecretCreated) IsServerError() bool

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

func (*CreateHomeSecretCreated) IsSuccess

func (o *CreateHomeSecretCreated) IsSuccess() bool

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

func (*CreateHomeSecretCreated) String

func (o *CreateHomeSecretCreated) String() string

type CreateHomeSecretForbidden

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

forbidden

func NewCreateHomeSecretForbidden

func NewCreateHomeSecretForbidden() *CreateHomeSecretForbidden

NewCreateHomeSecretForbidden creates a CreateHomeSecretForbidden with default headers values

func (*CreateHomeSecretForbidden) Error

func (o *CreateHomeSecretForbidden) Error() string

func (*CreateHomeSecretForbidden) GetPayload

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

func (*CreateHomeSecretForbidden) IsClientError

func (o *CreateHomeSecretForbidden) IsClientError() bool

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

func (*CreateHomeSecretForbidden) IsCode

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

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

func (*CreateHomeSecretForbidden) IsRedirect

func (o *CreateHomeSecretForbidden) IsRedirect() bool

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

func (*CreateHomeSecretForbidden) IsServerError

func (o *CreateHomeSecretForbidden) IsServerError() bool

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

func (*CreateHomeSecretForbidden) IsSuccess

func (o *CreateHomeSecretForbidden) IsSuccess() bool

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

func (*CreateHomeSecretForbidden) String

func (o *CreateHomeSecretForbidden) String() string

type CreateHomeSecretInternalServerError

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

server error

func NewCreateHomeSecretInternalServerError

func NewCreateHomeSecretInternalServerError() *CreateHomeSecretInternalServerError

NewCreateHomeSecretInternalServerError creates a CreateHomeSecretInternalServerError with default headers values

func (*CreateHomeSecretInternalServerError) Error

func (*CreateHomeSecretInternalServerError) GetPayload

func (*CreateHomeSecretInternalServerError) IsClientError

func (o *CreateHomeSecretInternalServerError) IsClientError() bool

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

func (*CreateHomeSecretInternalServerError) IsCode

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

func (*CreateHomeSecretInternalServerError) IsRedirect

func (o *CreateHomeSecretInternalServerError) IsRedirect() bool

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

func (*CreateHomeSecretInternalServerError) IsServerError

func (o *CreateHomeSecretInternalServerError) IsServerError() bool

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

func (*CreateHomeSecretInternalServerError) IsSuccess

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

func (*CreateHomeSecretInternalServerError) String

type CreateHomeSecretParams

type CreateHomeSecretParams struct {

	// Body.
	Body *models.RequestModelCreate

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

CreateHomeSecretParams contains all the parameters to send to the API endpoint

for the create home secret operation.

Typically these are written to a http.Request.

func NewCreateHomeSecretParams

func NewCreateHomeSecretParams() *CreateHomeSecretParams

NewCreateHomeSecretParams creates a new CreateHomeSecretParams 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 NewCreateHomeSecretParamsWithContext

func NewCreateHomeSecretParamsWithContext(ctx context.Context) *CreateHomeSecretParams

NewCreateHomeSecretParamsWithContext creates a new CreateHomeSecretParams object with the ability to set a context for a request.

func NewCreateHomeSecretParamsWithHTTPClient

func NewCreateHomeSecretParamsWithHTTPClient(client *http.Client) *CreateHomeSecretParams

NewCreateHomeSecretParamsWithHTTPClient creates a new CreateHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHomeSecretParamsWithTimeout

func NewCreateHomeSecretParamsWithTimeout(timeout time.Duration) *CreateHomeSecretParams

NewCreateHomeSecretParamsWithTimeout creates a new CreateHomeSecretParams object with the ability to set a timeout on a request.

func (*CreateHomeSecretParams) SetBody

SetBody adds the body to the create home secret params

func (*CreateHomeSecretParams) SetContext

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

SetContext adds the context to the create home secret params

func (*CreateHomeSecretParams) SetDefaults

func (o *CreateHomeSecretParams) SetDefaults()

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

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

func (*CreateHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create home secret params

func (*CreateHomeSecretParams) SetPath

func (o *CreateHomeSecretParams) SetPath(path string)

SetPath adds the path to the create home secret params

func (*CreateHomeSecretParams) SetPrincipalName

func (o *CreateHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the create home secret params

func (*CreateHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the create home secret params

func (*CreateHomeSecretParams) WithBody

WithBody adds the body to the create home secret params

func (*CreateHomeSecretParams) WithContext

WithContext adds the context to the create home secret params

func (*CreateHomeSecretParams) WithDefaults

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

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

func (*CreateHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create home secret params

func (*CreateHomeSecretParams) WithPath

WithPath adds the path to the create home secret params

func (*CreateHomeSecretParams) WithPrincipalName

func (o *CreateHomeSecretParams) WithPrincipalName(principalName string) *CreateHomeSecretParams

WithPrincipalName adds the principalName to the create home secret params

func (*CreateHomeSecretParams) WithTimeout

WithTimeout adds the timeout to the create home secret params

func (*CreateHomeSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHomeSecretReader

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

CreateHomeSecretReader is a Reader for the CreateHomeSecret structure.

func (*CreateHomeSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateHomeSecretUnauthorized

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

unauthorized

func NewCreateHomeSecretUnauthorized

func NewCreateHomeSecretUnauthorized() *CreateHomeSecretUnauthorized

NewCreateHomeSecretUnauthorized creates a CreateHomeSecretUnauthorized with default headers values

func (*CreateHomeSecretUnauthorized) Error

func (*CreateHomeSecretUnauthorized) GetPayload

func (*CreateHomeSecretUnauthorized) IsClientError

func (o *CreateHomeSecretUnauthorized) IsClientError() bool

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

func (*CreateHomeSecretUnauthorized) IsCode

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

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

func (*CreateHomeSecretUnauthorized) IsRedirect

func (o *CreateHomeSecretUnauthorized) IsRedirect() bool

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

func (*CreateHomeSecretUnauthorized) IsServerError

func (o *CreateHomeSecretUnauthorized) IsServerError() bool

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

func (*CreateHomeSecretUnauthorized) IsSuccess

func (o *CreateHomeSecretUnauthorized) IsSuccess() bool

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

func (*CreateHomeSecretUnauthorized) String

type DeleteHomeSecretBadRequest

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

bad request

func NewDeleteHomeSecretBadRequest

func NewDeleteHomeSecretBadRequest() *DeleteHomeSecretBadRequest

NewDeleteHomeSecretBadRequest creates a DeleteHomeSecretBadRequest with default headers values

func (*DeleteHomeSecretBadRequest) Error

func (*DeleteHomeSecretBadRequest) GetPayload

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

func (*DeleteHomeSecretBadRequest) IsClientError

func (o *DeleteHomeSecretBadRequest) IsClientError() bool

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

func (*DeleteHomeSecretBadRequest) IsCode

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

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

func (*DeleteHomeSecretBadRequest) IsRedirect

func (o *DeleteHomeSecretBadRequest) IsRedirect() bool

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

func (*DeleteHomeSecretBadRequest) IsServerError

func (o *DeleteHomeSecretBadRequest) IsServerError() bool

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

func (*DeleteHomeSecretBadRequest) IsSuccess

func (o *DeleteHomeSecretBadRequest) IsSuccess() bool

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

func (*DeleteHomeSecretBadRequest) String

func (o *DeleteHomeSecretBadRequest) String() string

type DeleteHomeSecretForbidden

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

forbidden

func NewDeleteHomeSecretForbidden

func NewDeleteHomeSecretForbidden() *DeleteHomeSecretForbidden

NewDeleteHomeSecretForbidden creates a DeleteHomeSecretForbidden with default headers values

func (*DeleteHomeSecretForbidden) Error

func (o *DeleteHomeSecretForbidden) Error() string

func (*DeleteHomeSecretForbidden) GetPayload

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

func (*DeleteHomeSecretForbidden) IsClientError

func (o *DeleteHomeSecretForbidden) IsClientError() bool

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

func (*DeleteHomeSecretForbidden) IsCode

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

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

func (*DeleteHomeSecretForbidden) IsRedirect

func (o *DeleteHomeSecretForbidden) IsRedirect() bool

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

func (*DeleteHomeSecretForbidden) IsServerError

func (o *DeleteHomeSecretForbidden) IsServerError() bool

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

func (*DeleteHomeSecretForbidden) IsSuccess

func (o *DeleteHomeSecretForbidden) IsSuccess() bool

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

func (*DeleteHomeSecretForbidden) String

func (o *DeleteHomeSecretForbidden) String() string

type DeleteHomeSecretInternalServerError

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

server error

func NewDeleteHomeSecretInternalServerError

func NewDeleteHomeSecretInternalServerError() *DeleteHomeSecretInternalServerError

NewDeleteHomeSecretInternalServerError creates a DeleteHomeSecretInternalServerError with default headers values

func (*DeleteHomeSecretInternalServerError) Error

func (*DeleteHomeSecretInternalServerError) GetPayload

func (*DeleteHomeSecretInternalServerError) IsClientError

func (o *DeleteHomeSecretInternalServerError) IsClientError() bool

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

func (*DeleteHomeSecretInternalServerError) IsCode

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

func (*DeleteHomeSecretInternalServerError) IsRedirect

func (o *DeleteHomeSecretInternalServerError) IsRedirect() bool

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

func (*DeleteHomeSecretInternalServerError) IsServerError

func (o *DeleteHomeSecretInternalServerError) IsServerError() bool

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

func (*DeleteHomeSecretInternalServerError) IsSuccess

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

func (*DeleteHomeSecretInternalServerError) String

type DeleteHomeSecretNoContent

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

no error

func NewDeleteHomeSecretNoContent

func NewDeleteHomeSecretNoContent() *DeleteHomeSecretNoContent

NewDeleteHomeSecretNoContent creates a DeleteHomeSecretNoContent with default headers values

func (*DeleteHomeSecretNoContent) Error

func (o *DeleteHomeSecretNoContent) Error() string

func (*DeleteHomeSecretNoContent) IsClientError

func (o *DeleteHomeSecretNoContent) IsClientError() bool

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

func (*DeleteHomeSecretNoContent) IsCode

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

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

func (*DeleteHomeSecretNoContent) IsRedirect

func (o *DeleteHomeSecretNoContent) IsRedirect() bool

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

func (*DeleteHomeSecretNoContent) IsServerError

func (o *DeleteHomeSecretNoContent) IsServerError() bool

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

func (*DeleteHomeSecretNoContent) IsSuccess

func (o *DeleteHomeSecretNoContent) IsSuccess() bool

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

func (*DeleteHomeSecretNoContent) String

func (o *DeleteHomeSecretNoContent) String() string

type DeleteHomeSecretNotFound

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

not found

func NewDeleteHomeSecretNotFound

func NewDeleteHomeSecretNotFound() *DeleteHomeSecretNotFound

NewDeleteHomeSecretNotFound creates a DeleteHomeSecretNotFound with default headers values

func (*DeleteHomeSecretNotFound) Error

func (o *DeleteHomeSecretNotFound) Error() string

func (*DeleteHomeSecretNotFound) GetPayload

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

func (*DeleteHomeSecretNotFound) IsClientError

func (o *DeleteHomeSecretNotFound) IsClientError() bool

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

func (*DeleteHomeSecretNotFound) IsCode

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

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

func (*DeleteHomeSecretNotFound) IsRedirect

func (o *DeleteHomeSecretNotFound) IsRedirect() bool

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

func (*DeleteHomeSecretNotFound) IsServerError

func (o *DeleteHomeSecretNotFound) IsServerError() bool

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

func (*DeleteHomeSecretNotFound) IsSuccess

func (o *DeleteHomeSecretNotFound) IsSuccess() bool

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

func (*DeleteHomeSecretNotFound) String

func (o *DeleteHomeSecretNotFound) String() string

type DeleteHomeSecretOK

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

no error

func NewDeleteHomeSecretOK

func NewDeleteHomeSecretOK() *DeleteHomeSecretOK

NewDeleteHomeSecretOK creates a DeleteHomeSecretOK with default headers values

func (*DeleteHomeSecretOK) Error

func (o *DeleteHomeSecretOK) Error() string

func (*DeleteHomeSecretOK) GetPayload

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

func (*DeleteHomeSecretOK) IsClientError

func (o *DeleteHomeSecretOK) IsClientError() bool

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

func (*DeleteHomeSecretOK) IsCode

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

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

func (*DeleteHomeSecretOK) IsRedirect

func (o *DeleteHomeSecretOK) IsRedirect() bool

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

func (*DeleteHomeSecretOK) IsServerError

func (o *DeleteHomeSecretOK) IsServerError() bool

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

func (*DeleteHomeSecretOK) IsSuccess

func (o *DeleteHomeSecretOK) IsSuccess() bool

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

func (*DeleteHomeSecretOK) String

func (o *DeleteHomeSecretOK) String() string

type DeleteHomeSecretParams

type DeleteHomeSecretParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

DeleteHomeSecretParams contains all the parameters to send to the API endpoint

for the delete home secret operation.

Typically these are written to a http.Request.

func NewDeleteHomeSecretParams

func NewDeleteHomeSecretParams() *DeleteHomeSecretParams

NewDeleteHomeSecretParams creates a new DeleteHomeSecretParams 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 NewDeleteHomeSecretParamsWithContext

func NewDeleteHomeSecretParamsWithContext(ctx context.Context) *DeleteHomeSecretParams

NewDeleteHomeSecretParamsWithContext creates a new DeleteHomeSecretParams object with the ability to set a context for a request.

func NewDeleteHomeSecretParamsWithHTTPClient

func NewDeleteHomeSecretParamsWithHTTPClient(client *http.Client) *DeleteHomeSecretParams

NewDeleteHomeSecretParamsWithHTTPClient creates a new DeleteHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHomeSecretParamsWithTimeout

func NewDeleteHomeSecretParamsWithTimeout(timeout time.Duration) *DeleteHomeSecretParams

NewDeleteHomeSecretParamsWithTimeout creates a new DeleteHomeSecretParams object with the ability to set a timeout on a request.

func (*DeleteHomeSecretParams) SetContext

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

SetContext adds the context to the delete home secret params

func (*DeleteHomeSecretParams) SetDefaults

func (o *DeleteHomeSecretParams) SetDefaults()

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

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

func (*DeleteHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete home secret params

func (*DeleteHomeSecretParams) SetID

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

SetID adds the id to the delete home secret params

func (*DeleteHomeSecretParams) SetPath

func (o *DeleteHomeSecretParams) SetPath(path string)

SetPath adds the path to the delete home secret params

func (*DeleteHomeSecretParams) SetPrincipalName

func (o *DeleteHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the delete home secret params

func (*DeleteHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the delete home secret params

func (*DeleteHomeSecretParams) WithContext

WithContext adds the context to the delete home secret params

func (*DeleteHomeSecretParams) WithDefaults

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

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

func (*DeleteHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete home secret params

func (*DeleteHomeSecretParams) WithID

WithID adds the id to the delete home secret params

func (*DeleteHomeSecretParams) WithPath

WithPath adds the path to the delete home secret params

func (*DeleteHomeSecretParams) WithPrincipalName

func (o *DeleteHomeSecretParams) WithPrincipalName(principalName string) *DeleteHomeSecretParams

WithPrincipalName adds the principalName to the delete home secret params

func (*DeleteHomeSecretParams) WithTimeout

WithTimeout adds the timeout to the delete home secret params

func (*DeleteHomeSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHomeSecretReader

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

DeleteHomeSecretReader is a Reader for the DeleteHomeSecret structure.

func (*DeleteHomeSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHomeSecretUnauthorized

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

unauthorized

func NewDeleteHomeSecretUnauthorized

func NewDeleteHomeSecretUnauthorized() *DeleteHomeSecretUnauthorized

NewDeleteHomeSecretUnauthorized creates a DeleteHomeSecretUnauthorized with default headers values

func (*DeleteHomeSecretUnauthorized) Error

func (*DeleteHomeSecretUnauthorized) GetPayload

func (*DeleteHomeSecretUnauthorized) IsClientError

func (o *DeleteHomeSecretUnauthorized) IsClientError() bool

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

func (*DeleteHomeSecretUnauthorized) IsCode

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

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

func (*DeleteHomeSecretUnauthorized) IsRedirect

func (o *DeleteHomeSecretUnauthorized) IsRedirect() bool

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

func (*DeleteHomeSecretUnauthorized) IsServerError

func (o *DeleteHomeSecretUnauthorized) IsServerError() bool

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

func (*DeleteHomeSecretUnauthorized) IsSuccess

func (o *DeleteHomeSecretUnauthorized) IsSuccess() bool

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

func (*DeleteHomeSecretUnauthorized) String

type GetHomeSecretBadRequest

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

bad request

func NewGetHomeSecretBadRequest

func NewGetHomeSecretBadRequest() *GetHomeSecretBadRequest

NewGetHomeSecretBadRequest creates a GetHomeSecretBadRequest with default headers values

func (*GetHomeSecretBadRequest) Error

func (o *GetHomeSecretBadRequest) Error() string

func (*GetHomeSecretBadRequest) GetPayload

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

func (*GetHomeSecretBadRequest) IsClientError

func (o *GetHomeSecretBadRequest) IsClientError() bool

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

func (*GetHomeSecretBadRequest) IsCode

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

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

func (*GetHomeSecretBadRequest) IsRedirect

func (o *GetHomeSecretBadRequest) IsRedirect() bool

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

func (*GetHomeSecretBadRequest) IsServerError

func (o *GetHomeSecretBadRequest) IsServerError() bool

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

func (*GetHomeSecretBadRequest) IsSuccess

func (o *GetHomeSecretBadRequest) IsSuccess() bool

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

func (*GetHomeSecretBadRequest) String

func (o *GetHomeSecretBadRequest) String() string

type GetHomeSecretByVersionBadRequest

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

bad request

func NewGetHomeSecretByVersionBadRequest

func NewGetHomeSecretByVersionBadRequest() *GetHomeSecretByVersionBadRequest

NewGetHomeSecretByVersionBadRequest creates a GetHomeSecretByVersionBadRequest with default headers values

func (*GetHomeSecretByVersionBadRequest) Error

func (*GetHomeSecretByVersionBadRequest) GetPayload

func (*GetHomeSecretByVersionBadRequest) IsClientError

func (o *GetHomeSecretByVersionBadRequest) IsClientError() bool

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

func (*GetHomeSecretByVersionBadRequest) IsCode

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

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

func (*GetHomeSecretByVersionBadRequest) IsRedirect

func (o *GetHomeSecretByVersionBadRequest) IsRedirect() bool

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

func (*GetHomeSecretByVersionBadRequest) IsServerError

func (o *GetHomeSecretByVersionBadRequest) IsServerError() bool

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

func (*GetHomeSecretByVersionBadRequest) IsSuccess

func (o *GetHomeSecretByVersionBadRequest) IsSuccess() bool

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

func (*GetHomeSecretByVersionBadRequest) String

type GetHomeSecretByVersionForbidden

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

forbidden

func NewGetHomeSecretByVersionForbidden

func NewGetHomeSecretByVersionForbidden() *GetHomeSecretByVersionForbidden

NewGetHomeSecretByVersionForbidden creates a GetHomeSecretByVersionForbidden with default headers values

func (*GetHomeSecretByVersionForbidden) Error

func (*GetHomeSecretByVersionForbidden) GetPayload

func (*GetHomeSecretByVersionForbidden) IsClientError

func (o *GetHomeSecretByVersionForbidden) IsClientError() bool

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

func (*GetHomeSecretByVersionForbidden) IsCode

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

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

func (*GetHomeSecretByVersionForbidden) IsRedirect

func (o *GetHomeSecretByVersionForbidden) IsRedirect() bool

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

func (*GetHomeSecretByVersionForbidden) IsServerError

func (o *GetHomeSecretByVersionForbidden) IsServerError() bool

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

func (*GetHomeSecretByVersionForbidden) IsSuccess

func (o *GetHomeSecretByVersionForbidden) IsSuccess() bool

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

func (*GetHomeSecretByVersionForbidden) String

type GetHomeSecretByVersionInternalServerError

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

server error

func NewGetHomeSecretByVersionInternalServerError

func NewGetHomeSecretByVersionInternalServerError() *GetHomeSecretByVersionInternalServerError

NewGetHomeSecretByVersionInternalServerError creates a GetHomeSecretByVersionInternalServerError with default headers values

func (*GetHomeSecretByVersionInternalServerError) Error

func (*GetHomeSecretByVersionInternalServerError) GetPayload

func (*GetHomeSecretByVersionInternalServerError) IsClientError

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

func (*GetHomeSecretByVersionInternalServerError) IsCode

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

func (*GetHomeSecretByVersionInternalServerError) IsRedirect

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

func (*GetHomeSecretByVersionInternalServerError) IsServerError

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

func (*GetHomeSecretByVersionInternalServerError) IsSuccess

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

func (*GetHomeSecretByVersionInternalServerError) String

type GetHomeSecretByVersionNotFound

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

not found

func NewGetHomeSecretByVersionNotFound

func NewGetHomeSecretByVersionNotFound() *GetHomeSecretByVersionNotFound

NewGetHomeSecretByVersionNotFound creates a GetHomeSecretByVersionNotFound with default headers values

func (*GetHomeSecretByVersionNotFound) Error

func (*GetHomeSecretByVersionNotFound) GetPayload

func (*GetHomeSecretByVersionNotFound) IsClientError

func (o *GetHomeSecretByVersionNotFound) IsClientError() bool

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

func (*GetHomeSecretByVersionNotFound) IsCode

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

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

func (*GetHomeSecretByVersionNotFound) IsRedirect

func (o *GetHomeSecretByVersionNotFound) IsRedirect() bool

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

func (*GetHomeSecretByVersionNotFound) IsServerError

func (o *GetHomeSecretByVersionNotFound) IsServerError() bool

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

func (*GetHomeSecretByVersionNotFound) IsSuccess

func (o *GetHomeSecretByVersionNotFound) IsSuccess() bool

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

func (*GetHomeSecretByVersionNotFound) String

type GetHomeSecretByVersionOK

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

no error

func NewGetHomeSecretByVersionOK

func NewGetHomeSecretByVersionOK() *GetHomeSecretByVersionOK

NewGetHomeSecretByVersionOK creates a GetHomeSecretByVersionOK with default headers values

func (*GetHomeSecretByVersionOK) Error

func (o *GetHomeSecretByVersionOK) Error() string

func (*GetHomeSecretByVersionOK) GetPayload

func (*GetHomeSecretByVersionOK) IsClientError

func (o *GetHomeSecretByVersionOK) IsClientError() bool

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

func (*GetHomeSecretByVersionOK) IsCode

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

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

func (*GetHomeSecretByVersionOK) IsRedirect

func (o *GetHomeSecretByVersionOK) IsRedirect() bool

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

func (*GetHomeSecretByVersionOK) IsServerError

func (o *GetHomeSecretByVersionOK) IsServerError() bool

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

func (*GetHomeSecretByVersionOK) IsSuccess

func (o *GetHomeSecretByVersionOK) IsSuccess() bool

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

func (*GetHomeSecretByVersionOK) String

func (o *GetHomeSecretByVersionOK) String() string

type GetHomeSecretByVersionParams

type GetHomeSecretByVersionParams struct {

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

	/* Version.

	   Versions to return

	   Format: int64
	*/
	Version int64

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

GetHomeSecretByVersionParams contains all the parameters to send to the API endpoint

for the get home secret by version operation.

Typically these are written to a http.Request.

func NewGetHomeSecretByVersionParams

func NewGetHomeSecretByVersionParams() *GetHomeSecretByVersionParams

NewGetHomeSecretByVersionParams creates a new GetHomeSecretByVersionParams 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 NewGetHomeSecretByVersionParamsWithContext

func NewGetHomeSecretByVersionParamsWithContext(ctx context.Context) *GetHomeSecretByVersionParams

NewGetHomeSecretByVersionParamsWithContext creates a new GetHomeSecretByVersionParams object with the ability to set a context for a request.

func NewGetHomeSecretByVersionParamsWithHTTPClient

func NewGetHomeSecretByVersionParamsWithHTTPClient(client *http.Client) *GetHomeSecretByVersionParams

NewGetHomeSecretByVersionParamsWithHTTPClient creates a new GetHomeSecretByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetHomeSecretByVersionParamsWithTimeout

func NewGetHomeSecretByVersionParamsWithTimeout(timeout time.Duration) *GetHomeSecretByVersionParams

NewGetHomeSecretByVersionParamsWithTimeout creates a new GetHomeSecretByVersionParams object with the ability to set a timeout on a request.

func (*GetHomeSecretByVersionParams) SetContext

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

SetContext adds the context to the get home secret by version params

func (*GetHomeSecretByVersionParams) SetDefaults

func (o *GetHomeSecretByVersionParams) SetDefaults()

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

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

func (*GetHomeSecretByVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get home secret by version params

func (*GetHomeSecretByVersionParams) SetPath

func (o *GetHomeSecretByVersionParams) SetPath(path string)

SetPath adds the path to the get home secret by version params

func (*GetHomeSecretByVersionParams) SetPrincipalName

func (o *GetHomeSecretByVersionParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the get home secret by version params

func (*GetHomeSecretByVersionParams) SetTimeout

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

SetTimeout adds the timeout to the get home secret by version params

func (*GetHomeSecretByVersionParams) SetVersion

func (o *GetHomeSecretByVersionParams) SetVersion(version int64)

SetVersion adds the version to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithContext

WithContext adds the context to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithDefaults

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

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

func (*GetHomeSecretByVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithPath

WithPath adds the path to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithPrincipalName

func (o *GetHomeSecretByVersionParams) WithPrincipalName(principalName string) *GetHomeSecretByVersionParams

WithPrincipalName adds the principalName to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithTimeout

WithTimeout adds the timeout to the get home secret by version params

func (*GetHomeSecretByVersionParams) WithVersion

WithVersion adds the version to the get home secret by version params

func (*GetHomeSecretByVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHomeSecretByVersionReader

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

GetHomeSecretByVersionReader is a Reader for the GetHomeSecretByVersion structure.

func (*GetHomeSecretByVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHomeSecretByVersionUnauthorized

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

unauthorized

func NewGetHomeSecretByVersionUnauthorized

func NewGetHomeSecretByVersionUnauthorized() *GetHomeSecretByVersionUnauthorized

NewGetHomeSecretByVersionUnauthorized creates a GetHomeSecretByVersionUnauthorized with default headers values

func (*GetHomeSecretByVersionUnauthorized) Error

func (*GetHomeSecretByVersionUnauthorized) GetPayload

func (*GetHomeSecretByVersionUnauthorized) IsClientError

func (o *GetHomeSecretByVersionUnauthorized) IsClientError() bool

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

func (*GetHomeSecretByVersionUnauthorized) IsCode

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

func (*GetHomeSecretByVersionUnauthorized) IsRedirect

func (o *GetHomeSecretByVersionUnauthorized) IsRedirect() bool

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

func (*GetHomeSecretByVersionUnauthorized) IsServerError

func (o *GetHomeSecretByVersionUnauthorized) IsServerError() bool

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

func (*GetHomeSecretByVersionUnauthorized) IsSuccess

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

func (*GetHomeSecretByVersionUnauthorized) String

type GetHomeSecretDescriptionBadRequest

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

bad request

func NewGetHomeSecretDescriptionBadRequest

func NewGetHomeSecretDescriptionBadRequest() *GetHomeSecretDescriptionBadRequest

NewGetHomeSecretDescriptionBadRequest creates a GetHomeSecretDescriptionBadRequest with default headers values

func (*GetHomeSecretDescriptionBadRequest) Error

func (*GetHomeSecretDescriptionBadRequest) GetPayload

func (*GetHomeSecretDescriptionBadRequest) IsClientError

func (o *GetHomeSecretDescriptionBadRequest) IsClientError() bool

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

func (*GetHomeSecretDescriptionBadRequest) IsCode

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

func (*GetHomeSecretDescriptionBadRequest) IsRedirect

func (o *GetHomeSecretDescriptionBadRequest) IsRedirect() bool

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

func (*GetHomeSecretDescriptionBadRequest) IsServerError

func (o *GetHomeSecretDescriptionBadRequest) IsServerError() bool

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

func (*GetHomeSecretDescriptionBadRequest) IsSuccess

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

func (*GetHomeSecretDescriptionBadRequest) String

type GetHomeSecretDescriptionForbidden

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

forbidden

func NewGetHomeSecretDescriptionForbidden

func NewGetHomeSecretDescriptionForbidden() *GetHomeSecretDescriptionForbidden

NewGetHomeSecretDescriptionForbidden creates a GetHomeSecretDescriptionForbidden with default headers values

func (*GetHomeSecretDescriptionForbidden) Error

func (*GetHomeSecretDescriptionForbidden) GetPayload

func (*GetHomeSecretDescriptionForbidden) IsClientError

func (o *GetHomeSecretDescriptionForbidden) IsClientError() bool

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

func (*GetHomeSecretDescriptionForbidden) IsCode

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

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

func (*GetHomeSecretDescriptionForbidden) IsRedirect

func (o *GetHomeSecretDescriptionForbidden) IsRedirect() bool

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

func (*GetHomeSecretDescriptionForbidden) IsServerError

func (o *GetHomeSecretDescriptionForbidden) IsServerError() bool

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

func (*GetHomeSecretDescriptionForbidden) IsSuccess

func (o *GetHomeSecretDescriptionForbidden) IsSuccess() bool

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

func (*GetHomeSecretDescriptionForbidden) String

type GetHomeSecretDescriptionInternalServerError

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

server error

func NewGetHomeSecretDescriptionInternalServerError

func NewGetHomeSecretDescriptionInternalServerError() *GetHomeSecretDescriptionInternalServerError

NewGetHomeSecretDescriptionInternalServerError creates a GetHomeSecretDescriptionInternalServerError with default headers values

func (*GetHomeSecretDescriptionInternalServerError) Error

func (*GetHomeSecretDescriptionInternalServerError) GetPayload

func (*GetHomeSecretDescriptionInternalServerError) IsClientError

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

func (*GetHomeSecretDescriptionInternalServerError) IsCode

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

func (*GetHomeSecretDescriptionInternalServerError) IsRedirect

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

func (*GetHomeSecretDescriptionInternalServerError) IsServerError

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

func (*GetHomeSecretDescriptionInternalServerError) IsSuccess

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

func (*GetHomeSecretDescriptionInternalServerError) String

type GetHomeSecretDescriptionNotFound

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

not found

func NewGetHomeSecretDescriptionNotFound

func NewGetHomeSecretDescriptionNotFound() *GetHomeSecretDescriptionNotFound

NewGetHomeSecretDescriptionNotFound creates a GetHomeSecretDescriptionNotFound with default headers values

func (*GetHomeSecretDescriptionNotFound) Error

func (*GetHomeSecretDescriptionNotFound) GetPayload

func (*GetHomeSecretDescriptionNotFound) IsClientError

func (o *GetHomeSecretDescriptionNotFound) IsClientError() bool

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

func (*GetHomeSecretDescriptionNotFound) IsCode

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

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

func (*GetHomeSecretDescriptionNotFound) IsRedirect

func (o *GetHomeSecretDescriptionNotFound) IsRedirect() bool

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

func (*GetHomeSecretDescriptionNotFound) IsServerError

func (o *GetHomeSecretDescriptionNotFound) IsServerError() bool

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

func (*GetHomeSecretDescriptionNotFound) IsSuccess

func (o *GetHomeSecretDescriptionNotFound) IsSuccess() bool

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

func (*GetHomeSecretDescriptionNotFound) String

type GetHomeSecretDescriptionOK

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

no error

func NewGetHomeSecretDescriptionOK

func NewGetHomeSecretDescriptionOK() *GetHomeSecretDescriptionOK

NewGetHomeSecretDescriptionOK creates a GetHomeSecretDescriptionOK with default headers values

func (*GetHomeSecretDescriptionOK) Error

func (*GetHomeSecretDescriptionOK) GetPayload

func (*GetHomeSecretDescriptionOK) IsClientError

func (o *GetHomeSecretDescriptionOK) IsClientError() bool

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

func (*GetHomeSecretDescriptionOK) IsCode

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

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

func (*GetHomeSecretDescriptionOK) IsRedirect

func (o *GetHomeSecretDescriptionOK) IsRedirect() bool

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

func (*GetHomeSecretDescriptionOK) IsServerError

func (o *GetHomeSecretDescriptionOK) IsServerError() bool

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

func (*GetHomeSecretDescriptionOK) IsSuccess

func (o *GetHomeSecretDescriptionOK) IsSuccess() bool

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

func (*GetHomeSecretDescriptionOK) String

func (o *GetHomeSecretDescriptionOK) String() string

type GetHomeSecretDescriptionParams

type GetHomeSecretDescriptionParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

GetHomeSecretDescriptionParams contains all the parameters to send to the API endpoint

for the get home secret description operation.

Typically these are written to a http.Request.

func NewGetHomeSecretDescriptionParams

func NewGetHomeSecretDescriptionParams() *GetHomeSecretDescriptionParams

NewGetHomeSecretDescriptionParams creates a new GetHomeSecretDescriptionParams 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 NewGetHomeSecretDescriptionParamsWithContext

func NewGetHomeSecretDescriptionParamsWithContext(ctx context.Context) *GetHomeSecretDescriptionParams

NewGetHomeSecretDescriptionParamsWithContext creates a new GetHomeSecretDescriptionParams object with the ability to set a context for a request.

func NewGetHomeSecretDescriptionParamsWithHTTPClient

func NewGetHomeSecretDescriptionParamsWithHTTPClient(client *http.Client) *GetHomeSecretDescriptionParams

NewGetHomeSecretDescriptionParamsWithHTTPClient creates a new GetHomeSecretDescriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetHomeSecretDescriptionParamsWithTimeout

func NewGetHomeSecretDescriptionParamsWithTimeout(timeout time.Duration) *GetHomeSecretDescriptionParams

NewGetHomeSecretDescriptionParamsWithTimeout creates a new GetHomeSecretDescriptionParams object with the ability to set a timeout on a request.

func (*GetHomeSecretDescriptionParams) SetContext

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

SetContext adds the context to the get home secret description params

func (*GetHomeSecretDescriptionParams) SetDefaults

func (o *GetHomeSecretDescriptionParams) SetDefaults()

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

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

func (*GetHomeSecretDescriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get home secret description params

func (*GetHomeSecretDescriptionParams) SetID

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

SetID adds the id to the get home secret description params

func (*GetHomeSecretDescriptionParams) SetPath

func (o *GetHomeSecretDescriptionParams) SetPath(path string)

SetPath adds the path to the get home secret description params

func (*GetHomeSecretDescriptionParams) SetPrincipalName

func (o *GetHomeSecretDescriptionParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the get home secret description params

func (*GetHomeSecretDescriptionParams) SetTimeout

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

SetTimeout adds the timeout to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithContext

WithContext adds the context to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithDefaults

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

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

func (*GetHomeSecretDescriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithID

WithID adds the id to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithPath

WithPath adds the path to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithPrincipalName

func (o *GetHomeSecretDescriptionParams) WithPrincipalName(principalName string) *GetHomeSecretDescriptionParams

WithPrincipalName adds the principalName to the get home secret description params

func (*GetHomeSecretDescriptionParams) WithTimeout

WithTimeout adds the timeout to the get home secret description params

func (*GetHomeSecretDescriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHomeSecretDescriptionReader

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

GetHomeSecretDescriptionReader is a Reader for the GetHomeSecretDescription structure.

func (*GetHomeSecretDescriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHomeSecretDescriptionUnauthorized

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

unauthorized

func NewGetHomeSecretDescriptionUnauthorized

func NewGetHomeSecretDescriptionUnauthorized() *GetHomeSecretDescriptionUnauthorized

NewGetHomeSecretDescriptionUnauthorized creates a GetHomeSecretDescriptionUnauthorized with default headers values

func (*GetHomeSecretDescriptionUnauthorized) Error

func (*GetHomeSecretDescriptionUnauthorized) GetPayload

func (*GetHomeSecretDescriptionUnauthorized) IsClientError

func (o *GetHomeSecretDescriptionUnauthorized) IsClientError() bool

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

func (*GetHomeSecretDescriptionUnauthorized) IsCode

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

func (*GetHomeSecretDescriptionUnauthorized) IsRedirect

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

func (*GetHomeSecretDescriptionUnauthorized) IsServerError

func (o *GetHomeSecretDescriptionUnauthorized) IsServerError() bool

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

func (*GetHomeSecretDescriptionUnauthorized) IsSuccess

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

func (*GetHomeSecretDescriptionUnauthorized) String

type GetHomeSecretForbidden

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

forbidden

func NewGetHomeSecretForbidden

func NewGetHomeSecretForbidden() *GetHomeSecretForbidden

NewGetHomeSecretForbidden creates a GetHomeSecretForbidden with default headers values

func (*GetHomeSecretForbidden) Error

func (o *GetHomeSecretForbidden) Error() string

func (*GetHomeSecretForbidden) GetPayload

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

func (*GetHomeSecretForbidden) IsClientError

func (o *GetHomeSecretForbidden) IsClientError() bool

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

func (*GetHomeSecretForbidden) IsCode

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

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

func (*GetHomeSecretForbidden) IsRedirect

func (o *GetHomeSecretForbidden) IsRedirect() bool

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

func (*GetHomeSecretForbidden) IsServerError

func (o *GetHomeSecretForbidden) IsServerError() bool

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

func (*GetHomeSecretForbidden) IsSuccess

func (o *GetHomeSecretForbidden) IsSuccess() bool

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

func (*GetHomeSecretForbidden) String

func (o *GetHomeSecretForbidden) String() string

type GetHomeSecretInternalServerError

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

server error

func NewGetHomeSecretInternalServerError

func NewGetHomeSecretInternalServerError() *GetHomeSecretInternalServerError

NewGetHomeSecretInternalServerError creates a GetHomeSecretInternalServerError with default headers values

func (*GetHomeSecretInternalServerError) Error

func (*GetHomeSecretInternalServerError) GetPayload

func (*GetHomeSecretInternalServerError) IsClientError

func (o *GetHomeSecretInternalServerError) IsClientError() bool

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

func (*GetHomeSecretInternalServerError) IsCode

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

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

func (*GetHomeSecretInternalServerError) IsRedirect

func (o *GetHomeSecretInternalServerError) IsRedirect() bool

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

func (*GetHomeSecretInternalServerError) IsServerError

func (o *GetHomeSecretInternalServerError) IsServerError() bool

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

func (*GetHomeSecretInternalServerError) IsSuccess

func (o *GetHomeSecretInternalServerError) IsSuccess() bool

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

func (*GetHomeSecretInternalServerError) String

type GetHomeSecretNotFound

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

not found

func NewGetHomeSecretNotFound

func NewGetHomeSecretNotFound() *GetHomeSecretNotFound

NewGetHomeSecretNotFound creates a GetHomeSecretNotFound with default headers values

func (*GetHomeSecretNotFound) Error

func (o *GetHomeSecretNotFound) Error() string

func (*GetHomeSecretNotFound) GetPayload

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

func (*GetHomeSecretNotFound) IsClientError

func (o *GetHomeSecretNotFound) IsClientError() bool

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

func (*GetHomeSecretNotFound) IsCode

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

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

func (*GetHomeSecretNotFound) IsRedirect

func (o *GetHomeSecretNotFound) IsRedirect() bool

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

func (*GetHomeSecretNotFound) IsServerError

func (o *GetHomeSecretNotFound) IsServerError() bool

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

func (*GetHomeSecretNotFound) IsSuccess

func (o *GetHomeSecretNotFound) IsSuccess() bool

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

func (*GetHomeSecretNotFound) String

func (o *GetHomeSecretNotFound) String() string

type GetHomeSecretOK

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

no error

func NewGetHomeSecretOK

func NewGetHomeSecretOK() *GetHomeSecretOK

NewGetHomeSecretOK creates a GetHomeSecretOK with default headers values

func (*GetHomeSecretOK) Error

func (o *GetHomeSecretOK) Error() string

func (*GetHomeSecretOK) GetPayload

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

func (*GetHomeSecretOK) IsClientError

func (o *GetHomeSecretOK) IsClientError() bool

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

func (*GetHomeSecretOK) IsCode

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

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

func (*GetHomeSecretOK) IsRedirect

func (o *GetHomeSecretOK) IsRedirect() bool

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

func (*GetHomeSecretOK) IsServerError

func (o *GetHomeSecretOK) IsServerError() bool

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

func (*GetHomeSecretOK) IsSuccess

func (o *GetHomeSecretOK) IsSuccess() bool

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

func (*GetHomeSecretOK) String

func (o *GetHomeSecretOK) String() string

type GetHomeSecretParams

type GetHomeSecretParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

GetHomeSecretParams contains all the parameters to send to the API endpoint

for the get home secret operation.

Typically these are written to a http.Request.

func NewGetHomeSecretParams

func NewGetHomeSecretParams() *GetHomeSecretParams

NewGetHomeSecretParams creates a new GetHomeSecretParams 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 NewGetHomeSecretParamsWithContext

func NewGetHomeSecretParamsWithContext(ctx context.Context) *GetHomeSecretParams

NewGetHomeSecretParamsWithContext creates a new GetHomeSecretParams object with the ability to set a context for a request.

func NewGetHomeSecretParamsWithHTTPClient

func NewGetHomeSecretParamsWithHTTPClient(client *http.Client) *GetHomeSecretParams

NewGetHomeSecretParamsWithHTTPClient creates a new GetHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewGetHomeSecretParamsWithTimeout

func NewGetHomeSecretParamsWithTimeout(timeout time.Duration) *GetHomeSecretParams

NewGetHomeSecretParamsWithTimeout creates a new GetHomeSecretParams object with the ability to set a timeout on a request.

func (*GetHomeSecretParams) SetContext

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

SetContext adds the context to the get home secret params

func (*GetHomeSecretParams) SetDefaults

func (o *GetHomeSecretParams) SetDefaults()

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

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

func (*GetHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get home secret params

func (*GetHomeSecretParams) SetID

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

SetID adds the id to the get home secret params

func (*GetHomeSecretParams) SetPath

func (o *GetHomeSecretParams) SetPath(path string)

SetPath adds the path to the get home secret params

func (*GetHomeSecretParams) SetPrincipalName

func (o *GetHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the get home secret params

func (*GetHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the get home secret params

func (*GetHomeSecretParams) WithContext

WithContext adds the context to the get home secret params

func (*GetHomeSecretParams) WithDefaults

func (o *GetHomeSecretParams) WithDefaults() *GetHomeSecretParams

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

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

func (*GetHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get home secret params

func (*GetHomeSecretParams) WithID

WithID adds the id to the get home secret params

func (*GetHomeSecretParams) WithPath

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

WithPath adds the path to the get home secret params

func (*GetHomeSecretParams) WithPrincipalName

func (o *GetHomeSecretParams) WithPrincipalName(principalName string) *GetHomeSecretParams

WithPrincipalName adds the principalName to the get home secret params

func (*GetHomeSecretParams) WithTimeout

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

WithTimeout adds the timeout to the get home secret params

func (*GetHomeSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHomeSecretReader

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

GetHomeSecretReader is a Reader for the GetHomeSecret structure.

func (*GetHomeSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHomeSecretUnauthorized

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

unauthorized

func NewGetHomeSecretUnauthorized

func NewGetHomeSecretUnauthorized() *GetHomeSecretUnauthorized

NewGetHomeSecretUnauthorized creates a GetHomeSecretUnauthorized with default headers values

func (*GetHomeSecretUnauthorized) Error

func (o *GetHomeSecretUnauthorized) Error() string

func (*GetHomeSecretUnauthorized) GetPayload

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

func (*GetHomeSecretUnauthorized) IsClientError

func (o *GetHomeSecretUnauthorized) IsClientError() bool

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

func (*GetHomeSecretUnauthorized) IsCode

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

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

func (*GetHomeSecretUnauthorized) IsRedirect

func (o *GetHomeSecretUnauthorized) IsRedirect() bool

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

func (*GetHomeSecretUnauthorized) IsServerError

func (o *GetHomeSecretUnauthorized) IsServerError() bool

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

func (*GetHomeSecretUnauthorized) IsSuccess

func (o *GetHomeSecretUnauthorized) IsSuccess() bool

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

func (*GetHomeSecretUnauthorized) String

func (o *GetHomeSecretUnauthorized) String() string

type RestoreHomeSecretBadRequest

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

bad request

func NewRestoreHomeSecretBadRequest

func NewRestoreHomeSecretBadRequest() *RestoreHomeSecretBadRequest

NewRestoreHomeSecretBadRequest creates a RestoreHomeSecretBadRequest with default headers values

func (*RestoreHomeSecretBadRequest) Error

func (*RestoreHomeSecretBadRequest) GetPayload

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

func (*RestoreHomeSecretBadRequest) IsClientError

func (o *RestoreHomeSecretBadRequest) IsClientError() bool

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

func (*RestoreHomeSecretBadRequest) IsCode

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

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

func (*RestoreHomeSecretBadRequest) IsRedirect

func (o *RestoreHomeSecretBadRequest) IsRedirect() bool

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

func (*RestoreHomeSecretBadRequest) IsServerError

func (o *RestoreHomeSecretBadRequest) IsServerError() bool

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

func (*RestoreHomeSecretBadRequest) IsSuccess

func (o *RestoreHomeSecretBadRequest) IsSuccess() bool

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

func (*RestoreHomeSecretBadRequest) String

func (o *RestoreHomeSecretBadRequest) String() string

type RestoreHomeSecretForbidden

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

forbidden

func NewRestoreHomeSecretForbidden

func NewRestoreHomeSecretForbidden() *RestoreHomeSecretForbidden

NewRestoreHomeSecretForbidden creates a RestoreHomeSecretForbidden with default headers values

func (*RestoreHomeSecretForbidden) Error

func (*RestoreHomeSecretForbidden) GetPayload

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

func (*RestoreHomeSecretForbidden) IsClientError

func (o *RestoreHomeSecretForbidden) IsClientError() bool

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

func (*RestoreHomeSecretForbidden) IsCode

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

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

func (*RestoreHomeSecretForbidden) IsRedirect

func (o *RestoreHomeSecretForbidden) IsRedirect() bool

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

func (*RestoreHomeSecretForbidden) IsServerError

func (o *RestoreHomeSecretForbidden) IsServerError() bool

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

func (*RestoreHomeSecretForbidden) IsSuccess

func (o *RestoreHomeSecretForbidden) IsSuccess() bool

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

func (*RestoreHomeSecretForbidden) String

func (o *RestoreHomeSecretForbidden) String() string

type RestoreHomeSecretInternalServerError

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

server error

func NewRestoreHomeSecretInternalServerError

func NewRestoreHomeSecretInternalServerError() *RestoreHomeSecretInternalServerError

NewRestoreHomeSecretInternalServerError creates a RestoreHomeSecretInternalServerError with default headers values

func (*RestoreHomeSecretInternalServerError) Error

func (*RestoreHomeSecretInternalServerError) GetPayload

func (*RestoreHomeSecretInternalServerError) IsClientError

func (o *RestoreHomeSecretInternalServerError) IsClientError() bool

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

func (*RestoreHomeSecretInternalServerError) IsCode

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

func (*RestoreHomeSecretInternalServerError) IsRedirect

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

func (*RestoreHomeSecretInternalServerError) IsServerError

func (o *RestoreHomeSecretInternalServerError) IsServerError() bool

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

func (*RestoreHomeSecretInternalServerError) IsSuccess

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

func (*RestoreHomeSecretInternalServerError) String

type RestoreHomeSecretNotFound

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

not found

func NewRestoreHomeSecretNotFound

func NewRestoreHomeSecretNotFound() *RestoreHomeSecretNotFound

NewRestoreHomeSecretNotFound creates a RestoreHomeSecretNotFound with default headers values

func (*RestoreHomeSecretNotFound) Error

func (o *RestoreHomeSecretNotFound) Error() string

func (*RestoreHomeSecretNotFound) GetPayload

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

func (*RestoreHomeSecretNotFound) IsClientError

func (o *RestoreHomeSecretNotFound) IsClientError() bool

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

func (*RestoreHomeSecretNotFound) IsCode

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

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

func (*RestoreHomeSecretNotFound) IsRedirect

func (o *RestoreHomeSecretNotFound) IsRedirect() bool

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

func (*RestoreHomeSecretNotFound) IsServerError

func (o *RestoreHomeSecretNotFound) IsServerError() bool

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

func (*RestoreHomeSecretNotFound) IsSuccess

func (o *RestoreHomeSecretNotFound) IsSuccess() bool

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

func (*RestoreHomeSecretNotFound) String

func (o *RestoreHomeSecretNotFound) String() string

type RestoreHomeSecretOK

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

no error

func NewRestoreHomeSecretOK

func NewRestoreHomeSecretOK() *RestoreHomeSecretOK

NewRestoreHomeSecretOK creates a RestoreHomeSecretOK with default headers values

func (*RestoreHomeSecretOK) Error

func (o *RestoreHomeSecretOK) Error() string

func (*RestoreHomeSecretOK) IsClientError

func (o *RestoreHomeSecretOK) IsClientError() bool

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

func (*RestoreHomeSecretOK) IsCode

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

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

func (*RestoreHomeSecretOK) IsRedirect

func (o *RestoreHomeSecretOK) IsRedirect() bool

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

func (*RestoreHomeSecretOK) IsServerError

func (o *RestoreHomeSecretOK) IsServerError() bool

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

func (*RestoreHomeSecretOK) IsSuccess

func (o *RestoreHomeSecretOK) IsSuccess() bool

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

func (*RestoreHomeSecretOK) String

func (o *RestoreHomeSecretOK) String() string

type RestoreHomeSecretParams

type RestoreHomeSecretParams struct {

	/* ID.

	   Unique uuid identifying a secret
	*/
	ID *string

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

RestoreHomeSecretParams contains all the parameters to send to the API endpoint

for the restore home secret operation.

Typically these are written to a http.Request.

func NewRestoreHomeSecretParams

func NewRestoreHomeSecretParams() *RestoreHomeSecretParams

NewRestoreHomeSecretParams creates a new RestoreHomeSecretParams 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 NewRestoreHomeSecretParamsWithContext

func NewRestoreHomeSecretParamsWithContext(ctx context.Context) *RestoreHomeSecretParams

NewRestoreHomeSecretParamsWithContext creates a new RestoreHomeSecretParams object with the ability to set a context for a request.

func NewRestoreHomeSecretParamsWithHTTPClient

func NewRestoreHomeSecretParamsWithHTTPClient(client *http.Client) *RestoreHomeSecretParams

NewRestoreHomeSecretParamsWithHTTPClient creates a new RestoreHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreHomeSecretParamsWithTimeout

func NewRestoreHomeSecretParamsWithTimeout(timeout time.Duration) *RestoreHomeSecretParams

NewRestoreHomeSecretParamsWithTimeout creates a new RestoreHomeSecretParams object with the ability to set a timeout on a request.

func (*RestoreHomeSecretParams) SetContext

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

SetContext adds the context to the restore home secret params

func (*RestoreHomeSecretParams) SetDefaults

func (o *RestoreHomeSecretParams) SetDefaults()

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

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

func (*RestoreHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore home secret params

func (*RestoreHomeSecretParams) SetID

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

SetID adds the id to the restore home secret params

func (*RestoreHomeSecretParams) SetPath

func (o *RestoreHomeSecretParams) SetPath(path string)

SetPath adds the path to the restore home secret params

func (*RestoreHomeSecretParams) SetPrincipalName

func (o *RestoreHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the restore home secret params

func (*RestoreHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the restore home secret params

func (*RestoreHomeSecretParams) WithContext

WithContext adds the context to the restore home secret params

func (*RestoreHomeSecretParams) WithDefaults

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

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

func (*RestoreHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore home secret params

func (*RestoreHomeSecretParams) WithID

WithID adds the id to the restore home secret params

func (*RestoreHomeSecretParams) WithPath

WithPath adds the path to the restore home secret params

func (*RestoreHomeSecretParams) WithPrincipalName

func (o *RestoreHomeSecretParams) WithPrincipalName(principalName string) *RestoreHomeSecretParams

WithPrincipalName adds the principalName to the restore home secret params

func (*RestoreHomeSecretParams) WithTimeout

WithTimeout adds the timeout to the restore home secret params

func (*RestoreHomeSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreHomeSecretReader

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

RestoreHomeSecretReader is a Reader for the RestoreHomeSecret structure.

func (*RestoreHomeSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreHomeSecretUnauthorized

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

unauthorized

func NewRestoreHomeSecretUnauthorized

func NewRestoreHomeSecretUnauthorized() *RestoreHomeSecretUnauthorized

NewRestoreHomeSecretUnauthorized creates a RestoreHomeSecretUnauthorized with default headers values

func (*RestoreHomeSecretUnauthorized) Error

func (*RestoreHomeSecretUnauthorized) GetPayload

func (*RestoreHomeSecretUnauthorized) IsClientError

func (o *RestoreHomeSecretUnauthorized) IsClientError() bool

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

func (*RestoreHomeSecretUnauthorized) IsCode

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

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

func (*RestoreHomeSecretUnauthorized) IsRedirect

func (o *RestoreHomeSecretUnauthorized) IsRedirect() bool

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

func (*RestoreHomeSecretUnauthorized) IsServerError

func (o *RestoreHomeSecretUnauthorized) IsServerError() bool

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

func (*RestoreHomeSecretUnauthorized) IsSuccess

func (o *RestoreHomeSecretUnauthorized) IsSuccess() bool

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

func (*RestoreHomeSecretUnauthorized) String

type RollbackHomeSecretBadRequest

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

bad request

func NewRollbackHomeSecretBadRequest

func NewRollbackHomeSecretBadRequest() *RollbackHomeSecretBadRequest

NewRollbackHomeSecretBadRequest creates a RollbackHomeSecretBadRequest with default headers values

func (*RollbackHomeSecretBadRequest) Error

func (*RollbackHomeSecretBadRequest) GetPayload

func (*RollbackHomeSecretBadRequest) IsClientError

func (o *RollbackHomeSecretBadRequest) IsClientError() bool

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

func (*RollbackHomeSecretBadRequest) IsCode

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

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

func (*RollbackHomeSecretBadRequest) IsRedirect

func (o *RollbackHomeSecretBadRequest) IsRedirect() bool

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

func (*RollbackHomeSecretBadRequest) IsServerError

func (o *RollbackHomeSecretBadRequest) IsServerError() bool

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

func (*RollbackHomeSecretBadRequest) IsSuccess

func (o *RollbackHomeSecretBadRequest) IsSuccess() bool

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

func (*RollbackHomeSecretBadRequest) String

type RollbackHomeSecretForbidden

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

forbidden

func NewRollbackHomeSecretForbidden

func NewRollbackHomeSecretForbidden() *RollbackHomeSecretForbidden

NewRollbackHomeSecretForbidden creates a RollbackHomeSecretForbidden with default headers values

func (*RollbackHomeSecretForbidden) Error

func (*RollbackHomeSecretForbidden) GetPayload

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

func (*RollbackHomeSecretForbidden) IsClientError

func (o *RollbackHomeSecretForbidden) IsClientError() bool

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

func (*RollbackHomeSecretForbidden) IsCode

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

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

func (*RollbackHomeSecretForbidden) IsRedirect

func (o *RollbackHomeSecretForbidden) IsRedirect() bool

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

func (*RollbackHomeSecretForbidden) IsServerError

func (o *RollbackHomeSecretForbidden) IsServerError() bool

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

func (*RollbackHomeSecretForbidden) IsSuccess

func (o *RollbackHomeSecretForbidden) IsSuccess() bool

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

func (*RollbackHomeSecretForbidden) String

func (o *RollbackHomeSecretForbidden) String() string

type RollbackHomeSecretInternalServerError

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

server error

func NewRollbackHomeSecretInternalServerError

func NewRollbackHomeSecretInternalServerError() *RollbackHomeSecretInternalServerError

NewRollbackHomeSecretInternalServerError creates a RollbackHomeSecretInternalServerError with default headers values

func (*RollbackHomeSecretInternalServerError) Error

func (*RollbackHomeSecretInternalServerError) GetPayload

func (*RollbackHomeSecretInternalServerError) IsClientError

func (o *RollbackHomeSecretInternalServerError) IsClientError() bool

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

func (*RollbackHomeSecretInternalServerError) IsCode

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

func (*RollbackHomeSecretInternalServerError) IsRedirect

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

func (*RollbackHomeSecretInternalServerError) IsServerError

func (o *RollbackHomeSecretInternalServerError) IsServerError() bool

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

func (*RollbackHomeSecretInternalServerError) IsSuccess

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

func (*RollbackHomeSecretInternalServerError) String

type RollbackHomeSecretNotFound

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

not found

func NewRollbackHomeSecretNotFound

func NewRollbackHomeSecretNotFound() *RollbackHomeSecretNotFound

NewRollbackHomeSecretNotFound creates a RollbackHomeSecretNotFound with default headers values

func (*RollbackHomeSecretNotFound) Error

func (*RollbackHomeSecretNotFound) GetPayload

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

func (*RollbackHomeSecretNotFound) IsClientError

func (o *RollbackHomeSecretNotFound) IsClientError() bool

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

func (*RollbackHomeSecretNotFound) IsCode

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

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

func (*RollbackHomeSecretNotFound) IsRedirect

func (o *RollbackHomeSecretNotFound) IsRedirect() bool

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

func (*RollbackHomeSecretNotFound) IsServerError

func (o *RollbackHomeSecretNotFound) IsServerError() bool

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

func (*RollbackHomeSecretNotFound) IsSuccess

func (o *RollbackHomeSecretNotFound) IsSuccess() bool

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

func (*RollbackHomeSecretNotFound) String

func (o *RollbackHomeSecretNotFound) String() string

type RollbackHomeSecretOK

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

no error

func NewRollbackHomeSecretOK

func NewRollbackHomeSecretOK() *RollbackHomeSecretOK

NewRollbackHomeSecretOK creates a RollbackHomeSecretOK with default headers values

func (*RollbackHomeSecretOK) Error

func (o *RollbackHomeSecretOK) Error() string

func (*RollbackHomeSecretOK) GetPayload

func (*RollbackHomeSecretOK) IsClientError

func (o *RollbackHomeSecretOK) IsClientError() bool

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

func (*RollbackHomeSecretOK) IsCode

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

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

func (*RollbackHomeSecretOK) IsRedirect

func (o *RollbackHomeSecretOK) IsRedirect() bool

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

func (*RollbackHomeSecretOK) IsServerError

func (o *RollbackHomeSecretOK) IsServerError() bool

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

func (*RollbackHomeSecretOK) IsSuccess

func (o *RollbackHomeSecretOK) IsSuccess() bool

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

func (*RollbackHomeSecretOK) String

func (o *RollbackHomeSecretOK) String() string

type RollbackHomeSecretParams

type RollbackHomeSecretParams struct {

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

	/* Version.

	   Versions to return

	   Format: int64
	*/
	Version int64

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

RollbackHomeSecretParams contains all the parameters to send to the API endpoint

for the rollback home secret operation.

Typically these are written to a http.Request.

func NewRollbackHomeSecretParams

func NewRollbackHomeSecretParams() *RollbackHomeSecretParams

NewRollbackHomeSecretParams creates a new RollbackHomeSecretParams 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 NewRollbackHomeSecretParamsWithContext

func NewRollbackHomeSecretParamsWithContext(ctx context.Context) *RollbackHomeSecretParams

NewRollbackHomeSecretParamsWithContext creates a new RollbackHomeSecretParams object with the ability to set a context for a request.

func NewRollbackHomeSecretParamsWithHTTPClient

func NewRollbackHomeSecretParamsWithHTTPClient(client *http.Client) *RollbackHomeSecretParams

NewRollbackHomeSecretParamsWithHTTPClient creates a new RollbackHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewRollbackHomeSecretParamsWithTimeout

func NewRollbackHomeSecretParamsWithTimeout(timeout time.Duration) *RollbackHomeSecretParams

NewRollbackHomeSecretParamsWithTimeout creates a new RollbackHomeSecretParams object with the ability to set a timeout on a request.

func (*RollbackHomeSecretParams) SetContext

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

SetContext adds the context to the rollback home secret params

func (*RollbackHomeSecretParams) SetDefaults

func (o *RollbackHomeSecretParams) SetDefaults()

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

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

func (*RollbackHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback home secret params

func (*RollbackHomeSecretParams) SetPath

func (o *RollbackHomeSecretParams) SetPath(path string)

SetPath adds the path to the rollback home secret params

func (*RollbackHomeSecretParams) SetPrincipalName

func (o *RollbackHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the rollback home secret params

func (*RollbackHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the rollback home secret params

func (*RollbackHomeSecretParams) SetVersion

func (o *RollbackHomeSecretParams) SetVersion(version int64)

SetVersion adds the version to the rollback home secret params

func (*RollbackHomeSecretParams) WithContext

WithContext adds the context to the rollback home secret params

func (*RollbackHomeSecretParams) WithDefaults

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

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

func (*RollbackHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rollback home secret params

func (*RollbackHomeSecretParams) WithPath

WithPath adds the path to the rollback home secret params

func (*RollbackHomeSecretParams) WithPrincipalName

func (o *RollbackHomeSecretParams) WithPrincipalName(principalName string) *RollbackHomeSecretParams

WithPrincipalName adds the principalName to the rollback home secret params

func (*RollbackHomeSecretParams) WithTimeout

WithTimeout adds the timeout to the rollback home secret params

func (*RollbackHomeSecretParams) WithVersion

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

WithVersion adds the version to the rollback home secret params

func (*RollbackHomeSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RollbackHomeSecretReader

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

RollbackHomeSecretReader is a Reader for the RollbackHomeSecret structure.

func (*RollbackHomeSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackHomeSecretUnauthorized

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

unauthorized

func NewRollbackHomeSecretUnauthorized

func NewRollbackHomeSecretUnauthorized() *RollbackHomeSecretUnauthorized

NewRollbackHomeSecretUnauthorized creates a RollbackHomeSecretUnauthorized with default headers values

func (*RollbackHomeSecretUnauthorized) Error

func (*RollbackHomeSecretUnauthorized) GetPayload

func (*RollbackHomeSecretUnauthorized) IsClientError

func (o *RollbackHomeSecretUnauthorized) IsClientError() bool

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

func (*RollbackHomeSecretUnauthorized) IsCode

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

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

func (*RollbackHomeSecretUnauthorized) IsRedirect

func (o *RollbackHomeSecretUnauthorized) IsRedirect() bool

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

func (*RollbackHomeSecretUnauthorized) IsServerError

func (o *RollbackHomeSecretUnauthorized) IsServerError() bool

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

func (*RollbackHomeSecretUnauthorized) IsSuccess

func (o *RollbackHomeSecretUnauthorized) IsSuccess() bool

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

func (*RollbackHomeSecretUnauthorized) String

type SearchHomeSecretsBadRequest

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

bad request

func NewSearchHomeSecretsBadRequest

func NewSearchHomeSecretsBadRequest() *SearchHomeSecretsBadRequest

NewSearchHomeSecretsBadRequest creates a SearchHomeSecretsBadRequest with default headers values

func (*SearchHomeSecretsBadRequest) Error

func (*SearchHomeSecretsBadRequest) GetPayload

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

func (*SearchHomeSecretsBadRequest) IsClientError

func (o *SearchHomeSecretsBadRequest) IsClientError() bool

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

func (*SearchHomeSecretsBadRequest) IsCode

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

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

func (*SearchHomeSecretsBadRequest) IsRedirect

func (o *SearchHomeSecretsBadRequest) IsRedirect() bool

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

func (*SearchHomeSecretsBadRequest) IsServerError

func (o *SearchHomeSecretsBadRequest) IsServerError() bool

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

func (*SearchHomeSecretsBadRequest) IsSuccess

func (o *SearchHomeSecretsBadRequest) IsSuccess() bool

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

func (*SearchHomeSecretsBadRequest) String

func (o *SearchHomeSecretsBadRequest) String() string

type SearchHomeSecretsForbidden

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

forbidden

func NewSearchHomeSecretsForbidden

func NewSearchHomeSecretsForbidden() *SearchHomeSecretsForbidden

NewSearchHomeSecretsForbidden creates a SearchHomeSecretsForbidden with default headers values

func (*SearchHomeSecretsForbidden) Error

func (*SearchHomeSecretsForbidden) GetPayload

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

func (*SearchHomeSecretsForbidden) IsClientError

func (o *SearchHomeSecretsForbidden) IsClientError() bool

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

func (*SearchHomeSecretsForbidden) IsCode

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

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

func (*SearchHomeSecretsForbidden) IsRedirect

func (o *SearchHomeSecretsForbidden) IsRedirect() bool

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

func (*SearchHomeSecretsForbidden) IsServerError

func (o *SearchHomeSecretsForbidden) IsServerError() bool

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

func (*SearchHomeSecretsForbidden) IsSuccess

func (o *SearchHomeSecretsForbidden) IsSuccess() bool

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

func (*SearchHomeSecretsForbidden) String

func (o *SearchHomeSecretsForbidden) String() string

type SearchHomeSecretsInternalServerError

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

server error

func NewSearchHomeSecretsInternalServerError

func NewSearchHomeSecretsInternalServerError() *SearchHomeSecretsInternalServerError

NewSearchHomeSecretsInternalServerError creates a SearchHomeSecretsInternalServerError with default headers values

func (*SearchHomeSecretsInternalServerError) Error

func (*SearchHomeSecretsInternalServerError) GetPayload

func (*SearchHomeSecretsInternalServerError) IsClientError

func (o *SearchHomeSecretsInternalServerError) IsClientError() bool

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

func (*SearchHomeSecretsInternalServerError) IsCode

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

func (*SearchHomeSecretsInternalServerError) IsRedirect

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

func (*SearchHomeSecretsInternalServerError) IsServerError

func (o *SearchHomeSecretsInternalServerError) IsServerError() bool

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

func (*SearchHomeSecretsInternalServerError) IsSuccess

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

func (*SearchHomeSecretsInternalServerError) String

type SearchHomeSecretsNotFound

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

not found

func NewSearchHomeSecretsNotFound

func NewSearchHomeSecretsNotFound() *SearchHomeSecretsNotFound

NewSearchHomeSecretsNotFound creates a SearchHomeSecretsNotFound with default headers values

func (*SearchHomeSecretsNotFound) Error

func (o *SearchHomeSecretsNotFound) Error() string

func (*SearchHomeSecretsNotFound) GetPayload

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

func (*SearchHomeSecretsNotFound) IsClientError

func (o *SearchHomeSecretsNotFound) IsClientError() bool

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

func (*SearchHomeSecretsNotFound) IsCode

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

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

func (*SearchHomeSecretsNotFound) IsRedirect

func (o *SearchHomeSecretsNotFound) IsRedirect() bool

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

func (*SearchHomeSecretsNotFound) IsServerError

func (o *SearchHomeSecretsNotFound) IsServerError() bool

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

func (*SearchHomeSecretsNotFound) IsSuccess

func (o *SearchHomeSecretsNotFound) IsSuccess() bool

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

func (*SearchHomeSecretsNotFound) String

func (o *SearchHomeSecretsNotFound) String() string

type SearchHomeSecretsOK

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

no error

func NewSearchHomeSecretsOK

func NewSearchHomeSecretsOK() *SearchHomeSecretsOK

NewSearchHomeSecretsOK creates a SearchHomeSecretsOK with default headers values

func (*SearchHomeSecretsOK) Error

func (o *SearchHomeSecretsOK) Error() string

func (*SearchHomeSecretsOK) GetPayload

func (*SearchHomeSecretsOK) IsClientError

func (o *SearchHomeSecretsOK) IsClientError() bool

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

func (*SearchHomeSecretsOK) IsCode

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

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

func (*SearchHomeSecretsOK) IsRedirect

func (o *SearchHomeSecretsOK) IsRedirect() bool

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

func (*SearchHomeSecretsOK) IsServerError

func (o *SearchHomeSecretsOK) IsServerError() bool

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

func (*SearchHomeSecretsOK) IsSuccess

func (o *SearchHomeSecretsOK) IsSuccess() bool

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

func (*SearchHomeSecretsOK) String

func (o *SearchHomeSecretsOK) String() string

type SearchHomeSecretsParams

type SearchHomeSecretsParams struct {

	/* Cursor.

	   Cursor to next batch of results
	*/
	Cursor *string

	/* Limit.

	   Limit for the number of results per page (cursor)

	   Format: int64
	*/
	Limit *int64

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

	/* 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
}

SearchHomeSecretsParams contains all the parameters to send to the API endpoint

for the search home secrets operation.

Typically these are written to a http.Request.

func NewSearchHomeSecretsParams

func NewSearchHomeSecretsParams() *SearchHomeSecretsParams

NewSearchHomeSecretsParams creates a new SearchHomeSecretsParams 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 NewSearchHomeSecretsParamsWithContext

func NewSearchHomeSecretsParamsWithContext(ctx context.Context) *SearchHomeSecretsParams

NewSearchHomeSecretsParamsWithContext creates a new SearchHomeSecretsParams object with the ability to set a context for a request.

func NewSearchHomeSecretsParamsWithHTTPClient

func NewSearchHomeSecretsParamsWithHTTPClient(client *http.Client) *SearchHomeSecretsParams

NewSearchHomeSecretsParamsWithHTTPClient creates a new SearchHomeSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchHomeSecretsParamsWithTimeout

func NewSearchHomeSecretsParamsWithTimeout(timeout time.Duration) *SearchHomeSecretsParams

NewSearchHomeSecretsParamsWithTimeout creates a new SearchHomeSecretsParams object with the ability to set a timeout on a request.

func (*SearchHomeSecretsParams) SetComparison

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

SetComparison adds the searchComparison to the search home secrets params

func (*SearchHomeSecretsParams) SetContext

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

SetContext adds the context to the search home secrets params

func (*SearchHomeSecretsParams) SetCursor

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

SetCursor adds the cursor to the search home secrets params

func (*SearchHomeSecretsParams) SetDefaults

func (o *SearchHomeSecretsParams) SetDefaults()

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

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

func (*SearchHomeSecretsParams) SetField

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

SetField adds the searchField to the search home secrets params

func (*SearchHomeSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search home secrets params

func (*SearchHomeSecretsParams) SetLimit

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

SetLimit adds the limit to the search home secrets params

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

SetLink adds the searchLinks to the search home secrets params

func (*SearchHomeSecretsParams) SetPrincipalName

func (o *SearchHomeSecretsParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the search home secrets params

func (*SearchHomeSecretsParams) SetSearchTerm

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

SetSearchTerm adds the searchTerm to the search home secrets params

func (*SearchHomeSecretsParams) SetSort

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

SetSort adds the sort to the search home secrets params

func (*SearchHomeSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the search home secrets params

func (*SearchHomeSecretsParams) SetUnderlyingType

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

SetUnderlyingType adds the searchType to the search home secrets params

func (*SearchHomeSecretsParams) WithComparison

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

WithComparison adds the searchComparison to the search home secrets params

func (*SearchHomeSecretsParams) WithContext

WithContext adds the context to the search home secrets params

func (*SearchHomeSecretsParams) WithCursor

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

WithCursor adds the cursor to the search home secrets params

func (*SearchHomeSecretsParams) WithDefaults

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

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

func (*SearchHomeSecretsParams) WithField

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

WithField adds the searchField to the search home secrets params

func (*SearchHomeSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search home secrets params

func (*SearchHomeSecretsParams) WithLimit

WithLimit adds the limit to the search home secrets params

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

WithLink adds the searchLinks to the search home secrets params

func (*SearchHomeSecretsParams) WithPrincipalName

func (o *SearchHomeSecretsParams) WithPrincipalName(principalName string) *SearchHomeSecretsParams

WithPrincipalName adds the principalName to the search home secrets params

func (*SearchHomeSecretsParams) WithSearchTerm

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

WithSearchTerm adds the searchTerm to the search home secrets params

func (*SearchHomeSecretsParams) WithSort

WithSort adds the sort to the search home secrets params

func (*SearchHomeSecretsParams) WithTimeout

WithTimeout adds the timeout to the search home secrets params

func (*SearchHomeSecretsParams) WithUnderlyingType

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

WithUnderlyingType adds the searchType to the search home secrets params

func (*SearchHomeSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchHomeSecretsReader

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

SearchHomeSecretsReader is a Reader for the SearchHomeSecrets structure.

func (*SearchHomeSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchHomeSecretsUnauthorized

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

unauthorized

func NewSearchHomeSecretsUnauthorized

func NewSearchHomeSecretsUnauthorized() *SearchHomeSecretsUnauthorized

NewSearchHomeSecretsUnauthorized creates a SearchHomeSecretsUnauthorized with default headers values

func (*SearchHomeSecretsUnauthorized) Error

func (*SearchHomeSecretsUnauthorized) GetPayload

func (*SearchHomeSecretsUnauthorized) IsClientError

func (o *SearchHomeSecretsUnauthorized) IsClientError() bool

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

func (*SearchHomeSecretsUnauthorized) IsCode

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

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

func (*SearchHomeSecretsUnauthorized) IsRedirect

func (o *SearchHomeSecretsUnauthorized) IsRedirect() bool

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

func (*SearchHomeSecretsUnauthorized) IsServerError

func (o *SearchHomeSecretsUnauthorized) IsServerError() bool

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

func (*SearchHomeSecretsUnauthorized) IsSuccess

func (o *SearchHomeSecretsUnauthorized) IsSuccess() bool

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

func (*SearchHomeSecretsUnauthorized) String

type UpdateHomeSecretBadRequest

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

bad request

func NewUpdateHomeSecretBadRequest

func NewUpdateHomeSecretBadRequest() *UpdateHomeSecretBadRequest

NewUpdateHomeSecretBadRequest creates a UpdateHomeSecretBadRequest with default headers values

func (*UpdateHomeSecretBadRequest) Error

func (*UpdateHomeSecretBadRequest) GetPayload

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

func (*UpdateHomeSecretBadRequest) IsClientError

func (o *UpdateHomeSecretBadRequest) IsClientError() bool

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

func (*UpdateHomeSecretBadRequest) IsCode

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

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

func (*UpdateHomeSecretBadRequest) IsRedirect

func (o *UpdateHomeSecretBadRequest) IsRedirect() bool

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

func (*UpdateHomeSecretBadRequest) IsServerError

func (o *UpdateHomeSecretBadRequest) IsServerError() bool

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

func (*UpdateHomeSecretBadRequest) IsSuccess

func (o *UpdateHomeSecretBadRequest) IsSuccess() bool

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

func (*UpdateHomeSecretBadRequest) String

func (o *UpdateHomeSecretBadRequest) String() string

type UpdateHomeSecretForbidden

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

forbidden

func NewUpdateHomeSecretForbidden

func NewUpdateHomeSecretForbidden() *UpdateHomeSecretForbidden

NewUpdateHomeSecretForbidden creates a UpdateHomeSecretForbidden with default headers values

func (*UpdateHomeSecretForbidden) Error

func (o *UpdateHomeSecretForbidden) Error() string

func (*UpdateHomeSecretForbidden) GetPayload

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

func (*UpdateHomeSecretForbidden) IsClientError

func (o *UpdateHomeSecretForbidden) IsClientError() bool

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

func (*UpdateHomeSecretForbidden) IsCode

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

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

func (*UpdateHomeSecretForbidden) IsRedirect

func (o *UpdateHomeSecretForbidden) IsRedirect() bool

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

func (*UpdateHomeSecretForbidden) IsServerError

func (o *UpdateHomeSecretForbidden) IsServerError() bool

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

func (*UpdateHomeSecretForbidden) IsSuccess

func (o *UpdateHomeSecretForbidden) IsSuccess() bool

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

func (*UpdateHomeSecretForbidden) String

func (o *UpdateHomeSecretForbidden) String() string

type UpdateHomeSecretInternalServerError

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

server error

func NewUpdateHomeSecretInternalServerError

func NewUpdateHomeSecretInternalServerError() *UpdateHomeSecretInternalServerError

NewUpdateHomeSecretInternalServerError creates a UpdateHomeSecretInternalServerError with default headers values

func (*UpdateHomeSecretInternalServerError) Error

func (*UpdateHomeSecretInternalServerError) GetPayload

func (*UpdateHomeSecretInternalServerError) IsClientError

func (o *UpdateHomeSecretInternalServerError) IsClientError() bool

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

func (*UpdateHomeSecretInternalServerError) IsCode

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

func (*UpdateHomeSecretInternalServerError) IsRedirect

func (o *UpdateHomeSecretInternalServerError) IsRedirect() bool

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

func (*UpdateHomeSecretInternalServerError) IsServerError

func (o *UpdateHomeSecretInternalServerError) IsServerError() bool

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

func (*UpdateHomeSecretInternalServerError) IsSuccess

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

func (*UpdateHomeSecretInternalServerError) String

type UpdateHomeSecretNotFound

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

not found

func NewUpdateHomeSecretNotFound

func NewUpdateHomeSecretNotFound() *UpdateHomeSecretNotFound

NewUpdateHomeSecretNotFound creates a UpdateHomeSecretNotFound with default headers values

func (*UpdateHomeSecretNotFound) Error

func (o *UpdateHomeSecretNotFound) Error() string

func (*UpdateHomeSecretNotFound) GetPayload

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

func (*UpdateHomeSecretNotFound) IsClientError

func (o *UpdateHomeSecretNotFound) IsClientError() bool

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

func (*UpdateHomeSecretNotFound) IsCode

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

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

func (*UpdateHomeSecretNotFound) IsRedirect

func (o *UpdateHomeSecretNotFound) IsRedirect() bool

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

func (*UpdateHomeSecretNotFound) IsServerError

func (o *UpdateHomeSecretNotFound) IsServerError() bool

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

func (*UpdateHomeSecretNotFound) IsSuccess

func (o *UpdateHomeSecretNotFound) IsSuccess() bool

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

func (*UpdateHomeSecretNotFound) String

func (o *UpdateHomeSecretNotFound) String() string

type UpdateHomeSecretOK

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

no error

func NewUpdateHomeSecretOK

func NewUpdateHomeSecretOK() *UpdateHomeSecretOK

NewUpdateHomeSecretOK creates a UpdateHomeSecretOK with default headers values

func (*UpdateHomeSecretOK) Error

func (o *UpdateHomeSecretOK) Error() string

func (*UpdateHomeSecretOK) GetPayload

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

func (*UpdateHomeSecretOK) IsClientError

func (o *UpdateHomeSecretOK) IsClientError() bool

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

func (*UpdateHomeSecretOK) IsCode

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

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

func (*UpdateHomeSecretOK) IsRedirect

func (o *UpdateHomeSecretOK) IsRedirect() bool

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

func (*UpdateHomeSecretOK) IsServerError

func (o *UpdateHomeSecretOK) IsServerError() bool

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

func (*UpdateHomeSecretOK) IsSuccess

func (o *UpdateHomeSecretOK) IsSuccess() bool

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

func (*UpdateHomeSecretOK) String

func (o *UpdateHomeSecretOK) String() string

type UpdateHomeSecretParams

type UpdateHomeSecretParams struct {

	// Body.
	Body *models.RequestModelUpdate

	/* Path.

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

	/* PrincipalName.

	   Principal name
	*/
	PrincipalName string

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

UpdateHomeSecretParams contains all the parameters to send to the API endpoint

for the update home secret operation.

Typically these are written to a http.Request.

func NewUpdateHomeSecretParams

func NewUpdateHomeSecretParams() *UpdateHomeSecretParams

NewUpdateHomeSecretParams creates a new UpdateHomeSecretParams 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 NewUpdateHomeSecretParamsWithContext

func NewUpdateHomeSecretParamsWithContext(ctx context.Context) *UpdateHomeSecretParams

NewUpdateHomeSecretParamsWithContext creates a new UpdateHomeSecretParams object with the ability to set a context for a request.

func NewUpdateHomeSecretParamsWithHTTPClient

func NewUpdateHomeSecretParamsWithHTTPClient(client *http.Client) *UpdateHomeSecretParams

NewUpdateHomeSecretParamsWithHTTPClient creates a new UpdateHomeSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateHomeSecretParamsWithTimeout

func NewUpdateHomeSecretParamsWithTimeout(timeout time.Duration) *UpdateHomeSecretParams

NewUpdateHomeSecretParamsWithTimeout creates a new UpdateHomeSecretParams object with the ability to set a timeout on a request.

func (*UpdateHomeSecretParams) SetBody

SetBody adds the body to the update home secret params

func (*UpdateHomeSecretParams) SetContext

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

SetContext adds the context to the update home secret params

func (*UpdateHomeSecretParams) SetDefaults

func (o *UpdateHomeSecretParams) SetDefaults()

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

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

func (*UpdateHomeSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update home secret params

func (*UpdateHomeSecretParams) SetPath

func (o *UpdateHomeSecretParams) SetPath(path string)

SetPath adds the path to the update home secret params

func (*UpdateHomeSecretParams) SetPrincipalName

func (o *UpdateHomeSecretParams) SetPrincipalName(principalName string)

SetPrincipalName adds the principalName to the update home secret params

func (*UpdateHomeSecretParams) SetTimeout

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

SetTimeout adds the timeout to the update home secret params

func (*UpdateHomeSecretParams) WithBody

WithBody adds the body to the update home secret params

func (*UpdateHomeSecretParams) WithContext

WithContext adds the context to the update home secret params

func (*UpdateHomeSecretParams) WithDefaults

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

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

func (*UpdateHomeSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update home secret params

func (*UpdateHomeSecretParams) WithPath

WithPath adds the path to the update home secret params

func (*UpdateHomeSecretParams) WithPrincipalName

func (o *UpdateHomeSecretParams) WithPrincipalName(principalName string) *UpdateHomeSecretParams

WithPrincipalName adds the principalName to the update home secret params

func (*UpdateHomeSecretParams) WithTimeout

WithTimeout adds the timeout to the update home secret params

func (*UpdateHomeSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateHomeSecretReader

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

UpdateHomeSecretReader is a Reader for the UpdateHomeSecret structure.

func (*UpdateHomeSecretReader) ReadResponse

func (o *UpdateHomeSecretReader) 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