Documentation ¶
Index ¶
- type ClearAllUserSecretsInternalServerError
- type ClearAllUserSecretsNoContent
- type ClearAllUserSecretsNotFound
- type ClearAllUserSecretsParams
- func NewClearAllUserSecretsParams() *ClearAllUserSecretsParams
- func NewClearAllUserSecretsParamsWithContext(ctx context.Context) *ClearAllUserSecretsParams
- func NewClearAllUserSecretsParamsWithHTTPClient(client *http.Client) *ClearAllUserSecretsParams
- func NewClearAllUserSecretsParamsWithTimeout(timeout time.Duration) *ClearAllUserSecretsParams
- func (o *ClearAllUserSecretsParams) SetContext(ctx context.Context)
- func (o *ClearAllUserSecretsParams) SetHTTPClient(client *http.Client)
- func (o *ClearAllUserSecretsParams) SetProjectID(projectID strfmt.UUID)
- func (o *ClearAllUserSecretsParams) SetTimeout(timeout time.Duration)
- func (o *ClearAllUserSecretsParams) WithContext(ctx context.Context) *ClearAllUserSecretsParams
- func (o *ClearAllUserSecretsParams) WithHTTPClient(client *http.Client) *ClearAllUserSecretsParams
- func (o *ClearAllUserSecretsParams) WithProjectID(projectID strfmt.UUID) *ClearAllUserSecretsParams
- func (o *ClearAllUserSecretsParams) WithTimeout(timeout time.Duration) *ClearAllUserSecretsParams
- func (o *ClearAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClearAllUserSecretsReader
- type ClearAllUserSecretsUnauthorized
- type Client
- func (a *Client) ClearAllUserSecrets(params *ClearAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*ClearAllUserSecretsNoContent, error)
- func (a *Client) DeleteUserSecret(params *DeleteUserSecretParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSecretNoContent, error)
- func (a *Client) DiffUserSecrets(params *DiffUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*DiffUserSecretsOK, error)
- func (a *Client) GetAllUserSecrets(params *GetAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllUserSecretsOK, error)
- func (a *Client) GetDefinitions(params *GetDefinitionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefinitionsOK, error)
- func (a *Client) SaveAllUserSecrets(params *SaveAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*SaveAllUserSecretsNoContent, error)
- func (a *Client) SaveDefinition(params *SaveDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*SaveDefinitionNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShareUserSecrets(params *ShareUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*ShareUserSecretsNoContent, error)
- type DeleteUserSecretInternalServerError
- type DeleteUserSecretNoContent
- type DeleteUserSecretNotFound
- type DeleteUserSecretParams
- func NewDeleteUserSecretParams() *DeleteUserSecretParams
- func NewDeleteUserSecretParamsWithContext(ctx context.Context) *DeleteUserSecretParams
- func NewDeleteUserSecretParamsWithHTTPClient(client *http.Client) *DeleteUserSecretParams
- func NewDeleteUserSecretParamsWithTimeout(timeout time.Duration) *DeleteUserSecretParams
- func (o *DeleteUserSecretParams) SetContext(ctx context.Context)
- func (o *DeleteUserSecretParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserSecretParams) SetSecretID(secretID strfmt.UUID)
- func (o *DeleteUserSecretParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserSecretParams) WithContext(ctx context.Context) *DeleteUserSecretParams
- func (o *DeleteUserSecretParams) WithHTTPClient(client *http.Client) *DeleteUserSecretParams
- func (o *DeleteUserSecretParams) WithSecretID(secretID strfmt.UUID) *DeleteUserSecretParams
- func (o *DeleteUserSecretParams) WithTimeout(timeout time.Duration) *DeleteUserSecretParams
- func (o *DeleteUserSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserSecretReader
- type DeleteUserSecretUnauthorized
- type DiffUserSecretsInternalServerError
- type DiffUserSecretsNotFound
- type DiffUserSecretsOK
- type DiffUserSecretsParams
- func NewDiffUserSecretsParams() *DiffUserSecretsParams
- func NewDiffUserSecretsParamsWithContext(ctx context.Context) *DiffUserSecretsParams
- func NewDiffUserSecretsParamsWithHTTPClient(client *http.Client) *DiffUserSecretsParams
- func NewDiffUserSecretsParamsWithTimeout(timeout time.Duration) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) SetContext(ctx context.Context)
- func (o *DiffUserSecretsParams) SetHTTPClient(client *http.Client)
- func (o *DiffUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)
- func (o *DiffUserSecretsParams) SetTimeout(timeout time.Duration)
- func (o *DiffUserSecretsParams) SetUserID(userID strfmt.UUID)
- func (o *DiffUserSecretsParams) WithContext(ctx context.Context) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) WithHTTPClient(client *http.Client) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) WithTimeout(timeout time.Duration) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) WithUserID(userID strfmt.UUID) *DiffUserSecretsParams
- func (o *DiffUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DiffUserSecretsReader
- type DiffUserSecretsUnauthorized
- type GetAllUserSecretsInternalServerError
- type GetAllUserSecretsOK
- type GetAllUserSecretsParams
- func NewGetAllUserSecretsParams() *GetAllUserSecretsParams
- func NewGetAllUserSecretsParamsWithContext(ctx context.Context) *GetAllUserSecretsParams
- func NewGetAllUserSecretsParamsWithHTTPClient(client *http.Client) *GetAllUserSecretsParams
- func NewGetAllUserSecretsParamsWithTimeout(timeout time.Duration) *GetAllUserSecretsParams
- func (o *GetAllUserSecretsParams) SetContext(ctx context.Context)
- func (o *GetAllUserSecretsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)
- func (o *GetAllUserSecretsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllUserSecretsParams) WithContext(ctx context.Context) *GetAllUserSecretsParams
- func (o *GetAllUserSecretsParams) WithHTTPClient(client *http.Client) *GetAllUserSecretsParams
- func (o *GetAllUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *GetAllUserSecretsParams
- func (o *GetAllUserSecretsParams) WithTimeout(timeout time.Duration) *GetAllUserSecretsParams
- func (o *GetAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllUserSecretsReader
- type GetAllUserSecretsUnauthorized
- type GetDefinitionsInternalServerError
- type GetDefinitionsNotFound
- type GetDefinitionsOK
- type GetDefinitionsParams
- func NewGetDefinitionsParams() *GetDefinitionsParams
- func NewGetDefinitionsParamsWithContext(ctx context.Context) *GetDefinitionsParams
- func NewGetDefinitionsParamsWithHTTPClient(client *http.Client) *GetDefinitionsParams
- func NewGetDefinitionsParamsWithTimeout(timeout time.Duration) *GetDefinitionsParams
- func (o *GetDefinitionsParams) SetContext(ctx context.Context)
- func (o *GetDefinitionsParams) SetHTTPClient(client *http.Client)
- func (o *GetDefinitionsParams) SetProjectID(projectID strfmt.UUID)
- func (o *GetDefinitionsParams) SetTimeout(timeout time.Duration)
- func (o *GetDefinitionsParams) WithContext(ctx context.Context) *GetDefinitionsParams
- func (o *GetDefinitionsParams) WithHTTPClient(client *http.Client) *GetDefinitionsParams
- func (o *GetDefinitionsParams) WithProjectID(projectID strfmt.UUID) *GetDefinitionsParams
- func (o *GetDefinitionsParams) WithTimeout(timeout time.Duration) *GetDefinitionsParams
- func (o *GetDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefinitionsReader
- type GetDefinitionsUnauthorized
- type SaveAllUserSecretsInternalServerError
- type SaveAllUserSecretsNoContent
- type SaveAllUserSecretsParams
- func NewSaveAllUserSecretsParams() *SaveAllUserSecretsParams
- func NewSaveAllUserSecretsParamsWithContext(ctx context.Context) *SaveAllUserSecretsParams
- func NewSaveAllUserSecretsParamsWithHTTPClient(client *http.Client) *SaveAllUserSecretsParams
- func NewSaveAllUserSecretsParamsWithTimeout(timeout time.Duration) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) SetContext(ctx context.Context)
- func (o *SaveAllUserSecretsParams) SetHTTPClient(client *http.Client)
- func (o *SaveAllUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)
- func (o *SaveAllUserSecretsParams) SetTimeout(timeout time.Duration)
- func (o *SaveAllUserSecretsParams) SetUserSecrets(userSecrets []*secrets_models.UserSecretChange)
- func (o *SaveAllUserSecretsParams) WithContext(ctx context.Context) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) WithHTTPClient(client *http.Client) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) WithTimeout(timeout time.Duration) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) WithUserSecrets(userSecrets []*secrets_models.UserSecretChange) *SaveAllUserSecretsParams
- func (o *SaveAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveAllUserSecretsReader
- type SaveAllUserSecretsUnauthorized
- type SaveDefinitionInternalServerError
- type SaveDefinitionNoContent
- type SaveDefinitionParams
- func NewSaveDefinitionParams() *SaveDefinitionParams
- func NewSaveDefinitionParamsWithContext(ctx context.Context) *SaveDefinitionParams
- func NewSaveDefinitionParamsWithHTTPClient(client *http.Client) *SaveDefinitionParams
- func NewSaveDefinitionParamsWithTimeout(timeout time.Duration) *SaveDefinitionParams
- func (o *SaveDefinitionParams) SetContext(ctx context.Context)
- func (o *SaveDefinitionParams) SetDefinition(definition *secrets_models.SecretDefinition)
- func (o *SaveDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *SaveDefinitionParams) SetProjectID(projectID strfmt.UUID)
- func (o *SaveDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *SaveDefinitionParams) WithContext(ctx context.Context) *SaveDefinitionParams
- func (o *SaveDefinitionParams) WithDefinition(definition *secrets_models.SecretDefinition) *SaveDefinitionParams
- func (o *SaveDefinitionParams) WithHTTPClient(client *http.Client) *SaveDefinitionParams
- func (o *SaveDefinitionParams) WithProjectID(projectID strfmt.UUID) *SaveDefinitionParams
- func (o *SaveDefinitionParams) WithTimeout(timeout time.Duration) *SaveDefinitionParams
- func (o *SaveDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveDefinitionReader
- type SaveDefinitionUnauthorized
- type ShareUserSecretsInternalServerError
- type ShareUserSecretsNoContent
- type ShareUserSecretsParams
- func NewShareUserSecretsParams() *ShareUserSecretsParams
- func NewShareUserSecretsParamsWithContext(ctx context.Context) *ShareUserSecretsParams
- func NewShareUserSecretsParamsWithHTTPClient(client *http.Client) *ShareUserSecretsParams
- func NewShareUserSecretsParamsWithTimeout(timeout time.Duration) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) SetContext(ctx context.Context)
- func (o *ShareUserSecretsParams) SetHTTPClient(client *http.Client)
- func (o *ShareUserSecretsParams) SetOrganizationID(organizationID strfmt.UUID)
- func (o *ShareUserSecretsParams) SetTimeout(timeout time.Duration)
- func (o *ShareUserSecretsParams) SetUserID(userID strfmt.UUID)
- func (o *ShareUserSecretsParams) SetUserSecrets(userSecrets []*secrets_models.UserSecretShare)
- func (o *ShareUserSecretsParams) WithContext(ctx context.Context) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WithHTTPClient(client *http.Client) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WithOrganizationID(organizationID strfmt.UUID) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WithTimeout(timeout time.Duration) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WithUserID(userID strfmt.UUID) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WithUserSecrets(userSecrets []*secrets_models.UserSecretShare) *ShareUserSecretsParams
- func (o *ShareUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShareUserSecretsReader
- type ShareUserSecretsUnauthorized
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 ¶
func (o *ClearAllUserSecretsInternalServerError) Error() string
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 ¶
func (o *ClearAllUserSecretsNoContent) Error() string
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 ¶
func (o *ClearAllUserSecretsNotFound) Error() string
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 ¶
func (o *ClearAllUserSecretsParams) WithContext(ctx context.Context) *ClearAllUserSecretsParams
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 ¶
func (o *ClearAllUserSecretsParams) WithTimeout(timeout time.Duration) *ClearAllUserSecretsParams
WithTimeout adds the timeout to the clear all user secrets params
func (*ClearAllUserSecretsParams) WriteToRequest ¶
func (o *ClearAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *ClearAllUserSecretsUnauthorized) Error() string
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 ¶
func (a *Client) ClearAllUserSecrets(params *ClearAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*ClearAllUserSecretsNoContent, error)
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 ¶
func (a *Client) SaveAllUserSecrets(params *SaveAllUserSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*SaveAllUserSecretsNoContent, error)
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 ¶
func (o *DeleteUserSecretInternalServerError) Error() string
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 ¶
func (o *DeleteUserSecretParams) WithContext(ctx context.Context) *DeleteUserSecretParams
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 ¶
func (o *DeleteUserSecretParams) WithTimeout(timeout time.Duration) *DeleteUserSecretParams
WithTimeout adds the timeout to the delete user secret params
func (*DeleteUserSecretParams) WriteToRequest ¶
func (o *DeleteUserSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteUserSecretUnauthorized) Error() string
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 ¶
func (o *DiffUserSecretsInternalServerError) Error() string
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 ¶
func (o *DiffUserSecretsParams) WithContext(ctx context.Context) *DiffUserSecretsParams
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 {
}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 ¶
func (o *DiffUserSecretsUnauthorized) Error() string
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 ¶
func (o *GetAllUserSecretsInternalServerError) Error() string
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 ¶
func (o *GetAllUserSecretsParams) WithContext(ctx context.Context) *GetAllUserSecretsParams
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 ¶
func (o *GetAllUserSecretsParams) WithTimeout(timeout time.Duration) *GetAllUserSecretsParams
WithTimeout adds the timeout to the get all user secrets params
func (*GetAllUserSecretsParams) WriteToRequest ¶
func (o *GetAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetAllUserSecretsUnauthorized) Error() string
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 ¶
func (o *GetDefinitionsInternalServerError) Error() string
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 ¶
func (o *GetDefinitionsParams) WithContext(ctx context.Context) *GetDefinitionsParams
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 {
}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 ¶
func (o *GetDefinitionsUnauthorized) Error() string
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 ¶
func (o *SaveAllUserSecretsInternalServerError) Error() string
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 ¶
func (o *SaveAllUserSecretsNoContent) Error() string
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 ¶
func (o *SaveAllUserSecretsParams) WithContext(ctx context.Context) *SaveAllUserSecretsParams
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 ¶
func (o *SaveAllUserSecretsParams) WithTimeout(timeout time.Duration) *SaveAllUserSecretsParams
WithTimeout adds the timeout to the save all user secrets params
func (*SaveAllUserSecretsParams) WithUserSecrets ¶
func (o *SaveAllUserSecretsParams) WithUserSecrets(userSecrets []*secrets_models.UserSecretChange) *SaveAllUserSecretsParams
WithUserSecrets adds the userSecrets to the save all user secrets params
func (*SaveAllUserSecretsParams) WriteToRequest ¶
func (o *SaveAllUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *SaveAllUserSecretsUnauthorized) Error() string
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 ¶
func (o *SaveDefinitionInternalServerError) Error() string
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 ¶
func (o *SaveDefinitionParams) WithContext(ctx context.Context) *SaveDefinitionParams
WithContext adds the context to the save definition params
func (*SaveDefinitionParams) WithDefinition ¶
func (o *SaveDefinitionParams) WithDefinition(definition *secrets_models.SecretDefinition) *SaveDefinitionParams
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 {
}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 ¶
func (o *SaveDefinitionUnauthorized) Error() string
type ShareUserSecretsInternalServerError ¶
type ShareUserSecretsInternalServerError struct {
}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 ¶
func (o *ShareUserSecretsInternalServerError) Error() string
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 { strfmt.UUID UserID strfmt.UUID UserSecrets []*secrets_models.UserSecretShare // contains filtered or unexported fields }OrganizationID
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 ¶
func (o *ShareUserSecretsParams) WithContext(ctx context.Context) *ShareUserSecretsParams
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 ¶
func (o *ShareUserSecretsParams) WithTimeout(timeout time.Duration) *ShareUserSecretsParams
WithTimeout adds the timeout to the share user secrets params
func (*ShareUserSecretsParams) WithUserID ¶
func (o *ShareUserSecretsParams) WithUserID(userID strfmt.UUID) *ShareUserSecretsParams
WithUserID adds the userID to the share user secrets params
func (*ShareUserSecretsParams) WithUserSecrets ¶
func (o *ShareUserSecretsParams) WithUserSecrets(userSecrets []*secrets_models.UserSecretShare) *ShareUserSecretsParams
WithUserSecrets adds the userSecrets to the share user secrets params
func (*ShareUserSecretsParams) WriteToRequest ¶
func (o *ShareUserSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *ShareUserSecretsUnauthorized) Error() string
Source Files ¶
- clear_all_user_secrets_parameters.go
- clear_all_user_secrets_responses.go
- delete_user_secret_parameters.go
- delete_user_secret_responses.go
- diff_user_secrets_parameters.go
- diff_user_secrets_responses.go
- get_all_user_secrets_parameters.go
- get_all_user_secrets_responses.go
- get_definitions_parameters.go
- get_definitions_responses.go
- save_all_user_secrets_parameters.go
- save_all_user_secrets_responses.go
- save_definition_parameters.go
- save_definition_responses.go
- secrets_client.go
- share_user_secrets_parameters.go
- share_user_secrets_responses.go