secrets

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearAllUserSecretsInternalServerError

type ClearAllUserSecretsInternalServerError struct {
	Payload *secrets_models.Message
}

ClearAllUserSecretsInternalServerError handles this case with default header values.

Server Error

func NewClearAllUserSecretsInternalServerError

func NewClearAllUserSecretsInternalServerError() *ClearAllUserSecretsInternalServerError

NewClearAllUserSecretsInternalServerError creates a ClearAllUserSecretsInternalServerError with default headers values

func (*ClearAllUserSecretsInternalServerError) Error

type ClearAllUserSecretsNoContent

type ClearAllUserSecretsNoContent struct {
}

ClearAllUserSecretsNoContent handles this case with default header values.

success

func NewClearAllUserSecretsNoContent

func NewClearAllUserSecretsNoContent() *ClearAllUserSecretsNoContent

NewClearAllUserSecretsNoContent creates a ClearAllUserSecretsNoContent with default headers values

func (*ClearAllUserSecretsNoContent) Error

type ClearAllUserSecretsNotFound

type ClearAllUserSecretsNotFound struct {
	Payload *secrets_models.Message
}

ClearAllUserSecretsNotFound handles this case with default header values.

Not Found

func NewClearAllUserSecretsNotFound

func NewClearAllUserSecretsNotFound() *ClearAllUserSecretsNotFound

NewClearAllUserSecretsNotFound creates a ClearAllUserSecretsNotFound with default headers values

func (*ClearAllUserSecretsNotFound) Error

type ClearAllUserSecretsParams

type ClearAllUserSecretsParams struct {

	/*ProjectID
	  ID of Project to remove secrets from

	*/
	ProjectID strfmt.UUID

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

ClearAllUserSecretsParams contains all the parameters to send to the API endpoint for the clear all user secrets operation typically these are written to a http.Request

func NewClearAllUserSecretsParams

func NewClearAllUserSecretsParams() *ClearAllUserSecretsParams

NewClearAllUserSecretsParams creates a new ClearAllUserSecretsParams object with the default values initialized.

func NewClearAllUserSecretsParamsWithContext

func NewClearAllUserSecretsParamsWithContext(ctx context.Context) *ClearAllUserSecretsParams

NewClearAllUserSecretsParamsWithContext creates a new ClearAllUserSecretsParams object with the default values initialized, and the ability to set a context for a request

func NewClearAllUserSecretsParamsWithHTTPClient

func NewClearAllUserSecretsParamsWithHTTPClient(client *http.Client) *ClearAllUserSecretsParams

NewClearAllUserSecretsParamsWithHTTPClient creates a new ClearAllUserSecretsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewClearAllUserSecretsParamsWithTimeout

func NewClearAllUserSecretsParamsWithTimeout(timeout time.Duration) *ClearAllUserSecretsParams

NewClearAllUserSecretsParamsWithTimeout creates a new ClearAllUserSecretsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ClearAllUserSecretsParams) SetContext

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

SetContext adds the context to the clear all user secrets params

func (*ClearAllUserSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clear all user secrets params

func (*ClearAllUserSecretsParams) SetProjectID

func (o *ClearAllUserSecretsParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the clear all user secrets params

func (*ClearAllUserSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the clear all user secrets params

func (*ClearAllUserSecretsParams) WithContext

WithContext adds the context to the clear all user secrets params

func (*ClearAllUserSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clear all user secrets params

func (*ClearAllUserSecretsParams) WithProjectID

func (o *ClearAllUserSecretsParams) WithProjectID(projectID strfmt.UUID) *ClearAllUserSecretsParams

WithProjectID adds the projectID to the clear all user secrets params

func (*ClearAllUserSecretsParams) WithTimeout

WithTimeout adds the timeout to the clear all user secrets params

func (*ClearAllUserSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClearAllUserSecretsReader

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

ClearAllUserSecretsReader is a Reader for the ClearAllUserSecrets structure.

func (*ClearAllUserSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClearAllUserSecretsUnauthorized

type ClearAllUserSecretsUnauthorized struct {
	Payload *secrets_models.Message
}

ClearAllUserSecretsUnauthorized handles this case with default header values.

Invalid credentials

func NewClearAllUserSecretsUnauthorized

func NewClearAllUserSecretsUnauthorized() *ClearAllUserSecretsUnauthorized

NewClearAllUserSecretsUnauthorized creates a ClearAllUserSecretsUnauthorized with default headers values

func (*ClearAllUserSecretsUnauthorized) Error

type Client

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

Client for secrets API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new secrets API client.

func (*Client) ClearAllUserSecrets

ClearAllUserSecrets clears the value from all secrets this user has access to in a given project

Clear the value from all secrets this user has access to in a given project

func (*Client) DeleteUserSecret

func (a *Client) DeleteUserSecret(params *DeleteUserSecretParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSecretNoContent, error)

DeleteUserSecret deletes a specific user s secret

Delete a specific user's secret

func (*Client) DiffUserSecrets

func (a *Client) DiffUserSecrets(params *DiffUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*DiffUserSecretsOK, error)

DiffUserSecrets relatives to current user determine what secrets another user is missing or are out of date

Relative to current user, determine what secrets another user is missing or are out-of-date and return those specs along with the user's public-key. User-scoped secrets will not be considered.

func (*Client) GetAllUserSecrets

func (a *Client) GetAllUserSecrets(params *GetAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllUserSecretsOK, error)

GetAllUserSecrets alls user s secrets for an organization

Return a user's secrets from a specific organization

func (*Client) GetDefinitions

func (a *Client) GetDefinitions(params *GetDefinitionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefinitionsOK, error)

GetDefinitions gets secret definitions for the given project

Get secret definitions for the given project

func (*Client) SaveAllUserSecrets

SaveAllUserSecrets saves a collection of user secrets

Update the user's vault with the provided collection of secrets

func (*Client) SaveDefinition

func (a *Client) SaveDefinition(params *SaveDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*SaveDefinitionNoContent, error)

SaveDefinition saves a secret definition

Save a secret definition

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShareUserSecrets

func (a *Client) ShareUserSecrets(params *ShareUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*ShareUserSecretsNoContent, error)

ShareUserSecrets shares a collection of user secrets with another user

Update another user's vault with any of the provided non-user scoped secrets

type DeleteUserSecretInternalServerError

type DeleteUserSecretInternalServerError struct {
	Payload *secrets_models.Message
}

DeleteUserSecretInternalServerError handles this case with default header values.

Server Error

func NewDeleteUserSecretInternalServerError

func NewDeleteUserSecretInternalServerError() *DeleteUserSecretInternalServerError

NewDeleteUserSecretInternalServerError creates a DeleteUserSecretInternalServerError with default headers values

func (*DeleteUserSecretInternalServerError) Error

type DeleteUserSecretNoContent

type DeleteUserSecretNoContent struct {
}

DeleteUserSecretNoContent handles this case with default header values.

Success

func NewDeleteUserSecretNoContent

func NewDeleteUserSecretNoContent() *DeleteUserSecretNoContent

NewDeleteUserSecretNoContent creates a DeleteUserSecretNoContent with default headers values

func (*DeleteUserSecretNoContent) Error

func (o *DeleteUserSecretNoContent) Error() string

type DeleteUserSecretNotFound

type DeleteUserSecretNotFound struct {
	Payload *secrets_models.Message
}

DeleteUserSecretNotFound handles this case with default header values.

Not Found

func NewDeleteUserSecretNotFound

func NewDeleteUserSecretNotFound() *DeleteUserSecretNotFound

NewDeleteUserSecretNotFound creates a DeleteUserSecretNotFound with default headers values

func (*DeleteUserSecretNotFound) Error

func (o *DeleteUserSecretNotFound) Error() string

type DeleteUserSecretParams

type DeleteUserSecretParams struct {

	/*SecretID
	  Secret-id of secret to delete

	*/
	SecretID strfmt.UUID

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

DeleteUserSecretParams contains all the parameters to send to the API endpoint for the delete user secret operation typically these are written to a http.Request

func NewDeleteUserSecretParams

func NewDeleteUserSecretParams() *DeleteUserSecretParams

NewDeleteUserSecretParams creates a new DeleteUserSecretParams object with the default values initialized.

func NewDeleteUserSecretParamsWithContext

func NewDeleteUserSecretParamsWithContext(ctx context.Context) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithContext creates a new DeleteUserSecretParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserSecretParamsWithHTTPClient

func NewDeleteUserSecretParamsWithHTTPClient(client *http.Client) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithHTTPClient creates a new DeleteUserSecretParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserSecretParamsWithTimeout

func NewDeleteUserSecretParamsWithTimeout(timeout time.Duration) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithTimeout creates a new DeleteUserSecretParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserSecretParams) SetContext

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

SetContext adds the context to the delete user secret params

func (*DeleteUserSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user secret params

func (*DeleteUserSecretParams) SetSecretID

func (o *DeleteUserSecretParams) SetSecretID(secretID strfmt.UUID)

SetSecretID adds the secretId to the delete user secret params

func (*DeleteUserSecretParams) SetTimeout

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

SetTimeout adds the timeout to the delete user secret params

func (*DeleteUserSecretParams) WithContext

WithContext adds the context to the delete user secret params

func (*DeleteUserSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user secret params

func (*DeleteUserSecretParams) WithSecretID

func (o *DeleteUserSecretParams) WithSecretID(secretID strfmt.UUID) *DeleteUserSecretParams

WithSecretID adds the secretID to the delete user secret params

func (*DeleteUserSecretParams) WithTimeout

WithTimeout adds the timeout to the delete user secret params

func (*DeleteUserSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserSecretReader

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

DeleteUserSecretReader is a Reader for the DeleteUserSecret structure.

func (*DeleteUserSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserSecretUnauthorized

type DeleteUserSecretUnauthorized struct {
	Payload *secrets_models.Message
}

DeleteUserSecretUnauthorized handles this case with default header values.

Invalid credentials

func NewDeleteUserSecretUnauthorized

func NewDeleteUserSecretUnauthorized() *DeleteUserSecretUnauthorized

NewDeleteUserSecretUnauthorized creates a DeleteUserSecretUnauthorized with default headers values

func (*DeleteUserSecretUnauthorized) Error

type DiffUserSecretsInternalServerError

type DiffUserSecretsInternalServerError struct {
	Payload *secrets_models.Message
}

DiffUserSecretsInternalServerError handles this case with default header values.

Server Error

func NewDiffUserSecretsInternalServerError

func NewDiffUserSecretsInternalServerError() *DiffUserSecretsInternalServerError

NewDiffUserSecretsInternalServerError creates a DiffUserSecretsInternalServerError with default headers values

func (*DiffUserSecretsInternalServerError) Error

type DiffUserSecretsNotFound

type DiffUserSecretsNotFound struct {
	Payload *secrets_models.Message
}

DiffUserSecretsNotFound handles this case with default header values.

Not Found

func NewDiffUserSecretsNotFound

func NewDiffUserSecretsNotFound() *DiffUserSecretsNotFound

NewDiffUserSecretsNotFound creates a DiffUserSecretsNotFound with default headers values

func (*DiffUserSecretsNotFound) Error

func (o *DiffUserSecretsNotFound) Error() string

type DiffUserSecretsOK

type DiffUserSecretsOK struct {
	Payload *secrets_models.UserSecretDiff
}

DiffUserSecretsOK handles this case with default header values.

Success

func NewDiffUserSecretsOK

func NewDiffUserSecretsOK() *DiffUserSecretsOK

NewDiffUserSecretsOK creates a DiffUserSecretsOK with default headers values

func (*DiffUserSecretsOK) Error

func (o *DiffUserSecretsOK) Error() string

type DiffUserSecretsParams

type DiffUserSecretsParams struct {

	/*OrganizationID
	  Organization-id of organization to diff users against

	*/
	OrganizationID strfmt.UUID
	/*UserID
	  User-id of user to diff secrets with

	*/
	UserID strfmt.UUID

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

DiffUserSecretsParams contains all the parameters to send to the API endpoint for the diff user secrets operation typically these are written to a http.Request

func NewDiffUserSecretsParams

func NewDiffUserSecretsParams() *DiffUserSecretsParams

NewDiffUserSecretsParams creates a new DiffUserSecretsParams object with the default values initialized.

func NewDiffUserSecretsParamsWithContext

func NewDiffUserSecretsParamsWithContext(ctx context.Context) *DiffUserSecretsParams

NewDiffUserSecretsParamsWithContext creates a new DiffUserSecretsParams object with the default values initialized, and the ability to set a context for a request

func NewDiffUserSecretsParamsWithHTTPClient

func NewDiffUserSecretsParamsWithHTTPClient(client *http.Client) *DiffUserSecretsParams

NewDiffUserSecretsParamsWithHTTPClient creates a new DiffUserSecretsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDiffUserSecretsParamsWithTimeout

func NewDiffUserSecretsParamsWithTimeout(timeout time.Duration) *DiffUserSecretsParams

NewDiffUserSecretsParamsWithTimeout creates a new DiffUserSecretsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DiffUserSecretsParams) SetContext

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

SetContext adds the context to the diff user secrets params

func (*DiffUserSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the diff user secrets params

func (*DiffUserSecretsParams) SetOrganizationID

func (o *DiffUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)

SetOrganizationID adds the organizationId to the diff user secrets params

func (*DiffUserSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the diff user secrets params

func (*DiffUserSecretsParams) SetUserID

func (o *DiffUserSecretsParams) SetUserID(userID strfmt.UUID)

SetUserID adds the userId to the diff user secrets params

func (*DiffUserSecretsParams) WithContext

WithContext adds the context to the diff user secrets params

func (*DiffUserSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the diff user secrets params

func (*DiffUserSecretsParams) WithOrganizationID

func (o *DiffUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *DiffUserSecretsParams

WithOrganizationID adds the organizationID to the diff user secrets params

func (*DiffUserSecretsParams) WithTimeout

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

WithTimeout adds the timeout to the diff user secrets params

func (*DiffUserSecretsParams) WithUserID

func (o *DiffUserSecretsParams) WithUserID(userID strfmt.UUID) *DiffUserSecretsParams

WithUserID adds the userID to the diff user secrets params

func (*DiffUserSecretsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DiffUserSecretsReader

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

DiffUserSecretsReader is a Reader for the DiffUserSecrets structure.

func (*DiffUserSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiffUserSecretsUnauthorized

type DiffUserSecretsUnauthorized struct {
	Payload *secrets_models.Message
}

DiffUserSecretsUnauthorized handles this case with default header values.

Invalid credentials

func NewDiffUserSecretsUnauthorized

func NewDiffUserSecretsUnauthorized() *DiffUserSecretsUnauthorized

NewDiffUserSecretsUnauthorized creates a DiffUserSecretsUnauthorized with default headers values

func (*DiffUserSecretsUnauthorized) Error

type GetAllUserSecretsInternalServerError

type GetAllUserSecretsInternalServerError struct {
	Payload *secrets_models.Message
}

GetAllUserSecretsInternalServerError handles this case with default header values.

Server Error

func NewGetAllUserSecretsInternalServerError

func NewGetAllUserSecretsInternalServerError() *GetAllUserSecretsInternalServerError

NewGetAllUserSecretsInternalServerError creates a GetAllUserSecretsInternalServerError with default headers values

func (*GetAllUserSecretsInternalServerError) Error

type GetAllUserSecretsOK

type GetAllUserSecretsOK struct {
	Payload []*secrets_models.UserSecret
}

GetAllUserSecretsOK handles this case with default header values.

Success

func NewGetAllUserSecretsOK

func NewGetAllUserSecretsOK() *GetAllUserSecretsOK

NewGetAllUserSecretsOK creates a GetAllUserSecretsOK with default headers values

func (*GetAllUserSecretsOK) Error

func (o *GetAllUserSecretsOK) Error() string

type GetAllUserSecretsParams

type GetAllUserSecretsParams struct {

	/*OrganizationID
	  Organization-id of organization to scope the query to

	*/
	OrganizationID strfmt.UUID

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

GetAllUserSecretsParams contains all the parameters to send to the API endpoint for the get all user secrets operation typically these are written to a http.Request

func NewGetAllUserSecretsParams

func NewGetAllUserSecretsParams() *GetAllUserSecretsParams

NewGetAllUserSecretsParams creates a new GetAllUserSecretsParams object with the default values initialized.

func NewGetAllUserSecretsParamsWithContext

func NewGetAllUserSecretsParamsWithContext(ctx context.Context) *GetAllUserSecretsParams

NewGetAllUserSecretsParamsWithContext creates a new GetAllUserSecretsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllUserSecretsParamsWithHTTPClient

func NewGetAllUserSecretsParamsWithHTTPClient(client *http.Client) *GetAllUserSecretsParams

NewGetAllUserSecretsParamsWithHTTPClient creates a new GetAllUserSecretsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllUserSecretsParamsWithTimeout

func NewGetAllUserSecretsParamsWithTimeout(timeout time.Duration) *GetAllUserSecretsParams

NewGetAllUserSecretsParamsWithTimeout creates a new GetAllUserSecretsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllUserSecretsParams) SetContext

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

SetContext adds the context to the get all user secrets params

func (*GetAllUserSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all user secrets params

func (*GetAllUserSecretsParams) SetOrganizationID

func (o *GetAllUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)

SetOrganizationID adds the organizationId to the get all user secrets params

func (*GetAllUserSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the get all user secrets params

func (*GetAllUserSecretsParams) WithContext

WithContext adds the context to the get all user secrets params

func (*GetAllUserSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all user secrets params

func (*GetAllUserSecretsParams) WithOrganizationID

func (o *GetAllUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *GetAllUserSecretsParams

WithOrganizationID adds the organizationID to the get all user secrets params

func (*GetAllUserSecretsParams) WithTimeout

WithTimeout adds the timeout to the get all user secrets params

func (*GetAllUserSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllUserSecretsReader

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

GetAllUserSecretsReader is a Reader for the GetAllUserSecrets structure.

func (*GetAllUserSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllUserSecretsUnauthorized

type GetAllUserSecretsUnauthorized struct {
	Payload *secrets_models.Message
}

GetAllUserSecretsUnauthorized handles this case with default header values.

Invalid credentials

func NewGetAllUserSecretsUnauthorized

func NewGetAllUserSecretsUnauthorized() *GetAllUserSecretsUnauthorized

NewGetAllUserSecretsUnauthorized creates a GetAllUserSecretsUnauthorized with default headers values

func (*GetAllUserSecretsUnauthorized) Error

type GetDefinitionsInternalServerError

type GetDefinitionsInternalServerError struct {
	Payload *secrets_models.Message
}

GetDefinitionsInternalServerError handles this case with default header values.

Server Error

func NewGetDefinitionsInternalServerError

func NewGetDefinitionsInternalServerError() *GetDefinitionsInternalServerError

NewGetDefinitionsInternalServerError creates a GetDefinitionsInternalServerError with default headers values

func (*GetDefinitionsInternalServerError) Error

type GetDefinitionsNotFound

type GetDefinitionsNotFound struct {
	Payload *secrets_models.Message
}

GetDefinitionsNotFound handles this case with default header values.

Not Found

func NewGetDefinitionsNotFound

func NewGetDefinitionsNotFound() *GetDefinitionsNotFound

NewGetDefinitionsNotFound creates a GetDefinitionsNotFound with default headers values

func (*GetDefinitionsNotFound) Error

func (o *GetDefinitionsNotFound) Error() string

type GetDefinitionsOK

type GetDefinitionsOK struct {
	Payload []*secrets_models.SecretDefinition
}

GetDefinitionsOK handles this case with default header values.

Success

func NewGetDefinitionsOK

func NewGetDefinitionsOK() *GetDefinitionsOK

NewGetDefinitionsOK creates a GetDefinitionsOK with default headers values

func (*GetDefinitionsOK) Error

func (o *GetDefinitionsOK) Error() string

type GetDefinitionsParams

type GetDefinitionsParams struct {

	/*ProjectID
	  ID of Project to retrieve public key for

	*/
	ProjectID strfmt.UUID

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

GetDefinitionsParams contains all the parameters to send to the API endpoint for the get definitions operation typically these are written to a http.Request

func NewGetDefinitionsParams

func NewGetDefinitionsParams() *GetDefinitionsParams

NewGetDefinitionsParams creates a new GetDefinitionsParams object with the default values initialized.

func NewGetDefinitionsParamsWithContext

func NewGetDefinitionsParamsWithContext(ctx context.Context) *GetDefinitionsParams

NewGetDefinitionsParamsWithContext creates a new GetDefinitionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDefinitionsParamsWithHTTPClient

func NewGetDefinitionsParamsWithHTTPClient(client *http.Client) *GetDefinitionsParams

NewGetDefinitionsParamsWithHTTPClient creates a new GetDefinitionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDefinitionsParamsWithTimeout

func NewGetDefinitionsParamsWithTimeout(timeout time.Duration) *GetDefinitionsParams

NewGetDefinitionsParamsWithTimeout creates a new GetDefinitionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDefinitionsParams) SetContext

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

SetContext adds the context to the get definitions params

func (*GetDefinitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get definitions params

func (*GetDefinitionsParams) SetProjectID

func (o *GetDefinitionsParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the get definitions params

func (*GetDefinitionsParams) SetTimeout

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

SetTimeout adds the timeout to the get definitions params

func (*GetDefinitionsParams) WithContext

WithContext adds the context to the get definitions params

func (*GetDefinitionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get definitions params

func (*GetDefinitionsParams) WithProjectID

func (o *GetDefinitionsParams) WithProjectID(projectID strfmt.UUID) *GetDefinitionsParams

WithProjectID adds the projectID to the get definitions params

func (*GetDefinitionsParams) WithTimeout

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

WithTimeout adds the timeout to the get definitions params

func (*GetDefinitionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDefinitionsReader

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

GetDefinitionsReader is a Reader for the GetDefinitions structure.

func (*GetDefinitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDefinitionsUnauthorized

type GetDefinitionsUnauthorized struct {
	Payload *secrets_models.Message
}

GetDefinitionsUnauthorized handles this case with default header values.

Invalid credentials

func NewGetDefinitionsUnauthorized

func NewGetDefinitionsUnauthorized() *GetDefinitionsUnauthorized

NewGetDefinitionsUnauthorized creates a GetDefinitionsUnauthorized with default headers values

func (*GetDefinitionsUnauthorized) Error

type SaveAllUserSecretsInternalServerError

type SaveAllUserSecretsInternalServerError struct {
	Payload *secrets_models.Message
}

SaveAllUserSecretsInternalServerError handles this case with default header values.

Server Error

func NewSaveAllUserSecretsInternalServerError

func NewSaveAllUserSecretsInternalServerError() *SaveAllUserSecretsInternalServerError

NewSaveAllUserSecretsInternalServerError creates a SaveAllUserSecretsInternalServerError with default headers values

func (*SaveAllUserSecretsInternalServerError) Error

type SaveAllUserSecretsNoContent

type SaveAllUserSecretsNoContent struct {
}

SaveAllUserSecretsNoContent handles this case with default header values.

Success

func NewSaveAllUserSecretsNoContent

func NewSaveAllUserSecretsNoContent() *SaveAllUserSecretsNoContent

NewSaveAllUserSecretsNoContent creates a SaveAllUserSecretsNoContent with default headers values

func (*SaveAllUserSecretsNoContent) Error

type SaveAllUserSecretsParams

type SaveAllUserSecretsParams struct {

	/*OrganizationID
	  Organization-id of organization to store the secrets against

	*/
	OrganizationID strfmt.UUID
	/*UserSecrets
	  Collection of secrets to create or update

	*/
	UserSecrets []*secrets_models.UserSecretChange

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

SaveAllUserSecretsParams contains all the parameters to send to the API endpoint for the save all user secrets operation typically these are written to a http.Request

func NewSaveAllUserSecretsParams

func NewSaveAllUserSecretsParams() *SaveAllUserSecretsParams

NewSaveAllUserSecretsParams creates a new SaveAllUserSecretsParams object with the default values initialized.

func NewSaveAllUserSecretsParamsWithContext

func NewSaveAllUserSecretsParamsWithContext(ctx context.Context) *SaveAllUserSecretsParams

NewSaveAllUserSecretsParamsWithContext creates a new SaveAllUserSecretsParams object with the default values initialized, and the ability to set a context for a request

func NewSaveAllUserSecretsParamsWithHTTPClient

func NewSaveAllUserSecretsParamsWithHTTPClient(client *http.Client) *SaveAllUserSecretsParams

NewSaveAllUserSecretsParamsWithHTTPClient creates a new SaveAllUserSecretsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSaveAllUserSecretsParamsWithTimeout

func NewSaveAllUserSecretsParamsWithTimeout(timeout time.Duration) *SaveAllUserSecretsParams

NewSaveAllUserSecretsParamsWithTimeout creates a new SaveAllUserSecretsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SaveAllUserSecretsParams) SetContext

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

SetContext adds the context to the save all user secrets params

func (*SaveAllUserSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save all user secrets params

func (*SaveAllUserSecretsParams) SetOrganizationID

func (o *SaveAllUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)

SetOrganizationID adds the organizationId to the save all user secrets params

func (*SaveAllUserSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the save all user secrets params

func (*SaveAllUserSecretsParams) SetUserSecrets

func (o *SaveAllUserSecretsParams) SetUserSecrets(userSecrets []*secrets_models.UserSecretChange)

SetUserSecrets adds the userSecrets to the save all user secrets params

func (*SaveAllUserSecretsParams) WithContext

WithContext adds the context to the save all user secrets params

func (*SaveAllUserSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the save all user secrets params

func (*SaveAllUserSecretsParams) WithOrganizationID

func (o *SaveAllUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *SaveAllUserSecretsParams

WithOrganizationID adds the organizationID to the save all user secrets params

func (*SaveAllUserSecretsParams) WithTimeout

WithTimeout adds the timeout to the save all user secrets params

func (*SaveAllUserSecretsParams) WithUserSecrets

WithUserSecrets adds the userSecrets to the save all user secrets params

func (*SaveAllUserSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SaveAllUserSecretsReader

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

SaveAllUserSecretsReader is a Reader for the SaveAllUserSecrets structure.

func (*SaveAllUserSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveAllUserSecretsUnauthorized

type SaveAllUserSecretsUnauthorized struct {
	Payload *secrets_models.Message
}

SaveAllUserSecretsUnauthorized handles this case with default header values.

Invalid credentials

func NewSaveAllUserSecretsUnauthorized

func NewSaveAllUserSecretsUnauthorized() *SaveAllUserSecretsUnauthorized

NewSaveAllUserSecretsUnauthorized creates a SaveAllUserSecretsUnauthorized with default headers values

func (*SaveAllUserSecretsUnauthorized) Error

type SaveDefinitionInternalServerError

type SaveDefinitionInternalServerError struct {
	Payload *secrets_models.Message
}

SaveDefinitionInternalServerError handles this case with default header values.

Server Error

func NewSaveDefinitionInternalServerError

func NewSaveDefinitionInternalServerError() *SaveDefinitionInternalServerError

NewSaveDefinitionInternalServerError creates a SaveDefinitionInternalServerError with default headers values

func (*SaveDefinitionInternalServerError) Error

type SaveDefinitionNoContent

type SaveDefinitionNoContent struct {
}

SaveDefinitionNoContent handles this case with default header values.

Success

func NewSaveDefinitionNoContent

func NewSaveDefinitionNoContent() *SaveDefinitionNoContent

NewSaveDefinitionNoContent creates a SaveDefinitionNoContent with default headers values

func (*SaveDefinitionNoContent) Error

func (o *SaveDefinitionNoContent) Error() string

type SaveDefinitionParams

type SaveDefinitionParams struct {

	/*Definition
	  The definition to save

	*/
	Definition *secrets_models.SecretDefinition
	/*ProjectID
	  ID of Project to retrieve public key for

	*/
	ProjectID strfmt.UUID

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

SaveDefinitionParams contains all the parameters to send to the API endpoint for the save definition operation typically these are written to a http.Request

func NewSaveDefinitionParams

func NewSaveDefinitionParams() *SaveDefinitionParams

NewSaveDefinitionParams creates a new SaveDefinitionParams object with the default values initialized.

func NewSaveDefinitionParamsWithContext

func NewSaveDefinitionParamsWithContext(ctx context.Context) *SaveDefinitionParams

NewSaveDefinitionParamsWithContext creates a new SaveDefinitionParams object with the default values initialized, and the ability to set a context for a request

func NewSaveDefinitionParamsWithHTTPClient

func NewSaveDefinitionParamsWithHTTPClient(client *http.Client) *SaveDefinitionParams

NewSaveDefinitionParamsWithHTTPClient creates a new SaveDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSaveDefinitionParamsWithTimeout

func NewSaveDefinitionParamsWithTimeout(timeout time.Duration) *SaveDefinitionParams

NewSaveDefinitionParamsWithTimeout creates a new SaveDefinitionParams object with the default values initialized, and the ability to set a timeout on a request

func (*SaveDefinitionParams) SetContext

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

SetContext adds the context to the save definition params

func (*SaveDefinitionParams) SetDefinition

func (o *SaveDefinitionParams) SetDefinition(definition *secrets_models.SecretDefinition)

SetDefinition adds the definition to the save definition params

func (*SaveDefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save definition params

func (*SaveDefinitionParams) SetProjectID

func (o *SaveDefinitionParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the save definition params

func (*SaveDefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the save definition params

func (*SaveDefinitionParams) WithContext

WithContext adds the context to the save definition params

func (*SaveDefinitionParams) WithDefinition

WithDefinition adds the definition to the save definition params

func (*SaveDefinitionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the save definition params

func (*SaveDefinitionParams) WithProjectID

func (o *SaveDefinitionParams) WithProjectID(projectID strfmt.UUID) *SaveDefinitionParams

WithProjectID adds the projectID to the save definition params

func (*SaveDefinitionParams) WithTimeout

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

WithTimeout adds the timeout to the save definition params

func (*SaveDefinitionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SaveDefinitionReader

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

SaveDefinitionReader is a Reader for the SaveDefinition structure.

func (*SaveDefinitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveDefinitionUnauthorized

type SaveDefinitionUnauthorized struct {
	Payload *secrets_models.Message
}

SaveDefinitionUnauthorized handles this case with default header values.

Invalid credentials

func NewSaveDefinitionUnauthorized

func NewSaveDefinitionUnauthorized() *SaveDefinitionUnauthorized

NewSaveDefinitionUnauthorized creates a SaveDefinitionUnauthorized with default headers values

func (*SaveDefinitionUnauthorized) Error

type ShareUserSecretsInternalServerError

type ShareUserSecretsInternalServerError struct {
	Payload *secrets_models.Message
}

ShareUserSecretsInternalServerError handles this case with default header values.

Server Error

func NewShareUserSecretsInternalServerError

func NewShareUserSecretsInternalServerError() *ShareUserSecretsInternalServerError

NewShareUserSecretsInternalServerError creates a ShareUserSecretsInternalServerError with default headers values

func (*ShareUserSecretsInternalServerError) Error

type ShareUserSecretsNoContent

type ShareUserSecretsNoContent struct {
}

ShareUserSecretsNoContent handles this case with default header values.

Success

func NewShareUserSecretsNoContent

func NewShareUserSecretsNoContent() *ShareUserSecretsNoContent

NewShareUserSecretsNoContent creates a ShareUserSecretsNoContent with default headers values

func (*ShareUserSecretsNoContent) Error

func (o *ShareUserSecretsNoContent) Error() string

type ShareUserSecretsParams

type ShareUserSecretsParams struct {

	/*OrganizationID
	  Organization-id of organization to store the secrets against

	*/
	OrganizationID strfmt.UUID
	/*UserID
	  User-id of user to update secrets against

	*/
	UserID strfmt.UUID
	/*UserSecrets
	  Collection of secrets to create or update

	*/
	UserSecrets []*secrets_models.UserSecretShare

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

ShareUserSecretsParams contains all the parameters to send to the API endpoint for the share user secrets operation typically these are written to a http.Request

func NewShareUserSecretsParams

func NewShareUserSecretsParams() *ShareUserSecretsParams

NewShareUserSecretsParams creates a new ShareUserSecretsParams object with the default values initialized.

func NewShareUserSecretsParamsWithContext

func NewShareUserSecretsParamsWithContext(ctx context.Context) *ShareUserSecretsParams

NewShareUserSecretsParamsWithContext creates a new ShareUserSecretsParams object with the default values initialized, and the ability to set a context for a request

func NewShareUserSecretsParamsWithHTTPClient

func NewShareUserSecretsParamsWithHTTPClient(client *http.Client) *ShareUserSecretsParams

NewShareUserSecretsParamsWithHTTPClient creates a new ShareUserSecretsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewShareUserSecretsParamsWithTimeout

func NewShareUserSecretsParamsWithTimeout(timeout time.Duration) *ShareUserSecretsParams

NewShareUserSecretsParamsWithTimeout creates a new ShareUserSecretsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ShareUserSecretsParams) SetContext

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

SetContext adds the context to the share user secrets params

func (*ShareUserSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the share user secrets params

func (*ShareUserSecretsParams) SetOrganizationID

func (o *ShareUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)

SetOrganizationID adds the organizationId to the share user secrets params

func (*ShareUserSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the share user secrets params

func (*ShareUserSecretsParams) SetUserID

func (o *ShareUserSecretsParams) SetUserID(userID strfmt.UUID)

SetUserID adds the userId to the share user secrets params

func (*ShareUserSecretsParams) SetUserSecrets

func (o *ShareUserSecretsParams) SetUserSecrets(userSecrets []*secrets_models.UserSecretShare)

SetUserSecrets adds the userSecrets to the share user secrets params

func (*ShareUserSecretsParams) WithContext

WithContext adds the context to the share user secrets params

func (*ShareUserSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the share user secrets params

func (*ShareUserSecretsParams) WithOrganizationID

func (o *ShareUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *ShareUserSecretsParams

WithOrganizationID adds the organizationID to the share user secrets params

func (*ShareUserSecretsParams) WithTimeout

WithTimeout adds the timeout to the share user secrets params

func (*ShareUserSecretsParams) WithUserID

WithUserID adds the userID to the share user secrets params

func (*ShareUserSecretsParams) WithUserSecrets

WithUserSecrets adds the userSecrets to the share user secrets params

func (*ShareUserSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ShareUserSecretsReader

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

ShareUserSecretsReader is a Reader for the ShareUserSecrets structure.

func (*ShareUserSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShareUserSecretsUnauthorized

type ShareUserSecretsUnauthorized struct {
	Payload *secrets_models.Message
}

ShareUserSecretsUnauthorized handles this case with default header values.

Invalid credentials

func NewShareUserSecretsUnauthorized

func NewShareUserSecretsUnauthorized() *ShareUserSecretsUnauthorized

NewShareUserSecretsUnauthorized creates a ShareUserSecretsUnauthorized with default headers values

func (*ShareUserSecretsUnauthorized) Error

Jump to

Keyboard shortcuts

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