secret

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSecretBadRequest added in v0.1.13

type AddSecretBadRequest struct {
	Payload *models.Error
}

AddSecretBadRequest handles this case with default header values.

Bad Request

func NewAddSecretBadRequest added in v0.1.13

func NewAddSecretBadRequest() *AddSecretBadRequest

NewAddSecretBadRequest creates a AddSecretBadRequest with default headers values

func (*AddSecretBadRequest) Error added in v0.1.13

func (o *AddSecretBadRequest) Error() string

type AddSecretConflict added in v0.1.13

type AddSecretConflict struct {
	Payload *models.Error
}

AddSecretConflict handles this case with default header values.

Already Exists

func NewAddSecretConflict added in v0.1.13

func NewAddSecretConflict() *AddSecretConflict

NewAddSecretConflict creates a AddSecretConflict with default headers values

func (*AddSecretConflict) Error added in v0.1.13

func (o *AddSecretConflict) Error() string

type AddSecretCreated

type AddSecretCreated struct {
	Payload *models.Secret
}

AddSecretCreated handles this case with default header values.

The created secret.

func NewAddSecretCreated

func NewAddSecretCreated() *AddSecretCreated

NewAddSecretCreated creates a AddSecretCreated with default headers values

func (*AddSecretCreated) Error

func (o *AddSecretCreated) Error() string

type AddSecretDefault

type AddSecretDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

AddSecretDefault handles this case with default header values.

Standard error

func NewAddSecretDefault

func NewAddSecretDefault(code int) *AddSecretDefault

NewAddSecretDefault creates a AddSecretDefault with default headers values

func (*AddSecretDefault) Code

func (o *AddSecretDefault) Code() int

Code gets the status code for the add secret default response

func (*AddSecretDefault) Error

func (o *AddSecretDefault) Error() string

type AddSecretParams

type AddSecretParams struct {

	/*Secret*/
	Secret *models.Secret

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

AddSecretParams contains all the parameters to send to the API endpoint for the add secret operation typically these are written to a http.Request

func NewAddSecretParams

func NewAddSecretParams() *AddSecretParams

NewAddSecretParams creates a new AddSecretParams object with the default values initialized.

func NewAddSecretParamsWithContext

func NewAddSecretParamsWithContext(ctx context.Context) *AddSecretParams

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

func NewAddSecretParamsWithHTTPClient

func NewAddSecretParamsWithHTTPClient(client *http.Client) *AddSecretParams

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

func NewAddSecretParamsWithTimeout

func NewAddSecretParamsWithTimeout(timeout time.Duration) *AddSecretParams

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

func (*AddSecretParams) SetContext

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

SetContext adds the context to the add secret params

func (*AddSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add secret params

func (*AddSecretParams) SetSecret

func (o *AddSecretParams) SetSecret(secret *models.Secret)

SetSecret adds the secret to the add secret params

func (*AddSecretParams) SetTimeout

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

SetTimeout adds the timeout to the add secret params

func (*AddSecretParams) WithContext

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

WithContext adds the context to the add secret params

func (*AddSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add secret params

func (*AddSecretParams) WithSecret

func (o *AddSecretParams) WithSecret(secret *models.Secret) *AddSecretParams

WithSecret adds the secret to the add secret params

func (*AddSecretParams) WithTimeout

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

WithTimeout adds the timeout to the add secret params

func (*AddSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddSecretReader

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

AddSecretReader is a Reader for the AddSecret structure.

func (*AddSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for secret API

func New

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

New creates a new secret API client.

func (*Client) AddSecret

func (a *Client) AddSecret(params *AddSecretParams, authInfo runtime.ClientAuthInfoWriter) (*AddSecretCreated, error)

AddSecret add secret API

func (*Client) DeleteSecret

func (a *Client) DeleteSecret(params *DeleteSecretParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSecretNoContent, error)

DeleteSecret delete secret API

func (*Client) GetSecret

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

GetSecret get secret API

func (*Client) GetSecrets

func (a *Client) GetSecrets(params *GetSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSecretsOK, error)

GetSecrets get secrets API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSecret

func (a *Client) UpdateSecret(params *UpdateSecretParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSecretCreated, error)

UpdateSecret update secret API

type DeleteSecretBadRequest added in v0.1.13

type DeleteSecretBadRequest struct {
	Payload *models.Error
}

DeleteSecretBadRequest handles this case with default header values.

Bad Request

func NewDeleteSecretBadRequest added in v0.1.13

func NewDeleteSecretBadRequest() *DeleteSecretBadRequest

NewDeleteSecretBadRequest creates a DeleteSecretBadRequest with default headers values

func (*DeleteSecretBadRequest) Error added in v0.1.13

func (o *DeleteSecretBadRequest) Error() string

type DeleteSecretDefault

type DeleteSecretDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteSecretDefault handles this case with default header values.

generic error

func NewDeleteSecretDefault

func NewDeleteSecretDefault(code int) *DeleteSecretDefault

NewDeleteSecretDefault creates a DeleteSecretDefault with default headers values

func (*DeleteSecretDefault) Code

func (o *DeleteSecretDefault) Code() int

Code gets the status code for the delete secret default response

func (*DeleteSecretDefault) Error

func (o *DeleteSecretDefault) Error() string

type DeleteSecretNoContent

type DeleteSecretNoContent struct {
}

DeleteSecretNoContent handles this case with default header values.

Successful deletion

func NewDeleteSecretNoContent

func NewDeleteSecretNoContent() *DeleteSecretNoContent

NewDeleteSecretNoContent creates a DeleteSecretNoContent with default headers values

func (*DeleteSecretNoContent) Error

func (o *DeleteSecretNoContent) Error() string

type DeleteSecretNotFound

type DeleteSecretNotFound struct {
	Payload *models.Error
}

DeleteSecretNotFound handles this case with default header values.

Resource Not Found if no secret exists with the given name

func NewDeleteSecretNotFound

func NewDeleteSecretNotFound() *DeleteSecretNotFound

NewDeleteSecretNotFound creates a DeleteSecretNotFound with default headers values

func (*DeleteSecretNotFound) Error

func (o *DeleteSecretNotFound) Error() string

type DeleteSecretParams

type DeleteSecretParams struct {

	/*SecretName*/
	SecretName string
	/*Tags
	  Filter based on tags

	*/
	Tags []string

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

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

func NewDeleteSecretParams

func NewDeleteSecretParams() *DeleteSecretParams

NewDeleteSecretParams creates a new DeleteSecretParams object with the default values initialized.

func NewDeleteSecretParamsWithContext

func NewDeleteSecretParamsWithContext(ctx context.Context) *DeleteSecretParams

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

func NewDeleteSecretParamsWithHTTPClient

func NewDeleteSecretParamsWithHTTPClient(client *http.Client) *DeleteSecretParams

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

func NewDeleteSecretParamsWithTimeout

func NewDeleteSecretParamsWithTimeout(timeout time.Duration) *DeleteSecretParams

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

func (*DeleteSecretParams) SetContext

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

SetContext adds the context to the delete secret params

func (*DeleteSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete secret params

func (*DeleteSecretParams) SetSecretName

func (o *DeleteSecretParams) SetSecretName(secretName string)

SetSecretName adds the secretName to the delete secret params

func (*DeleteSecretParams) SetTags added in v0.1.13

func (o *DeleteSecretParams) SetTags(tags []string)

SetTags adds the tags to the delete secret params

func (*DeleteSecretParams) SetTimeout

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

SetTimeout adds the timeout to the delete secret params

func (*DeleteSecretParams) WithContext

WithContext adds the context to the delete secret params

func (*DeleteSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete secret params

func (*DeleteSecretParams) WithSecretName

func (o *DeleteSecretParams) WithSecretName(secretName string) *DeleteSecretParams

WithSecretName adds the secretName to the delete secret params

func (*DeleteSecretParams) WithTags added in v0.1.13

func (o *DeleteSecretParams) WithTags(tags []string) *DeleteSecretParams

WithTags adds the tags to the delete secret params

func (*DeleteSecretParams) WithTimeout

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

WithTimeout adds the timeout to the delete secret params

func (*DeleteSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSecretReader

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

DeleteSecretReader is a Reader for the DeleteSecret structure.

func (*DeleteSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecretBadRequest added in v0.1.13

type GetSecretBadRequest struct {
	Payload *models.Error
}

GetSecretBadRequest handles this case with default header values.

Bad Request

func NewGetSecretBadRequest added in v0.1.13

func NewGetSecretBadRequest() *GetSecretBadRequest

NewGetSecretBadRequest creates a GetSecretBadRequest with default headers values

func (*GetSecretBadRequest) Error added in v0.1.13

func (o *GetSecretBadRequest) Error() string

type GetSecretDefault

type GetSecretDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetSecretDefault handles this case with default header values.

Standard error

func NewGetSecretDefault

func NewGetSecretDefault(code int) *GetSecretDefault

NewGetSecretDefault creates a GetSecretDefault with default headers values

func (*GetSecretDefault) Code

func (o *GetSecretDefault) Code() int

Code gets the status code for the get secret default response

func (*GetSecretDefault) Error

func (o *GetSecretDefault) Error() string

type GetSecretNotFound

type GetSecretNotFound struct {
	Payload *models.Error
}

GetSecretNotFound handles this case with default header values.

Resource Not Found if no secret exists with the given name

func NewGetSecretNotFound

func NewGetSecretNotFound() *GetSecretNotFound

NewGetSecretNotFound creates a GetSecretNotFound with default headers values

func (*GetSecretNotFound) Error

func (o *GetSecretNotFound) Error() string

type GetSecretOK

type GetSecretOK struct {
	Payload *models.Secret
}

GetSecretOK handles this case with default header values.

The secret identified by the secretName

func NewGetSecretOK

func NewGetSecretOK() *GetSecretOK

NewGetSecretOK creates a GetSecretOK with default headers values

func (*GetSecretOK) Error

func (o *GetSecretOK) Error() string

type GetSecretParams

type GetSecretParams struct {

	/*SecretName
	  name of the secret to operate on

	*/
	SecretName string
	/*Tags
	  Filter based on tags

	*/
	Tags []string

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

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

func NewGetSecretParams

func NewGetSecretParams() *GetSecretParams

NewGetSecretParams creates a new GetSecretParams object with the default values initialized.

func NewGetSecretParamsWithContext

func NewGetSecretParamsWithContext(ctx context.Context) *GetSecretParams

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

func NewGetSecretParamsWithHTTPClient

func NewGetSecretParamsWithHTTPClient(client *http.Client) *GetSecretParams

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

func NewGetSecretParamsWithTimeout

func NewGetSecretParamsWithTimeout(timeout time.Duration) *GetSecretParams

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

func (*GetSecretParams) SetContext

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

SetContext adds the context to the get secret params

func (*GetSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get secret params

func (*GetSecretParams) SetSecretName

func (o *GetSecretParams) SetSecretName(secretName string)

SetSecretName adds the secretName to the get secret params

func (*GetSecretParams) SetTags added in v0.1.13

func (o *GetSecretParams) SetTags(tags []string)

SetTags adds the tags to the get secret params

func (*GetSecretParams) SetTimeout

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

SetTimeout adds the timeout to the get secret params

func (*GetSecretParams) WithContext

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

WithContext adds the context to the get secret params

func (*GetSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get secret params

func (*GetSecretParams) WithSecretName

func (o *GetSecretParams) WithSecretName(secretName string) *GetSecretParams

WithSecretName adds the secretName to the get secret params

func (*GetSecretParams) WithTags added in v0.1.13

func (o *GetSecretParams) WithTags(tags []string) *GetSecretParams

WithTags adds the tags to the get secret params

func (*GetSecretParams) WithTimeout

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

WithTimeout adds the timeout to the get secret params

func (*GetSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSecretReader

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

GetSecretReader is a Reader for the GetSecret structure.

func (*GetSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecretsBadRequest added in v0.1.13

type GetSecretsBadRequest struct {
	Payload *models.Error
}

GetSecretsBadRequest handles this case with default header values.

Bad Request

func NewGetSecretsBadRequest added in v0.1.13

func NewGetSecretsBadRequest() *GetSecretsBadRequest

NewGetSecretsBadRequest creates a GetSecretsBadRequest with default headers values

func (*GetSecretsBadRequest) Error added in v0.1.13

func (o *GetSecretsBadRequest) Error() string

type GetSecretsDefault

type GetSecretsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetSecretsDefault handles this case with default header values.

Standard error

func NewGetSecretsDefault

func NewGetSecretsDefault(code int) *GetSecretsDefault

NewGetSecretsDefault creates a GetSecretsDefault with default headers values

func (*GetSecretsDefault) Code

func (o *GetSecretsDefault) Code() int

Code gets the status code for the get secrets default response

func (*GetSecretsDefault) Error

func (o *GetSecretsDefault) Error() string

type GetSecretsOK

type GetSecretsOK struct {
	Payload []*models.Secret
}

GetSecretsOK handles this case with default header values.

An array of registered secrets

func NewGetSecretsOK

func NewGetSecretsOK() *GetSecretsOK

NewGetSecretsOK creates a GetSecretsOK with default headers values

func (*GetSecretsOK) Error

func (o *GetSecretsOK) Error() string

type GetSecretsParams

type GetSecretsParams struct {

	/*Tags
	  Filter based on tags

	*/
	Tags []string

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

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

func NewGetSecretsParams

func NewGetSecretsParams() *GetSecretsParams

NewGetSecretsParams creates a new GetSecretsParams object with the default values initialized.

func NewGetSecretsParamsWithContext

func NewGetSecretsParamsWithContext(ctx context.Context) *GetSecretsParams

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

func NewGetSecretsParamsWithHTTPClient

func NewGetSecretsParamsWithHTTPClient(client *http.Client) *GetSecretsParams

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

func NewGetSecretsParamsWithTimeout

func NewGetSecretsParamsWithTimeout(timeout time.Duration) *GetSecretsParams

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

func (*GetSecretsParams) SetContext

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

SetContext adds the context to the get secrets params

func (*GetSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get secrets params

func (*GetSecretsParams) SetTags added in v0.1.13

func (o *GetSecretsParams) SetTags(tags []string)

SetTags adds the tags to the get secrets params

func (*GetSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the get secrets params

func (*GetSecretsParams) WithContext

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

WithContext adds the context to the get secrets params

func (*GetSecretsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get secrets params

func (*GetSecretsParams) WithTags added in v0.1.13

func (o *GetSecretsParams) WithTags(tags []string) *GetSecretsParams

WithTags adds the tags to the get secrets params

func (*GetSecretsParams) WithTimeout

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

WithTimeout adds the timeout to the get secrets params

func (*GetSecretsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSecretsReader

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

GetSecretsReader is a Reader for the GetSecrets structure.

func (*GetSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSecretBadRequest added in v0.1.13

type UpdateSecretBadRequest struct {
	Payload *models.Error
}

UpdateSecretBadRequest handles this case with default header values.

Bad Request

func NewUpdateSecretBadRequest added in v0.1.13

func NewUpdateSecretBadRequest() *UpdateSecretBadRequest

NewUpdateSecretBadRequest creates a UpdateSecretBadRequest with default headers values

func (*UpdateSecretBadRequest) Error added in v0.1.13

func (o *UpdateSecretBadRequest) Error() string

type UpdateSecretCreated

type UpdateSecretCreated struct {
	Payload *models.Secret
}

UpdateSecretCreated handles this case with default header values.

The updated secret

func NewUpdateSecretCreated

func NewUpdateSecretCreated() *UpdateSecretCreated

NewUpdateSecretCreated creates a UpdateSecretCreated with default headers values

func (*UpdateSecretCreated) Error

func (o *UpdateSecretCreated) Error() string

type UpdateSecretDefault

type UpdateSecretDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpdateSecretDefault handles this case with default header values.

generic error

func NewUpdateSecretDefault

func NewUpdateSecretDefault(code int) *UpdateSecretDefault

NewUpdateSecretDefault creates a UpdateSecretDefault with default headers values

func (*UpdateSecretDefault) Code

func (o *UpdateSecretDefault) Code() int

Code gets the status code for the update secret default response

func (*UpdateSecretDefault) Error

func (o *UpdateSecretDefault) Error() string

type UpdateSecretNotFound

type UpdateSecretNotFound struct {
	Payload *models.Error
}

UpdateSecretNotFound handles this case with default header values.

Resource Not Found if no secret exists with the given name

func NewUpdateSecretNotFound

func NewUpdateSecretNotFound() *UpdateSecretNotFound

NewUpdateSecretNotFound creates a UpdateSecretNotFound with default headers values

func (*UpdateSecretNotFound) Error

func (o *UpdateSecretNotFound) Error() string

type UpdateSecretParams

type UpdateSecretParams struct {

	/*Secret*/
	Secret *models.Secret
	/*SecretName*/
	SecretName string
	/*Tags
	  Filter based on tags

	*/
	Tags []string

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

UpdateSecretParams contains all the parameters to send to the API endpoint for the update secret operation typically these are written to a http.Request

func NewUpdateSecretParams

func NewUpdateSecretParams() *UpdateSecretParams

NewUpdateSecretParams creates a new UpdateSecretParams object with the default values initialized.

func NewUpdateSecretParamsWithContext

func NewUpdateSecretParamsWithContext(ctx context.Context) *UpdateSecretParams

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

func NewUpdateSecretParamsWithHTTPClient

func NewUpdateSecretParamsWithHTTPClient(client *http.Client) *UpdateSecretParams

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

func NewUpdateSecretParamsWithTimeout

func NewUpdateSecretParamsWithTimeout(timeout time.Duration) *UpdateSecretParams

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

func (*UpdateSecretParams) SetContext

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

SetContext adds the context to the update secret params

func (*UpdateSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update secret params

func (*UpdateSecretParams) SetSecret

func (o *UpdateSecretParams) SetSecret(secret *models.Secret)

SetSecret adds the secret to the update secret params

func (*UpdateSecretParams) SetSecretName

func (o *UpdateSecretParams) SetSecretName(secretName string)

SetSecretName adds the secretName to the update secret params

func (*UpdateSecretParams) SetTags added in v0.1.13

func (o *UpdateSecretParams) SetTags(tags []string)

SetTags adds the tags to the update secret params

func (*UpdateSecretParams) SetTimeout

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

SetTimeout adds the timeout to the update secret params

func (*UpdateSecretParams) WithContext

WithContext adds the context to the update secret params

func (*UpdateSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update secret params

func (*UpdateSecretParams) WithSecret

func (o *UpdateSecretParams) WithSecret(secret *models.Secret) *UpdateSecretParams

WithSecret adds the secret to the update secret params

func (*UpdateSecretParams) WithSecretName

func (o *UpdateSecretParams) WithSecretName(secretName string) *UpdateSecretParams

WithSecretName adds the secretName to the update secret params

func (*UpdateSecretParams) WithTags added in v0.1.13

func (o *UpdateSecretParams) WithTags(tags []string) *UpdateSecretParams

WithTags adds the tags to the update secret params

func (*UpdateSecretParams) WithTimeout

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

WithTimeout adds the timeout to the update secret params

func (*UpdateSecretParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSecretReader

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

UpdateSecretReader is a Reader for the UpdateSecret structure.

func (*UpdateSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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