secrets

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for secrets API

func (*Client) CreateSecrets added in v1.2.0

func (a *Client) CreateSecrets(params *CreateSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSecretsOK, error)

CreateSecrets create secrets API

func (*Client) DeleteSecrets added in v1.1.0

func (a *Client) DeleteSecrets(params *DeleteSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSecretsOK, error)

DeleteSecrets delete secrets API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateSecrets(params *CreateSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSecretsOK, error)

	DeleteSecrets(params *DeleteSecretsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSecretsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new secrets API client.

type CreateSecretsOK added in v1.2.0

type CreateSecretsOK struct {
	Payload *models.Secret
}

CreateSecretsOK handles this case with default header values.

Success

func NewCreateSecretsOK added in v1.2.0

func NewCreateSecretsOK() *CreateSecretsOK

NewCreateSecretsOK creates a CreateSecretsOK with default headers values

func (*CreateSecretsOK) Error added in v1.2.0

func (o *CreateSecretsOK) Error() string

func (*CreateSecretsOK) GetPayload added in v1.2.0

func (o *CreateSecretsOK) GetPayload() *models.Secret

type CreateSecretsParams added in v1.2.0

type CreateSecretsParams struct {

	/*Secret*/
	Secret *models.Secret

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

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

func NewCreateSecretsParams added in v1.2.0

func NewCreateSecretsParams() *CreateSecretsParams

NewCreateSecretsParams creates a new CreateSecretsParams object with the default values initialized.

func NewCreateSecretsParamsWithContext added in v1.2.0

func NewCreateSecretsParamsWithContext(ctx context.Context) *CreateSecretsParams

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

func NewCreateSecretsParamsWithHTTPClient added in v1.2.0

func NewCreateSecretsParamsWithHTTPClient(client *http.Client) *CreateSecretsParams

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

func NewCreateSecretsParamsWithTimeout added in v1.2.0

func NewCreateSecretsParamsWithTimeout(timeout time.Duration) *CreateSecretsParams

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

func (*CreateSecretsParams) SetContext added in v1.2.0

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

SetContext adds the context to the create secrets params

func (*CreateSecretsParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the create secrets params

func (*CreateSecretsParams) SetSecret added in v1.2.0

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

SetSecret adds the secret to the create secrets params

func (*CreateSecretsParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the create secrets params

func (*CreateSecretsParams) WithContext added in v1.2.0

WithContext adds the context to the create secrets params

func (*CreateSecretsParams) WithHTTPClient added in v1.2.0

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

WithHTTPClient adds the HTTPClient to the create secrets params

func (*CreateSecretsParams) WithSecret added in v1.2.0

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

WithSecret adds the secret to the create secrets params

func (*CreateSecretsParams) WithTimeout added in v1.2.0

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

WithTimeout adds the timeout to the create secrets params

func (*CreateSecretsParams) WriteToRequest added in v1.2.0

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

WriteToRequest writes these params to a swagger request

type CreateSecretsReader added in v1.2.0

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

CreateSecretsReader is a Reader for the CreateSecrets structure.

func (*CreateSecretsReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type DeleteSecretsOK added in v1.1.0

type DeleteSecretsOK struct {
	Payload bool
}

DeleteSecretsOK handles this case with default header values.

Success

func NewDeleteSecretsOK added in v1.1.0

func NewDeleteSecretsOK() *DeleteSecretsOK

NewDeleteSecretsOK creates a DeleteSecretsOK with default headers values

func (*DeleteSecretsOK) Error added in v1.1.0

func (o *DeleteSecretsOK) Error() string

func (*DeleteSecretsOK) GetPayload added in v1.1.0

func (o *DeleteSecretsOK) GetPayload() bool

type DeleteSecretsParams added in v1.1.0

type DeleteSecretsParams struct {

	/*ClientID*/
	ClientID *string
	/*SecretID*/
	SecretID *int32

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

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

func NewDeleteSecretsParams added in v1.1.0

func NewDeleteSecretsParams() *DeleteSecretsParams

NewDeleteSecretsParams creates a new DeleteSecretsParams object with the default values initialized.

func NewDeleteSecretsParamsWithContext added in v1.1.0

func NewDeleteSecretsParamsWithContext(ctx context.Context) *DeleteSecretsParams

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

func NewDeleteSecretsParamsWithHTTPClient added in v1.1.0

func NewDeleteSecretsParamsWithHTTPClient(client *http.Client) *DeleteSecretsParams

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

func NewDeleteSecretsParamsWithTimeout added in v1.1.0

func NewDeleteSecretsParamsWithTimeout(timeout time.Duration) *DeleteSecretsParams

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

func (*DeleteSecretsParams) SetClientID added in v1.1.0

func (o *DeleteSecretsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the delete secrets params

func (*DeleteSecretsParams) SetContext added in v1.1.0

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

SetContext adds the context to the delete secrets params

func (*DeleteSecretsParams) SetHTTPClient added in v1.1.0

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

SetHTTPClient adds the HTTPClient to the delete secrets params

func (*DeleteSecretsParams) SetSecretID added in v1.1.0

func (o *DeleteSecretsParams) SetSecretID(secretID *int32)

SetSecretID adds the secretId to the delete secrets params

func (*DeleteSecretsParams) SetTimeout added in v1.1.0

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

SetTimeout adds the timeout to the delete secrets params

func (*DeleteSecretsParams) WithClientID added in v1.1.0

func (o *DeleteSecretsParams) WithClientID(clientID *string) *DeleteSecretsParams

WithClientID adds the clientID to the delete secrets params

func (*DeleteSecretsParams) WithContext added in v1.1.0

WithContext adds the context to the delete secrets params

func (*DeleteSecretsParams) WithHTTPClient added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the delete secrets params

func (*DeleteSecretsParams) WithSecretID added in v1.1.0

func (o *DeleteSecretsParams) WithSecretID(secretID *int32) *DeleteSecretsParams

WithSecretID adds the secretID to the delete secrets params

func (*DeleteSecretsParams) WithTimeout added in v1.1.0

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

WithTimeout adds the timeout to the delete secrets params

func (*DeleteSecretsParams) WriteToRequest added in v1.1.0

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

WriteToRequest writes these params to a swagger request

type DeleteSecretsReader added in v1.1.0

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

DeleteSecretsReader is a Reader for the DeleteSecrets structure.

func (*DeleteSecretsReader) ReadResponse added in v1.1.0

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