secrets

package
v0.0.0-...-fd776ef Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 13 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) SecretsChoicesList

func (a *Client) SecretsChoicesList(params *SecretsChoicesListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsChoicesListOK, error)

SecretsChoicesList secrets choices list API

func (*Client) SecretsChoicesRead

func (a *Client) SecretsChoicesRead(params *SecretsChoicesReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsChoicesReadOK, error)

SecretsChoicesRead secrets choices read API

func (*Client) SecretsGenerateRsaKeyPairList

func (a *Client) SecretsGenerateRsaKeyPairList(params *SecretsGenerateRsaKeyPairListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsGenerateRsaKeyPairListOK, error)

SecretsGenerateRsaKeyPairList this endpoint can be used to generate a new r s a key pair the keys are returned in p e m format

{
      "public_key": "<public key>",
      "private_key": "<private key>"
  }

func (*Client) SecretsGetSessionKeyCreate

SecretsGetSessionKeyCreate Retrieve a temporary session key to use for encrypting and decrypting secrets via the API. The user's private RSA

key is POSTed with the name `private_key`. An example:

curl -v -X POST -H "Authorization: Token <token>" -H "Accept: application/json; indent=4" \
--data-urlencode "private_key@<filename>" https://netbox/api/secrets/get-session-key/

This request will yield a base64-encoded session key to be included in an `X-Session-Key` header in future requests:

{
    "session_key": "+8t4SI6XikgVmB5+/urhozx9O5qCQANyOk1MNe6taRf="
}

This endpoint accepts one optional parameter: `preserve_key`. If True and a session key exists, the existing session key will be returned instead of a new one.

func (*Client) SecretsSecretRolesCreate

SecretsSecretRolesCreate secrets secret roles create API

func (*Client) SecretsSecretRolesDelete

SecretsSecretRolesDelete secrets secret roles delete API

func (*Client) SecretsSecretRolesList

func (a *Client) SecretsSecretRolesList(params *SecretsSecretRolesListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesListOK, error)

SecretsSecretRolesList Call to super to allow for caching

func (*Client) SecretsSecretRolesPartialUpdate

func (a *Client) SecretsSecretRolesPartialUpdate(params *SecretsSecretRolesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesPartialUpdateOK, error)

SecretsSecretRolesPartialUpdate secrets secret roles partial update API

func (*Client) SecretsSecretRolesRead

func (a *Client) SecretsSecretRolesRead(params *SecretsSecretRolesReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesReadOK, error)

SecretsSecretRolesRead Call to super to allow for caching

func (*Client) SecretsSecretRolesUpdate

func (a *Client) SecretsSecretRolesUpdate(params *SecretsSecretRolesUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesUpdateOK, error)

SecretsSecretRolesUpdate secrets secret roles update API

func (*Client) SecretsSecretsCreate

func (a *Client) SecretsSecretsCreate(params *SecretsSecretsCreateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsCreateCreated, error)

SecretsSecretsCreate secrets secrets create API

func (*Client) SecretsSecretsDelete

SecretsSecretsDelete secrets secrets delete API

func (*Client) SecretsSecretsList

func (a *Client) SecretsSecretsList(params *SecretsSecretsListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsListOK, error)

SecretsSecretsList secrets secrets list API

func (*Client) SecretsSecretsPartialUpdate

func (a *Client) SecretsSecretsPartialUpdate(params *SecretsSecretsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsPartialUpdateOK, error)

SecretsSecretsPartialUpdate secrets secrets partial update API

func (*Client) SecretsSecretsRead

func (a *Client) SecretsSecretsRead(params *SecretsSecretsReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsReadOK, error)

SecretsSecretsRead secrets secrets read API

func (*Client) SecretsSecretsUpdate

func (a *Client) SecretsSecretsUpdate(params *SecretsSecretsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsUpdateOK, error)

SecretsSecretsUpdate secrets secrets update API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	SecretsChoicesList(params *SecretsChoicesListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsChoicesListOK, error)

	SecretsChoicesRead(params *SecretsChoicesReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsChoicesReadOK, error)

	SecretsGenerateRsaKeyPairList(params *SecretsGenerateRsaKeyPairListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsGenerateRsaKeyPairListOK, error)

	SecretsGetSessionKeyCreate(params *SecretsGetSessionKeyCreateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsGetSessionKeyCreateCreated, error)

	SecretsSecretRolesCreate(params *SecretsSecretRolesCreateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesCreateCreated, error)

	SecretsSecretRolesDelete(params *SecretsSecretRolesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesDeleteNoContent, error)

	SecretsSecretRolesList(params *SecretsSecretRolesListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesListOK, error)

	SecretsSecretRolesPartialUpdate(params *SecretsSecretRolesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesPartialUpdateOK, error)

	SecretsSecretRolesRead(params *SecretsSecretRolesReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesReadOK, error)

	SecretsSecretRolesUpdate(params *SecretsSecretRolesUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretRolesUpdateOK, error)

	SecretsSecretsCreate(params *SecretsSecretsCreateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsCreateCreated, error)

	SecretsSecretsDelete(params *SecretsSecretsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsDeleteNoContent, error)

	SecretsSecretsList(params *SecretsSecretsListParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsListOK, error)

	SecretsSecretsPartialUpdate(params *SecretsSecretsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsPartialUpdateOK, error)

	SecretsSecretsRead(params *SecretsSecretsReadParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsReadOK, error)

	SecretsSecretsUpdate(params *SecretsSecretsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SecretsSecretsUpdateOK, 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 SecretsChoicesListOK

type SecretsChoicesListOK struct {
}

SecretsChoicesListOK handles this case with default header values.

SecretsChoicesListOK secrets choices list o k

func NewSecretsChoicesListOK

func NewSecretsChoicesListOK() *SecretsChoicesListOK

NewSecretsChoicesListOK creates a SecretsChoicesListOK with default headers values

func (*SecretsChoicesListOK) Error

func (o *SecretsChoicesListOK) Error() string

type SecretsChoicesListParams

type SecretsChoicesListParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SecretsChoicesListParams contains all the parameters to send to the API endpoint for the secrets choices list operation typically these are written to a http.Request

func NewSecretsChoicesListParams

func NewSecretsChoicesListParams() *SecretsChoicesListParams

NewSecretsChoicesListParams creates a new SecretsChoicesListParams object with the default values initialized.

func NewSecretsChoicesListParamsWithContext

func NewSecretsChoicesListParamsWithContext(ctx context.Context) *SecretsChoicesListParams

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

func NewSecretsChoicesListParamsWithHTTPClient

func NewSecretsChoicesListParamsWithHTTPClient(client *http.Client) *SecretsChoicesListParams

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

func NewSecretsChoicesListParamsWithTimeout

func NewSecretsChoicesListParamsWithTimeout(timeout time.Duration) *SecretsChoicesListParams

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

func (*SecretsChoicesListParams) SetContext

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

SetContext adds the context to the secrets choices list params

func (*SecretsChoicesListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets choices list params

func (*SecretsChoicesListParams) SetTimeout

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

SetTimeout adds the timeout to the secrets choices list params

func (*SecretsChoicesListParams) WithContext

WithContext adds the context to the secrets choices list params

func (*SecretsChoicesListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secrets choices list params

func (*SecretsChoicesListParams) WithTimeout

WithTimeout adds the timeout to the secrets choices list params

func (*SecretsChoicesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsChoicesListReader

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

SecretsChoicesListReader is a Reader for the SecretsChoicesList structure.

func (*SecretsChoicesListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsChoicesReadOK

type SecretsChoicesReadOK struct {
}

SecretsChoicesReadOK handles this case with default header values.

SecretsChoicesReadOK secrets choices read o k

func NewSecretsChoicesReadOK

func NewSecretsChoicesReadOK() *SecretsChoicesReadOK

NewSecretsChoicesReadOK creates a SecretsChoicesReadOK with default headers values

func (*SecretsChoicesReadOK) Error

func (o *SecretsChoicesReadOK) Error() string

type SecretsChoicesReadParams

type SecretsChoicesReadParams struct {

	/*ID*/
	ID string

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

SecretsChoicesReadParams contains all the parameters to send to the API endpoint for the secrets choices read operation typically these are written to a http.Request

func NewSecretsChoicesReadParams

func NewSecretsChoicesReadParams() *SecretsChoicesReadParams

NewSecretsChoicesReadParams creates a new SecretsChoicesReadParams object with the default values initialized.

func NewSecretsChoicesReadParamsWithContext

func NewSecretsChoicesReadParamsWithContext(ctx context.Context) *SecretsChoicesReadParams

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

func NewSecretsChoicesReadParamsWithHTTPClient

func NewSecretsChoicesReadParamsWithHTTPClient(client *http.Client) *SecretsChoicesReadParams

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

func NewSecretsChoicesReadParamsWithTimeout

func NewSecretsChoicesReadParamsWithTimeout(timeout time.Duration) *SecretsChoicesReadParams

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

func (*SecretsChoicesReadParams) SetContext

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

SetContext adds the context to the secrets choices read params

func (*SecretsChoicesReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets choices read params

func (*SecretsChoicesReadParams) SetID

func (o *SecretsChoicesReadParams) SetID(id string)

SetID adds the id to the secrets choices read params

func (*SecretsChoicesReadParams) SetTimeout

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

SetTimeout adds the timeout to the secrets choices read params

func (*SecretsChoicesReadParams) WithContext

WithContext adds the context to the secrets choices read params

func (*SecretsChoicesReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secrets choices read params

func (*SecretsChoicesReadParams) WithID

WithID adds the id to the secrets choices read params

func (*SecretsChoicesReadParams) WithTimeout

WithTimeout adds the timeout to the secrets choices read params

func (*SecretsChoicesReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsChoicesReadReader

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

SecretsChoicesReadReader is a Reader for the SecretsChoicesRead structure.

func (*SecretsChoicesReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsGenerateRsaKeyPairListOK

type SecretsGenerateRsaKeyPairListOK struct {
}

SecretsGenerateRsaKeyPairListOK handles this case with default header values.

SecretsGenerateRsaKeyPairListOK secrets generate rsa key pair list o k

func NewSecretsGenerateRsaKeyPairListOK

func NewSecretsGenerateRsaKeyPairListOK() *SecretsGenerateRsaKeyPairListOK

NewSecretsGenerateRsaKeyPairListOK creates a SecretsGenerateRsaKeyPairListOK with default headers values

func (*SecretsGenerateRsaKeyPairListOK) Error

type SecretsGenerateRsaKeyPairListParams

type SecretsGenerateRsaKeyPairListParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SecretsGenerateRsaKeyPairListParams contains all the parameters to send to the API endpoint for the secrets generate rsa key pair list operation typically these are written to a http.Request

func NewSecretsGenerateRsaKeyPairListParams

func NewSecretsGenerateRsaKeyPairListParams() *SecretsGenerateRsaKeyPairListParams

NewSecretsGenerateRsaKeyPairListParams creates a new SecretsGenerateRsaKeyPairListParams object with the default values initialized.

func NewSecretsGenerateRsaKeyPairListParamsWithContext

func NewSecretsGenerateRsaKeyPairListParamsWithContext(ctx context.Context) *SecretsGenerateRsaKeyPairListParams

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

func NewSecretsGenerateRsaKeyPairListParamsWithHTTPClient

func NewSecretsGenerateRsaKeyPairListParamsWithHTTPClient(client *http.Client) *SecretsGenerateRsaKeyPairListParams

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

func NewSecretsGenerateRsaKeyPairListParamsWithTimeout

func NewSecretsGenerateRsaKeyPairListParamsWithTimeout(timeout time.Duration) *SecretsGenerateRsaKeyPairListParams

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

func (*SecretsGenerateRsaKeyPairListParams) SetContext

SetContext adds the context to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) SetTimeout

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

SetTimeout adds the timeout to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) WithContext

WithContext adds the context to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) WithTimeout

WithTimeout adds the timeout to the secrets generate rsa key pair list params

func (*SecretsGenerateRsaKeyPairListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsGenerateRsaKeyPairListReader

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

SecretsGenerateRsaKeyPairListReader is a Reader for the SecretsGenerateRsaKeyPairList structure.

func (*SecretsGenerateRsaKeyPairListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsGetSessionKeyCreateCreated

type SecretsGetSessionKeyCreateCreated struct {
}

SecretsGetSessionKeyCreateCreated handles this case with default header values.

SecretsGetSessionKeyCreateCreated secrets get session key create created

func NewSecretsGetSessionKeyCreateCreated

func NewSecretsGetSessionKeyCreateCreated() *SecretsGetSessionKeyCreateCreated

NewSecretsGetSessionKeyCreateCreated creates a SecretsGetSessionKeyCreateCreated with default headers values

func (*SecretsGetSessionKeyCreateCreated) Error

type SecretsGetSessionKeyCreateParams

type SecretsGetSessionKeyCreateParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewSecretsGetSessionKeyCreateParams

func NewSecretsGetSessionKeyCreateParams() *SecretsGetSessionKeyCreateParams

NewSecretsGetSessionKeyCreateParams creates a new SecretsGetSessionKeyCreateParams object with the default values initialized.

func NewSecretsGetSessionKeyCreateParamsWithContext

func NewSecretsGetSessionKeyCreateParamsWithContext(ctx context.Context) *SecretsGetSessionKeyCreateParams

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

func NewSecretsGetSessionKeyCreateParamsWithHTTPClient

func NewSecretsGetSessionKeyCreateParamsWithHTTPClient(client *http.Client) *SecretsGetSessionKeyCreateParams

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

func NewSecretsGetSessionKeyCreateParamsWithTimeout

func NewSecretsGetSessionKeyCreateParamsWithTimeout(timeout time.Duration) *SecretsGetSessionKeyCreateParams

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

func (*SecretsGetSessionKeyCreateParams) SetContext

SetContext adds the context to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) WithContext

WithContext adds the context to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) WithTimeout

WithTimeout adds the timeout to the secrets get session key create params

func (*SecretsGetSessionKeyCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsGetSessionKeyCreateReader

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

SecretsGetSessionKeyCreateReader is a Reader for the SecretsGetSessionKeyCreate structure.

func (*SecretsGetSessionKeyCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesCreateCreated

type SecretsSecretRolesCreateCreated struct {
	Payload *models.SecretRole
}

SecretsSecretRolesCreateCreated handles this case with default header values.

SecretsSecretRolesCreateCreated secrets secret roles create created

func NewSecretsSecretRolesCreateCreated

func NewSecretsSecretRolesCreateCreated() *SecretsSecretRolesCreateCreated

NewSecretsSecretRolesCreateCreated creates a SecretsSecretRolesCreateCreated with default headers values

func (*SecretsSecretRolesCreateCreated) Error

func (*SecretsSecretRolesCreateCreated) GetPayload

type SecretsSecretRolesCreateParams

type SecretsSecretRolesCreateParams struct {

	/*Data*/
	Data *models.SecretRole

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

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

func NewSecretsSecretRolesCreateParams

func NewSecretsSecretRolesCreateParams() *SecretsSecretRolesCreateParams

NewSecretsSecretRolesCreateParams creates a new SecretsSecretRolesCreateParams object with the default values initialized.

func NewSecretsSecretRolesCreateParamsWithContext

func NewSecretsSecretRolesCreateParamsWithContext(ctx context.Context) *SecretsSecretRolesCreateParams

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

func NewSecretsSecretRolesCreateParamsWithHTTPClient

func NewSecretsSecretRolesCreateParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesCreateParams

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

func NewSecretsSecretRolesCreateParamsWithTimeout

func NewSecretsSecretRolesCreateParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesCreateParams

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

func (*SecretsSecretRolesCreateParams) SetContext

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

SetContext adds the context to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) SetData

SetData adds the data to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) WithContext

WithContext adds the context to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) WithData

WithData adds the data to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles create params

func (*SecretsSecretRolesCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesCreateReader

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

SecretsSecretRolesCreateReader is a Reader for the SecretsSecretRolesCreate structure.

func (*SecretsSecretRolesCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesDeleteNoContent

type SecretsSecretRolesDeleteNoContent struct {
}

SecretsSecretRolesDeleteNoContent handles this case with default header values.

SecretsSecretRolesDeleteNoContent secrets secret roles delete no content

func NewSecretsSecretRolesDeleteNoContent

func NewSecretsSecretRolesDeleteNoContent() *SecretsSecretRolesDeleteNoContent

NewSecretsSecretRolesDeleteNoContent creates a SecretsSecretRolesDeleteNoContent with default headers values

func (*SecretsSecretRolesDeleteNoContent) Error

type SecretsSecretRolesDeleteParams

type SecretsSecretRolesDeleteParams struct {

	/*ID
	  A unique integer value identifying this secret role.

	*/
	ID int64

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

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

func NewSecretsSecretRolesDeleteParams

func NewSecretsSecretRolesDeleteParams() *SecretsSecretRolesDeleteParams

NewSecretsSecretRolesDeleteParams creates a new SecretsSecretRolesDeleteParams object with the default values initialized.

func NewSecretsSecretRolesDeleteParamsWithContext

func NewSecretsSecretRolesDeleteParamsWithContext(ctx context.Context) *SecretsSecretRolesDeleteParams

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

func NewSecretsSecretRolesDeleteParamsWithHTTPClient

func NewSecretsSecretRolesDeleteParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesDeleteParams

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

func NewSecretsSecretRolesDeleteParamsWithTimeout

func NewSecretsSecretRolesDeleteParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesDeleteParams

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

func (*SecretsSecretRolesDeleteParams) SetContext

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

SetContext adds the context to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) SetID

SetID adds the id to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) WithContext

WithContext adds the context to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) WithID

WithID adds the id to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles delete params

func (*SecretsSecretRolesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesDeleteReader

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

SecretsSecretRolesDeleteReader is a Reader for the SecretsSecretRolesDelete structure.

func (*SecretsSecretRolesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesListOK

type SecretsSecretRolesListOK struct {
	Payload *SecretsSecretRolesListOKBody
}

SecretsSecretRolesListOK handles this case with default header values.

SecretsSecretRolesListOK secrets secret roles list o k

func NewSecretsSecretRolesListOK

func NewSecretsSecretRolesListOK() *SecretsSecretRolesListOK

NewSecretsSecretRolesListOK creates a SecretsSecretRolesListOK with default headers values

func (*SecretsSecretRolesListOK) Error

func (o *SecretsSecretRolesListOK) Error() string

func (*SecretsSecretRolesListOK) GetPayload

type SecretsSecretRolesListOKBody

type SecretsSecretRolesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	// Format: uri
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	// Format: uri
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results []*models.SecretRole `json:"results"`
}

SecretsSecretRolesListOKBody secrets secret roles list o k body swagger:model SecretsSecretRolesListOKBody

func (*SecretsSecretRolesListOKBody) MarshalBinary

func (o *SecretsSecretRolesListOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretsSecretRolesListOKBody) UnmarshalBinary

func (o *SecretsSecretRolesListOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretsSecretRolesListOKBody) Validate

func (o *SecretsSecretRolesListOKBody) Validate(formats strfmt.Registry) error

Validate validates this secrets secret roles list o k body

type SecretsSecretRolesListParams

type SecretsSecretRolesListParams struct {

	/*ID*/
	ID *string
	/*Limit
	  Number of results to return per page.

	*/
	Limit *int64
	/*Name*/
	Name *string
	/*Offset
	  The initial index from which to return the results.

	*/
	Offset *int64
	/*Q*/
	Q *string
	/*Slug*/
	Slug *string

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

SecretsSecretRolesListParams contains all the parameters to send to the API endpoint for the secrets secret roles list operation typically these are written to a http.Request

func NewSecretsSecretRolesListParams

func NewSecretsSecretRolesListParams() *SecretsSecretRolesListParams

NewSecretsSecretRolesListParams creates a new SecretsSecretRolesListParams object with the default values initialized.

func NewSecretsSecretRolesListParamsWithContext

func NewSecretsSecretRolesListParamsWithContext(ctx context.Context) *SecretsSecretRolesListParams

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

func NewSecretsSecretRolesListParamsWithHTTPClient

func NewSecretsSecretRolesListParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesListParams

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

func NewSecretsSecretRolesListParamsWithTimeout

func NewSecretsSecretRolesListParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesListParams

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

func (*SecretsSecretRolesListParams) SetContext

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

SetContext adds the context to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetID

func (o *SecretsSecretRolesListParams) SetID(id *string)

SetID adds the id to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetLimit

func (o *SecretsSecretRolesListParams) SetLimit(limit *int64)

SetLimit adds the limit to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetName

func (o *SecretsSecretRolesListParams) SetName(name *string)

SetName adds the name to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetOffset

func (o *SecretsSecretRolesListParams) SetOffset(offset *int64)

SetOffset adds the offset to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetQ

SetQ adds the q to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetSlug

func (o *SecretsSecretRolesListParams) SetSlug(slug *string)

SetSlug adds the slug to the secrets secret roles list params

func (*SecretsSecretRolesListParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithContext

WithContext adds the context to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithID

WithID adds the id to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithLimit

WithLimit adds the limit to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithName

WithName adds the name to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithOffset

WithOffset adds the offset to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithQ

WithQ adds the q to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithSlug

WithSlug adds the slug to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles list params

func (*SecretsSecretRolesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesListReader

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

SecretsSecretRolesListReader is a Reader for the SecretsSecretRolesList structure.

func (*SecretsSecretRolesListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesPartialUpdateOK

type SecretsSecretRolesPartialUpdateOK struct {
	Payload *models.SecretRole
}

SecretsSecretRolesPartialUpdateOK handles this case with default header values.

SecretsSecretRolesPartialUpdateOK secrets secret roles partial update o k

func NewSecretsSecretRolesPartialUpdateOK

func NewSecretsSecretRolesPartialUpdateOK() *SecretsSecretRolesPartialUpdateOK

NewSecretsSecretRolesPartialUpdateOK creates a SecretsSecretRolesPartialUpdateOK with default headers values

func (*SecretsSecretRolesPartialUpdateOK) Error

func (*SecretsSecretRolesPartialUpdateOK) GetPayload

type SecretsSecretRolesPartialUpdateParams

type SecretsSecretRolesPartialUpdateParams struct {

	/*Data*/
	Data *models.SecretRole
	/*ID
	  A unique integer value identifying this secret role.

	*/
	ID int64

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

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

func NewSecretsSecretRolesPartialUpdateParams

func NewSecretsSecretRolesPartialUpdateParams() *SecretsSecretRolesPartialUpdateParams

NewSecretsSecretRolesPartialUpdateParams creates a new SecretsSecretRolesPartialUpdateParams object with the default values initialized.

func NewSecretsSecretRolesPartialUpdateParamsWithContext

func NewSecretsSecretRolesPartialUpdateParamsWithContext(ctx context.Context) *SecretsSecretRolesPartialUpdateParams

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

func NewSecretsSecretRolesPartialUpdateParamsWithHTTPClient

func NewSecretsSecretRolesPartialUpdateParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesPartialUpdateParams

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

func NewSecretsSecretRolesPartialUpdateParamsWithTimeout

func NewSecretsSecretRolesPartialUpdateParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesPartialUpdateParams

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

func (*SecretsSecretRolesPartialUpdateParams) SetContext

SetContext adds the context to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) SetData

SetData adds the data to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) SetID

SetID adds the id to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WithContext

WithContext adds the context to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WithData

WithData adds the data to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WithID

WithID adds the id to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles partial update params

func (*SecretsSecretRolesPartialUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesPartialUpdateReader

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

SecretsSecretRolesPartialUpdateReader is a Reader for the SecretsSecretRolesPartialUpdate structure.

func (*SecretsSecretRolesPartialUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesReadOK

type SecretsSecretRolesReadOK struct {
	Payload *models.SecretRole
}

SecretsSecretRolesReadOK handles this case with default header values.

SecretsSecretRolesReadOK secrets secret roles read o k

func NewSecretsSecretRolesReadOK

func NewSecretsSecretRolesReadOK() *SecretsSecretRolesReadOK

NewSecretsSecretRolesReadOK creates a SecretsSecretRolesReadOK with default headers values

func (*SecretsSecretRolesReadOK) Error

func (o *SecretsSecretRolesReadOK) Error() string

func (*SecretsSecretRolesReadOK) GetPayload

func (o *SecretsSecretRolesReadOK) GetPayload() *models.SecretRole

type SecretsSecretRolesReadParams

type SecretsSecretRolesReadParams struct {

	/*ID
	  A unique integer value identifying this secret role.

	*/
	ID int64

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

SecretsSecretRolesReadParams contains all the parameters to send to the API endpoint for the secrets secret roles read operation typically these are written to a http.Request

func NewSecretsSecretRolesReadParams

func NewSecretsSecretRolesReadParams() *SecretsSecretRolesReadParams

NewSecretsSecretRolesReadParams creates a new SecretsSecretRolesReadParams object with the default values initialized.

func NewSecretsSecretRolesReadParamsWithContext

func NewSecretsSecretRolesReadParamsWithContext(ctx context.Context) *SecretsSecretRolesReadParams

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

func NewSecretsSecretRolesReadParamsWithHTTPClient

func NewSecretsSecretRolesReadParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesReadParams

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

func NewSecretsSecretRolesReadParamsWithTimeout

func NewSecretsSecretRolesReadParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesReadParams

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

func (*SecretsSecretRolesReadParams) SetContext

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

SetContext adds the context to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) SetID

func (o *SecretsSecretRolesReadParams) SetID(id int64)

SetID adds the id to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) WithContext

WithContext adds the context to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) WithID

WithID adds the id to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles read params

func (*SecretsSecretRolesReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesReadReader

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

SecretsSecretRolesReadReader is a Reader for the SecretsSecretRolesRead structure.

func (*SecretsSecretRolesReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretRolesUpdateOK

type SecretsSecretRolesUpdateOK struct {
	Payload *models.SecretRole
}

SecretsSecretRolesUpdateOK handles this case with default header values.

SecretsSecretRolesUpdateOK secrets secret roles update o k

func NewSecretsSecretRolesUpdateOK

func NewSecretsSecretRolesUpdateOK() *SecretsSecretRolesUpdateOK

NewSecretsSecretRolesUpdateOK creates a SecretsSecretRolesUpdateOK with default headers values

func (*SecretsSecretRolesUpdateOK) Error

func (*SecretsSecretRolesUpdateOK) GetPayload

func (o *SecretsSecretRolesUpdateOK) GetPayload() *models.SecretRole

type SecretsSecretRolesUpdateParams

type SecretsSecretRolesUpdateParams struct {

	/*Data*/
	Data *models.SecretRole
	/*ID
	  A unique integer value identifying this secret role.

	*/
	ID int64

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

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

func NewSecretsSecretRolesUpdateParams

func NewSecretsSecretRolesUpdateParams() *SecretsSecretRolesUpdateParams

NewSecretsSecretRolesUpdateParams creates a new SecretsSecretRolesUpdateParams object with the default values initialized.

func NewSecretsSecretRolesUpdateParamsWithContext

func NewSecretsSecretRolesUpdateParamsWithContext(ctx context.Context) *SecretsSecretRolesUpdateParams

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

func NewSecretsSecretRolesUpdateParamsWithHTTPClient

func NewSecretsSecretRolesUpdateParamsWithHTTPClient(client *http.Client) *SecretsSecretRolesUpdateParams

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

func NewSecretsSecretRolesUpdateParamsWithTimeout

func NewSecretsSecretRolesUpdateParamsWithTimeout(timeout time.Duration) *SecretsSecretRolesUpdateParams

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

func (*SecretsSecretRolesUpdateParams) SetContext

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

SetContext adds the context to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) SetData

SetData adds the data to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) SetID

SetID adds the id to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WithContext

WithContext adds the context to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WithData

WithData adds the data to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WithID

WithID adds the id to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WithTimeout

WithTimeout adds the timeout to the secrets secret roles update params

func (*SecretsSecretRolesUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretRolesUpdateReader

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

SecretsSecretRolesUpdateReader is a Reader for the SecretsSecretRolesUpdate structure.

func (*SecretsSecretRolesUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsCreateCreated

type SecretsSecretsCreateCreated struct {
	Payload *models.Secret
}

SecretsSecretsCreateCreated handles this case with default header values.

SecretsSecretsCreateCreated secrets secrets create created

func NewSecretsSecretsCreateCreated

func NewSecretsSecretsCreateCreated() *SecretsSecretsCreateCreated

NewSecretsSecretsCreateCreated creates a SecretsSecretsCreateCreated with default headers values

func (*SecretsSecretsCreateCreated) Error

func (*SecretsSecretsCreateCreated) GetPayload

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

type SecretsSecretsCreateParams

type SecretsSecretsCreateParams struct {

	/*Data*/
	Data *models.WritableSecret

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

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

func NewSecretsSecretsCreateParams

func NewSecretsSecretsCreateParams() *SecretsSecretsCreateParams

NewSecretsSecretsCreateParams creates a new SecretsSecretsCreateParams object with the default values initialized.

func NewSecretsSecretsCreateParamsWithContext

func NewSecretsSecretsCreateParamsWithContext(ctx context.Context) *SecretsSecretsCreateParams

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

func NewSecretsSecretsCreateParamsWithHTTPClient

func NewSecretsSecretsCreateParamsWithHTTPClient(client *http.Client) *SecretsSecretsCreateParams

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

func NewSecretsSecretsCreateParamsWithTimeout

func NewSecretsSecretsCreateParamsWithTimeout(timeout time.Duration) *SecretsSecretsCreateParams

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

func (*SecretsSecretsCreateParams) SetContext

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

SetContext adds the context to the secrets secrets create params

func (*SecretsSecretsCreateParams) SetData

SetData adds the data to the secrets secrets create params

func (*SecretsSecretsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets create params

func (*SecretsSecretsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets create params

func (*SecretsSecretsCreateParams) WithContext

WithContext adds the context to the secrets secrets create params

func (*SecretsSecretsCreateParams) WithData

WithData adds the data to the secrets secrets create params

func (*SecretsSecretsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secrets create params

func (*SecretsSecretsCreateParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets create params

func (*SecretsSecretsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsCreateReader

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

SecretsSecretsCreateReader is a Reader for the SecretsSecretsCreate structure.

func (*SecretsSecretsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsDeleteNoContent

type SecretsSecretsDeleteNoContent struct {
}

SecretsSecretsDeleteNoContent handles this case with default header values.

SecretsSecretsDeleteNoContent secrets secrets delete no content

func NewSecretsSecretsDeleteNoContent

func NewSecretsSecretsDeleteNoContent() *SecretsSecretsDeleteNoContent

NewSecretsSecretsDeleteNoContent creates a SecretsSecretsDeleteNoContent with default headers values

func (*SecretsSecretsDeleteNoContent) Error

type SecretsSecretsDeleteParams

type SecretsSecretsDeleteParams struct {

	/*ID
	  A unique integer value identifying this secret.

	*/
	ID int64

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

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

func NewSecretsSecretsDeleteParams

func NewSecretsSecretsDeleteParams() *SecretsSecretsDeleteParams

NewSecretsSecretsDeleteParams creates a new SecretsSecretsDeleteParams object with the default values initialized.

func NewSecretsSecretsDeleteParamsWithContext

func NewSecretsSecretsDeleteParamsWithContext(ctx context.Context) *SecretsSecretsDeleteParams

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

func NewSecretsSecretsDeleteParamsWithHTTPClient

func NewSecretsSecretsDeleteParamsWithHTTPClient(client *http.Client) *SecretsSecretsDeleteParams

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

func NewSecretsSecretsDeleteParamsWithTimeout

func NewSecretsSecretsDeleteParamsWithTimeout(timeout time.Duration) *SecretsSecretsDeleteParams

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

func (*SecretsSecretsDeleteParams) SetContext

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

SetContext adds the context to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) SetID

func (o *SecretsSecretsDeleteParams) SetID(id int64)

SetID adds the id to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) WithContext

WithContext adds the context to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) WithID

WithID adds the id to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets delete params

func (*SecretsSecretsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsDeleteReader

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

SecretsSecretsDeleteReader is a Reader for the SecretsSecretsDelete structure.

func (*SecretsSecretsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsListOK

type SecretsSecretsListOK struct {
	Payload *SecretsSecretsListOKBody
}

SecretsSecretsListOK handles this case with default header values.

SecretsSecretsListOK secrets secrets list o k

func NewSecretsSecretsListOK

func NewSecretsSecretsListOK() *SecretsSecretsListOK

NewSecretsSecretsListOK creates a SecretsSecretsListOK with default headers values

func (*SecretsSecretsListOK) Error

func (o *SecretsSecretsListOK) Error() string

func (*SecretsSecretsListOK) GetPayload

type SecretsSecretsListOKBody

type SecretsSecretsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	// Format: uri
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	// Format: uri
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results []*models.Secret `json:"results"`
}

SecretsSecretsListOKBody secrets secrets list o k body swagger:model SecretsSecretsListOKBody

func (*SecretsSecretsListOKBody) MarshalBinary

func (o *SecretsSecretsListOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretsSecretsListOKBody) UnmarshalBinary

func (o *SecretsSecretsListOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretsSecretsListOKBody) Validate

func (o *SecretsSecretsListOKBody) Validate(formats strfmt.Registry) error

Validate validates this secrets secrets list o k body

type SecretsSecretsListParams

type SecretsSecretsListParams struct {

	/*Created*/
	Created *string
	/*CreatedGte*/
	CreatedGte *string
	/*CreatedLte*/
	CreatedLte *string
	/*Device*/
	Device *string
	/*DeviceID*/
	DeviceID *string
	/*IDIn
	  Multiple values may be separated by commas.

	*/
	IDIn *string
	/*LastUpdated*/
	LastUpdated *string
	/*LastUpdatedGte*/
	LastUpdatedGte *string
	/*LastUpdatedLte*/
	LastUpdatedLte *string
	/*Limit
	  Number of results to return per page.

	*/
	Limit *int64
	/*Name*/
	Name *string
	/*Offset
	  The initial index from which to return the results.

	*/
	Offset *int64
	/*Q*/
	Q *string
	/*Role*/
	Role *string
	/*RoleID*/
	RoleID *string
	/*Tag*/
	Tag *string

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

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

func NewSecretsSecretsListParams

func NewSecretsSecretsListParams() *SecretsSecretsListParams

NewSecretsSecretsListParams creates a new SecretsSecretsListParams object with the default values initialized.

func NewSecretsSecretsListParamsWithContext

func NewSecretsSecretsListParamsWithContext(ctx context.Context) *SecretsSecretsListParams

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

func NewSecretsSecretsListParamsWithHTTPClient

func NewSecretsSecretsListParamsWithHTTPClient(client *http.Client) *SecretsSecretsListParams

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

func NewSecretsSecretsListParamsWithTimeout

func NewSecretsSecretsListParamsWithTimeout(timeout time.Duration) *SecretsSecretsListParams

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

func (*SecretsSecretsListParams) SetContext

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

SetContext adds the context to the secrets secrets list params

func (*SecretsSecretsListParams) SetCreated

func (o *SecretsSecretsListParams) SetCreated(created *string)

SetCreated adds the created to the secrets secrets list params

func (*SecretsSecretsListParams) SetCreatedGte

func (o *SecretsSecretsListParams) SetCreatedGte(createdGte *string)

SetCreatedGte adds the createdGte to the secrets secrets list params

func (*SecretsSecretsListParams) SetCreatedLte

func (o *SecretsSecretsListParams) SetCreatedLte(createdLte *string)

SetCreatedLte adds the createdLte to the secrets secrets list params

func (*SecretsSecretsListParams) SetDevice

func (o *SecretsSecretsListParams) SetDevice(device *string)

SetDevice adds the device to the secrets secrets list params

func (*SecretsSecretsListParams) SetDeviceID

func (o *SecretsSecretsListParams) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the secrets secrets list params

func (*SecretsSecretsListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets list params

func (*SecretsSecretsListParams) SetIDIn

func (o *SecretsSecretsListParams) SetIDIn(iDIn *string)

SetIDIn adds the idIn to the secrets secrets list params

func (*SecretsSecretsListParams) SetLastUpdated

func (o *SecretsSecretsListParams) SetLastUpdated(lastUpdated *string)

SetLastUpdated adds the lastUpdated to the secrets secrets list params

func (*SecretsSecretsListParams) SetLastUpdatedGte

func (o *SecretsSecretsListParams) SetLastUpdatedGte(lastUpdatedGte *string)

SetLastUpdatedGte adds the lastUpdatedGte to the secrets secrets list params

func (*SecretsSecretsListParams) SetLastUpdatedLte

func (o *SecretsSecretsListParams) SetLastUpdatedLte(lastUpdatedLte *string)

SetLastUpdatedLte adds the lastUpdatedLte to the secrets secrets list params

func (*SecretsSecretsListParams) SetLimit

func (o *SecretsSecretsListParams) SetLimit(limit *int64)

SetLimit adds the limit to the secrets secrets list params

func (*SecretsSecretsListParams) SetName

func (o *SecretsSecretsListParams) SetName(name *string)

SetName adds the name to the secrets secrets list params

func (*SecretsSecretsListParams) SetOffset

func (o *SecretsSecretsListParams) SetOffset(offset *int64)

SetOffset adds the offset to the secrets secrets list params

func (*SecretsSecretsListParams) SetQ

func (o *SecretsSecretsListParams) SetQ(q *string)

SetQ adds the q to the secrets secrets list params

func (*SecretsSecretsListParams) SetRole

func (o *SecretsSecretsListParams) SetRole(role *string)

SetRole adds the role to the secrets secrets list params

func (*SecretsSecretsListParams) SetRoleID

func (o *SecretsSecretsListParams) SetRoleID(roleID *string)

SetRoleID adds the roleId to the secrets secrets list params

func (*SecretsSecretsListParams) SetTag

func (o *SecretsSecretsListParams) SetTag(tag *string)

SetTag adds the tag to the secrets secrets list params

func (*SecretsSecretsListParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets list params

func (*SecretsSecretsListParams) WithContext

WithContext adds the context to the secrets secrets list params

func (*SecretsSecretsListParams) WithCreated

func (o *SecretsSecretsListParams) WithCreated(created *string) *SecretsSecretsListParams

WithCreated adds the created to the secrets secrets list params

func (*SecretsSecretsListParams) WithCreatedGte

func (o *SecretsSecretsListParams) WithCreatedGte(createdGte *string) *SecretsSecretsListParams

WithCreatedGte adds the createdGte to the secrets secrets list params

func (*SecretsSecretsListParams) WithCreatedLte

func (o *SecretsSecretsListParams) WithCreatedLte(createdLte *string) *SecretsSecretsListParams

WithCreatedLte adds the createdLte to the secrets secrets list params

func (*SecretsSecretsListParams) WithDevice

WithDevice adds the device to the secrets secrets list params

func (*SecretsSecretsListParams) WithDeviceID

func (o *SecretsSecretsListParams) WithDeviceID(deviceID *string) *SecretsSecretsListParams

WithDeviceID adds the deviceID to the secrets secrets list params

func (*SecretsSecretsListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secrets secrets list params

func (*SecretsSecretsListParams) WithIDIn

WithIDIn adds the iDIn to the secrets secrets list params

func (*SecretsSecretsListParams) WithLastUpdated

func (o *SecretsSecretsListParams) WithLastUpdated(lastUpdated *string) *SecretsSecretsListParams

WithLastUpdated adds the lastUpdated to the secrets secrets list params

func (*SecretsSecretsListParams) WithLastUpdatedGte

func (o *SecretsSecretsListParams) WithLastUpdatedGte(lastUpdatedGte *string) *SecretsSecretsListParams

WithLastUpdatedGte adds the lastUpdatedGte to the secrets secrets list params

func (*SecretsSecretsListParams) WithLastUpdatedLte

func (o *SecretsSecretsListParams) WithLastUpdatedLte(lastUpdatedLte *string) *SecretsSecretsListParams

WithLastUpdatedLte adds the lastUpdatedLte to the secrets secrets list params

func (*SecretsSecretsListParams) WithLimit

WithLimit adds the limit to the secrets secrets list params

func (*SecretsSecretsListParams) WithName

WithName adds the name to the secrets secrets list params

func (*SecretsSecretsListParams) WithOffset

WithOffset adds the offset to the secrets secrets list params

func (*SecretsSecretsListParams) WithQ

WithQ adds the q to the secrets secrets list params

func (*SecretsSecretsListParams) WithRole

WithRole adds the role to the secrets secrets list params

func (*SecretsSecretsListParams) WithRoleID

WithRoleID adds the roleID to the secrets secrets list params

func (*SecretsSecretsListParams) WithTag

WithTag adds the tag to the secrets secrets list params

func (*SecretsSecretsListParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets list params

func (*SecretsSecretsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsListReader

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

SecretsSecretsListReader is a Reader for the SecretsSecretsList structure.

func (*SecretsSecretsListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsPartialUpdateOK

type SecretsSecretsPartialUpdateOK struct {
	Payload *models.Secret
}

SecretsSecretsPartialUpdateOK handles this case with default header values.

SecretsSecretsPartialUpdateOK secrets secrets partial update o k

func NewSecretsSecretsPartialUpdateOK

func NewSecretsSecretsPartialUpdateOK() *SecretsSecretsPartialUpdateOK

NewSecretsSecretsPartialUpdateOK creates a SecretsSecretsPartialUpdateOK with default headers values

func (*SecretsSecretsPartialUpdateOK) Error

func (*SecretsSecretsPartialUpdateOK) GetPayload

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

type SecretsSecretsPartialUpdateParams

type SecretsSecretsPartialUpdateParams struct {

	/*Data*/
	Data *models.WritableSecret
	/*ID
	  A unique integer value identifying this secret.

	*/
	ID int64

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

SecretsSecretsPartialUpdateParams contains all the parameters to send to the API endpoint for the secrets secrets partial update operation typically these are written to a http.Request

func NewSecretsSecretsPartialUpdateParams

func NewSecretsSecretsPartialUpdateParams() *SecretsSecretsPartialUpdateParams

NewSecretsSecretsPartialUpdateParams creates a new SecretsSecretsPartialUpdateParams object with the default values initialized.

func NewSecretsSecretsPartialUpdateParamsWithContext

func NewSecretsSecretsPartialUpdateParamsWithContext(ctx context.Context) *SecretsSecretsPartialUpdateParams

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

func NewSecretsSecretsPartialUpdateParamsWithHTTPClient

func NewSecretsSecretsPartialUpdateParamsWithHTTPClient(client *http.Client) *SecretsSecretsPartialUpdateParams

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

func NewSecretsSecretsPartialUpdateParamsWithTimeout

func NewSecretsSecretsPartialUpdateParamsWithTimeout(timeout time.Duration) *SecretsSecretsPartialUpdateParams

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

func (*SecretsSecretsPartialUpdateParams) SetContext

SetContext adds the context to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) SetData

SetData adds the data to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) SetID

SetID adds the id to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WithContext

WithContext adds the context to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WithData

WithData adds the data to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WithID

WithID adds the id to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets partial update params

func (*SecretsSecretsPartialUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsPartialUpdateReader

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

SecretsSecretsPartialUpdateReader is a Reader for the SecretsSecretsPartialUpdate structure.

func (*SecretsSecretsPartialUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsReadOK

type SecretsSecretsReadOK struct {
	Payload *models.Secret
}

SecretsSecretsReadOK handles this case with default header values.

SecretsSecretsReadOK secrets secrets read o k

func NewSecretsSecretsReadOK

func NewSecretsSecretsReadOK() *SecretsSecretsReadOK

NewSecretsSecretsReadOK creates a SecretsSecretsReadOK with default headers values

func (*SecretsSecretsReadOK) Error

func (o *SecretsSecretsReadOK) Error() string

func (*SecretsSecretsReadOK) GetPayload

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

type SecretsSecretsReadParams

type SecretsSecretsReadParams struct {

	/*ID
	  A unique integer value identifying this secret.

	*/
	ID int64

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

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

func NewSecretsSecretsReadParams

func NewSecretsSecretsReadParams() *SecretsSecretsReadParams

NewSecretsSecretsReadParams creates a new SecretsSecretsReadParams object with the default values initialized.

func NewSecretsSecretsReadParamsWithContext

func NewSecretsSecretsReadParamsWithContext(ctx context.Context) *SecretsSecretsReadParams

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

func NewSecretsSecretsReadParamsWithHTTPClient

func NewSecretsSecretsReadParamsWithHTTPClient(client *http.Client) *SecretsSecretsReadParams

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

func NewSecretsSecretsReadParamsWithTimeout

func NewSecretsSecretsReadParamsWithTimeout(timeout time.Duration) *SecretsSecretsReadParams

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

func (*SecretsSecretsReadParams) SetContext

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

SetContext adds the context to the secrets secrets read params

func (*SecretsSecretsReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets read params

func (*SecretsSecretsReadParams) SetID

func (o *SecretsSecretsReadParams) SetID(id int64)

SetID adds the id to the secrets secrets read params

func (*SecretsSecretsReadParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets read params

func (*SecretsSecretsReadParams) WithContext

WithContext adds the context to the secrets secrets read params

func (*SecretsSecretsReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secrets secrets read params

func (*SecretsSecretsReadParams) WithID

WithID adds the id to the secrets secrets read params

func (*SecretsSecretsReadParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets read params

func (*SecretsSecretsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsReadReader

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

SecretsSecretsReadReader is a Reader for the SecretsSecretsRead structure.

func (*SecretsSecretsReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretsSecretsUpdateOK

type SecretsSecretsUpdateOK struct {
	Payload *models.Secret
}

SecretsSecretsUpdateOK handles this case with default header values.

SecretsSecretsUpdateOK secrets secrets update o k

func NewSecretsSecretsUpdateOK

func NewSecretsSecretsUpdateOK() *SecretsSecretsUpdateOK

NewSecretsSecretsUpdateOK creates a SecretsSecretsUpdateOK with default headers values

func (*SecretsSecretsUpdateOK) Error

func (o *SecretsSecretsUpdateOK) Error() string

func (*SecretsSecretsUpdateOK) GetPayload

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

type SecretsSecretsUpdateParams

type SecretsSecretsUpdateParams struct {

	/*Data*/
	Data *models.WritableSecret
	/*ID
	  A unique integer value identifying this secret.

	*/
	ID int64

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

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

func NewSecretsSecretsUpdateParams

func NewSecretsSecretsUpdateParams() *SecretsSecretsUpdateParams

NewSecretsSecretsUpdateParams creates a new SecretsSecretsUpdateParams object with the default values initialized.

func NewSecretsSecretsUpdateParamsWithContext

func NewSecretsSecretsUpdateParamsWithContext(ctx context.Context) *SecretsSecretsUpdateParams

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

func NewSecretsSecretsUpdateParamsWithHTTPClient

func NewSecretsSecretsUpdateParamsWithHTTPClient(client *http.Client) *SecretsSecretsUpdateParams

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

func NewSecretsSecretsUpdateParamsWithTimeout

func NewSecretsSecretsUpdateParamsWithTimeout(timeout time.Duration) *SecretsSecretsUpdateParams

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

func (*SecretsSecretsUpdateParams) SetContext

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

SetContext adds the context to the secrets secrets update params

func (*SecretsSecretsUpdateParams) SetData

SetData adds the data to the secrets secrets update params

func (*SecretsSecretsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secrets secrets update params

func (*SecretsSecretsUpdateParams) SetID

func (o *SecretsSecretsUpdateParams) SetID(id int64)

SetID adds the id to the secrets secrets update params

func (*SecretsSecretsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WithContext

WithContext adds the context to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WithData

WithData adds the data to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WithID

WithID adds the id to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WithTimeout

WithTimeout adds the timeout to the secrets secrets update params

func (*SecretsSecretsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SecretsSecretsUpdateReader

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

SecretsSecretsUpdateReader is a Reader for the SecretsSecretsUpdate structure.

func (*SecretsSecretsUpdateReader) ReadResponse

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