Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSecret(params *CreateSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSecretCreated, error)
- func (a *Client) DeleteSecret(params *DeleteSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSecretOK, *DeleteSecretNoContent, error)
- func (a *Client) GetSecret(params *GetSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSecretOK, error)
- func (a *Client) GetSecretByVersion(params *GetSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSecretByVersionOK, error)
- func (a *Client) GetSecretDescription(params *GetSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSecretDescriptionOK, error)
- func (a *Client) ListSecretPaths(params *ListSecretPathsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSecretPathsOK, error)
- func (a *Client) RollbackSecret(params *RollbackSecretParams, opts ...ClientOption) (*RollbackSecretOK, error)
- func (a *Client) SearchSecrets(params *SearchSecretsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchSecretsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSecretOK, error)
- type ClientOption
- type ClientService
- type CreateSecretBadRequest
- func (o *CreateSecretBadRequest) Error() string
- func (o *CreateSecretBadRequest) GetPayload() *models.HTTPError
- func (o *CreateSecretBadRequest) IsClientError() bool
- func (o *CreateSecretBadRequest) IsCode(code int) bool
- func (o *CreateSecretBadRequest) IsRedirect() bool
- func (o *CreateSecretBadRequest) IsServerError() bool
- func (o *CreateSecretBadRequest) IsSuccess() bool
- func (o *CreateSecretBadRequest) String() string
- type CreateSecretCreated
- func (o *CreateSecretCreated) Error() string
- func (o *CreateSecretCreated) GetPayload() *models.ResponseModelFull
- func (o *CreateSecretCreated) IsClientError() bool
- func (o *CreateSecretCreated) IsCode(code int) bool
- func (o *CreateSecretCreated) IsRedirect() bool
- func (o *CreateSecretCreated) IsServerError() bool
- func (o *CreateSecretCreated) IsSuccess() bool
- func (o *CreateSecretCreated) String() string
- type CreateSecretForbidden
- func (o *CreateSecretForbidden) Error() string
- func (o *CreateSecretForbidden) GetPayload() *models.HTTPError
- func (o *CreateSecretForbidden) IsClientError() bool
- func (o *CreateSecretForbidden) IsCode(code int) bool
- func (o *CreateSecretForbidden) IsRedirect() bool
- func (o *CreateSecretForbidden) IsServerError() bool
- func (o *CreateSecretForbidden) IsSuccess() bool
- func (o *CreateSecretForbidden) String() string
- type CreateSecretInternalServerError
- func (o *CreateSecretInternalServerError) Error() string
- func (o *CreateSecretInternalServerError) GetPayload() *models.HTTPError
- func (o *CreateSecretInternalServerError) IsClientError() bool
- func (o *CreateSecretInternalServerError) IsCode(code int) bool
- func (o *CreateSecretInternalServerError) IsRedirect() bool
- func (o *CreateSecretInternalServerError) IsServerError() bool
- func (o *CreateSecretInternalServerError) IsSuccess() bool
- func (o *CreateSecretInternalServerError) String() string
- type CreateSecretParams
- func (o *CreateSecretParams) SetBody(body *models.RequestModelCreate)
- func (o *CreateSecretParams) SetContext(ctx context.Context)
- func (o *CreateSecretParams) SetDefaults()
- func (o *CreateSecretParams) SetHTTPClient(client *http.Client)
- func (o *CreateSecretParams) SetPath(path string)
- func (o *CreateSecretParams) SetTimeout(timeout time.Duration)
- func (o *CreateSecretParams) WithBody(body *models.RequestModelCreate) *CreateSecretParams
- func (o *CreateSecretParams) WithContext(ctx context.Context) *CreateSecretParams
- func (o *CreateSecretParams) WithDefaults() *CreateSecretParams
- func (o *CreateSecretParams) WithHTTPClient(client *http.Client) *CreateSecretParams
- func (o *CreateSecretParams) WithPath(path string) *CreateSecretParams
- func (o *CreateSecretParams) WithTimeout(timeout time.Duration) *CreateSecretParams
- func (o *CreateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSecretReader
- type CreateSecretUnauthorized
- func (o *CreateSecretUnauthorized) Error() string
- func (o *CreateSecretUnauthorized) GetPayload() *models.HTTPError
- func (o *CreateSecretUnauthorized) IsClientError() bool
- func (o *CreateSecretUnauthorized) IsCode(code int) bool
- func (o *CreateSecretUnauthorized) IsRedirect() bool
- func (o *CreateSecretUnauthorized) IsServerError() bool
- func (o *CreateSecretUnauthorized) IsSuccess() bool
- func (o *CreateSecretUnauthorized) String() string
- type DeleteSecretBadRequest
- func (o *DeleteSecretBadRequest) Error() string
- func (o *DeleteSecretBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteSecretBadRequest) IsClientError() bool
- func (o *DeleteSecretBadRequest) IsCode(code int) bool
- func (o *DeleteSecretBadRequest) IsRedirect() bool
- func (o *DeleteSecretBadRequest) IsServerError() bool
- func (o *DeleteSecretBadRequest) IsSuccess() bool
- func (o *DeleteSecretBadRequest) String() string
- type DeleteSecretForbidden
- func (o *DeleteSecretForbidden) Error() string
- func (o *DeleteSecretForbidden) GetPayload() *models.HTTPError
- func (o *DeleteSecretForbidden) IsClientError() bool
- func (o *DeleteSecretForbidden) IsCode(code int) bool
- func (o *DeleteSecretForbidden) IsRedirect() bool
- func (o *DeleteSecretForbidden) IsServerError() bool
- func (o *DeleteSecretForbidden) IsSuccess() bool
- func (o *DeleteSecretForbidden) String() string
- type DeleteSecretInternalServerError
- func (o *DeleteSecretInternalServerError) Error() string
- func (o *DeleteSecretInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteSecretInternalServerError) IsClientError() bool
- func (o *DeleteSecretInternalServerError) IsCode(code int) bool
- func (o *DeleteSecretInternalServerError) IsRedirect() bool
- func (o *DeleteSecretInternalServerError) IsServerError() bool
- func (o *DeleteSecretInternalServerError) IsSuccess() bool
- func (o *DeleteSecretInternalServerError) String() string
- type DeleteSecretNoContent
- func (o *DeleteSecretNoContent) Error() string
- func (o *DeleteSecretNoContent) IsClientError() bool
- func (o *DeleteSecretNoContent) IsCode(code int) bool
- func (o *DeleteSecretNoContent) IsRedirect() bool
- func (o *DeleteSecretNoContent) IsServerError() bool
- func (o *DeleteSecretNoContent) IsSuccess() bool
- func (o *DeleteSecretNoContent) String() string
- type DeleteSecretNotFound
- func (o *DeleteSecretNotFound) Error() string
- func (o *DeleteSecretNotFound) GetPayload() *models.HTTPError
- func (o *DeleteSecretNotFound) IsClientError() bool
- func (o *DeleteSecretNotFound) IsCode(code int) bool
- func (o *DeleteSecretNotFound) IsRedirect() bool
- func (o *DeleteSecretNotFound) IsServerError() bool
- func (o *DeleteSecretNotFound) IsSuccess() bool
- func (o *DeleteSecretNotFound) String() string
- type DeleteSecretOK
- func (o *DeleteSecretOK) Error() string
- func (o *DeleteSecretOK) GetPayload() *models.MessageResponse
- func (o *DeleteSecretOK) IsClientError() bool
- func (o *DeleteSecretOK) IsCode(code int) bool
- func (o *DeleteSecretOK) IsRedirect() bool
- func (o *DeleteSecretOK) IsServerError() bool
- func (o *DeleteSecretOK) IsSuccess() bool
- func (o *DeleteSecretOK) String() string
- type DeleteSecretParams
- func (o *DeleteSecretParams) SetContext(ctx context.Context)
- func (o *DeleteSecretParams) SetDefaults()
- func (o *DeleteSecretParams) SetForce(force *bool)
- func (o *DeleteSecretParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSecretParams) SetID(id *string)
- func (o *DeleteSecretParams) SetPath(path string)
- func (o *DeleteSecretParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSecretParams) WithContext(ctx context.Context) *DeleteSecretParams
- func (o *DeleteSecretParams) WithDefaults() *DeleteSecretParams
- func (o *DeleteSecretParams) WithForce(force *bool) *DeleteSecretParams
- func (o *DeleteSecretParams) WithHTTPClient(client *http.Client) *DeleteSecretParams
- func (o *DeleteSecretParams) WithID(id *string) *DeleteSecretParams
- func (o *DeleteSecretParams) WithPath(path string) *DeleteSecretParams
- func (o *DeleteSecretParams) WithTimeout(timeout time.Duration) *DeleteSecretParams
- func (o *DeleteSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSecretReader
- type DeleteSecretUnauthorized
- func (o *DeleteSecretUnauthorized) Error() string
- func (o *DeleteSecretUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteSecretUnauthorized) IsClientError() bool
- func (o *DeleteSecretUnauthorized) IsCode(code int) bool
- func (o *DeleteSecretUnauthorized) IsRedirect() bool
- func (o *DeleteSecretUnauthorized) IsServerError() bool
- func (o *DeleteSecretUnauthorized) IsSuccess() bool
- func (o *DeleteSecretUnauthorized) String() string
- type GetSecretBadRequest
- func (o *GetSecretBadRequest) Error() string
- func (o *GetSecretBadRequest) GetPayload() *models.HTTPError
- func (o *GetSecretBadRequest) IsClientError() bool
- func (o *GetSecretBadRequest) IsCode(code int) bool
- func (o *GetSecretBadRequest) IsRedirect() bool
- func (o *GetSecretBadRequest) IsServerError() bool
- func (o *GetSecretBadRequest) IsSuccess() bool
- func (o *GetSecretBadRequest) String() string
- type GetSecretByVersionBadRequest
- func (o *GetSecretByVersionBadRequest) Error() string
- func (o *GetSecretByVersionBadRequest) GetPayload() *models.HTTPError
- func (o *GetSecretByVersionBadRequest) IsClientError() bool
- func (o *GetSecretByVersionBadRequest) IsCode(code int) bool
- func (o *GetSecretByVersionBadRequest) IsRedirect() bool
- func (o *GetSecretByVersionBadRequest) IsServerError() bool
- func (o *GetSecretByVersionBadRequest) IsSuccess() bool
- func (o *GetSecretByVersionBadRequest) String() string
- type GetSecretByVersionForbidden
- func (o *GetSecretByVersionForbidden) Error() string
- func (o *GetSecretByVersionForbidden) GetPayload() *models.HTTPError
- func (o *GetSecretByVersionForbidden) IsClientError() bool
- func (o *GetSecretByVersionForbidden) IsCode(code int) bool
- func (o *GetSecretByVersionForbidden) IsRedirect() bool
- func (o *GetSecretByVersionForbidden) IsServerError() bool
- func (o *GetSecretByVersionForbidden) IsSuccess() bool
- func (o *GetSecretByVersionForbidden) String() string
- type GetSecretByVersionInternalServerError
- func (o *GetSecretByVersionInternalServerError) Error() string
- func (o *GetSecretByVersionInternalServerError) GetPayload() *models.HTTPError
- func (o *GetSecretByVersionInternalServerError) IsClientError() bool
- func (o *GetSecretByVersionInternalServerError) IsCode(code int) bool
- func (o *GetSecretByVersionInternalServerError) IsRedirect() bool
- func (o *GetSecretByVersionInternalServerError) IsServerError() bool
- func (o *GetSecretByVersionInternalServerError) IsSuccess() bool
- func (o *GetSecretByVersionInternalServerError) String() string
- type GetSecretByVersionNotFound
- func (o *GetSecretByVersionNotFound) Error() string
- func (o *GetSecretByVersionNotFound) GetPayload() *models.HTTPError
- func (o *GetSecretByVersionNotFound) IsClientError() bool
- func (o *GetSecretByVersionNotFound) IsCode(code int) bool
- func (o *GetSecretByVersionNotFound) IsRedirect() bool
- func (o *GetSecretByVersionNotFound) IsServerError() bool
- func (o *GetSecretByVersionNotFound) IsSuccess() bool
- func (o *GetSecretByVersionNotFound) String() string
- type GetSecretByVersionOK
- func (o *GetSecretByVersionOK) Error() string
- func (o *GetSecretByVersionOK) GetPayload() *models.SecretVersionResponse
- func (o *GetSecretByVersionOK) IsClientError() bool
- func (o *GetSecretByVersionOK) IsCode(code int) bool
- func (o *GetSecretByVersionOK) IsRedirect() bool
- func (o *GetSecretByVersionOK) IsServerError() bool
- func (o *GetSecretByVersionOK) IsSuccess() bool
- func (o *GetSecretByVersionOK) String() string
- type GetSecretByVersionParams
- func NewGetSecretByVersionParams() *GetSecretByVersionParams
- func NewGetSecretByVersionParamsWithContext(ctx context.Context) *GetSecretByVersionParams
- func NewGetSecretByVersionParamsWithHTTPClient(client *http.Client) *GetSecretByVersionParams
- func NewGetSecretByVersionParamsWithTimeout(timeout time.Duration) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) SetContext(ctx context.Context)
- func (o *GetSecretByVersionParams) SetDefaults()
- func (o *GetSecretByVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetSecretByVersionParams) SetPath(path string)
- func (o *GetSecretByVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetSecretByVersionParams) SetVersion(version int64)
- func (o *GetSecretByVersionParams) WithContext(ctx context.Context) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WithDefaults() *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WithHTTPClient(client *http.Client) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WithPath(path string) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WithTimeout(timeout time.Duration) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WithVersion(version int64) *GetSecretByVersionParams
- func (o *GetSecretByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecretByVersionReader
- type GetSecretByVersionUnauthorized
- func (o *GetSecretByVersionUnauthorized) Error() string
- func (o *GetSecretByVersionUnauthorized) GetPayload() *models.HTTPError
- func (o *GetSecretByVersionUnauthorized) IsClientError() bool
- func (o *GetSecretByVersionUnauthorized) IsCode(code int) bool
- func (o *GetSecretByVersionUnauthorized) IsRedirect() bool
- func (o *GetSecretByVersionUnauthorized) IsServerError() bool
- func (o *GetSecretByVersionUnauthorized) IsSuccess() bool
- func (o *GetSecretByVersionUnauthorized) String() string
- type GetSecretDescriptionBadRequest
- func (o *GetSecretDescriptionBadRequest) Error() string
- func (o *GetSecretDescriptionBadRequest) GetPayload() *models.HTTPError
- func (o *GetSecretDescriptionBadRequest) IsClientError() bool
- func (o *GetSecretDescriptionBadRequest) IsCode(code int) bool
- func (o *GetSecretDescriptionBadRequest) IsRedirect() bool
- func (o *GetSecretDescriptionBadRequest) IsServerError() bool
- func (o *GetSecretDescriptionBadRequest) IsSuccess() bool
- func (o *GetSecretDescriptionBadRequest) String() string
- type GetSecretDescriptionForbidden
- func (o *GetSecretDescriptionForbidden) Error() string
- func (o *GetSecretDescriptionForbidden) GetPayload() *models.HTTPError
- func (o *GetSecretDescriptionForbidden) IsClientError() bool
- func (o *GetSecretDescriptionForbidden) IsCode(code int) bool
- func (o *GetSecretDescriptionForbidden) IsRedirect() bool
- func (o *GetSecretDescriptionForbidden) IsServerError() bool
- func (o *GetSecretDescriptionForbidden) IsSuccess() bool
- func (o *GetSecretDescriptionForbidden) String() string
- type GetSecretDescriptionInternalServerError
- func (o *GetSecretDescriptionInternalServerError) Error() string
- func (o *GetSecretDescriptionInternalServerError) GetPayload() *models.HTTPError
- func (o *GetSecretDescriptionInternalServerError) IsClientError() bool
- func (o *GetSecretDescriptionInternalServerError) IsCode(code int) bool
- func (o *GetSecretDescriptionInternalServerError) IsRedirect() bool
- func (o *GetSecretDescriptionInternalServerError) IsServerError() bool
- func (o *GetSecretDescriptionInternalServerError) IsSuccess() bool
- func (o *GetSecretDescriptionInternalServerError) String() string
- type GetSecretDescriptionNotFound
- func (o *GetSecretDescriptionNotFound) Error() string
- func (o *GetSecretDescriptionNotFound) GetPayload() *models.HTTPError
- func (o *GetSecretDescriptionNotFound) IsClientError() bool
- func (o *GetSecretDescriptionNotFound) IsCode(code int) bool
- func (o *GetSecretDescriptionNotFound) IsRedirect() bool
- func (o *GetSecretDescriptionNotFound) IsServerError() bool
- func (o *GetSecretDescriptionNotFound) IsSuccess() bool
- func (o *GetSecretDescriptionNotFound) String() string
- type GetSecretDescriptionOK
- func (o *GetSecretDescriptionOK) Error() string
- func (o *GetSecretDescriptionOK) GetPayload() *models.ResponseModelDescription
- func (o *GetSecretDescriptionOK) IsClientError() bool
- func (o *GetSecretDescriptionOK) IsCode(code int) bool
- func (o *GetSecretDescriptionOK) IsRedirect() bool
- func (o *GetSecretDescriptionOK) IsServerError() bool
- func (o *GetSecretDescriptionOK) IsSuccess() bool
- func (o *GetSecretDescriptionOK) String() string
- type GetSecretDescriptionParams
- func NewGetSecretDescriptionParams() *GetSecretDescriptionParams
- func NewGetSecretDescriptionParamsWithContext(ctx context.Context) *GetSecretDescriptionParams
- func NewGetSecretDescriptionParamsWithHTTPClient(client *http.Client) *GetSecretDescriptionParams
- func NewGetSecretDescriptionParamsWithTimeout(timeout time.Duration) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) SetContext(ctx context.Context)
- func (o *GetSecretDescriptionParams) SetDefaults()
- func (o *GetSecretDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSecretDescriptionParams) SetID(id *string)
- func (o *GetSecretDescriptionParams) SetPath(path string)
- func (o *GetSecretDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSecretDescriptionParams) WithContext(ctx context.Context) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WithDefaults() *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WithHTTPClient(client *http.Client) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WithID(id *string) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WithPath(path string) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WithTimeout(timeout time.Duration) *GetSecretDescriptionParams
- func (o *GetSecretDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecretDescriptionReader
- type GetSecretDescriptionUnauthorized
- func (o *GetSecretDescriptionUnauthorized) Error() string
- func (o *GetSecretDescriptionUnauthorized) GetPayload() *models.HTTPError
- func (o *GetSecretDescriptionUnauthorized) IsClientError() bool
- func (o *GetSecretDescriptionUnauthorized) IsCode(code int) bool
- func (o *GetSecretDescriptionUnauthorized) IsRedirect() bool
- func (o *GetSecretDescriptionUnauthorized) IsServerError() bool
- func (o *GetSecretDescriptionUnauthorized) IsSuccess() bool
- func (o *GetSecretDescriptionUnauthorized) String() string
- type GetSecretForbidden
- func (o *GetSecretForbidden) Error() string
- func (o *GetSecretForbidden) GetPayload() *models.HTTPError
- func (o *GetSecretForbidden) IsClientError() bool
- func (o *GetSecretForbidden) IsCode(code int) bool
- func (o *GetSecretForbidden) IsRedirect() bool
- func (o *GetSecretForbidden) IsServerError() bool
- func (o *GetSecretForbidden) IsSuccess() bool
- func (o *GetSecretForbidden) String() string
- type GetSecretInternalServerError
- func (o *GetSecretInternalServerError) Error() string
- func (o *GetSecretInternalServerError) GetPayload() *models.HTTPError
- func (o *GetSecretInternalServerError) IsClientError() bool
- func (o *GetSecretInternalServerError) IsCode(code int) bool
- func (o *GetSecretInternalServerError) IsRedirect() bool
- func (o *GetSecretInternalServerError) IsServerError() bool
- func (o *GetSecretInternalServerError) IsSuccess() bool
- func (o *GetSecretInternalServerError) String() string
- type GetSecretNotFound
- func (o *GetSecretNotFound) Error() string
- func (o *GetSecretNotFound) GetPayload() *models.HTTPError
- func (o *GetSecretNotFound) IsClientError() bool
- func (o *GetSecretNotFound) IsCode(code int) bool
- func (o *GetSecretNotFound) IsRedirect() bool
- func (o *GetSecretNotFound) IsServerError() bool
- func (o *GetSecretNotFound) IsSuccess() bool
- func (o *GetSecretNotFound) String() string
- type GetSecretOK
- func (o *GetSecretOK) Error() string
- func (o *GetSecretOK) GetPayload() *models.ResponseModelFull
- func (o *GetSecretOK) IsClientError() bool
- func (o *GetSecretOK) IsCode(code int) bool
- func (o *GetSecretOK) IsRedirect() bool
- func (o *GetSecretOK) IsServerError() bool
- func (o *GetSecretOK) IsSuccess() bool
- func (o *GetSecretOK) String() string
- type GetSecretParams
- func (o *GetSecretParams) SetContext(ctx context.Context)
- func (o *GetSecretParams) SetDefaults()
- func (o *GetSecretParams) SetHTTPClient(client *http.Client)
- func (o *GetSecretParams) SetID(id *string)
- func (o *GetSecretParams) SetPath(path string)
- func (o *GetSecretParams) SetTimeout(timeout time.Duration)
- func (o *GetSecretParams) WithContext(ctx context.Context) *GetSecretParams
- func (o *GetSecretParams) WithDefaults() *GetSecretParams
- func (o *GetSecretParams) WithHTTPClient(client *http.Client) *GetSecretParams
- func (o *GetSecretParams) WithID(id *string) *GetSecretParams
- func (o *GetSecretParams) WithPath(path string) *GetSecretParams
- func (o *GetSecretParams) WithTimeout(timeout time.Duration) *GetSecretParams
- func (o *GetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecretReader
- type GetSecretUnauthorized
- func (o *GetSecretUnauthorized) Error() string
- func (o *GetSecretUnauthorized) GetPayload() *models.HTTPError
- func (o *GetSecretUnauthorized) IsClientError() bool
- func (o *GetSecretUnauthorized) IsCode(code int) bool
- func (o *GetSecretUnauthorized) IsRedirect() bool
- func (o *GetSecretUnauthorized) IsServerError() bool
- func (o *GetSecretUnauthorized) IsSuccess() bool
- func (o *GetSecretUnauthorized) String() string
- type ListSecretPathsBadRequest
- func (o *ListSecretPathsBadRequest) Error() string
- func (o *ListSecretPathsBadRequest) GetPayload() *models.HTTPError
- func (o *ListSecretPathsBadRequest) IsClientError() bool
- func (o *ListSecretPathsBadRequest) IsCode(code int) bool
- func (o *ListSecretPathsBadRequest) IsRedirect() bool
- func (o *ListSecretPathsBadRequest) IsServerError() bool
- func (o *ListSecretPathsBadRequest) IsSuccess() bool
- func (o *ListSecretPathsBadRequest) String() string
- type ListSecretPathsForbidden
- func (o *ListSecretPathsForbidden) Error() string
- func (o *ListSecretPathsForbidden) GetPayload() *models.HTTPError
- func (o *ListSecretPathsForbidden) IsClientError() bool
- func (o *ListSecretPathsForbidden) IsCode(code int) bool
- func (o *ListSecretPathsForbidden) IsRedirect() bool
- func (o *ListSecretPathsForbidden) IsServerError() bool
- func (o *ListSecretPathsForbidden) IsSuccess() bool
- func (o *ListSecretPathsForbidden) String() string
- type ListSecretPathsInternalServerError
- func (o *ListSecretPathsInternalServerError) Error() string
- func (o *ListSecretPathsInternalServerError) GetPayload() *models.HTTPError
- func (o *ListSecretPathsInternalServerError) IsClientError() bool
- func (o *ListSecretPathsInternalServerError) IsCode(code int) bool
- func (o *ListSecretPathsInternalServerError) IsRedirect() bool
- func (o *ListSecretPathsInternalServerError) IsServerError() bool
- func (o *ListSecretPathsInternalServerError) IsSuccess() bool
- func (o *ListSecretPathsInternalServerError) String() string
- type ListSecretPathsNotFound
- func (o *ListSecretPathsNotFound) Error() string
- func (o *ListSecretPathsNotFound) GetPayload() *models.HTTPError
- func (o *ListSecretPathsNotFound) IsClientError() bool
- func (o *ListSecretPathsNotFound) IsCode(code int) bool
- func (o *ListSecretPathsNotFound) IsRedirect() bool
- func (o *ListSecretPathsNotFound) IsServerError() bool
- func (o *ListSecretPathsNotFound) IsSuccess() bool
- func (o *ListSecretPathsNotFound) String() string
- type ListSecretPathsOK
- func (o *ListSecretPathsOK) Error() string
- func (o *ListSecretPathsOK) GetPayload() *models.SecretListPathsResponse
- func (o *ListSecretPathsOK) IsClientError() bool
- func (o *ListSecretPathsOK) IsCode(code int) bool
- func (o *ListSecretPathsOK) IsRedirect() bool
- func (o *ListSecretPathsOK) IsServerError() bool
- func (o *ListSecretPathsOK) IsSuccess() bool
- func (o *ListSecretPathsOK) String() string
- type ListSecretPathsParams
- func NewListSecretPathsParams() *ListSecretPathsParams
- func NewListSecretPathsParamsWithContext(ctx context.Context) *ListSecretPathsParams
- func NewListSecretPathsParamsWithHTTPClient(client *http.Client) *ListSecretPathsParams
- func NewListSecretPathsParamsWithTimeout(timeout time.Duration) *ListSecretPathsParams
- func (o *ListSecretPathsParams) SetContext(ctx context.Context)
- func (o *ListSecretPathsParams) SetDefaults()
- func (o *ListSecretPathsParams) SetHTTPClient(client *http.Client)
- func (o *ListSecretPathsParams) SetLimit(limit *int64)
- func (o *ListSecretPathsParams) SetPath(path string)
- func (o *ListSecretPathsParams) SetTimeout(timeout time.Duration)
- func (o *ListSecretPathsParams) WithContext(ctx context.Context) *ListSecretPathsParams
- func (o *ListSecretPathsParams) WithDefaults() *ListSecretPathsParams
- func (o *ListSecretPathsParams) WithHTTPClient(client *http.Client) *ListSecretPathsParams
- func (o *ListSecretPathsParams) WithLimit(limit *int64) *ListSecretPathsParams
- func (o *ListSecretPathsParams) WithPath(path string) *ListSecretPathsParams
- func (o *ListSecretPathsParams) WithTimeout(timeout time.Duration) *ListSecretPathsParams
- func (o *ListSecretPathsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSecretPathsReader
- type ListSecretPathsUnauthorized
- func (o *ListSecretPathsUnauthorized) Error() string
- func (o *ListSecretPathsUnauthorized) GetPayload() *models.HTTPError
- func (o *ListSecretPathsUnauthorized) IsClientError() bool
- func (o *ListSecretPathsUnauthorized) IsCode(code int) bool
- func (o *ListSecretPathsUnauthorized) IsRedirect() bool
- func (o *ListSecretPathsUnauthorized) IsServerError() bool
- func (o *ListSecretPathsUnauthorized) IsSuccess() bool
- func (o *ListSecretPathsUnauthorized) String() string
- type RollbackSecretBadRequest
- func (o *RollbackSecretBadRequest) Error() string
- func (o *RollbackSecretBadRequest) GetPayload() *models.HTTPError
- func (o *RollbackSecretBadRequest) IsClientError() bool
- func (o *RollbackSecretBadRequest) IsCode(code int) bool
- func (o *RollbackSecretBadRequest) IsRedirect() bool
- func (o *RollbackSecretBadRequest) IsServerError() bool
- func (o *RollbackSecretBadRequest) IsSuccess() bool
- func (o *RollbackSecretBadRequest) String() string
- type RollbackSecretForbidden
- func (o *RollbackSecretForbidden) Error() string
- func (o *RollbackSecretForbidden) GetPayload() *models.HTTPError
- func (o *RollbackSecretForbidden) IsClientError() bool
- func (o *RollbackSecretForbidden) IsCode(code int) bool
- func (o *RollbackSecretForbidden) IsRedirect() bool
- func (o *RollbackSecretForbidden) IsServerError() bool
- func (o *RollbackSecretForbidden) IsSuccess() bool
- func (o *RollbackSecretForbidden) String() string
- type RollbackSecretInternalServerError
- func (o *RollbackSecretInternalServerError) Error() string
- func (o *RollbackSecretInternalServerError) GetPayload() *models.HTTPError
- func (o *RollbackSecretInternalServerError) IsClientError() bool
- func (o *RollbackSecretInternalServerError) IsCode(code int) bool
- func (o *RollbackSecretInternalServerError) IsRedirect() bool
- func (o *RollbackSecretInternalServerError) IsServerError() bool
- func (o *RollbackSecretInternalServerError) IsSuccess() bool
- func (o *RollbackSecretInternalServerError) String() string
- type RollbackSecretNotFound
- func (o *RollbackSecretNotFound) Error() string
- func (o *RollbackSecretNotFound) GetPayload() *models.HTTPError
- func (o *RollbackSecretNotFound) IsClientError() bool
- func (o *RollbackSecretNotFound) IsCode(code int) bool
- func (o *RollbackSecretNotFound) IsRedirect() bool
- func (o *RollbackSecretNotFound) IsServerError() bool
- func (o *RollbackSecretNotFound) IsSuccess() bool
- func (o *RollbackSecretNotFound) String() string
- type RollbackSecretOK
- func (o *RollbackSecretOK) Error() string
- func (o *RollbackSecretOK) GetPayload() *models.SecretVersionResponse
- func (o *RollbackSecretOK) IsClientError() bool
- func (o *RollbackSecretOK) IsCode(code int) bool
- func (o *RollbackSecretOK) IsRedirect() bool
- func (o *RollbackSecretOK) IsServerError() bool
- func (o *RollbackSecretOK) IsSuccess() bool
- func (o *RollbackSecretOK) String() string
- type RollbackSecretParams
- func NewRollbackSecretParams() *RollbackSecretParams
- func NewRollbackSecretParamsWithContext(ctx context.Context) *RollbackSecretParams
- func NewRollbackSecretParamsWithHTTPClient(client *http.Client) *RollbackSecretParams
- func NewRollbackSecretParamsWithTimeout(timeout time.Duration) *RollbackSecretParams
- func (o *RollbackSecretParams) SetContext(ctx context.Context)
- func (o *RollbackSecretParams) SetDefaults()
- func (o *RollbackSecretParams) SetHTTPClient(client *http.Client)
- func (o *RollbackSecretParams) SetPath(path string)
- func (o *RollbackSecretParams) SetTimeout(timeout time.Duration)
- func (o *RollbackSecretParams) SetVersion(version int64)
- func (o *RollbackSecretParams) WithContext(ctx context.Context) *RollbackSecretParams
- func (o *RollbackSecretParams) WithDefaults() *RollbackSecretParams
- func (o *RollbackSecretParams) WithHTTPClient(client *http.Client) *RollbackSecretParams
- func (o *RollbackSecretParams) WithPath(path string) *RollbackSecretParams
- func (o *RollbackSecretParams) WithTimeout(timeout time.Duration) *RollbackSecretParams
- func (o *RollbackSecretParams) WithVersion(version int64) *RollbackSecretParams
- func (o *RollbackSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackSecretReader
- type RollbackSecretUnauthorized
- func (o *RollbackSecretUnauthorized) Error() string
- func (o *RollbackSecretUnauthorized) GetPayload() *models.HTTPError
- func (o *RollbackSecretUnauthorized) IsClientError() bool
- func (o *RollbackSecretUnauthorized) IsCode(code int) bool
- func (o *RollbackSecretUnauthorized) IsRedirect() bool
- func (o *RollbackSecretUnauthorized) IsServerError() bool
- func (o *RollbackSecretUnauthorized) IsSuccess() bool
- func (o *RollbackSecretUnauthorized) String() string
- type SearchSecretsBadRequest
- func (o *SearchSecretsBadRequest) Error() string
- func (o *SearchSecretsBadRequest) GetPayload() *models.HTTPError
- func (o *SearchSecretsBadRequest) IsClientError() bool
- func (o *SearchSecretsBadRequest) IsCode(code int) bool
- func (o *SearchSecretsBadRequest) IsRedirect() bool
- func (o *SearchSecretsBadRequest) IsServerError() bool
- func (o *SearchSecretsBadRequest) IsSuccess() bool
- func (o *SearchSecretsBadRequest) String() string
- type SearchSecretsForbidden
- func (o *SearchSecretsForbidden) Error() string
- func (o *SearchSecretsForbidden) GetPayload() *models.HTTPError
- func (o *SearchSecretsForbidden) IsClientError() bool
- func (o *SearchSecretsForbidden) IsCode(code int) bool
- func (o *SearchSecretsForbidden) IsRedirect() bool
- func (o *SearchSecretsForbidden) IsServerError() bool
- func (o *SearchSecretsForbidden) IsSuccess() bool
- func (o *SearchSecretsForbidden) String() string
- type SearchSecretsInternalServerError
- func (o *SearchSecretsInternalServerError) Error() string
- func (o *SearchSecretsInternalServerError) GetPayload() *models.HTTPError
- func (o *SearchSecretsInternalServerError) IsClientError() bool
- func (o *SearchSecretsInternalServerError) IsCode(code int) bool
- func (o *SearchSecretsInternalServerError) IsRedirect() bool
- func (o *SearchSecretsInternalServerError) IsServerError() bool
- func (o *SearchSecretsInternalServerError) IsSuccess() bool
- func (o *SearchSecretsInternalServerError) String() string
- type SearchSecretsNotFound
- func (o *SearchSecretsNotFound) Error() string
- func (o *SearchSecretsNotFound) GetPayload() *models.HTTPError
- func (o *SearchSecretsNotFound) IsClientError() bool
- func (o *SearchSecretsNotFound) IsCode(code int) bool
- func (o *SearchSecretsNotFound) IsRedirect() bool
- func (o *SearchSecretsNotFound) IsServerError() bool
- func (o *SearchSecretsNotFound) IsSuccess() bool
- func (o *SearchSecretsNotFound) String() string
- type SearchSecretsOK
- func (o *SearchSecretsOK) Error() string
- func (o *SearchSecretsOK) GetPayload() *models.ResponseModelSearch
- func (o *SearchSecretsOK) IsClientError() bool
- func (o *SearchSecretsOK) IsCode(code int) bool
- func (o *SearchSecretsOK) IsRedirect() bool
- func (o *SearchSecretsOK) IsServerError() bool
- func (o *SearchSecretsOK) IsSuccess() bool
- func (o *SearchSecretsOK) String() string
- type SearchSecretsParams
- func (o *SearchSecretsParams) SetComparison(searchComparison *string)
- func (o *SearchSecretsParams) SetContext(ctx context.Context)
- func (o *SearchSecretsParams) SetCursor(cursor *string)
- func (o *SearchSecretsParams) SetDefaults()
- func (o *SearchSecretsParams) SetField(searchField *string)
- func (o *SearchSecretsParams) SetHTTPClient(client *http.Client)
- func (o *SearchSecretsParams) SetLimit(limit *int64)
- func (o *SearchSecretsParams) SetLink(searchLinks *bool)
- func (o *SearchSecretsParams) SetSearchTerm(searchTerm *string)
- func (o *SearchSecretsParams) SetSort(sort *string)
- func (o *SearchSecretsParams) SetTimeout(timeout time.Duration)
- func (o *SearchSecretsParams) SetUnderlyingType(searchType *string)
- func (o *SearchSecretsParams) WithComparison(searchComparison *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WithContext(ctx context.Context) *SearchSecretsParams
- func (o *SearchSecretsParams) WithCursor(cursor *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WithDefaults() *SearchSecretsParams
- func (o *SearchSecretsParams) WithField(searchField *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WithHTTPClient(client *http.Client) *SearchSecretsParams
- func (o *SearchSecretsParams) WithLimit(limit *int64) *SearchSecretsParams
- func (o *SearchSecretsParams) WithLink(searchLinks *bool) *SearchSecretsParams
- func (o *SearchSecretsParams) WithSearchTerm(searchTerm *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WithSort(sort *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WithTimeout(timeout time.Duration) *SearchSecretsParams
- func (o *SearchSecretsParams) WithUnderlyingType(searchType *string) *SearchSecretsParams
- func (o *SearchSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchSecretsReader
- type SearchSecretsUnauthorized
- func (o *SearchSecretsUnauthorized) Error() string
- func (o *SearchSecretsUnauthorized) GetPayload() *models.HTTPError
- func (o *SearchSecretsUnauthorized) IsClientError() bool
- func (o *SearchSecretsUnauthorized) IsCode(code int) bool
- func (o *SearchSecretsUnauthorized) IsRedirect() bool
- func (o *SearchSecretsUnauthorized) IsServerError() bool
- func (o *SearchSecretsUnauthorized) IsSuccess() bool
- func (o *SearchSecretsUnauthorized) String() string
- type UpdateSecretBadRequest
- func (o *UpdateSecretBadRequest) Error() string
- func (o *UpdateSecretBadRequest) GetPayload() *models.HTTPError
- func (o *UpdateSecretBadRequest) IsClientError() bool
- func (o *UpdateSecretBadRequest) IsCode(code int) bool
- func (o *UpdateSecretBadRequest) IsRedirect() bool
- func (o *UpdateSecretBadRequest) IsServerError() bool
- func (o *UpdateSecretBadRequest) IsSuccess() bool
- func (o *UpdateSecretBadRequest) String() string
- type UpdateSecretForbidden
- func (o *UpdateSecretForbidden) Error() string
- func (o *UpdateSecretForbidden) GetPayload() *models.HTTPError
- func (o *UpdateSecretForbidden) IsClientError() bool
- func (o *UpdateSecretForbidden) IsCode(code int) bool
- func (o *UpdateSecretForbidden) IsRedirect() bool
- func (o *UpdateSecretForbidden) IsServerError() bool
- func (o *UpdateSecretForbidden) IsSuccess() bool
- func (o *UpdateSecretForbidden) String() string
- type UpdateSecretInternalServerError
- func (o *UpdateSecretInternalServerError) Error() string
- func (o *UpdateSecretInternalServerError) GetPayload() *models.HTTPError
- func (o *UpdateSecretInternalServerError) IsClientError() bool
- func (o *UpdateSecretInternalServerError) IsCode(code int) bool
- func (o *UpdateSecretInternalServerError) IsRedirect() bool
- func (o *UpdateSecretInternalServerError) IsServerError() bool
- func (o *UpdateSecretInternalServerError) IsSuccess() bool
- func (o *UpdateSecretInternalServerError) String() string
- type UpdateSecretNotFound
- func (o *UpdateSecretNotFound) Error() string
- func (o *UpdateSecretNotFound) GetPayload() *models.HTTPError
- func (o *UpdateSecretNotFound) IsClientError() bool
- func (o *UpdateSecretNotFound) IsCode(code int) bool
- func (o *UpdateSecretNotFound) IsRedirect() bool
- func (o *UpdateSecretNotFound) IsServerError() bool
- func (o *UpdateSecretNotFound) IsSuccess() bool
- func (o *UpdateSecretNotFound) String() string
- type UpdateSecretOK
- func (o *UpdateSecretOK) Error() string
- func (o *UpdateSecretOK) GetPayload() *models.ResponseModelFull
- func (o *UpdateSecretOK) IsClientError() bool
- func (o *UpdateSecretOK) IsCode(code int) bool
- func (o *UpdateSecretOK) IsRedirect() bool
- func (o *UpdateSecretOK) IsServerError() bool
- func (o *UpdateSecretOK) IsSuccess() bool
- func (o *UpdateSecretOK) String() string
- type UpdateSecretParams
- func (o *UpdateSecretParams) SetBody(body *models.RequestModelUpdate)
- func (o *UpdateSecretParams) SetContext(ctx context.Context)
- func (o *UpdateSecretParams) SetDefaults()
- func (o *UpdateSecretParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSecretParams) SetPath(path string)
- func (o *UpdateSecretParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSecretParams) WithBody(body *models.RequestModelUpdate) *UpdateSecretParams
- func (o *UpdateSecretParams) WithContext(ctx context.Context) *UpdateSecretParams
- func (o *UpdateSecretParams) WithDefaults() *UpdateSecretParams
- func (o *UpdateSecretParams) WithHTTPClient(client *http.Client) *UpdateSecretParams
- func (o *UpdateSecretParams) WithPath(path string) *UpdateSecretParams
- func (o *UpdateSecretParams) WithTimeout(timeout time.Duration) *UpdateSecretParams
- func (o *UpdateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSecretReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for secrets API
func (*Client) CreateSecret ¶
func (a *Client) CreateSecret(params *CreateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecretCreated, error)
CreateSecret creates secret
Creates a new secret.
func (*Client) DeleteSecret ¶
func (a *Client) DeleteSecret(params *DeleteSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSecretOK, *DeleteSecretNoContent, error)
DeleteSecret deletes secret
Deletes a secret by path or by id in the query.
func (*Client) GetSecret ¶
func (a *Client) GetSecret(params *GetSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretOK, error)
GetSecret gets secret
Gets a full secret by path or by id in the query.
func (*Client) GetSecretByVersion ¶
func (a *Client) GetSecretByVersion(params *GetSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretByVersionOK, error)
GetSecretByVersion gets secret by version
Gets a full secret by path and version in the query.
func (*Client) GetSecretDescription ¶
func (a *Client) GetSecretDescription(params *GetSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretDescriptionOK, error)
GetSecretDescription gets secret description
Gets a secret's metadata without returning the sensitive data.
func (*Client) ListSecretPaths ¶
func (a *Client) ListSecretPaths(params *ListSecretPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSecretPathsOK, error)
ListSecretPaths lists secret paths
Lists secret paths that start with the path parameter.
func (*Client) RollbackSecret ¶
func (a *Client) RollbackSecret(params *RollbackSecretParams, opts ...ClientOption) (*RollbackSecretOK, error)
RollbackSecret rollbacks a secret
Rollbacks a Secret to a previous version.
func (*Client) SearchSecrets ¶
func (a *Client) SearchSecrets(params *SearchSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSecretsOK, error)
SearchSecrets searches for secrets
Lists secret paths that start with the path parameter.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSecret ¶
func (a *Client) UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecretOK, error)
UpdateSecret updates secret
Updates an existing secret.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSecret(params *CreateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecretCreated, error) DeleteSecret(params *DeleteSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSecretOK, *DeleteSecretNoContent, error) GetSecret(params *GetSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretOK, error) GetSecretByVersion(params *GetSecretByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretByVersionOK, error) GetSecretDescription(params *GetSecretDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecretDescriptionOK, error) ListSecretPaths(params *ListSecretPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSecretPathsOK, error) RollbackSecret(params *RollbackSecretParams, opts ...ClientOption) (*RollbackSecretOK, error) SearchSecrets(params *SearchSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSecretsOK, error) UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecretOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new secrets API client.
type CreateSecretBadRequest ¶
CreateSecretBadRequest describes a response with status code 400, with default header values.
bad request
func NewCreateSecretBadRequest ¶
func NewCreateSecretBadRequest() *CreateSecretBadRequest
NewCreateSecretBadRequest creates a CreateSecretBadRequest with default headers values
func (*CreateSecretBadRequest) Error ¶
func (o *CreateSecretBadRequest) Error() string
func (*CreateSecretBadRequest) GetPayload ¶
func (o *CreateSecretBadRequest) GetPayload() *models.HTTPError
func (*CreateSecretBadRequest) IsClientError ¶
func (o *CreateSecretBadRequest) IsClientError() bool
IsClientError returns true when this create secret bad request response has a 4xx status code
func (*CreateSecretBadRequest) IsCode ¶
func (o *CreateSecretBadRequest) IsCode(code int) bool
IsCode returns true when this create secret bad request response a status code equal to that given
func (*CreateSecretBadRequest) IsRedirect ¶
func (o *CreateSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this create secret bad request response has a 3xx status code
func (*CreateSecretBadRequest) IsServerError ¶
func (o *CreateSecretBadRequest) IsServerError() bool
IsServerError returns true when this create secret bad request response has a 5xx status code
func (*CreateSecretBadRequest) IsSuccess ¶
func (o *CreateSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this create secret bad request response has a 2xx status code
func (*CreateSecretBadRequest) String ¶
func (o *CreateSecretBadRequest) String() string
type CreateSecretCreated ¶
type CreateSecretCreated struct {
Payload *models.ResponseModelFull
}
CreateSecretCreated describes a response with status code 201, with default header values.
no error
func NewCreateSecretCreated ¶
func NewCreateSecretCreated() *CreateSecretCreated
NewCreateSecretCreated creates a CreateSecretCreated with default headers values
func (*CreateSecretCreated) Error ¶
func (o *CreateSecretCreated) Error() string
func (*CreateSecretCreated) GetPayload ¶
func (o *CreateSecretCreated) GetPayload() *models.ResponseModelFull
func (*CreateSecretCreated) IsClientError ¶
func (o *CreateSecretCreated) IsClientError() bool
IsClientError returns true when this create secret created response has a 4xx status code
func (*CreateSecretCreated) IsCode ¶
func (o *CreateSecretCreated) IsCode(code int) bool
IsCode returns true when this create secret created response a status code equal to that given
func (*CreateSecretCreated) IsRedirect ¶
func (o *CreateSecretCreated) IsRedirect() bool
IsRedirect returns true when this create secret created response has a 3xx status code
func (*CreateSecretCreated) IsServerError ¶
func (o *CreateSecretCreated) IsServerError() bool
IsServerError returns true when this create secret created response has a 5xx status code
func (*CreateSecretCreated) IsSuccess ¶
func (o *CreateSecretCreated) IsSuccess() bool
IsSuccess returns true when this create secret created response has a 2xx status code
func (*CreateSecretCreated) String ¶
func (o *CreateSecretCreated) String() string
type CreateSecretForbidden ¶
CreateSecretForbidden describes a response with status code 403, with default header values.
forbidden
func NewCreateSecretForbidden ¶
func NewCreateSecretForbidden() *CreateSecretForbidden
NewCreateSecretForbidden creates a CreateSecretForbidden with default headers values
func (*CreateSecretForbidden) Error ¶
func (o *CreateSecretForbidden) Error() string
func (*CreateSecretForbidden) GetPayload ¶
func (o *CreateSecretForbidden) GetPayload() *models.HTTPError
func (*CreateSecretForbidden) IsClientError ¶
func (o *CreateSecretForbidden) IsClientError() bool
IsClientError returns true when this create secret forbidden response has a 4xx status code
func (*CreateSecretForbidden) IsCode ¶
func (o *CreateSecretForbidden) IsCode(code int) bool
IsCode returns true when this create secret forbidden response a status code equal to that given
func (*CreateSecretForbidden) IsRedirect ¶
func (o *CreateSecretForbidden) IsRedirect() bool
IsRedirect returns true when this create secret forbidden response has a 3xx status code
func (*CreateSecretForbidden) IsServerError ¶
func (o *CreateSecretForbidden) IsServerError() bool
IsServerError returns true when this create secret forbidden response has a 5xx status code
func (*CreateSecretForbidden) IsSuccess ¶
func (o *CreateSecretForbidden) IsSuccess() bool
IsSuccess returns true when this create secret forbidden response has a 2xx status code
func (*CreateSecretForbidden) String ¶
func (o *CreateSecretForbidden) String() string
type CreateSecretInternalServerError ¶
CreateSecretInternalServerError describes a response with status code 500, with default header values.
server error
func NewCreateSecretInternalServerError ¶
func NewCreateSecretInternalServerError() *CreateSecretInternalServerError
NewCreateSecretInternalServerError creates a CreateSecretInternalServerError with default headers values
func (*CreateSecretInternalServerError) Error ¶
func (o *CreateSecretInternalServerError) Error() string
func (*CreateSecretInternalServerError) GetPayload ¶
func (o *CreateSecretInternalServerError) GetPayload() *models.HTTPError
func (*CreateSecretInternalServerError) IsClientError ¶
func (o *CreateSecretInternalServerError) IsClientError() bool
IsClientError returns true when this create secret internal server error response has a 4xx status code
func (*CreateSecretInternalServerError) IsCode ¶
func (o *CreateSecretInternalServerError) IsCode(code int) bool
IsCode returns true when this create secret internal server error response a status code equal to that given
func (*CreateSecretInternalServerError) IsRedirect ¶
func (o *CreateSecretInternalServerError) IsRedirect() bool
IsRedirect returns true when this create secret internal server error response has a 3xx status code
func (*CreateSecretInternalServerError) IsServerError ¶
func (o *CreateSecretInternalServerError) IsServerError() bool
IsServerError returns true when this create secret internal server error response has a 5xx status code
func (*CreateSecretInternalServerError) IsSuccess ¶
func (o *CreateSecretInternalServerError) IsSuccess() bool
IsSuccess returns true when this create secret internal server error response has a 2xx status code
func (*CreateSecretInternalServerError) String ¶
func (o *CreateSecretInternalServerError) String() string
type CreateSecretParams ¶
type CreateSecretParams struct { // Body. Body *models.RequestModelCreate /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSecretParams contains all the parameters to send to the API endpoint
for the create secret operation. Typically these are written to a http.Request.
func NewCreateSecretParams ¶
func NewCreateSecretParams() *CreateSecretParams
NewCreateSecretParams creates a new CreateSecretParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSecretParamsWithContext ¶
func NewCreateSecretParamsWithContext(ctx context.Context) *CreateSecretParams
NewCreateSecretParamsWithContext creates a new CreateSecretParams object with the ability to set a context for a request.
func NewCreateSecretParamsWithHTTPClient ¶
func NewCreateSecretParamsWithHTTPClient(client *http.Client) *CreateSecretParams
NewCreateSecretParamsWithHTTPClient creates a new CreateSecretParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSecretParamsWithTimeout ¶
func NewCreateSecretParamsWithTimeout(timeout time.Duration) *CreateSecretParams
NewCreateSecretParamsWithTimeout creates a new CreateSecretParams object with the ability to set a timeout on a request.
func (*CreateSecretParams) SetBody ¶
func (o *CreateSecretParams) SetBody(body *models.RequestModelCreate)
SetBody adds the body to the create secret params
func (*CreateSecretParams) SetContext ¶
func (o *CreateSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the create secret params
func (*CreateSecretParams) SetDefaults ¶
func (o *CreateSecretParams) SetDefaults()
SetDefaults hydrates default values in the create secret params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecretParams) SetHTTPClient ¶
func (o *CreateSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create secret params
func (*CreateSecretParams) SetPath ¶
func (o *CreateSecretParams) SetPath(path string)
SetPath adds the path to the create secret params
func (*CreateSecretParams) SetTimeout ¶
func (o *CreateSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create secret params
func (*CreateSecretParams) WithBody ¶
func (o *CreateSecretParams) WithBody(body *models.RequestModelCreate) *CreateSecretParams
WithBody adds the body to the create secret params
func (*CreateSecretParams) WithContext ¶
func (o *CreateSecretParams) WithContext(ctx context.Context) *CreateSecretParams
WithContext adds the context to the create secret params
func (*CreateSecretParams) WithDefaults ¶
func (o *CreateSecretParams) WithDefaults() *CreateSecretParams
WithDefaults hydrates default values in the create secret params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecretParams) WithHTTPClient ¶
func (o *CreateSecretParams) WithHTTPClient(client *http.Client) *CreateSecretParams
WithHTTPClient adds the HTTPClient to the create secret params
func (*CreateSecretParams) WithPath ¶
func (o *CreateSecretParams) WithPath(path string) *CreateSecretParams
WithPath adds the path to the create secret params
func (*CreateSecretParams) WithTimeout ¶
func (o *CreateSecretParams) WithTimeout(timeout time.Duration) *CreateSecretParams
WithTimeout adds the timeout to the create secret params
func (*CreateSecretParams) WriteToRequest ¶
func (o *CreateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSecretReader ¶
type CreateSecretReader struct {
// contains filtered or unexported fields
}
CreateSecretReader is a Reader for the CreateSecret structure.
func (*CreateSecretReader) ReadResponse ¶
func (o *CreateSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSecretUnauthorized ¶
type CreateSecretUnauthorized struct {
}CreateSecretUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateSecretUnauthorized ¶
func NewCreateSecretUnauthorized() *CreateSecretUnauthorized
NewCreateSecretUnauthorized creates a CreateSecretUnauthorized with default headers values
func (*CreateSecretUnauthorized) Error ¶
func (o *CreateSecretUnauthorized) Error() string
func (*CreateSecretUnauthorized) GetPayload ¶
func (o *CreateSecretUnauthorized) GetPayload() *models.HTTPError
func (*CreateSecretUnauthorized) IsClientError ¶
func (o *CreateSecretUnauthorized) IsClientError() bool
IsClientError returns true when this create secret unauthorized response has a 4xx status code
func (*CreateSecretUnauthorized) IsCode ¶
func (o *CreateSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this create secret unauthorized response a status code equal to that given
func (*CreateSecretUnauthorized) IsRedirect ¶
func (o *CreateSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this create secret unauthorized response has a 3xx status code
func (*CreateSecretUnauthorized) IsServerError ¶
func (o *CreateSecretUnauthorized) IsServerError() bool
IsServerError returns true when this create secret unauthorized response has a 5xx status code
func (*CreateSecretUnauthorized) IsSuccess ¶
func (o *CreateSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this create secret unauthorized response has a 2xx status code
func (*CreateSecretUnauthorized) String ¶
func (o *CreateSecretUnauthorized) String() string
type DeleteSecretBadRequest ¶
DeleteSecretBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteSecretBadRequest ¶
func NewDeleteSecretBadRequest() *DeleteSecretBadRequest
NewDeleteSecretBadRequest creates a DeleteSecretBadRequest with default headers values
func (*DeleteSecretBadRequest) Error ¶
func (o *DeleteSecretBadRequest) Error() string
func (*DeleteSecretBadRequest) GetPayload ¶
func (o *DeleteSecretBadRequest) GetPayload() *models.HTTPError
func (*DeleteSecretBadRequest) IsClientError ¶
func (o *DeleteSecretBadRequest) IsClientError() bool
IsClientError returns true when this delete secret bad request response has a 4xx status code
func (*DeleteSecretBadRequest) IsCode ¶
func (o *DeleteSecretBadRequest) IsCode(code int) bool
IsCode returns true when this delete secret bad request response a status code equal to that given
func (*DeleteSecretBadRequest) IsRedirect ¶
func (o *DeleteSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this delete secret bad request response has a 3xx status code
func (*DeleteSecretBadRequest) IsServerError ¶
func (o *DeleteSecretBadRequest) IsServerError() bool
IsServerError returns true when this delete secret bad request response has a 5xx status code
func (*DeleteSecretBadRequest) IsSuccess ¶
func (o *DeleteSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this delete secret bad request response has a 2xx status code
func (*DeleteSecretBadRequest) String ¶
func (o *DeleteSecretBadRequest) String() string
type DeleteSecretForbidden ¶
DeleteSecretForbidden describes a response with status code 403, with default header values.
forbidden
func NewDeleteSecretForbidden ¶
func NewDeleteSecretForbidden() *DeleteSecretForbidden
NewDeleteSecretForbidden creates a DeleteSecretForbidden with default headers values
func (*DeleteSecretForbidden) Error ¶
func (o *DeleteSecretForbidden) Error() string
func (*DeleteSecretForbidden) GetPayload ¶
func (o *DeleteSecretForbidden) GetPayload() *models.HTTPError
func (*DeleteSecretForbidden) IsClientError ¶
func (o *DeleteSecretForbidden) IsClientError() bool
IsClientError returns true when this delete secret forbidden response has a 4xx status code
func (*DeleteSecretForbidden) IsCode ¶
func (o *DeleteSecretForbidden) IsCode(code int) bool
IsCode returns true when this delete secret forbidden response a status code equal to that given
func (*DeleteSecretForbidden) IsRedirect ¶
func (o *DeleteSecretForbidden) IsRedirect() bool
IsRedirect returns true when this delete secret forbidden response has a 3xx status code
func (*DeleteSecretForbidden) IsServerError ¶
func (o *DeleteSecretForbidden) IsServerError() bool
IsServerError returns true when this delete secret forbidden response has a 5xx status code
func (*DeleteSecretForbidden) IsSuccess ¶
func (o *DeleteSecretForbidden) IsSuccess() bool
IsSuccess returns true when this delete secret forbidden response has a 2xx status code
func (*DeleteSecretForbidden) String ¶
func (o *DeleteSecretForbidden) String() string
type DeleteSecretInternalServerError ¶
DeleteSecretInternalServerError describes a response with status code 500, with default header values.
server error
func NewDeleteSecretInternalServerError ¶
func NewDeleteSecretInternalServerError() *DeleteSecretInternalServerError
NewDeleteSecretInternalServerError creates a DeleteSecretInternalServerError with default headers values
func (*DeleteSecretInternalServerError) Error ¶
func (o *DeleteSecretInternalServerError) Error() string
func (*DeleteSecretInternalServerError) GetPayload ¶
func (o *DeleteSecretInternalServerError) GetPayload() *models.HTTPError
func (*DeleteSecretInternalServerError) IsClientError ¶
func (o *DeleteSecretInternalServerError) IsClientError() bool
IsClientError returns true when this delete secret internal server error response has a 4xx status code
func (*DeleteSecretInternalServerError) IsCode ¶
func (o *DeleteSecretInternalServerError) IsCode(code int) bool
IsCode returns true when this delete secret internal server error response a status code equal to that given
func (*DeleteSecretInternalServerError) IsRedirect ¶
func (o *DeleteSecretInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete secret internal server error response has a 3xx status code
func (*DeleteSecretInternalServerError) IsServerError ¶
func (o *DeleteSecretInternalServerError) IsServerError() bool
IsServerError returns true when this delete secret internal server error response has a 5xx status code
func (*DeleteSecretInternalServerError) IsSuccess ¶
func (o *DeleteSecretInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete secret internal server error response has a 2xx status code
func (*DeleteSecretInternalServerError) String ¶
func (o *DeleteSecretInternalServerError) String() string
type DeleteSecretNoContent ¶
type DeleteSecretNoContent struct { }
DeleteSecretNoContent describes a response with status code 204, with default header values.
no error
func NewDeleteSecretNoContent ¶
func NewDeleteSecretNoContent() *DeleteSecretNoContent
NewDeleteSecretNoContent creates a DeleteSecretNoContent with default headers values
func (*DeleteSecretNoContent) Error ¶
func (o *DeleteSecretNoContent) Error() string
func (*DeleteSecretNoContent) IsClientError ¶
func (o *DeleteSecretNoContent) IsClientError() bool
IsClientError returns true when this delete secret no content response has a 4xx status code
func (*DeleteSecretNoContent) IsCode ¶
func (o *DeleteSecretNoContent) IsCode(code int) bool
IsCode returns true when this delete secret no content response a status code equal to that given
func (*DeleteSecretNoContent) IsRedirect ¶
func (o *DeleteSecretNoContent) IsRedirect() bool
IsRedirect returns true when this delete secret no content response has a 3xx status code
func (*DeleteSecretNoContent) IsServerError ¶
func (o *DeleteSecretNoContent) IsServerError() bool
IsServerError returns true when this delete secret no content response has a 5xx status code
func (*DeleteSecretNoContent) IsSuccess ¶
func (o *DeleteSecretNoContent) IsSuccess() bool
IsSuccess returns true when this delete secret no content response has a 2xx status code
func (*DeleteSecretNoContent) String ¶
func (o *DeleteSecretNoContent) String() string
type DeleteSecretNotFound ¶
DeleteSecretNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteSecretNotFound ¶
func NewDeleteSecretNotFound() *DeleteSecretNotFound
NewDeleteSecretNotFound creates a DeleteSecretNotFound with default headers values
func (*DeleteSecretNotFound) Error ¶
func (o *DeleteSecretNotFound) Error() string
func (*DeleteSecretNotFound) GetPayload ¶
func (o *DeleteSecretNotFound) GetPayload() *models.HTTPError
func (*DeleteSecretNotFound) IsClientError ¶
func (o *DeleteSecretNotFound) IsClientError() bool
IsClientError returns true when this delete secret not found response has a 4xx status code
func (*DeleteSecretNotFound) IsCode ¶
func (o *DeleteSecretNotFound) IsCode(code int) bool
IsCode returns true when this delete secret not found response a status code equal to that given
func (*DeleteSecretNotFound) IsRedirect ¶
func (o *DeleteSecretNotFound) IsRedirect() bool
IsRedirect returns true when this delete secret not found response has a 3xx status code
func (*DeleteSecretNotFound) IsServerError ¶
func (o *DeleteSecretNotFound) IsServerError() bool
IsServerError returns true when this delete secret not found response has a 5xx status code
func (*DeleteSecretNotFound) IsSuccess ¶
func (o *DeleteSecretNotFound) IsSuccess() bool
IsSuccess returns true when this delete secret not found response has a 2xx status code
func (*DeleteSecretNotFound) String ¶
func (o *DeleteSecretNotFound) String() string
type DeleteSecretOK ¶
type DeleteSecretOK struct {
Payload *models.MessageResponse
}
DeleteSecretOK describes a response with status code 200, with default header values.
no error
func NewDeleteSecretOK ¶
func NewDeleteSecretOK() *DeleteSecretOK
NewDeleteSecretOK creates a DeleteSecretOK with default headers values
func (*DeleteSecretOK) Error ¶
func (o *DeleteSecretOK) Error() string
func (*DeleteSecretOK) GetPayload ¶
func (o *DeleteSecretOK) GetPayload() *models.MessageResponse
func (*DeleteSecretOK) IsClientError ¶
func (o *DeleteSecretOK) IsClientError() bool
IsClientError returns true when this delete secret o k response has a 4xx status code
func (*DeleteSecretOK) IsCode ¶
func (o *DeleteSecretOK) IsCode(code int) bool
IsCode returns true when this delete secret o k response a status code equal to that given
func (*DeleteSecretOK) IsRedirect ¶
func (o *DeleteSecretOK) IsRedirect() bool
IsRedirect returns true when this delete secret o k response has a 3xx status code
func (*DeleteSecretOK) IsServerError ¶
func (o *DeleteSecretOK) IsServerError() bool
IsServerError returns true when this delete secret o k response has a 5xx status code
func (*DeleteSecretOK) IsSuccess ¶
func (o *DeleteSecretOK) IsSuccess() bool
IsSuccess returns true when this delete secret o k response has a 2xx status code
func (*DeleteSecretOK) String ¶
func (o *DeleteSecretOK) String() string
type DeleteSecretParams ¶
type DeleteSecretParams struct { /* Force. Delete immediately */ Force *bool /* ID. Unique uuid identifying a secret */ ID *string /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSecretParams contains all the parameters to send to the API endpoint
for the delete secret operation. Typically these are written to a http.Request.
func NewDeleteSecretParams ¶
func NewDeleteSecretParams() *DeleteSecretParams
NewDeleteSecretParams creates a new DeleteSecretParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSecretParamsWithContext ¶
func NewDeleteSecretParamsWithContext(ctx context.Context) *DeleteSecretParams
NewDeleteSecretParamsWithContext creates a new DeleteSecretParams object with the ability to set a context for a request.
func NewDeleteSecretParamsWithHTTPClient ¶
func NewDeleteSecretParamsWithHTTPClient(client *http.Client) *DeleteSecretParams
NewDeleteSecretParamsWithHTTPClient creates a new DeleteSecretParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSecretParamsWithTimeout ¶
func NewDeleteSecretParamsWithTimeout(timeout time.Duration) *DeleteSecretParams
NewDeleteSecretParamsWithTimeout creates a new DeleteSecretParams object with the ability to set a timeout on a request.
func (*DeleteSecretParams) SetContext ¶
func (o *DeleteSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the delete secret params
func (*DeleteSecretParams) SetDefaults ¶
func (o *DeleteSecretParams) SetDefaults()
SetDefaults hydrates default values in the delete secret params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecretParams) SetForce ¶
func (o *DeleteSecretParams) SetForce(force *bool)
SetForce adds the force to the delete secret params
func (*DeleteSecretParams) SetHTTPClient ¶
func (o *DeleteSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete secret params
func (*DeleteSecretParams) SetID ¶
func (o *DeleteSecretParams) SetID(id *string)
SetID adds the id to the delete secret params
func (*DeleteSecretParams) SetPath ¶
func (o *DeleteSecretParams) SetPath(path string)
SetPath adds the path to the delete secret params
func (*DeleteSecretParams) SetTimeout ¶
func (o *DeleteSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete secret params
func (*DeleteSecretParams) WithContext ¶
func (o *DeleteSecretParams) WithContext(ctx context.Context) *DeleteSecretParams
WithContext adds the context to the delete secret params
func (*DeleteSecretParams) WithDefaults ¶
func (o *DeleteSecretParams) WithDefaults() *DeleteSecretParams
WithDefaults hydrates default values in the delete secret params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecretParams) WithForce ¶
func (o *DeleteSecretParams) WithForce(force *bool) *DeleteSecretParams
WithForce adds the force to the delete secret params
func (*DeleteSecretParams) WithHTTPClient ¶
func (o *DeleteSecretParams) WithHTTPClient(client *http.Client) *DeleteSecretParams
WithHTTPClient adds the HTTPClient to the delete secret params
func (*DeleteSecretParams) WithID ¶
func (o *DeleteSecretParams) WithID(id *string) *DeleteSecretParams
WithID adds the id to the delete secret params
func (*DeleteSecretParams) WithPath ¶
func (o *DeleteSecretParams) WithPath(path string) *DeleteSecretParams
WithPath adds the path to the delete secret params
func (*DeleteSecretParams) WithTimeout ¶
func (o *DeleteSecretParams) WithTimeout(timeout time.Duration) *DeleteSecretParams
WithTimeout adds the timeout to the delete secret params
func (*DeleteSecretParams) WriteToRequest ¶
func (o *DeleteSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSecretReader ¶
type DeleteSecretReader struct {
// contains filtered or unexported fields
}
DeleteSecretReader is a Reader for the DeleteSecret structure.
func (*DeleteSecretReader) ReadResponse ¶
func (o *DeleteSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSecretUnauthorized ¶
type DeleteSecretUnauthorized struct {
}DeleteSecretUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteSecretUnauthorized ¶
func NewDeleteSecretUnauthorized() *DeleteSecretUnauthorized
NewDeleteSecretUnauthorized creates a DeleteSecretUnauthorized with default headers values
func (*DeleteSecretUnauthorized) Error ¶
func (o *DeleteSecretUnauthorized) Error() string
func (*DeleteSecretUnauthorized) GetPayload ¶
func (o *DeleteSecretUnauthorized) GetPayload() *models.HTTPError
func (*DeleteSecretUnauthorized) IsClientError ¶
func (o *DeleteSecretUnauthorized) IsClientError() bool
IsClientError returns true when this delete secret unauthorized response has a 4xx status code
func (*DeleteSecretUnauthorized) IsCode ¶
func (o *DeleteSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this delete secret unauthorized response a status code equal to that given
func (*DeleteSecretUnauthorized) IsRedirect ¶
func (o *DeleteSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete secret unauthorized response has a 3xx status code
func (*DeleteSecretUnauthorized) IsServerError ¶
func (o *DeleteSecretUnauthorized) IsServerError() bool
IsServerError returns true when this delete secret unauthorized response has a 5xx status code
func (*DeleteSecretUnauthorized) IsSuccess ¶
func (o *DeleteSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete secret unauthorized response has a 2xx status code
func (*DeleteSecretUnauthorized) String ¶
func (o *DeleteSecretUnauthorized) String() string
type GetSecretBadRequest ¶
GetSecretBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetSecretBadRequest ¶
func NewGetSecretBadRequest() *GetSecretBadRequest
NewGetSecretBadRequest creates a GetSecretBadRequest with default headers values
func (*GetSecretBadRequest) Error ¶
func (o *GetSecretBadRequest) Error() string
func (*GetSecretBadRequest) GetPayload ¶
func (o *GetSecretBadRequest) GetPayload() *models.HTTPError
func (*GetSecretBadRequest) IsClientError ¶
func (o *GetSecretBadRequest) IsClientError() bool
IsClientError returns true when this get secret bad request response has a 4xx status code
func (*GetSecretBadRequest) IsCode ¶
func (o *GetSecretBadRequest) IsCode(code int) bool
IsCode returns true when this get secret bad request response a status code equal to that given
func (*GetSecretBadRequest) IsRedirect ¶
func (o *GetSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this get secret bad request response has a 3xx status code
func (*GetSecretBadRequest) IsServerError ¶
func (o *GetSecretBadRequest) IsServerError() bool
IsServerError returns true when this get secret bad request response has a 5xx status code
func (*GetSecretBadRequest) IsSuccess ¶
func (o *GetSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this get secret bad request response has a 2xx status code
func (*GetSecretBadRequest) String ¶
func (o *GetSecretBadRequest) String() string
type GetSecretByVersionBadRequest ¶
GetSecretByVersionBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetSecretByVersionBadRequest ¶
func NewGetSecretByVersionBadRequest() *GetSecretByVersionBadRequest
NewGetSecretByVersionBadRequest creates a GetSecretByVersionBadRequest with default headers values
func (*GetSecretByVersionBadRequest) Error ¶
func (o *GetSecretByVersionBadRequest) Error() string
func (*GetSecretByVersionBadRequest) GetPayload ¶
func (o *GetSecretByVersionBadRequest) GetPayload() *models.HTTPError
func (*GetSecretByVersionBadRequest) IsClientError ¶
func (o *GetSecretByVersionBadRequest) IsClientError() bool
IsClientError returns true when this get secret by version bad request response has a 4xx status code
func (*GetSecretByVersionBadRequest) IsCode ¶
func (o *GetSecretByVersionBadRequest) IsCode(code int) bool
IsCode returns true when this get secret by version bad request response a status code equal to that given
func (*GetSecretByVersionBadRequest) IsRedirect ¶
func (o *GetSecretByVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this get secret by version bad request response has a 3xx status code
func (*GetSecretByVersionBadRequest) IsServerError ¶
func (o *GetSecretByVersionBadRequest) IsServerError() bool
IsServerError returns true when this get secret by version bad request response has a 5xx status code
func (*GetSecretByVersionBadRequest) IsSuccess ¶
func (o *GetSecretByVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this get secret by version bad request response has a 2xx status code
func (*GetSecretByVersionBadRequest) String ¶
func (o *GetSecretByVersionBadRequest) String() string
type GetSecretByVersionForbidden ¶
GetSecretByVersionForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetSecretByVersionForbidden ¶
func NewGetSecretByVersionForbidden() *GetSecretByVersionForbidden
NewGetSecretByVersionForbidden creates a GetSecretByVersionForbidden with default headers values
func (*GetSecretByVersionForbidden) Error ¶
func (o *GetSecretByVersionForbidden) Error() string
func (*GetSecretByVersionForbidden) GetPayload ¶
func (o *GetSecretByVersionForbidden) GetPayload() *models.HTTPError
func (*GetSecretByVersionForbidden) IsClientError ¶
func (o *GetSecretByVersionForbidden) IsClientError() bool
IsClientError returns true when this get secret by version forbidden response has a 4xx status code
func (*GetSecretByVersionForbidden) IsCode ¶
func (o *GetSecretByVersionForbidden) IsCode(code int) bool
IsCode returns true when this get secret by version forbidden response a status code equal to that given
func (*GetSecretByVersionForbidden) IsRedirect ¶
func (o *GetSecretByVersionForbidden) IsRedirect() bool
IsRedirect returns true when this get secret by version forbidden response has a 3xx status code
func (*GetSecretByVersionForbidden) IsServerError ¶
func (o *GetSecretByVersionForbidden) IsServerError() bool
IsServerError returns true when this get secret by version forbidden response has a 5xx status code
func (*GetSecretByVersionForbidden) IsSuccess ¶
func (o *GetSecretByVersionForbidden) IsSuccess() bool
IsSuccess returns true when this get secret by version forbidden response has a 2xx status code
func (*GetSecretByVersionForbidden) String ¶
func (o *GetSecretByVersionForbidden) String() string
type GetSecretByVersionInternalServerError ¶
GetSecretByVersionInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetSecretByVersionInternalServerError ¶
func NewGetSecretByVersionInternalServerError() *GetSecretByVersionInternalServerError
NewGetSecretByVersionInternalServerError creates a GetSecretByVersionInternalServerError with default headers values
func (*GetSecretByVersionInternalServerError) Error ¶
func (o *GetSecretByVersionInternalServerError) Error() string
func (*GetSecretByVersionInternalServerError) GetPayload ¶
func (o *GetSecretByVersionInternalServerError) GetPayload() *models.HTTPError
func (*GetSecretByVersionInternalServerError) IsClientError ¶
func (o *GetSecretByVersionInternalServerError) IsClientError() bool
IsClientError returns true when this get secret by version internal server error response has a 4xx status code
func (*GetSecretByVersionInternalServerError) IsCode ¶
func (o *GetSecretByVersionInternalServerError) IsCode(code int) bool
IsCode returns true when this get secret by version internal server error response a status code equal to that given
func (*GetSecretByVersionInternalServerError) IsRedirect ¶
func (o *GetSecretByVersionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get secret by version internal server error response has a 3xx status code
func (*GetSecretByVersionInternalServerError) IsServerError ¶
func (o *GetSecretByVersionInternalServerError) IsServerError() bool
IsServerError returns true when this get secret by version internal server error response has a 5xx status code
func (*GetSecretByVersionInternalServerError) IsSuccess ¶
func (o *GetSecretByVersionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get secret by version internal server error response has a 2xx status code
func (*GetSecretByVersionInternalServerError) String ¶
func (o *GetSecretByVersionInternalServerError) String() string
type GetSecretByVersionNotFound ¶
GetSecretByVersionNotFound describes a response with status code 404, with default header values.
not found
func NewGetSecretByVersionNotFound ¶
func NewGetSecretByVersionNotFound() *GetSecretByVersionNotFound
NewGetSecretByVersionNotFound creates a GetSecretByVersionNotFound with default headers values
func (*GetSecretByVersionNotFound) Error ¶
func (o *GetSecretByVersionNotFound) Error() string
func (*GetSecretByVersionNotFound) GetPayload ¶
func (o *GetSecretByVersionNotFound) GetPayload() *models.HTTPError
func (*GetSecretByVersionNotFound) IsClientError ¶
func (o *GetSecretByVersionNotFound) IsClientError() bool
IsClientError returns true when this get secret by version not found response has a 4xx status code
func (*GetSecretByVersionNotFound) IsCode ¶
func (o *GetSecretByVersionNotFound) IsCode(code int) bool
IsCode returns true when this get secret by version not found response a status code equal to that given
func (*GetSecretByVersionNotFound) IsRedirect ¶
func (o *GetSecretByVersionNotFound) IsRedirect() bool
IsRedirect returns true when this get secret by version not found response has a 3xx status code
func (*GetSecretByVersionNotFound) IsServerError ¶
func (o *GetSecretByVersionNotFound) IsServerError() bool
IsServerError returns true when this get secret by version not found response has a 5xx status code
func (*GetSecretByVersionNotFound) IsSuccess ¶
func (o *GetSecretByVersionNotFound) IsSuccess() bool
IsSuccess returns true when this get secret by version not found response has a 2xx status code
func (*GetSecretByVersionNotFound) String ¶
func (o *GetSecretByVersionNotFound) String() string
type GetSecretByVersionOK ¶
type GetSecretByVersionOK struct {
Payload *models.SecretVersionResponse
}
GetSecretByVersionOK describes a response with status code 200, with default header values.
no error
func NewGetSecretByVersionOK ¶
func NewGetSecretByVersionOK() *GetSecretByVersionOK
NewGetSecretByVersionOK creates a GetSecretByVersionOK with default headers values
func (*GetSecretByVersionOK) Error ¶
func (o *GetSecretByVersionOK) Error() string
func (*GetSecretByVersionOK) GetPayload ¶
func (o *GetSecretByVersionOK) GetPayload() *models.SecretVersionResponse
func (*GetSecretByVersionOK) IsClientError ¶
func (o *GetSecretByVersionOK) IsClientError() bool
IsClientError returns true when this get secret by version o k response has a 4xx status code
func (*GetSecretByVersionOK) IsCode ¶
func (o *GetSecretByVersionOK) IsCode(code int) bool
IsCode returns true when this get secret by version o k response a status code equal to that given
func (*GetSecretByVersionOK) IsRedirect ¶
func (o *GetSecretByVersionOK) IsRedirect() bool
IsRedirect returns true when this get secret by version o k response has a 3xx status code
func (*GetSecretByVersionOK) IsServerError ¶
func (o *GetSecretByVersionOK) IsServerError() bool
IsServerError returns true when this get secret by version o k response has a 5xx status code
func (*GetSecretByVersionOK) IsSuccess ¶
func (o *GetSecretByVersionOK) IsSuccess() bool
IsSuccess returns true when this get secret by version o k response has a 2xx status code
func (*GetSecretByVersionOK) String ¶
func (o *GetSecretByVersionOK) String() string
type GetSecretByVersionParams ¶
type GetSecretByVersionParams struct { /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string /* Version. Versions to return Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecretByVersionParams contains all the parameters to send to the API endpoint
for the get secret by version operation. Typically these are written to a http.Request.
func NewGetSecretByVersionParams ¶
func NewGetSecretByVersionParams() *GetSecretByVersionParams
NewGetSecretByVersionParams creates a new GetSecretByVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecretByVersionParamsWithContext ¶
func NewGetSecretByVersionParamsWithContext(ctx context.Context) *GetSecretByVersionParams
NewGetSecretByVersionParamsWithContext creates a new GetSecretByVersionParams object with the ability to set a context for a request.
func NewGetSecretByVersionParamsWithHTTPClient ¶
func NewGetSecretByVersionParamsWithHTTPClient(client *http.Client) *GetSecretByVersionParams
NewGetSecretByVersionParamsWithHTTPClient creates a new GetSecretByVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecretByVersionParamsWithTimeout ¶
func NewGetSecretByVersionParamsWithTimeout(timeout time.Duration) *GetSecretByVersionParams
NewGetSecretByVersionParamsWithTimeout creates a new GetSecretByVersionParams object with the ability to set a timeout on a request.
func (*GetSecretByVersionParams) SetContext ¶
func (o *GetSecretByVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get secret by version params
func (*GetSecretByVersionParams) SetDefaults ¶
func (o *GetSecretByVersionParams) SetDefaults()
SetDefaults hydrates default values in the get secret by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretByVersionParams) SetHTTPClient ¶
func (o *GetSecretByVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get secret by version params
func (*GetSecretByVersionParams) SetPath ¶
func (o *GetSecretByVersionParams) SetPath(path string)
SetPath adds the path to the get secret by version params
func (*GetSecretByVersionParams) SetTimeout ¶
func (o *GetSecretByVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get secret by version params
func (*GetSecretByVersionParams) SetVersion ¶
func (o *GetSecretByVersionParams) SetVersion(version int64)
SetVersion adds the version to the get secret by version params
func (*GetSecretByVersionParams) WithContext ¶
func (o *GetSecretByVersionParams) WithContext(ctx context.Context) *GetSecretByVersionParams
WithContext adds the context to the get secret by version params
func (*GetSecretByVersionParams) WithDefaults ¶
func (o *GetSecretByVersionParams) WithDefaults() *GetSecretByVersionParams
WithDefaults hydrates default values in the get secret by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretByVersionParams) WithHTTPClient ¶
func (o *GetSecretByVersionParams) WithHTTPClient(client *http.Client) *GetSecretByVersionParams
WithHTTPClient adds the HTTPClient to the get secret by version params
func (*GetSecretByVersionParams) WithPath ¶
func (o *GetSecretByVersionParams) WithPath(path string) *GetSecretByVersionParams
WithPath adds the path to the get secret by version params
func (*GetSecretByVersionParams) WithTimeout ¶
func (o *GetSecretByVersionParams) WithTimeout(timeout time.Duration) *GetSecretByVersionParams
WithTimeout adds the timeout to the get secret by version params
func (*GetSecretByVersionParams) WithVersion ¶
func (o *GetSecretByVersionParams) WithVersion(version int64) *GetSecretByVersionParams
WithVersion adds the version to the get secret by version params
func (*GetSecretByVersionParams) WriteToRequest ¶
func (o *GetSecretByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecretByVersionReader ¶
type GetSecretByVersionReader struct {
// contains filtered or unexported fields
}
GetSecretByVersionReader is a Reader for the GetSecretByVersion structure.
func (*GetSecretByVersionReader) ReadResponse ¶
func (o *GetSecretByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecretByVersionUnauthorized ¶
type GetSecretByVersionUnauthorized struct {
}GetSecretByVersionUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetSecretByVersionUnauthorized ¶
func NewGetSecretByVersionUnauthorized() *GetSecretByVersionUnauthorized
NewGetSecretByVersionUnauthorized creates a GetSecretByVersionUnauthorized with default headers values
func (*GetSecretByVersionUnauthorized) Error ¶
func (o *GetSecretByVersionUnauthorized) Error() string
func (*GetSecretByVersionUnauthorized) GetPayload ¶
func (o *GetSecretByVersionUnauthorized) GetPayload() *models.HTTPError
func (*GetSecretByVersionUnauthorized) IsClientError ¶
func (o *GetSecretByVersionUnauthorized) IsClientError() bool
IsClientError returns true when this get secret by version unauthorized response has a 4xx status code
func (*GetSecretByVersionUnauthorized) IsCode ¶
func (o *GetSecretByVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this get secret by version unauthorized response a status code equal to that given
func (*GetSecretByVersionUnauthorized) IsRedirect ¶
func (o *GetSecretByVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get secret by version unauthorized response has a 3xx status code
func (*GetSecretByVersionUnauthorized) IsServerError ¶
func (o *GetSecretByVersionUnauthorized) IsServerError() bool
IsServerError returns true when this get secret by version unauthorized response has a 5xx status code
func (*GetSecretByVersionUnauthorized) IsSuccess ¶
func (o *GetSecretByVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get secret by version unauthorized response has a 2xx status code
func (*GetSecretByVersionUnauthorized) String ¶
func (o *GetSecretByVersionUnauthorized) String() string
type GetSecretDescriptionBadRequest ¶
GetSecretDescriptionBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetSecretDescriptionBadRequest ¶
func NewGetSecretDescriptionBadRequest() *GetSecretDescriptionBadRequest
NewGetSecretDescriptionBadRequest creates a GetSecretDescriptionBadRequest with default headers values
func (*GetSecretDescriptionBadRequest) Error ¶
func (o *GetSecretDescriptionBadRequest) Error() string
func (*GetSecretDescriptionBadRequest) GetPayload ¶
func (o *GetSecretDescriptionBadRequest) GetPayload() *models.HTTPError
func (*GetSecretDescriptionBadRequest) IsClientError ¶
func (o *GetSecretDescriptionBadRequest) IsClientError() bool
IsClientError returns true when this get secret description bad request response has a 4xx status code
func (*GetSecretDescriptionBadRequest) IsCode ¶
func (o *GetSecretDescriptionBadRequest) IsCode(code int) bool
IsCode returns true when this get secret description bad request response a status code equal to that given
func (*GetSecretDescriptionBadRequest) IsRedirect ¶
func (o *GetSecretDescriptionBadRequest) IsRedirect() bool
IsRedirect returns true when this get secret description bad request response has a 3xx status code
func (*GetSecretDescriptionBadRequest) IsServerError ¶
func (o *GetSecretDescriptionBadRequest) IsServerError() bool
IsServerError returns true when this get secret description bad request response has a 5xx status code
func (*GetSecretDescriptionBadRequest) IsSuccess ¶
func (o *GetSecretDescriptionBadRequest) IsSuccess() bool
IsSuccess returns true when this get secret description bad request response has a 2xx status code
func (*GetSecretDescriptionBadRequest) String ¶
func (o *GetSecretDescriptionBadRequest) String() string
type GetSecretDescriptionForbidden ¶
GetSecretDescriptionForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetSecretDescriptionForbidden ¶
func NewGetSecretDescriptionForbidden() *GetSecretDescriptionForbidden
NewGetSecretDescriptionForbidden creates a GetSecretDescriptionForbidden with default headers values
func (*GetSecretDescriptionForbidden) Error ¶
func (o *GetSecretDescriptionForbidden) Error() string
func (*GetSecretDescriptionForbidden) GetPayload ¶
func (o *GetSecretDescriptionForbidden) GetPayload() *models.HTTPError
func (*GetSecretDescriptionForbidden) IsClientError ¶
func (o *GetSecretDescriptionForbidden) IsClientError() bool
IsClientError returns true when this get secret description forbidden response has a 4xx status code
func (*GetSecretDescriptionForbidden) IsCode ¶
func (o *GetSecretDescriptionForbidden) IsCode(code int) bool
IsCode returns true when this get secret description forbidden response a status code equal to that given
func (*GetSecretDescriptionForbidden) IsRedirect ¶
func (o *GetSecretDescriptionForbidden) IsRedirect() bool
IsRedirect returns true when this get secret description forbidden response has a 3xx status code
func (*GetSecretDescriptionForbidden) IsServerError ¶
func (o *GetSecretDescriptionForbidden) IsServerError() bool
IsServerError returns true when this get secret description forbidden response has a 5xx status code
func (*GetSecretDescriptionForbidden) IsSuccess ¶
func (o *GetSecretDescriptionForbidden) IsSuccess() bool
IsSuccess returns true when this get secret description forbidden response has a 2xx status code
func (*GetSecretDescriptionForbidden) String ¶
func (o *GetSecretDescriptionForbidden) String() string
type GetSecretDescriptionInternalServerError ¶
GetSecretDescriptionInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetSecretDescriptionInternalServerError ¶
func NewGetSecretDescriptionInternalServerError() *GetSecretDescriptionInternalServerError
NewGetSecretDescriptionInternalServerError creates a GetSecretDescriptionInternalServerError with default headers values
func (*GetSecretDescriptionInternalServerError) Error ¶
func (o *GetSecretDescriptionInternalServerError) Error() string
func (*GetSecretDescriptionInternalServerError) GetPayload ¶
func (o *GetSecretDescriptionInternalServerError) GetPayload() *models.HTTPError
func (*GetSecretDescriptionInternalServerError) IsClientError ¶
func (o *GetSecretDescriptionInternalServerError) IsClientError() bool
IsClientError returns true when this get secret description internal server error response has a 4xx status code
func (*GetSecretDescriptionInternalServerError) IsCode ¶
func (o *GetSecretDescriptionInternalServerError) IsCode(code int) bool
IsCode returns true when this get secret description internal server error response a status code equal to that given
func (*GetSecretDescriptionInternalServerError) IsRedirect ¶
func (o *GetSecretDescriptionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get secret description internal server error response has a 3xx status code
func (*GetSecretDescriptionInternalServerError) IsServerError ¶
func (o *GetSecretDescriptionInternalServerError) IsServerError() bool
IsServerError returns true when this get secret description internal server error response has a 5xx status code
func (*GetSecretDescriptionInternalServerError) IsSuccess ¶
func (o *GetSecretDescriptionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get secret description internal server error response has a 2xx status code
func (*GetSecretDescriptionInternalServerError) String ¶
func (o *GetSecretDescriptionInternalServerError) String() string
type GetSecretDescriptionNotFound ¶
GetSecretDescriptionNotFound describes a response with status code 404, with default header values.
not found
func NewGetSecretDescriptionNotFound ¶
func NewGetSecretDescriptionNotFound() *GetSecretDescriptionNotFound
NewGetSecretDescriptionNotFound creates a GetSecretDescriptionNotFound with default headers values
func (*GetSecretDescriptionNotFound) Error ¶
func (o *GetSecretDescriptionNotFound) Error() string
func (*GetSecretDescriptionNotFound) GetPayload ¶
func (o *GetSecretDescriptionNotFound) GetPayload() *models.HTTPError
func (*GetSecretDescriptionNotFound) IsClientError ¶
func (o *GetSecretDescriptionNotFound) IsClientError() bool
IsClientError returns true when this get secret description not found response has a 4xx status code
func (*GetSecretDescriptionNotFound) IsCode ¶
func (o *GetSecretDescriptionNotFound) IsCode(code int) bool
IsCode returns true when this get secret description not found response a status code equal to that given
func (*GetSecretDescriptionNotFound) IsRedirect ¶
func (o *GetSecretDescriptionNotFound) IsRedirect() bool
IsRedirect returns true when this get secret description not found response has a 3xx status code
func (*GetSecretDescriptionNotFound) IsServerError ¶
func (o *GetSecretDescriptionNotFound) IsServerError() bool
IsServerError returns true when this get secret description not found response has a 5xx status code
func (*GetSecretDescriptionNotFound) IsSuccess ¶
func (o *GetSecretDescriptionNotFound) IsSuccess() bool
IsSuccess returns true when this get secret description not found response has a 2xx status code
func (*GetSecretDescriptionNotFound) String ¶
func (o *GetSecretDescriptionNotFound) String() string
type GetSecretDescriptionOK ¶
type GetSecretDescriptionOK struct {
Payload *models.ResponseModelDescription
}
GetSecretDescriptionOK describes a response with status code 200, with default header values.
no error
func NewGetSecretDescriptionOK ¶
func NewGetSecretDescriptionOK() *GetSecretDescriptionOK
NewGetSecretDescriptionOK creates a GetSecretDescriptionOK with default headers values
func (*GetSecretDescriptionOK) Error ¶
func (o *GetSecretDescriptionOK) Error() string
func (*GetSecretDescriptionOK) GetPayload ¶
func (o *GetSecretDescriptionOK) GetPayload() *models.ResponseModelDescription
func (*GetSecretDescriptionOK) IsClientError ¶
func (o *GetSecretDescriptionOK) IsClientError() bool
IsClientError returns true when this get secret description o k response has a 4xx status code
func (*GetSecretDescriptionOK) IsCode ¶
func (o *GetSecretDescriptionOK) IsCode(code int) bool
IsCode returns true when this get secret description o k response a status code equal to that given
func (*GetSecretDescriptionOK) IsRedirect ¶
func (o *GetSecretDescriptionOK) IsRedirect() bool
IsRedirect returns true when this get secret description o k response has a 3xx status code
func (*GetSecretDescriptionOK) IsServerError ¶
func (o *GetSecretDescriptionOK) IsServerError() bool
IsServerError returns true when this get secret description o k response has a 5xx status code
func (*GetSecretDescriptionOK) IsSuccess ¶
func (o *GetSecretDescriptionOK) IsSuccess() bool
IsSuccess returns true when this get secret description o k response has a 2xx status code
func (*GetSecretDescriptionOK) String ¶
func (o *GetSecretDescriptionOK) String() string
type GetSecretDescriptionParams ¶
type GetSecretDescriptionParams struct { /* ID. Unique uuid identifying a secret */ ID *string /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecretDescriptionParams contains all the parameters to send to the API endpoint
for the get secret description operation. Typically these are written to a http.Request.
func NewGetSecretDescriptionParams ¶
func NewGetSecretDescriptionParams() *GetSecretDescriptionParams
NewGetSecretDescriptionParams creates a new GetSecretDescriptionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecretDescriptionParamsWithContext ¶
func NewGetSecretDescriptionParamsWithContext(ctx context.Context) *GetSecretDescriptionParams
NewGetSecretDescriptionParamsWithContext creates a new GetSecretDescriptionParams object with the ability to set a context for a request.
func NewGetSecretDescriptionParamsWithHTTPClient ¶
func NewGetSecretDescriptionParamsWithHTTPClient(client *http.Client) *GetSecretDescriptionParams
NewGetSecretDescriptionParamsWithHTTPClient creates a new GetSecretDescriptionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecretDescriptionParamsWithTimeout ¶
func NewGetSecretDescriptionParamsWithTimeout(timeout time.Duration) *GetSecretDescriptionParams
NewGetSecretDescriptionParamsWithTimeout creates a new GetSecretDescriptionParams object with the ability to set a timeout on a request.
func (*GetSecretDescriptionParams) SetContext ¶
func (o *GetSecretDescriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get secret description params
func (*GetSecretDescriptionParams) SetDefaults ¶
func (o *GetSecretDescriptionParams) SetDefaults()
SetDefaults hydrates default values in the get secret description params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretDescriptionParams) SetHTTPClient ¶
func (o *GetSecretDescriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get secret description params
func (*GetSecretDescriptionParams) SetID ¶
func (o *GetSecretDescriptionParams) SetID(id *string)
SetID adds the id to the get secret description params
func (*GetSecretDescriptionParams) SetPath ¶
func (o *GetSecretDescriptionParams) SetPath(path string)
SetPath adds the path to the get secret description params
func (*GetSecretDescriptionParams) SetTimeout ¶
func (o *GetSecretDescriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get secret description params
func (*GetSecretDescriptionParams) WithContext ¶
func (o *GetSecretDescriptionParams) WithContext(ctx context.Context) *GetSecretDescriptionParams
WithContext adds the context to the get secret description params
func (*GetSecretDescriptionParams) WithDefaults ¶
func (o *GetSecretDescriptionParams) WithDefaults() *GetSecretDescriptionParams
WithDefaults hydrates default values in the get secret description params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretDescriptionParams) WithHTTPClient ¶
func (o *GetSecretDescriptionParams) WithHTTPClient(client *http.Client) *GetSecretDescriptionParams
WithHTTPClient adds the HTTPClient to the get secret description params
func (*GetSecretDescriptionParams) WithID ¶
func (o *GetSecretDescriptionParams) WithID(id *string) *GetSecretDescriptionParams
WithID adds the id to the get secret description params
func (*GetSecretDescriptionParams) WithPath ¶
func (o *GetSecretDescriptionParams) WithPath(path string) *GetSecretDescriptionParams
WithPath adds the path to the get secret description params
func (*GetSecretDescriptionParams) WithTimeout ¶
func (o *GetSecretDescriptionParams) WithTimeout(timeout time.Duration) *GetSecretDescriptionParams
WithTimeout adds the timeout to the get secret description params
func (*GetSecretDescriptionParams) WriteToRequest ¶
func (o *GetSecretDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecretDescriptionReader ¶
type GetSecretDescriptionReader struct {
// contains filtered or unexported fields
}
GetSecretDescriptionReader is a Reader for the GetSecretDescription structure.
func (*GetSecretDescriptionReader) ReadResponse ¶
func (o *GetSecretDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecretDescriptionUnauthorized ¶
type GetSecretDescriptionUnauthorized struct {
}GetSecretDescriptionUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetSecretDescriptionUnauthorized ¶
func NewGetSecretDescriptionUnauthorized() *GetSecretDescriptionUnauthorized
NewGetSecretDescriptionUnauthorized creates a GetSecretDescriptionUnauthorized with default headers values
func (*GetSecretDescriptionUnauthorized) Error ¶
func (o *GetSecretDescriptionUnauthorized) Error() string
func (*GetSecretDescriptionUnauthorized) GetPayload ¶
func (o *GetSecretDescriptionUnauthorized) GetPayload() *models.HTTPError
func (*GetSecretDescriptionUnauthorized) IsClientError ¶
func (o *GetSecretDescriptionUnauthorized) IsClientError() bool
IsClientError returns true when this get secret description unauthorized response has a 4xx status code
func (*GetSecretDescriptionUnauthorized) IsCode ¶
func (o *GetSecretDescriptionUnauthorized) IsCode(code int) bool
IsCode returns true when this get secret description unauthorized response a status code equal to that given
func (*GetSecretDescriptionUnauthorized) IsRedirect ¶
func (o *GetSecretDescriptionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get secret description unauthorized response has a 3xx status code
func (*GetSecretDescriptionUnauthorized) IsServerError ¶
func (o *GetSecretDescriptionUnauthorized) IsServerError() bool
IsServerError returns true when this get secret description unauthorized response has a 5xx status code
func (*GetSecretDescriptionUnauthorized) IsSuccess ¶
func (o *GetSecretDescriptionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get secret description unauthorized response has a 2xx status code
func (*GetSecretDescriptionUnauthorized) String ¶
func (o *GetSecretDescriptionUnauthorized) String() string
type GetSecretForbidden ¶
GetSecretForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetSecretForbidden ¶
func NewGetSecretForbidden() *GetSecretForbidden
NewGetSecretForbidden creates a GetSecretForbidden with default headers values
func (*GetSecretForbidden) Error ¶
func (o *GetSecretForbidden) Error() string
func (*GetSecretForbidden) GetPayload ¶
func (o *GetSecretForbidden) GetPayload() *models.HTTPError
func (*GetSecretForbidden) IsClientError ¶
func (o *GetSecretForbidden) IsClientError() bool
IsClientError returns true when this get secret forbidden response has a 4xx status code
func (*GetSecretForbidden) IsCode ¶
func (o *GetSecretForbidden) IsCode(code int) bool
IsCode returns true when this get secret forbidden response a status code equal to that given
func (*GetSecretForbidden) IsRedirect ¶
func (o *GetSecretForbidden) IsRedirect() bool
IsRedirect returns true when this get secret forbidden response has a 3xx status code
func (*GetSecretForbidden) IsServerError ¶
func (o *GetSecretForbidden) IsServerError() bool
IsServerError returns true when this get secret forbidden response has a 5xx status code
func (*GetSecretForbidden) IsSuccess ¶
func (o *GetSecretForbidden) IsSuccess() bool
IsSuccess returns true when this get secret forbidden response has a 2xx status code
func (*GetSecretForbidden) String ¶
func (o *GetSecretForbidden) String() string
type GetSecretInternalServerError ¶
GetSecretInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetSecretInternalServerError ¶
func NewGetSecretInternalServerError() *GetSecretInternalServerError
NewGetSecretInternalServerError creates a GetSecretInternalServerError with default headers values
func (*GetSecretInternalServerError) Error ¶
func (o *GetSecretInternalServerError) Error() string
func (*GetSecretInternalServerError) GetPayload ¶
func (o *GetSecretInternalServerError) GetPayload() *models.HTTPError
func (*GetSecretInternalServerError) IsClientError ¶
func (o *GetSecretInternalServerError) IsClientError() bool
IsClientError returns true when this get secret internal server error response has a 4xx status code
func (*GetSecretInternalServerError) IsCode ¶
func (o *GetSecretInternalServerError) IsCode(code int) bool
IsCode returns true when this get secret internal server error response a status code equal to that given
func (*GetSecretInternalServerError) IsRedirect ¶
func (o *GetSecretInternalServerError) IsRedirect() bool
IsRedirect returns true when this get secret internal server error response has a 3xx status code
func (*GetSecretInternalServerError) IsServerError ¶
func (o *GetSecretInternalServerError) IsServerError() bool
IsServerError returns true when this get secret internal server error response has a 5xx status code
func (*GetSecretInternalServerError) IsSuccess ¶
func (o *GetSecretInternalServerError) IsSuccess() bool
IsSuccess returns true when this get secret internal server error response has a 2xx status code
func (*GetSecretInternalServerError) String ¶
func (o *GetSecretInternalServerError) String() string
type GetSecretNotFound ¶
GetSecretNotFound describes a response with status code 404, with default header values.
not found
func NewGetSecretNotFound ¶
func NewGetSecretNotFound() *GetSecretNotFound
NewGetSecretNotFound creates a GetSecretNotFound with default headers values
func (*GetSecretNotFound) Error ¶
func (o *GetSecretNotFound) Error() string
func (*GetSecretNotFound) GetPayload ¶
func (o *GetSecretNotFound) GetPayload() *models.HTTPError
func (*GetSecretNotFound) IsClientError ¶
func (o *GetSecretNotFound) IsClientError() bool
IsClientError returns true when this get secret not found response has a 4xx status code
func (*GetSecretNotFound) IsCode ¶
func (o *GetSecretNotFound) IsCode(code int) bool
IsCode returns true when this get secret not found response a status code equal to that given
func (*GetSecretNotFound) IsRedirect ¶
func (o *GetSecretNotFound) IsRedirect() bool
IsRedirect returns true when this get secret not found response has a 3xx status code
func (*GetSecretNotFound) IsServerError ¶
func (o *GetSecretNotFound) IsServerError() bool
IsServerError returns true when this get secret not found response has a 5xx status code
func (*GetSecretNotFound) IsSuccess ¶
func (o *GetSecretNotFound) IsSuccess() bool
IsSuccess returns true when this get secret not found response has a 2xx status code
func (*GetSecretNotFound) String ¶
func (o *GetSecretNotFound) String() string
type GetSecretOK ¶
type GetSecretOK struct {
Payload *models.ResponseModelFull
}
GetSecretOK describes a response with status code 200, with default header values.
no error
func NewGetSecretOK ¶
func NewGetSecretOK() *GetSecretOK
NewGetSecretOK creates a GetSecretOK with default headers values
func (*GetSecretOK) Error ¶
func (o *GetSecretOK) Error() string
func (*GetSecretOK) GetPayload ¶
func (o *GetSecretOK) GetPayload() *models.ResponseModelFull
func (*GetSecretOK) IsClientError ¶
func (o *GetSecretOK) IsClientError() bool
IsClientError returns true when this get secret o k response has a 4xx status code
func (*GetSecretOK) IsCode ¶
func (o *GetSecretOK) IsCode(code int) bool
IsCode returns true when this get secret o k response a status code equal to that given
func (*GetSecretOK) IsRedirect ¶
func (o *GetSecretOK) IsRedirect() bool
IsRedirect returns true when this get secret o k response has a 3xx status code
func (*GetSecretOK) IsServerError ¶
func (o *GetSecretOK) IsServerError() bool
IsServerError returns true when this get secret o k response has a 5xx status code
func (*GetSecretOK) IsSuccess ¶
func (o *GetSecretOK) IsSuccess() bool
IsSuccess returns true when this get secret o k response has a 2xx status code
func (*GetSecretOK) String ¶
func (o *GetSecretOK) String() string
type GetSecretParams ¶
type GetSecretParams struct { /* ID. Unique uuid identifying a secret */ ID *string /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecretParams contains all the parameters to send to the API endpoint
for the get secret operation. Typically these are written to a http.Request.
func NewGetSecretParams ¶
func NewGetSecretParams() *GetSecretParams
NewGetSecretParams creates a new GetSecretParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecretParamsWithContext ¶
func NewGetSecretParamsWithContext(ctx context.Context) *GetSecretParams
NewGetSecretParamsWithContext creates a new GetSecretParams object with the ability to set a context for a request.
func NewGetSecretParamsWithHTTPClient ¶
func NewGetSecretParamsWithHTTPClient(client *http.Client) *GetSecretParams
NewGetSecretParamsWithHTTPClient creates a new GetSecretParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecretParamsWithTimeout ¶
func NewGetSecretParamsWithTimeout(timeout time.Duration) *GetSecretParams
NewGetSecretParamsWithTimeout creates a new GetSecretParams object with the ability to set a timeout on a request.
func (*GetSecretParams) SetContext ¶
func (o *GetSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the get secret params
func (*GetSecretParams) SetDefaults ¶
func (o *GetSecretParams) SetDefaults()
SetDefaults hydrates default values in the get secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretParams) SetHTTPClient ¶
func (o *GetSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get secret params
func (*GetSecretParams) SetID ¶
func (o *GetSecretParams) SetID(id *string)
SetID adds the id to the get secret params
func (*GetSecretParams) SetPath ¶
func (o *GetSecretParams) SetPath(path string)
SetPath adds the path to the get secret params
func (*GetSecretParams) SetTimeout ¶
func (o *GetSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get secret params
func (*GetSecretParams) WithContext ¶
func (o *GetSecretParams) WithContext(ctx context.Context) *GetSecretParams
WithContext adds the context to the get secret params
func (*GetSecretParams) WithDefaults ¶
func (o *GetSecretParams) WithDefaults() *GetSecretParams
WithDefaults hydrates default values in the get secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretParams) WithHTTPClient ¶
func (o *GetSecretParams) WithHTTPClient(client *http.Client) *GetSecretParams
WithHTTPClient adds the HTTPClient to the get secret params
func (*GetSecretParams) WithID ¶
func (o *GetSecretParams) WithID(id *string) *GetSecretParams
WithID adds the id to the get secret params
func (*GetSecretParams) WithPath ¶
func (o *GetSecretParams) WithPath(path string) *GetSecretParams
WithPath adds the path to the get secret params
func (*GetSecretParams) WithTimeout ¶
func (o *GetSecretParams) WithTimeout(timeout time.Duration) *GetSecretParams
WithTimeout adds the timeout to the get secret params
func (*GetSecretParams) WriteToRequest ¶
func (o *GetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecretReader ¶
type GetSecretReader struct {
// contains filtered or unexported fields
}
GetSecretReader is a Reader for the GetSecret structure.
func (*GetSecretReader) ReadResponse ¶
func (o *GetSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecretUnauthorized ¶
type GetSecretUnauthorized struct {
}GetSecretUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetSecretUnauthorized ¶
func NewGetSecretUnauthorized() *GetSecretUnauthorized
NewGetSecretUnauthorized creates a GetSecretUnauthorized with default headers values
func (*GetSecretUnauthorized) Error ¶
func (o *GetSecretUnauthorized) Error() string
func (*GetSecretUnauthorized) GetPayload ¶
func (o *GetSecretUnauthorized) GetPayload() *models.HTTPError
func (*GetSecretUnauthorized) IsClientError ¶
func (o *GetSecretUnauthorized) IsClientError() bool
IsClientError returns true when this get secret unauthorized response has a 4xx status code
func (*GetSecretUnauthorized) IsCode ¶
func (o *GetSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this get secret unauthorized response a status code equal to that given
func (*GetSecretUnauthorized) IsRedirect ¶
func (o *GetSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this get secret unauthorized response has a 3xx status code
func (*GetSecretUnauthorized) IsServerError ¶
func (o *GetSecretUnauthorized) IsServerError() bool
IsServerError returns true when this get secret unauthorized response has a 5xx status code
func (*GetSecretUnauthorized) IsSuccess ¶
func (o *GetSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this get secret unauthorized response has a 2xx status code
func (*GetSecretUnauthorized) String ¶
func (o *GetSecretUnauthorized) String() string
type ListSecretPathsBadRequest ¶
ListSecretPathsBadRequest describes a response with status code 400, with default header values.
bad request
func NewListSecretPathsBadRequest ¶
func NewListSecretPathsBadRequest() *ListSecretPathsBadRequest
NewListSecretPathsBadRequest creates a ListSecretPathsBadRequest with default headers values
func (*ListSecretPathsBadRequest) Error ¶
func (o *ListSecretPathsBadRequest) Error() string
func (*ListSecretPathsBadRequest) GetPayload ¶
func (o *ListSecretPathsBadRequest) GetPayload() *models.HTTPError
func (*ListSecretPathsBadRequest) IsClientError ¶
func (o *ListSecretPathsBadRequest) IsClientError() bool
IsClientError returns true when this list secret paths bad request response has a 4xx status code
func (*ListSecretPathsBadRequest) IsCode ¶
func (o *ListSecretPathsBadRequest) IsCode(code int) bool
IsCode returns true when this list secret paths bad request response a status code equal to that given
func (*ListSecretPathsBadRequest) IsRedirect ¶
func (o *ListSecretPathsBadRequest) IsRedirect() bool
IsRedirect returns true when this list secret paths bad request response has a 3xx status code
func (*ListSecretPathsBadRequest) IsServerError ¶
func (o *ListSecretPathsBadRequest) IsServerError() bool
IsServerError returns true when this list secret paths bad request response has a 5xx status code
func (*ListSecretPathsBadRequest) IsSuccess ¶
func (o *ListSecretPathsBadRequest) IsSuccess() bool
IsSuccess returns true when this list secret paths bad request response has a 2xx status code
func (*ListSecretPathsBadRequest) String ¶
func (o *ListSecretPathsBadRequest) String() string
type ListSecretPathsForbidden ¶
ListSecretPathsForbidden describes a response with status code 403, with default header values.
forbidden
func NewListSecretPathsForbidden ¶
func NewListSecretPathsForbidden() *ListSecretPathsForbidden
NewListSecretPathsForbidden creates a ListSecretPathsForbidden with default headers values
func (*ListSecretPathsForbidden) Error ¶
func (o *ListSecretPathsForbidden) Error() string
func (*ListSecretPathsForbidden) GetPayload ¶
func (o *ListSecretPathsForbidden) GetPayload() *models.HTTPError
func (*ListSecretPathsForbidden) IsClientError ¶
func (o *ListSecretPathsForbidden) IsClientError() bool
IsClientError returns true when this list secret paths forbidden response has a 4xx status code
func (*ListSecretPathsForbidden) IsCode ¶
func (o *ListSecretPathsForbidden) IsCode(code int) bool
IsCode returns true when this list secret paths forbidden response a status code equal to that given
func (*ListSecretPathsForbidden) IsRedirect ¶
func (o *ListSecretPathsForbidden) IsRedirect() bool
IsRedirect returns true when this list secret paths forbidden response has a 3xx status code
func (*ListSecretPathsForbidden) IsServerError ¶
func (o *ListSecretPathsForbidden) IsServerError() bool
IsServerError returns true when this list secret paths forbidden response has a 5xx status code
func (*ListSecretPathsForbidden) IsSuccess ¶
func (o *ListSecretPathsForbidden) IsSuccess() bool
IsSuccess returns true when this list secret paths forbidden response has a 2xx status code
func (*ListSecretPathsForbidden) String ¶
func (o *ListSecretPathsForbidden) String() string
type ListSecretPathsInternalServerError ¶
ListSecretPathsInternalServerError describes a response with status code 500, with default header values.
server error
func NewListSecretPathsInternalServerError ¶
func NewListSecretPathsInternalServerError() *ListSecretPathsInternalServerError
NewListSecretPathsInternalServerError creates a ListSecretPathsInternalServerError with default headers values
func (*ListSecretPathsInternalServerError) Error ¶
func (o *ListSecretPathsInternalServerError) Error() string
func (*ListSecretPathsInternalServerError) GetPayload ¶
func (o *ListSecretPathsInternalServerError) GetPayload() *models.HTTPError
func (*ListSecretPathsInternalServerError) IsClientError ¶
func (o *ListSecretPathsInternalServerError) IsClientError() bool
IsClientError returns true when this list secret paths internal server error response has a 4xx status code
func (*ListSecretPathsInternalServerError) IsCode ¶
func (o *ListSecretPathsInternalServerError) IsCode(code int) bool
IsCode returns true when this list secret paths internal server error response a status code equal to that given
func (*ListSecretPathsInternalServerError) IsRedirect ¶
func (o *ListSecretPathsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list secret paths internal server error response has a 3xx status code
func (*ListSecretPathsInternalServerError) IsServerError ¶
func (o *ListSecretPathsInternalServerError) IsServerError() bool
IsServerError returns true when this list secret paths internal server error response has a 5xx status code
func (*ListSecretPathsInternalServerError) IsSuccess ¶
func (o *ListSecretPathsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list secret paths internal server error response has a 2xx status code
func (*ListSecretPathsInternalServerError) String ¶
func (o *ListSecretPathsInternalServerError) String() string
type ListSecretPathsNotFound ¶
ListSecretPathsNotFound describes a response with status code 404, with default header values.
not found
func NewListSecretPathsNotFound ¶
func NewListSecretPathsNotFound() *ListSecretPathsNotFound
NewListSecretPathsNotFound creates a ListSecretPathsNotFound with default headers values
func (*ListSecretPathsNotFound) Error ¶
func (o *ListSecretPathsNotFound) Error() string
func (*ListSecretPathsNotFound) GetPayload ¶
func (o *ListSecretPathsNotFound) GetPayload() *models.HTTPError
func (*ListSecretPathsNotFound) IsClientError ¶
func (o *ListSecretPathsNotFound) IsClientError() bool
IsClientError returns true when this list secret paths not found response has a 4xx status code
func (*ListSecretPathsNotFound) IsCode ¶
func (o *ListSecretPathsNotFound) IsCode(code int) bool
IsCode returns true when this list secret paths not found response a status code equal to that given
func (*ListSecretPathsNotFound) IsRedirect ¶
func (o *ListSecretPathsNotFound) IsRedirect() bool
IsRedirect returns true when this list secret paths not found response has a 3xx status code
func (*ListSecretPathsNotFound) IsServerError ¶
func (o *ListSecretPathsNotFound) IsServerError() bool
IsServerError returns true when this list secret paths not found response has a 5xx status code
func (*ListSecretPathsNotFound) IsSuccess ¶
func (o *ListSecretPathsNotFound) IsSuccess() bool
IsSuccess returns true when this list secret paths not found response has a 2xx status code
func (*ListSecretPathsNotFound) String ¶
func (o *ListSecretPathsNotFound) String() string
type ListSecretPathsOK ¶
type ListSecretPathsOK struct {
Payload *models.SecretListPathsResponse
}
ListSecretPathsOK describes a response with status code 200, with default header values.
no error
func NewListSecretPathsOK ¶
func NewListSecretPathsOK() *ListSecretPathsOK
NewListSecretPathsOK creates a ListSecretPathsOK with default headers values
func (*ListSecretPathsOK) Error ¶
func (o *ListSecretPathsOK) Error() string
func (*ListSecretPathsOK) GetPayload ¶
func (o *ListSecretPathsOK) GetPayload() *models.SecretListPathsResponse
func (*ListSecretPathsOK) IsClientError ¶
func (o *ListSecretPathsOK) IsClientError() bool
IsClientError returns true when this list secret paths o k response has a 4xx status code
func (*ListSecretPathsOK) IsCode ¶
func (o *ListSecretPathsOK) IsCode(code int) bool
IsCode returns true when this list secret paths o k response a status code equal to that given
func (*ListSecretPathsOK) IsRedirect ¶
func (o *ListSecretPathsOK) IsRedirect() bool
IsRedirect returns true when this list secret paths o k response has a 3xx status code
func (*ListSecretPathsOK) IsServerError ¶
func (o *ListSecretPathsOK) IsServerError() bool
IsServerError returns true when this list secret paths o k response has a 5xx status code
func (*ListSecretPathsOK) IsSuccess ¶
func (o *ListSecretPathsOK) IsSuccess() bool
IsSuccess returns true when this list secret paths o k response has a 2xx status code
func (*ListSecretPathsOK) String ¶
func (o *ListSecretPathsOK) String() string
type ListSecretPathsParams ¶
type ListSecretPathsParams struct { /* Limit. The maximum number of path matches to return Format: int64 */ Limit *int64 /* Path. The secret path to match on */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSecretPathsParams contains all the parameters to send to the API endpoint
for the list secret paths operation. Typically these are written to a http.Request.
func NewListSecretPathsParams ¶
func NewListSecretPathsParams() *ListSecretPathsParams
NewListSecretPathsParams creates a new ListSecretPathsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListSecretPathsParamsWithContext ¶
func NewListSecretPathsParamsWithContext(ctx context.Context) *ListSecretPathsParams
NewListSecretPathsParamsWithContext creates a new ListSecretPathsParams object with the ability to set a context for a request.
func NewListSecretPathsParamsWithHTTPClient ¶
func NewListSecretPathsParamsWithHTTPClient(client *http.Client) *ListSecretPathsParams
NewListSecretPathsParamsWithHTTPClient creates a new ListSecretPathsParams object with the ability to set a custom HTTPClient for a request.
func NewListSecretPathsParamsWithTimeout ¶
func NewListSecretPathsParamsWithTimeout(timeout time.Duration) *ListSecretPathsParams
NewListSecretPathsParamsWithTimeout creates a new ListSecretPathsParams object with the ability to set a timeout on a request.
func (*ListSecretPathsParams) SetContext ¶
func (o *ListSecretPathsParams) SetContext(ctx context.Context)
SetContext adds the context to the list secret paths params
func (*ListSecretPathsParams) SetDefaults ¶
func (o *ListSecretPathsParams) SetDefaults()
SetDefaults hydrates default values in the list secret paths params (not the query body).
All values with no default are reset to their zero value.
func (*ListSecretPathsParams) SetHTTPClient ¶
func (o *ListSecretPathsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list secret paths params
func (*ListSecretPathsParams) SetLimit ¶
func (o *ListSecretPathsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list secret paths params
func (*ListSecretPathsParams) SetPath ¶
func (o *ListSecretPathsParams) SetPath(path string)
SetPath adds the path to the list secret paths params
func (*ListSecretPathsParams) SetTimeout ¶
func (o *ListSecretPathsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list secret paths params
func (*ListSecretPathsParams) WithContext ¶
func (o *ListSecretPathsParams) WithContext(ctx context.Context) *ListSecretPathsParams
WithContext adds the context to the list secret paths params
func (*ListSecretPathsParams) WithDefaults ¶
func (o *ListSecretPathsParams) WithDefaults() *ListSecretPathsParams
WithDefaults hydrates default values in the list secret paths params (not the query body).
All values with no default are reset to their zero value.
func (*ListSecretPathsParams) WithHTTPClient ¶
func (o *ListSecretPathsParams) WithHTTPClient(client *http.Client) *ListSecretPathsParams
WithHTTPClient adds the HTTPClient to the list secret paths params
func (*ListSecretPathsParams) WithLimit ¶
func (o *ListSecretPathsParams) WithLimit(limit *int64) *ListSecretPathsParams
WithLimit adds the limit to the list secret paths params
func (*ListSecretPathsParams) WithPath ¶
func (o *ListSecretPathsParams) WithPath(path string) *ListSecretPathsParams
WithPath adds the path to the list secret paths params
func (*ListSecretPathsParams) WithTimeout ¶
func (o *ListSecretPathsParams) WithTimeout(timeout time.Duration) *ListSecretPathsParams
WithTimeout adds the timeout to the list secret paths params
func (*ListSecretPathsParams) WriteToRequest ¶
func (o *ListSecretPathsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSecretPathsReader ¶
type ListSecretPathsReader struct {
// contains filtered or unexported fields
}
ListSecretPathsReader is a Reader for the ListSecretPaths structure.
func (*ListSecretPathsReader) ReadResponse ¶
func (o *ListSecretPathsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSecretPathsUnauthorized ¶
type ListSecretPathsUnauthorized struct {
}ListSecretPathsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListSecretPathsUnauthorized ¶
func NewListSecretPathsUnauthorized() *ListSecretPathsUnauthorized
NewListSecretPathsUnauthorized creates a ListSecretPathsUnauthorized with default headers values
func (*ListSecretPathsUnauthorized) Error ¶
func (o *ListSecretPathsUnauthorized) Error() string
func (*ListSecretPathsUnauthorized) GetPayload ¶
func (o *ListSecretPathsUnauthorized) GetPayload() *models.HTTPError
func (*ListSecretPathsUnauthorized) IsClientError ¶
func (o *ListSecretPathsUnauthorized) IsClientError() bool
IsClientError returns true when this list secret paths unauthorized response has a 4xx status code
func (*ListSecretPathsUnauthorized) IsCode ¶
func (o *ListSecretPathsUnauthorized) IsCode(code int) bool
IsCode returns true when this list secret paths unauthorized response a status code equal to that given
func (*ListSecretPathsUnauthorized) IsRedirect ¶
func (o *ListSecretPathsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list secret paths unauthorized response has a 3xx status code
func (*ListSecretPathsUnauthorized) IsServerError ¶
func (o *ListSecretPathsUnauthorized) IsServerError() bool
IsServerError returns true when this list secret paths unauthorized response has a 5xx status code
func (*ListSecretPathsUnauthorized) IsSuccess ¶
func (o *ListSecretPathsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list secret paths unauthorized response has a 2xx status code
func (*ListSecretPathsUnauthorized) String ¶
func (o *ListSecretPathsUnauthorized) String() string
type RollbackSecretBadRequest ¶
RollbackSecretBadRequest describes a response with status code 400, with default header values.
bad request
func NewRollbackSecretBadRequest ¶
func NewRollbackSecretBadRequest() *RollbackSecretBadRequest
NewRollbackSecretBadRequest creates a RollbackSecretBadRequest with default headers values
func (*RollbackSecretBadRequest) Error ¶
func (o *RollbackSecretBadRequest) Error() string
func (*RollbackSecretBadRequest) GetPayload ¶
func (o *RollbackSecretBadRequest) GetPayload() *models.HTTPError
func (*RollbackSecretBadRequest) IsClientError ¶
func (o *RollbackSecretBadRequest) IsClientError() bool
IsClientError returns true when this rollback secret bad request response has a 4xx status code
func (*RollbackSecretBadRequest) IsCode ¶
func (o *RollbackSecretBadRequest) IsCode(code int) bool
IsCode returns true when this rollback secret bad request response a status code equal to that given
func (*RollbackSecretBadRequest) IsRedirect ¶
func (o *RollbackSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this rollback secret bad request response has a 3xx status code
func (*RollbackSecretBadRequest) IsServerError ¶
func (o *RollbackSecretBadRequest) IsServerError() bool
IsServerError returns true when this rollback secret bad request response has a 5xx status code
func (*RollbackSecretBadRequest) IsSuccess ¶
func (o *RollbackSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this rollback secret bad request response has a 2xx status code
func (*RollbackSecretBadRequest) String ¶
func (o *RollbackSecretBadRequest) String() string
type RollbackSecretForbidden ¶
RollbackSecretForbidden describes a response with status code 403, with default header values.
forbidden
func NewRollbackSecretForbidden ¶
func NewRollbackSecretForbidden() *RollbackSecretForbidden
NewRollbackSecretForbidden creates a RollbackSecretForbidden with default headers values
func (*RollbackSecretForbidden) Error ¶
func (o *RollbackSecretForbidden) Error() string
func (*RollbackSecretForbidden) GetPayload ¶
func (o *RollbackSecretForbidden) GetPayload() *models.HTTPError
func (*RollbackSecretForbidden) IsClientError ¶
func (o *RollbackSecretForbidden) IsClientError() bool
IsClientError returns true when this rollback secret forbidden response has a 4xx status code
func (*RollbackSecretForbidden) IsCode ¶
func (o *RollbackSecretForbidden) IsCode(code int) bool
IsCode returns true when this rollback secret forbidden response a status code equal to that given
func (*RollbackSecretForbidden) IsRedirect ¶
func (o *RollbackSecretForbidden) IsRedirect() bool
IsRedirect returns true when this rollback secret forbidden response has a 3xx status code
func (*RollbackSecretForbidden) IsServerError ¶
func (o *RollbackSecretForbidden) IsServerError() bool
IsServerError returns true when this rollback secret forbidden response has a 5xx status code
func (*RollbackSecretForbidden) IsSuccess ¶
func (o *RollbackSecretForbidden) IsSuccess() bool
IsSuccess returns true when this rollback secret forbidden response has a 2xx status code
func (*RollbackSecretForbidden) String ¶
func (o *RollbackSecretForbidden) String() string
type RollbackSecretInternalServerError ¶
RollbackSecretInternalServerError describes a response with status code 500, with default header values.
server error
func NewRollbackSecretInternalServerError ¶
func NewRollbackSecretInternalServerError() *RollbackSecretInternalServerError
NewRollbackSecretInternalServerError creates a RollbackSecretInternalServerError with default headers values
func (*RollbackSecretInternalServerError) Error ¶
func (o *RollbackSecretInternalServerError) Error() string
func (*RollbackSecretInternalServerError) GetPayload ¶
func (o *RollbackSecretInternalServerError) GetPayload() *models.HTTPError
func (*RollbackSecretInternalServerError) IsClientError ¶
func (o *RollbackSecretInternalServerError) IsClientError() bool
IsClientError returns true when this rollback secret internal server error response has a 4xx status code
func (*RollbackSecretInternalServerError) IsCode ¶
func (o *RollbackSecretInternalServerError) IsCode(code int) bool
IsCode returns true when this rollback secret internal server error response a status code equal to that given
func (*RollbackSecretInternalServerError) IsRedirect ¶
func (o *RollbackSecretInternalServerError) IsRedirect() bool
IsRedirect returns true when this rollback secret internal server error response has a 3xx status code
func (*RollbackSecretInternalServerError) IsServerError ¶
func (o *RollbackSecretInternalServerError) IsServerError() bool
IsServerError returns true when this rollback secret internal server error response has a 5xx status code
func (*RollbackSecretInternalServerError) IsSuccess ¶
func (o *RollbackSecretInternalServerError) IsSuccess() bool
IsSuccess returns true when this rollback secret internal server error response has a 2xx status code
func (*RollbackSecretInternalServerError) String ¶
func (o *RollbackSecretInternalServerError) String() string
type RollbackSecretNotFound ¶
RollbackSecretNotFound describes a response with status code 404, with default header values.
not found
func NewRollbackSecretNotFound ¶
func NewRollbackSecretNotFound() *RollbackSecretNotFound
NewRollbackSecretNotFound creates a RollbackSecretNotFound with default headers values
func (*RollbackSecretNotFound) Error ¶
func (o *RollbackSecretNotFound) Error() string
func (*RollbackSecretNotFound) GetPayload ¶
func (o *RollbackSecretNotFound) GetPayload() *models.HTTPError
func (*RollbackSecretNotFound) IsClientError ¶
func (o *RollbackSecretNotFound) IsClientError() bool
IsClientError returns true when this rollback secret not found response has a 4xx status code
func (*RollbackSecretNotFound) IsCode ¶
func (o *RollbackSecretNotFound) IsCode(code int) bool
IsCode returns true when this rollback secret not found response a status code equal to that given
func (*RollbackSecretNotFound) IsRedirect ¶
func (o *RollbackSecretNotFound) IsRedirect() bool
IsRedirect returns true when this rollback secret not found response has a 3xx status code
func (*RollbackSecretNotFound) IsServerError ¶
func (o *RollbackSecretNotFound) IsServerError() bool
IsServerError returns true when this rollback secret not found response has a 5xx status code
func (*RollbackSecretNotFound) IsSuccess ¶
func (o *RollbackSecretNotFound) IsSuccess() bool
IsSuccess returns true when this rollback secret not found response has a 2xx status code
func (*RollbackSecretNotFound) String ¶
func (o *RollbackSecretNotFound) String() string
type RollbackSecretOK ¶
type RollbackSecretOK struct {
Payload *models.SecretVersionResponse
}
RollbackSecretOK describes a response with status code 200, with default header values.
no error
func NewRollbackSecretOK ¶
func NewRollbackSecretOK() *RollbackSecretOK
NewRollbackSecretOK creates a RollbackSecretOK with default headers values
func (*RollbackSecretOK) Error ¶
func (o *RollbackSecretOK) Error() string
func (*RollbackSecretOK) GetPayload ¶
func (o *RollbackSecretOK) GetPayload() *models.SecretVersionResponse
func (*RollbackSecretOK) IsClientError ¶
func (o *RollbackSecretOK) IsClientError() bool
IsClientError returns true when this rollback secret o k response has a 4xx status code
func (*RollbackSecretOK) IsCode ¶
func (o *RollbackSecretOK) IsCode(code int) bool
IsCode returns true when this rollback secret o k response a status code equal to that given
func (*RollbackSecretOK) IsRedirect ¶
func (o *RollbackSecretOK) IsRedirect() bool
IsRedirect returns true when this rollback secret o k response has a 3xx status code
func (*RollbackSecretOK) IsServerError ¶
func (o *RollbackSecretOK) IsServerError() bool
IsServerError returns true when this rollback secret o k response has a 5xx status code
func (*RollbackSecretOK) IsSuccess ¶
func (o *RollbackSecretOK) IsSuccess() bool
IsSuccess returns true when this rollback secret o k response has a 2xx status code
func (*RollbackSecretOK) String ¶
func (o *RollbackSecretOK) String() string
type RollbackSecretParams ¶
type RollbackSecretParams struct { /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string /* Version. Versions to return Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackSecretParams contains all the parameters to send to the API endpoint
for the rollback secret operation. Typically these are written to a http.Request.
func NewRollbackSecretParams ¶
func NewRollbackSecretParams() *RollbackSecretParams
NewRollbackSecretParams creates a new RollbackSecretParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRollbackSecretParamsWithContext ¶
func NewRollbackSecretParamsWithContext(ctx context.Context) *RollbackSecretParams
NewRollbackSecretParamsWithContext creates a new RollbackSecretParams object with the ability to set a context for a request.
func NewRollbackSecretParamsWithHTTPClient ¶
func NewRollbackSecretParamsWithHTTPClient(client *http.Client) *RollbackSecretParams
NewRollbackSecretParamsWithHTTPClient creates a new RollbackSecretParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackSecretParamsWithTimeout ¶
func NewRollbackSecretParamsWithTimeout(timeout time.Duration) *RollbackSecretParams
NewRollbackSecretParamsWithTimeout creates a new RollbackSecretParams object with the ability to set a timeout on a request.
func (*RollbackSecretParams) SetContext ¶
func (o *RollbackSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback secret params
func (*RollbackSecretParams) SetDefaults ¶
func (o *RollbackSecretParams) SetDefaults()
SetDefaults hydrates default values in the rollback secret params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackSecretParams) SetHTTPClient ¶
func (o *RollbackSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback secret params
func (*RollbackSecretParams) SetPath ¶
func (o *RollbackSecretParams) SetPath(path string)
SetPath adds the path to the rollback secret params
func (*RollbackSecretParams) SetTimeout ¶
func (o *RollbackSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback secret params
func (*RollbackSecretParams) SetVersion ¶
func (o *RollbackSecretParams) SetVersion(version int64)
SetVersion adds the version to the rollback secret params
func (*RollbackSecretParams) WithContext ¶
func (o *RollbackSecretParams) WithContext(ctx context.Context) *RollbackSecretParams
WithContext adds the context to the rollback secret params
func (*RollbackSecretParams) WithDefaults ¶
func (o *RollbackSecretParams) WithDefaults() *RollbackSecretParams
WithDefaults hydrates default values in the rollback secret params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackSecretParams) WithHTTPClient ¶
func (o *RollbackSecretParams) WithHTTPClient(client *http.Client) *RollbackSecretParams
WithHTTPClient adds the HTTPClient to the rollback secret params
func (*RollbackSecretParams) WithPath ¶
func (o *RollbackSecretParams) WithPath(path string) *RollbackSecretParams
WithPath adds the path to the rollback secret params
func (*RollbackSecretParams) WithTimeout ¶
func (o *RollbackSecretParams) WithTimeout(timeout time.Duration) *RollbackSecretParams
WithTimeout adds the timeout to the rollback secret params
func (*RollbackSecretParams) WithVersion ¶
func (o *RollbackSecretParams) WithVersion(version int64) *RollbackSecretParams
WithVersion adds the version to the rollback secret params
func (*RollbackSecretParams) WriteToRequest ¶
func (o *RollbackSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackSecretReader ¶
type RollbackSecretReader struct {
// contains filtered or unexported fields
}
RollbackSecretReader is a Reader for the RollbackSecret structure.
func (*RollbackSecretReader) ReadResponse ¶
func (o *RollbackSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackSecretUnauthorized ¶
type RollbackSecretUnauthorized struct {
}RollbackSecretUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRollbackSecretUnauthorized ¶
func NewRollbackSecretUnauthorized() *RollbackSecretUnauthorized
NewRollbackSecretUnauthorized creates a RollbackSecretUnauthorized with default headers values
func (*RollbackSecretUnauthorized) Error ¶
func (o *RollbackSecretUnauthorized) Error() string
func (*RollbackSecretUnauthorized) GetPayload ¶
func (o *RollbackSecretUnauthorized) GetPayload() *models.HTTPError
func (*RollbackSecretUnauthorized) IsClientError ¶
func (o *RollbackSecretUnauthorized) IsClientError() bool
IsClientError returns true when this rollback secret unauthorized response has a 4xx status code
func (*RollbackSecretUnauthorized) IsCode ¶
func (o *RollbackSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this rollback secret unauthorized response a status code equal to that given
func (*RollbackSecretUnauthorized) IsRedirect ¶
func (o *RollbackSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this rollback secret unauthorized response has a 3xx status code
func (*RollbackSecretUnauthorized) IsServerError ¶
func (o *RollbackSecretUnauthorized) IsServerError() bool
IsServerError returns true when this rollback secret unauthorized response has a 5xx status code
func (*RollbackSecretUnauthorized) IsSuccess ¶
func (o *RollbackSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this rollback secret unauthorized response has a 2xx status code
func (*RollbackSecretUnauthorized) String ¶
func (o *RollbackSecretUnauthorized) String() string
type SearchSecretsBadRequest ¶
SearchSecretsBadRequest describes a response with status code 400, with default header values.
bad request
func NewSearchSecretsBadRequest ¶
func NewSearchSecretsBadRequest() *SearchSecretsBadRequest
NewSearchSecretsBadRequest creates a SearchSecretsBadRequest with default headers values
func (*SearchSecretsBadRequest) Error ¶
func (o *SearchSecretsBadRequest) Error() string
func (*SearchSecretsBadRequest) GetPayload ¶
func (o *SearchSecretsBadRequest) GetPayload() *models.HTTPError
func (*SearchSecretsBadRequest) IsClientError ¶
func (o *SearchSecretsBadRequest) IsClientError() bool
IsClientError returns true when this search secrets bad request response has a 4xx status code
func (*SearchSecretsBadRequest) IsCode ¶
func (o *SearchSecretsBadRequest) IsCode(code int) bool
IsCode returns true when this search secrets bad request response a status code equal to that given
func (*SearchSecretsBadRequest) IsRedirect ¶
func (o *SearchSecretsBadRequest) IsRedirect() bool
IsRedirect returns true when this search secrets bad request response has a 3xx status code
func (*SearchSecretsBadRequest) IsServerError ¶
func (o *SearchSecretsBadRequest) IsServerError() bool
IsServerError returns true when this search secrets bad request response has a 5xx status code
func (*SearchSecretsBadRequest) IsSuccess ¶
func (o *SearchSecretsBadRequest) IsSuccess() bool
IsSuccess returns true when this search secrets bad request response has a 2xx status code
func (*SearchSecretsBadRequest) String ¶
func (o *SearchSecretsBadRequest) String() string
type SearchSecretsForbidden ¶
SearchSecretsForbidden describes a response with status code 403, with default header values.
forbidden
func NewSearchSecretsForbidden ¶
func NewSearchSecretsForbidden() *SearchSecretsForbidden
NewSearchSecretsForbidden creates a SearchSecretsForbidden with default headers values
func (*SearchSecretsForbidden) Error ¶
func (o *SearchSecretsForbidden) Error() string
func (*SearchSecretsForbidden) GetPayload ¶
func (o *SearchSecretsForbidden) GetPayload() *models.HTTPError
func (*SearchSecretsForbidden) IsClientError ¶
func (o *SearchSecretsForbidden) IsClientError() bool
IsClientError returns true when this search secrets forbidden response has a 4xx status code
func (*SearchSecretsForbidden) IsCode ¶
func (o *SearchSecretsForbidden) IsCode(code int) bool
IsCode returns true when this search secrets forbidden response a status code equal to that given
func (*SearchSecretsForbidden) IsRedirect ¶
func (o *SearchSecretsForbidden) IsRedirect() bool
IsRedirect returns true when this search secrets forbidden response has a 3xx status code
func (*SearchSecretsForbidden) IsServerError ¶
func (o *SearchSecretsForbidden) IsServerError() bool
IsServerError returns true when this search secrets forbidden response has a 5xx status code
func (*SearchSecretsForbidden) IsSuccess ¶
func (o *SearchSecretsForbidden) IsSuccess() bool
IsSuccess returns true when this search secrets forbidden response has a 2xx status code
func (*SearchSecretsForbidden) String ¶
func (o *SearchSecretsForbidden) String() string
type SearchSecretsInternalServerError ¶
SearchSecretsInternalServerError describes a response with status code 500, with default header values.
server error
func NewSearchSecretsInternalServerError ¶
func NewSearchSecretsInternalServerError() *SearchSecretsInternalServerError
NewSearchSecretsInternalServerError creates a SearchSecretsInternalServerError with default headers values
func (*SearchSecretsInternalServerError) Error ¶
func (o *SearchSecretsInternalServerError) Error() string
func (*SearchSecretsInternalServerError) GetPayload ¶
func (o *SearchSecretsInternalServerError) GetPayload() *models.HTTPError
func (*SearchSecretsInternalServerError) IsClientError ¶
func (o *SearchSecretsInternalServerError) IsClientError() bool
IsClientError returns true when this search secrets internal server error response has a 4xx status code
func (*SearchSecretsInternalServerError) IsCode ¶
func (o *SearchSecretsInternalServerError) IsCode(code int) bool
IsCode returns true when this search secrets internal server error response a status code equal to that given
func (*SearchSecretsInternalServerError) IsRedirect ¶
func (o *SearchSecretsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search secrets internal server error response has a 3xx status code
func (*SearchSecretsInternalServerError) IsServerError ¶
func (o *SearchSecretsInternalServerError) IsServerError() bool
IsServerError returns true when this search secrets internal server error response has a 5xx status code
func (*SearchSecretsInternalServerError) IsSuccess ¶
func (o *SearchSecretsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search secrets internal server error response has a 2xx status code
func (*SearchSecretsInternalServerError) String ¶
func (o *SearchSecretsInternalServerError) String() string
type SearchSecretsNotFound ¶
SearchSecretsNotFound describes a response with status code 404, with default header values.
not found
func NewSearchSecretsNotFound ¶
func NewSearchSecretsNotFound() *SearchSecretsNotFound
NewSearchSecretsNotFound creates a SearchSecretsNotFound with default headers values
func (*SearchSecretsNotFound) Error ¶
func (o *SearchSecretsNotFound) Error() string
func (*SearchSecretsNotFound) GetPayload ¶
func (o *SearchSecretsNotFound) GetPayload() *models.HTTPError
func (*SearchSecretsNotFound) IsClientError ¶
func (o *SearchSecretsNotFound) IsClientError() bool
IsClientError returns true when this search secrets not found response has a 4xx status code
func (*SearchSecretsNotFound) IsCode ¶
func (o *SearchSecretsNotFound) IsCode(code int) bool
IsCode returns true when this search secrets not found response a status code equal to that given
func (*SearchSecretsNotFound) IsRedirect ¶
func (o *SearchSecretsNotFound) IsRedirect() bool
IsRedirect returns true when this search secrets not found response has a 3xx status code
func (*SearchSecretsNotFound) IsServerError ¶
func (o *SearchSecretsNotFound) IsServerError() bool
IsServerError returns true when this search secrets not found response has a 5xx status code
func (*SearchSecretsNotFound) IsSuccess ¶
func (o *SearchSecretsNotFound) IsSuccess() bool
IsSuccess returns true when this search secrets not found response has a 2xx status code
func (*SearchSecretsNotFound) String ¶
func (o *SearchSecretsNotFound) String() string
type SearchSecretsOK ¶
type SearchSecretsOK struct {
Payload *models.ResponseModelSearch
}
SearchSecretsOK describes a response with status code 200, with default header values.
no error
func NewSearchSecretsOK ¶
func NewSearchSecretsOK() *SearchSecretsOK
NewSearchSecretsOK creates a SearchSecretsOK with default headers values
func (*SearchSecretsOK) Error ¶
func (o *SearchSecretsOK) Error() string
func (*SearchSecretsOK) GetPayload ¶
func (o *SearchSecretsOK) GetPayload() *models.ResponseModelSearch
func (*SearchSecretsOK) IsClientError ¶
func (o *SearchSecretsOK) IsClientError() bool
IsClientError returns true when this search secrets o k response has a 4xx status code
func (*SearchSecretsOK) IsCode ¶
func (o *SearchSecretsOK) IsCode(code int) bool
IsCode returns true when this search secrets o k response a status code equal to that given
func (*SearchSecretsOK) IsRedirect ¶
func (o *SearchSecretsOK) IsRedirect() bool
IsRedirect returns true when this search secrets o k response has a 3xx status code
func (*SearchSecretsOK) IsServerError ¶
func (o *SearchSecretsOK) IsServerError() bool
IsServerError returns true when this search secrets o k response has a 5xx status code
func (*SearchSecretsOK) IsSuccess ¶
func (o *SearchSecretsOK) IsSuccess() bool
IsSuccess returns true when this search secrets o k response has a 2xx status code
func (*SearchSecretsOK) String ¶
func (o *SearchSecretsOK) String() string
type SearchSecretsParams ¶
type SearchSecretsParams struct { /* Cursor. Cursor to next batch of results */ Cursor *string /* Limit. Limit for the number of results per page (cursor) Format: int64 */ Limit *int64 /* SearchComparison. Comparison type (equal, contains, begins_with) for advanced searching */ Comparison *string /* SearchField. Secret field for advanced searching */ Field *string /* SearchLinks. Whether to search for secrets that link to the path in the search term */ Link *bool /* SearchType. Attribute type (string, number) to search on */ UnderlyingType *string /* SearchTerm. Partial search term for search by path */ SearchTerm *string /* Sort. Sort results ascending (asc) or descending (desc) order by lastModified attribute on field search. Default is desc */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchSecretsParams contains all the parameters to send to the API endpoint
for the search secrets operation. Typically these are written to a http.Request.
func NewSearchSecretsParams ¶
func NewSearchSecretsParams() *SearchSecretsParams
NewSearchSecretsParams creates a new SearchSecretsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchSecretsParamsWithContext ¶
func NewSearchSecretsParamsWithContext(ctx context.Context) *SearchSecretsParams
NewSearchSecretsParamsWithContext creates a new SearchSecretsParams object with the ability to set a context for a request.
func NewSearchSecretsParamsWithHTTPClient ¶
func NewSearchSecretsParamsWithHTTPClient(client *http.Client) *SearchSecretsParams
NewSearchSecretsParamsWithHTTPClient creates a new SearchSecretsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchSecretsParamsWithTimeout ¶
func NewSearchSecretsParamsWithTimeout(timeout time.Duration) *SearchSecretsParams
NewSearchSecretsParamsWithTimeout creates a new SearchSecretsParams object with the ability to set a timeout on a request.
func (*SearchSecretsParams) SetComparison ¶
func (o *SearchSecretsParams) SetComparison(searchComparison *string)
SetComparison adds the searchComparison to the search secrets params
func (*SearchSecretsParams) SetContext ¶
func (o *SearchSecretsParams) SetContext(ctx context.Context)
SetContext adds the context to the search secrets params
func (*SearchSecretsParams) SetCursor ¶
func (o *SearchSecretsParams) SetCursor(cursor *string)
SetCursor adds the cursor to the search secrets params
func (*SearchSecretsParams) SetDefaults ¶
func (o *SearchSecretsParams) SetDefaults()
SetDefaults hydrates default values in the search secrets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchSecretsParams) SetField ¶
func (o *SearchSecretsParams) SetField(searchField *string)
SetField adds the searchField to the search secrets params
func (*SearchSecretsParams) SetHTTPClient ¶
func (o *SearchSecretsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search secrets params
func (*SearchSecretsParams) SetLimit ¶
func (o *SearchSecretsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search secrets params
func (*SearchSecretsParams) SetLink ¶
func (o *SearchSecretsParams) SetLink(searchLinks *bool)
SetLink adds the searchLinks to the search secrets params
func (*SearchSecretsParams) SetSearchTerm ¶
func (o *SearchSecretsParams) SetSearchTerm(searchTerm *string)
SetSearchTerm adds the searchTerm to the search secrets params
func (*SearchSecretsParams) SetSort ¶
func (o *SearchSecretsParams) SetSort(sort *string)
SetSort adds the sort to the search secrets params
func (*SearchSecretsParams) SetTimeout ¶
func (o *SearchSecretsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search secrets params
func (*SearchSecretsParams) SetUnderlyingType ¶
func (o *SearchSecretsParams) SetUnderlyingType(searchType *string)
SetUnderlyingType adds the searchType to the search secrets params
func (*SearchSecretsParams) WithComparison ¶
func (o *SearchSecretsParams) WithComparison(searchComparison *string) *SearchSecretsParams
WithComparison adds the searchComparison to the search secrets params
func (*SearchSecretsParams) WithContext ¶
func (o *SearchSecretsParams) WithContext(ctx context.Context) *SearchSecretsParams
WithContext adds the context to the search secrets params
func (*SearchSecretsParams) WithCursor ¶
func (o *SearchSecretsParams) WithCursor(cursor *string) *SearchSecretsParams
WithCursor adds the cursor to the search secrets params
func (*SearchSecretsParams) WithDefaults ¶
func (o *SearchSecretsParams) WithDefaults() *SearchSecretsParams
WithDefaults hydrates default values in the search secrets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchSecretsParams) WithField ¶
func (o *SearchSecretsParams) WithField(searchField *string) *SearchSecretsParams
WithField adds the searchField to the search secrets params
func (*SearchSecretsParams) WithHTTPClient ¶
func (o *SearchSecretsParams) WithHTTPClient(client *http.Client) *SearchSecretsParams
WithHTTPClient adds the HTTPClient to the search secrets params
func (*SearchSecretsParams) WithLimit ¶
func (o *SearchSecretsParams) WithLimit(limit *int64) *SearchSecretsParams
WithLimit adds the limit to the search secrets params
func (*SearchSecretsParams) WithLink ¶
func (o *SearchSecretsParams) WithLink(searchLinks *bool) *SearchSecretsParams
WithLink adds the searchLinks to the search secrets params
func (*SearchSecretsParams) WithSearchTerm ¶
func (o *SearchSecretsParams) WithSearchTerm(searchTerm *string) *SearchSecretsParams
WithSearchTerm adds the searchTerm to the search secrets params
func (*SearchSecretsParams) WithSort ¶
func (o *SearchSecretsParams) WithSort(sort *string) *SearchSecretsParams
WithSort adds the sort to the search secrets params
func (*SearchSecretsParams) WithTimeout ¶
func (o *SearchSecretsParams) WithTimeout(timeout time.Duration) *SearchSecretsParams
WithTimeout adds the timeout to the search secrets params
func (*SearchSecretsParams) WithUnderlyingType ¶
func (o *SearchSecretsParams) WithUnderlyingType(searchType *string) *SearchSecretsParams
WithUnderlyingType adds the searchType to the search secrets params
func (*SearchSecretsParams) WriteToRequest ¶
func (o *SearchSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchSecretsReader ¶
type SearchSecretsReader struct {
// contains filtered or unexported fields
}
SearchSecretsReader is a Reader for the SearchSecrets structure.
func (*SearchSecretsReader) ReadResponse ¶
func (o *SearchSecretsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchSecretsUnauthorized ¶
type SearchSecretsUnauthorized struct {
}SearchSecretsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewSearchSecretsUnauthorized ¶
func NewSearchSecretsUnauthorized() *SearchSecretsUnauthorized
NewSearchSecretsUnauthorized creates a SearchSecretsUnauthorized with default headers values
func (*SearchSecretsUnauthorized) Error ¶
func (o *SearchSecretsUnauthorized) Error() string
func (*SearchSecretsUnauthorized) GetPayload ¶
func (o *SearchSecretsUnauthorized) GetPayload() *models.HTTPError
func (*SearchSecretsUnauthorized) IsClientError ¶
func (o *SearchSecretsUnauthorized) IsClientError() bool
IsClientError returns true when this search secrets unauthorized response has a 4xx status code
func (*SearchSecretsUnauthorized) IsCode ¶
func (o *SearchSecretsUnauthorized) IsCode(code int) bool
IsCode returns true when this search secrets unauthorized response a status code equal to that given
func (*SearchSecretsUnauthorized) IsRedirect ¶
func (o *SearchSecretsUnauthorized) IsRedirect() bool
IsRedirect returns true when this search secrets unauthorized response has a 3xx status code
func (*SearchSecretsUnauthorized) IsServerError ¶
func (o *SearchSecretsUnauthorized) IsServerError() bool
IsServerError returns true when this search secrets unauthorized response has a 5xx status code
func (*SearchSecretsUnauthorized) IsSuccess ¶
func (o *SearchSecretsUnauthorized) IsSuccess() bool
IsSuccess returns true when this search secrets unauthorized response has a 2xx status code
func (*SearchSecretsUnauthorized) String ¶
func (o *SearchSecretsUnauthorized) String() string
type UpdateSecretBadRequest ¶
UpdateSecretBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateSecretBadRequest ¶
func NewUpdateSecretBadRequest() *UpdateSecretBadRequest
NewUpdateSecretBadRequest creates a UpdateSecretBadRequest with default headers values
func (*UpdateSecretBadRequest) Error ¶
func (o *UpdateSecretBadRequest) Error() string
func (*UpdateSecretBadRequest) GetPayload ¶
func (o *UpdateSecretBadRequest) GetPayload() *models.HTTPError
func (*UpdateSecretBadRequest) IsClientError ¶
func (o *UpdateSecretBadRequest) IsClientError() bool
IsClientError returns true when this update secret bad request response has a 4xx status code
func (*UpdateSecretBadRequest) IsCode ¶
func (o *UpdateSecretBadRequest) IsCode(code int) bool
IsCode returns true when this update secret bad request response a status code equal to that given
func (*UpdateSecretBadRequest) IsRedirect ¶
func (o *UpdateSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this update secret bad request response has a 3xx status code
func (*UpdateSecretBadRequest) IsServerError ¶
func (o *UpdateSecretBadRequest) IsServerError() bool
IsServerError returns true when this update secret bad request response has a 5xx status code
func (*UpdateSecretBadRequest) IsSuccess ¶
func (o *UpdateSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this update secret bad request response has a 2xx status code
func (*UpdateSecretBadRequest) String ¶
func (o *UpdateSecretBadRequest) String() string
type UpdateSecretForbidden ¶
UpdateSecretForbidden describes a response with status code 403, with default header values.
forbidden
func NewUpdateSecretForbidden ¶
func NewUpdateSecretForbidden() *UpdateSecretForbidden
NewUpdateSecretForbidden creates a UpdateSecretForbidden with default headers values
func (*UpdateSecretForbidden) Error ¶
func (o *UpdateSecretForbidden) Error() string
func (*UpdateSecretForbidden) GetPayload ¶
func (o *UpdateSecretForbidden) GetPayload() *models.HTTPError
func (*UpdateSecretForbidden) IsClientError ¶
func (o *UpdateSecretForbidden) IsClientError() bool
IsClientError returns true when this update secret forbidden response has a 4xx status code
func (*UpdateSecretForbidden) IsCode ¶
func (o *UpdateSecretForbidden) IsCode(code int) bool
IsCode returns true when this update secret forbidden response a status code equal to that given
func (*UpdateSecretForbidden) IsRedirect ¶
func (o *UpdateSecretForbidden) IsRedirect() bool
IsRedirect returns true when this update secret forbidden response has a 3xx status code
func (*UpdateSecretForbidden) IsServerError ¶
func (o *UpdateSecretForbidden) IsServerError() bool
IsServerError returns true when this update secret forbidden response has a 5xx status code
func (*UpdateSecretForbidden) IsSuccess ¶
func (o *UpdateSecretForbidden) IsSuccess() bool
IsSuccess returns true when this update secret forbidden response has a 2xx status code
func (*UpdateSecretForbidden) String ¶
func (o *UpdateSecretForbidden) String() string
type UpdateSecretInternalServerError ¶
UpdateSecretInternalServerError describes a response with status code 500, with default header values.
server error
func NewUpdateSecretInternalServerError ¶
func NewUpdateSecretInternalServerError() *UpdateSecretInternalServerError
NewUpdateSecretInternalServerError creates a UpdateSecretInternalServerError with default headers values
func (*UpdateSecretInternalServerError) Error ¶
func (o *UpdateSecretInternalServerError) Error() string
func (*UpdateSecretInternalServerError) GetPayload ¶
func (o *UpdateSecretInternalServerError) GetPayload() *models.HTTPError
func (*UpdateSecretInternalServerError) IsClientError ¶
func (o *UpdateSecretInternalServerError) IsClientError() bool
IsClientError returns true when this update secret internal server error response has a 4xx status code
func (*UpdateSecretInternalServerError) IsCode ¶
func (o *UpdateSecretInternalServerError) IsCode(code int) bool
IsCode returns true when this update secret internal server error response a status code equal to that given
func (*UpdateSecretInternalServerError) IsRedirect ¶
func (o *UpdateSecretInternalServerError) IsRedirect() bool
IsRedirect returns true when this update secret internal server error response has a 3xx status code
func (*UpdateSecretInternalServerError) IsServerError ¶
func (o *UpdateSecretInternalServerError) IsServerError() bool
IsServerError returns true when this update secret internal server error response has a 5xx status code
func (*UpdateSecretInternalServerError) IsSuccess ¶
func (o *UpdateSecretInternalServerError) IsSuccess() bool
IsSuccess returns true when this update secret internal server error response has a 2xx status code
func (*UpdateSecretInternalServerError) String ¶
func (o *UpdateSecretInternalServerError) String() string
type UpdateSecretNotFound ¶
UpdateSecretNotFound describes a response with status code 404, with default header values.
not found
func NewUpdateSecretNotFound ¶
func NewUpdateSecretNotFound() *UpdateSecretNotFound
NewUpdateSecretNotFound creates a UpdateSecretNotFound with default headers values
func (*UpdateSecretNotFound) Error ¶
func (o *UpdateSecretNotFound) Error() string
func (*UpdateSecretNotFound) GetPayload ¶
func (o *UpdateSecretNotFound) GetPayload() *models.HTTPError
func (*UpdateSecretNotFound) IsClientError ¶
func (o *UpdateSecretNotFound) IsClientError() bool
IsClientError returns true when this update secret not found response has a 4xx status code
func (*UpdateSecretNotFound) IsCode ¶
func (o *UpdateSecretNotFound) IsCode(code int) bool
IsCode returns true when this update secret not found response a status code equal to that given
func (*UpdateSecretNotFound) IsRedirect ¶
func (o *UpdateSecretNotFound) IsRedirect() bool
IsRedirect returns true when this update secret not found response has a 3xx status code
func (*UpdateSecretNotFound) IsServerError ¶
func (o *UpdateSecretNotFound) IsServerError() bool
IsServerError returns true when this update secret not found response has a 5xx status code
func (*UpdateSecretNotFound) IsSuccess ¶
func (o *UpdateSecretNotFound) IsSuccess() bool
IsSuccess returns true when this update secret not found response has a 2xx status code
func (*UpdateSecretNotFound) String ¶
func (o *UpdateSecretNotFound) String() string
type UpdateSecretOK ¶
type UpdateSecretOK struct {
Payload *models.ResponseModelFull
}
UpdateSecretOK describes a response with status code 200, with default header values.
no error
func NewUpdateSecretOK ¶
func NewUpdateSecretOK() *UpdateSecretOK
NewUpdateSecretOK creates a UpdateSecretOK with default headers values
func (*UpdateSecretOK) Error ¶
func (o *UpdateSecretOK) Error() string
func (*UpdateSecretOK) GetPayload ¶
func (o *UpdateSecretOK) GetPayload() *models.ResponseModelFull
func (*UpdateSecretOK) IsClientError ¶
func (o *UpdateSecretOK) IsClientError() bool
IsClientError returns true when this update secret o k response has a 4xx status code
func (*UpdateSecretOK) IsCode ¶
func (o *UpdateSecretOK) IsCode(code int) bool
IsCode returns true when this update secret o k response a status code equal to that given
func (*UpdateSecretOK) IsRedirect ¶
func (o *UpdateSecretOK) IsRedirect() bool
IsRedirect returns true when this update secret o k response has a 3xx status code
func (*UpdateSecretOK) IsServerError ¶
func (o *UpdateSecretOK) IsServerError() bool
IsServerError returns true when this update secret o k response has a 5xx status code
func (*UpdateSecretOK) IsSuccess ¶
func (o *UpdateSecretOK) IsSuccess() bool
IsSuccess returns true when this update secret o k response has a 2xx status code
func (*UpdateSecretOK) String ¶
func (o *UpdateSecretOK) String() string
type UpdateSecretParams ¶
type UpdateSecretParams struct { // Body. Body *models.RequestModelUpdate /* Path. The full secret path i.e. servers/prod/webserver-01 */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSecretParams contains all the parameters to send to the API endpoint
for the update secret operation. Typically these are written to a http.Request.
func NewUpdateSecretParams ¶
func NewUpdateSecretParams() *UpdateSecretParams
NewUpdateSecretParams creates a new UpdateSecretParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSecretParamsWithContext ¶
func NewUpdateSecretParamsWithContext(ctx context.Context) *UpdateSecretParams
NewUpdateSecretParamsWithContext creates a new UpdateSecretParams object with the ability to set a context for a request.
func NewUpdateSecretParamsWithHTTPClient ¶
func NewUpdateSecretParamsWithHTTPClient(client *http.Client) *UpdateSecretParams
NewUpdateSecretParamsWithHTTPClient creates a new UpdateSecretParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSecretParamsWithTimeout ¶
func NewUpdateSecretParamsWithTimeout(timeout time.Duration) *UpdateSecretParams
NewUpdateSecretParamsWithTimeout creates a new UpdateSecretParams object with the ability to set a timeout on a request.
func (*UpdateSecretParams) SetBody ¶
func (o *UpdateSecretParams) SetBody(body *models.RequestModelUpdate)
SetBody adds the body to the update secret params
func (*UpdateSecretParams) SetContext ¶
func (o *UpdateSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the update secret params
func (*UpdateSecretParams) SetDefaults ¶
func (o *UpdateSecretParams) SetDefaults()
SetDefaults hydrates default values in the update secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecretParams) SetHTTPClient ¶
func (o *UpdateSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update secret params
func (*UpdateSecretParams) SetPath ¶
func (o *UpdateSecretParams) SetPath(path string)
SetPath adds the path to the update secret params
func (*UpdateSecretParams) SetTimeout ¶
func (o *UpdateSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update secret params
func (*UpdateSecretParams) WithBody ¶
func (o *UpdateSecretParams) WithBody(body *models.RequestModelUpdate) *UpdateSecretParams
WithBody adds the body to the update secret params
func (*UpdateSecretParams) WithContext ¶
func (o *UpdateSecretParams) WithContext(ctx context.Context) *UpdateSecretParams
WithContext adds the context to the update secret params
func (*UpdateSecretParams) WithDefaults ¶
func (o *UpdateSecretParams) WithDefaults() *UpdateSecretParams
WithDefaults hydrates default values in the update secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecretParams) WithHTTPClient ¶
func (o *UpdateSecretParams) WithHTTPClient(client *http.Client) *UpdateSecretParams
WithHTTPClient adds the HTTPClient to the update secret params
func (*UpdateSecretParams) WithPath ¶
func (o *UpdateSecretParams) WithPath(path string) *UpdateSecretParams
WithPath adds the path to the update secret params
func (*UpdateSecretParams) WithTimeout ¶
func (o *UpdateSecretParams) WithTimeout(timeout time.Duration) *UpdateSecretParams
WithTimeout adds the timeout to the update secret params
func (*UpdateSecretParams) WriteToRequest ¶
func (o *UpdateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSecretReader ¶
type UpdateSecretReader struct {
// contains filtered or unexported fields
}
UpdateSecretReader is a Reader for the UpdateSecret structure.
func (*UpdateSecretReader) ReadResponse ¶
func (o *UpdateSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_secret_parameters.go
- create_secret_responses.go
- delete_secret_parameters.go
- delete_secret_responses.go
- get_secret_by_version_parameters.go
- get_secret_by_version_responses.go
- get_secret_description_parameters.go
- get_secret_description_responses.go
- get_secret_parameters.go
- get_secret_responses.go
- list_secret_paths_parameters.go
- list_secret_paths_responses.go
- rollback_secret_parameters.go
- rollback_secret_responses.go
- search_secrets_parameters.go
- search_secrets_responses.go
- secrets_client.go
- update_secret_parameters.go
- update_secret_responses.go