secret

package
v0.0.0-...-8251c7d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 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 secret API

func (*Client) SecretCreate

func (a *Client) SecretCreate(params *SecretCreateParams, opts ...ClientOption) (*SecretCreateCreated, error)

SecretCreate creates a secret

func (*Client) SecretDelete

func (a *Client) SecretDelete(params *SecretDeleteParams, opts ...ClientOption) (*SecretDeleteNoContent, error)

SecretDelete deletes a secret

func (*Client) SecretInspect

func (a *Client) SecretInspect(params *SecretInspectParams, opts ...ClientOption) (*SecretInspectOK, error)

SecretInspect inspects a secret

func (*Client) SecretList

func (a *Client) SecretList(params *SecretListParams, opts ...ClientOption) (*SecretListOK, error)

SecretList lists secrets

func (*Client) SecretUpdate

func (a *Client) SecretUpdate(params *SecretUpdateParams, opts ...ClientOption) (*SecretUpdateOK, error)

SecretUpdate updates a secret

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SecretCreate(params *SecretCreateParams, opts ...ClientOption) (*SecretCreateCreated, error)

	SecretDelete(params *SecretDeleteParams, opts ...ClientOption) (*SecretDeleteNoContent, error)

	SecretInspect(params *SecretInspectParams, opts ...ClientOption) (*SecretInspectOK, error)

	SecretList(params *SecretListParams, opts ...ClientOption) (*SecretListOK, error)

	SecretUpdate(params *SecretUpdateParams, opts ...ClientOption) (*SecretUpdateOK, 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 secret API client.

type SecretCreateBody

type SecretCreateBody struct {
	models.SecretSpec

	SecretCreateParamsBodyAllOf1
}

SecretCreateBody secret create body swagger:model SecretCreateBody

func (*SecretCreateBody) ContextValidate

func (o *SecretCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secret create body based on the context it is used

func (*SecretCreateBody) MarshalBinary

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

MarshalBinary interface implementation

func (SecretCreateBody) MarshalJSON

func (o SecretCreateBody) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*SecretCreateBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretCreateBody) UnmarshalJSON

func (o *SecretCreateBody) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*SecretCreateBody) Validate

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

Validate validates this secret create body

type SecretCreateConflict

type SecretCreateConflict struct {
	Payload *models.ErrorResponse
}
SecretCreateConflict describes a response with status code 409, with default header values.

name conflicts with an existing object

func NewSecretCreateConflict

func NewSecretCreateConflict() *SecretCreateConflict

NewSecretCreateConflict creates a SecretCreateConflict with default headers values

func (*SecretCreateConflict) Error

func (o *SecretCreateConflict) Error() string

func (*SecretCreateConflict) GetPayload

func (o *SecretCreateConflict) GetPayload() *models.ErrorResponse

func (*SecretCreateConflict) IsClientError

func (o *SecretCreateConflict) IsClientError() bool

IsClientError returns true when this secret create conflict response has a 4xx status code

func (*SecretCreateConflict) IsCode

func (o *SecretCreateConflict) IsCode(code int) bool

IsCode returns true when this secret create conflict response a status code equal to that given

func (*SecretCreateConflict) IsRedirect

func (o *SecretCreateConflict) IsRedirect() bool

IsRedirect returns true when this secret create conflict response has a 3xx status code

func (*SecretCreateConflict) IsServerError

func (o *SecretCreateConflict) IsServerError() bool

IsServerError returns true when this secret create conflict response has a 5xx status code

func (*SecretCreateConflict) IsSuccess

func (o *SecretCreateConflict) IsSuccess() bool

IsSuccess returns true when this secret create conflict response has a 2xx status code

func (*SecretCreateConflict) String

func (o *SecretCreateConflict) String() string

type SecretCreateCreated

type SecretCreateCreated struct {
	Payload *models.IDResponse
}
SecretCreateCreated describes a response with status code 201, with default header values.

no error

func NewSecretCreateCreated

func NewSecretCreateCreated() *SecretCreateCreated

NewSecretCreateCreated creates a SecretCreateCreated with default headers values

func (*SecretCreateCreated) Error

func (o *SecretCreateCreated) Error() string

func (*SecretCreateCreated) GetPayload

func (o *SecretCreateCreated) GetPayload() *models.IDResponse

func (*SecretCreateCreated) IsClientError

func (o *SecretCreateCreated) IsClientError() bool

IsClientError returns true when this secret create created response has a 4xx status code

func (*SecretCreateCreated) IsCode

func (o *SecretCreateCreated) IsCode(code int) bool

IsCode returns true when this secret create created response a status code equal to that given

func (*SecretCreateCreated) IsRedirect

func (o *SecretCreateCreated) IsRedirect() bool

IsRedirect returns true when this secret create created response has a 3xx status code

func (*SecretCreateCreated) IsServerError

func (o *SecretCreateCreated) IsServerError() bool

IsServerError returns true when this secret create created response has a 5xx status code

func (*SecretCreateCreated) IsSuccess

func (o *SecretCreateCreated) IsSuccess() bool

IsSuccess returns true when this secret create created response has a 2xx status code

func (*SecretCreateCreated) String

func (o *SecretCreateCreated) String() string

type SecretCreateInternalServerError

type SecretCreateInternalServerError struct {
	Payload *models.ErrorResponse
}
SecretCreateInternalServerError describes a response with status code 500, with default header values.

server error

func NewSecretCreateInternalServerError

func NewSecretCreateInternalServerError() *SecretCreateInternalServerError

NewSecretCreateInternalServerError creates a SecretCreateInternalServerError with default headers values

func (*SecretCreateInternalServerError) Error

func (*SecretCreateInternalServerError) GetPayload

func (*SecretCreateInternalServerError) IsClientError

func (o *SecretCreateInternalServerError) IsClientError() bool

IsClientError returns true when this secret create internal server error response has a 4xx status code

func (*SecretCreateInternalServerError) IsCode

func (o *SecretCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this secret create internal server error response a status code equal to that given

func (*SecretCreateInternalServerError) IsRedirect

func (o *SecretCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this secret create internal server error response has a 3xx status code

func (*SecretCreateInternalServerError) IsServerError

func (o *SecretCreateInternalServerError) IsServerError() bool

IsServerError returns true when this secret create internal server error response has a 5xx status code

func (*SecretCreateInternalServerError) IsSuccess

func (o *SecretCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this secret create internal server error response has a 2xx status code

func (*SecretCreateInternalServerError) String

type SecretCreateParams

type SecretCreateParams struct {

	// Body.
	Body SecretCreateBody

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

SecretCreateParams contains all the parameters to send to the API endpoint

for the secret create operation.

Typically these are written to a http.Request.

func NewSecretCreateParams

func NewSecretCreateParams() *SecretCreateParams

NewSecretCreateParams creates a new SecretCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSecretCreateParamsWithContext

func NewSecretCreateParamsWithContext(ctx context.Context) *SecretCreateParams

NewSecretCreateParamsWithContext creates a new SecretCreateParams object with the ability to set a context for a request.

func NewSecretCreateParamsWithHTTPClient

func NewSecretCreateParamsWithHTTPClient(client *http.Client) *SecretCreateParams

NewSecretCreateParamsWithHTTPClient creates a new SecretCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSecretCreateParamsWithTimeout

func NewSecretCreateParamsWithTimeout(timeout time.Duration) *SecretCreateParams

NewSecretCreateParamsWithTimeout creates a new SecretCreateParams object with the ability to set a timeout on a request.

func (*SecretCreateParams) SetBody

func (o *SecretCreateParams) SetBody(body SecretCreateBody)

SetBody adds the body to the secret create params

func (*SecretCreateParams) SetContext

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

SetContext adds the context to the secret create params

func (*SecretCreateParams) SetDefaults

func (o *SecretCreateParams) SetDefaults()

SetDefaults hydrates default values in the secret create params (not the query body).

All values with no default are reset to their zero value.

func (*SecretCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret create params

func (*SecretCreateParams) SetTimeout

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

SetTimeout adds the timeout to the secret create params

func (*SecretCreateParams) WithBody

WithBody adds the body to the secret create params

func (*SecretCreateParams) WithContext

WithContext adds the context to the secret create params

func (*SecretCreateParams) WithDefaults

func (o *SecretCreateParams) WithDefaults() *SecretCreateParams

WithDefaults hydrates default values in the secret create params (not the query body).

All values with no default are reset to their zero value.

func (*SecretCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret create params

func (*SecretCreateParams) WithTimeout

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

WithTimeout adds the timeout to the secret create params

func (*SecretCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SecretCreateParamsBodyAllOf1

type SecretCreateParamsBodyAllOf1 interface{}

SecretCreateParamsBodyAllOf1 secret create params body all of1 // Example: {"Data":"VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg==","Driver":{"Name":"secret-bucket","Options":{"OptionA":"value for driver option A","OptionB":"value for driver option B"}},"Labels":{"foo":"bar"},"Name":"app-key.crt"} swagger:model SecretCreateParamsBodyAllOf1

type SecretCreateReader

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

SecretCreateReader is a Reader for the SecretCreate structure.

func (*SecretCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretCreateServiceUnavailable

type SecretCreateServiceUnavailable struct {
	Payload *models.ErrorResponse
}
SecretCreateServiceUnavailable describes a response with status code 503, with default header values.

node is not part of a swarm

func NewSecretCreateServiceUnavailable

func NewSecretCreateServiceUnavailable() *SecretCreateServiceUnavailable

NewSecretCreateServiceUnavailable creates a SecretCreateServiceUnavailable with default headers values

func (*SecretCreateServiceUnavailable) Error

func (*SecretCreateServiceUnavailable) GetPayload

func (*SecretCreateServiceUnavailable) IsClientError

func (o *SecretCreateServiceUnavailable) IsClientError() bool

IsClientError returns true when this secret create service unavailable response has a 4xx status code

func (*SecretCreateServiceUnavailable) IsCode

func (o *SecretCreateServiceUnavailable) IsCode(code int) bool

IsCode returns true when this secret create service unavailable response a status code equal to that given

func (*SecretCreateServiceUnavailable) IsRedirect

func (o *SecretCreateServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this secret create service unavailable response has a 3xx status code

func (*SecretCreateServiceUnavailable) IsServerError

func (o *SecretCreateServiceUnavailable) IsServerError() bool

IsServerError returns true when this secret create service unavailable response has a 5xx status code

func (*SecretCreateServiceUnavailable) IsSuccess

func (o *SecretCreateServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this secret create service unavailable response has a 2xx status code

func (*SecretCreateServiceUnavailable) String

type SecretDeleteInternalServerError

type SecretDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}
SecretDeleteInternalServerError describes a response with status code 500, with default header values.

server error

func NewSecretDeleteInternalServerError

func NewSecretDeleteInternalServerError() *SecretDeleteInternalServerError

NewSecretDeleteInternalServerError creates a SecretDeleteInternalServerError with default headers values

func (*SecretDeleteInternalServerError) Error

func (*SecretDeleteInternalServerError) GetPayload

func (*SecretDeleteInternalServerError) IsClientError

func (o *SecretDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this secret delete internal server error response has a 4xx status code

func (*SecretDeleteInternalServerError) IsCode

func (o *SecretDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this secret delete internal server error response a status code equal to that given

func (*SecretDeleteInternalServerError) IsRedirect

func (o *SecretDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this secret delete internal server error response has a 3xx status code

func (*SecretDeleteInternalServerError) IsServerError

func (o *SecretDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this secret delete internal server error response has a 5xx status code

func (*SecretDeleteInternalServerError) IsSuccess

func (o *SecretDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this secret delete internal server error response has a 2xx status code

func (*SecretDeleteInternalServerError) String

type SecretDeleteNoContent

type SecretDeleteNoContent struct {
}
SecretDeleteNoContent describes a response with status code 204, with default header values.

no error

func NewSecretDeleteNoContent

func NewSecretDeleteNoContent() *SecretDeleteNoContent

NewSecretDeleteNoContent creates a SecretDeleteNoContent with default headers values

func (*SecretDeleteNoContent) Error

func (o *SecretDeleteNoContent) Error() string

func (*SecretDeleteNoContent) IsClientError

func (o *SecretDeleteNoContent) IsClientError() bool

IsClientError returns true when this secret delete no content response has a 4xx status code

func (*SecretDeleteNoContent) IsCode

func (o *SecretDeleteNoContent) IsCode(code int) bool

IsCode returns true when this secret delete no content response a status code equal to that given

func (*SecretDeleteNoContent) IsRedirect

func (o *SecretDeleteNoContent) IsRedirect() bool

IsRedirect returns true when this secret delete no content response has a 3xx status code

func (*SecretDeleteNoContent) IsServerError

func (o *SecretDeleteNoContent) IsServerError() bool

IsServerError returns true when this secret delete no content response has a 5xx status code

func (*SecretDeleteNoContent) IsSuccess

func (o *SecretDeleteNoContent) IsSuccess() bool

IsSuccess returns true when this secret delete no content response has a 2xx status code

func (*SecretDeleteNoContent) String

func (o *SecretDeleteNoContent) String() string

type SecretDeleteNotFound

type SecretDeleteNotFound struct {
	Payload *models.ErrorResponse
}
SecretDeleteNotFound describes a response with status code 404, with default header values.

secret not found

func NewSecretDeleteNotFound

func NewSecretDeleteNotFound() *SecretDeleteNotFound

NewSecretDeleteNotFound creates a SecretDeleteNotFound with default headers values

func (*SecretDeleteNotFound) Error

func (o *SecretDeleteNotFound) Error() string

func (*SecretDeleteNotFound) GetPayload

func (o *SecretDeleteNotFound) GetPayload() *models.ErrorResponse

func (*SecretDeleteNotFound) IsClientError

func (o *SecretDeleteNotFound) IsClientError() bool

IsClientError returns true when this secret delete not found response has a 4xx status code

func (*SecretDeleteNotFound) IsCode

func (o *SecretDeleteNotFound) IsCode(code int) bool

IsCode returns true when this secret delete not found response a status code equal to that given

func (*SecretDeleteNotFound) IsRedirect

func (o *SecretDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this secret delete not found response has a 3xx status code

func (*SecretDeleteNotFound) IsServerError

func (o *SecretDeleteNotFound) IsServerError() bool

IsServerError returns true when this secret delete not found response has a 5xx status code

func (*SecretDeleteNotFound) IsSuccess

func (o *SecretDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this secret delete not found response has a 2xx status code

func (*SecretDeleteNotFound) String

func (o *SecretDeleteNotFound) String() string

type SecretDeleteParams

type SecretDeleteParams struct {

	/* ID.

	   ID of the secret
	*/
	ID string

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

SecretDeleteParams contains all the parameters to send to the API endpoint

for the secret delete operation.

Typically these are written to a http.Request.

func NewSecretDeleteParams

func NewSecretDeleteParams() *SecretDeleteParams

NewSecretDeleteParams creates a new SecretDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSecretDeleteParamsWithContext

func NewSecretDeleteParamsWithContext(ctx context.Context) *SecretDeleteParams

NewSecretDeleteParamsWithContext creates a new SecretDeleteParams object with the ability to set a context for a request.

func NewSecretDeleteParamsWithHTTPClient

func NewSecretDeleteParamsWithHTTPClient(client *http.Client) *SecretDeleteParams

NewSecretDeleteParamsWithHTTPClient creates a new SecretDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSecretDeleteParamsWithTimeout

func NewSecretDeleteParamsWithTimeout(timeout time.Duration) *SecretDeleteParams

NewSecretDeleteParamsWithTimeout creates a new SecretDeleteParams object with the ability to set a timeout on a request.

func (*SecretDeleteParams) SetContext

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

SetContext adds the context to the secret delete params

func (*SecretDeleteParams) SetDefaults

func (o *SecretDeleteParams) SetDefaults()

SetDefaults hydrates default values in the secret delete params (not the query body).

All values with no default are reset to their zero value.

func (*SecretDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret delete params

func (*SecretDeleteParams) SetID

func (o *SecretDeleteParams) SetID(id string)

SetID adds the id to the secret delete params

func (*SecretDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the secret delete params

func (*SecretDeleteParams) WithContext

WithContext adds the context to the secret delete params

func (*SecretDeleteParams) WithDefaults

func (o *SecretDeleteParams) WithDefaults() *SecretDeleteParams

WithDefaults hydrates default values in the secret delete params (not the query body).

All values with no default are reset to their zero value.

func (*SecretDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret delete params

func (*SecretDeleteParams) WithID

WithID adds the id to the secret delete params

func (*SecretDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the secret delete params

func (*SecretDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SecretDeleteReader

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

SecretDeleteReader is a Reader for the SecretDelete structure.

func (*SecretDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretDeleteServiceUnavailable

type SecretDeleteServiceUnavailable struct {
	Payload *models.ErrorResponse
}
SecretDeleteServiceUnavailable describes a response with status code 503, with default header values.

node is not part of a swarm

func NewSecretDeleteServiceUnavailable

func NewSecretDeleteServiceUnavailable() *SecretDeleteServiceUnavailable

NewSecretDeleteServiceUnavailable creates a SecretDeleteServiceUnavailable with default headers values

func (*SecretDeleteServiceUnavailable) Error

func (*SecretDeleteServiceUnavailable) GetPayload

func (*SecretDeleteServiceUnavailable) IsClientError

func (o *SecretDeleteServiceUnavailable) IsClientError() bool

IsClientError returns true when this secret delete service unavailable response has a 4xx status code

func (*SecretDeleteServiceUnavailable) IsCode

func (o *SecretDeleteServiceUnavailable) IsCode(code int) bool

IsCode returns true when this secret delete service unavailable response a status code equal to that given

func (*SecretDeleteServiceUnavailable) IsRedirect

func (o *SecretDeleteServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this secret delete service unavailable response has a 3xx status code

func (*SecretDeleteServiceUnavailable) IsServerError

func (o *SecretDeleteServiceUnavailable) IsServerError() bool

IsServerError returns true when this secret delete service unavailable response has a 5xx status code

func (*SecretDeleteServiceUnavailable) IsSuccess

func (o *SecretDeleteServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this secret delete service unavailable response has a 2xx status code

func (*SecretDeleteServiceUnavailable) String

type SecretInspectInternalServerError

type SecretInspectInternalServerError struct {
	Payload *models.ErrorResponse
}
SecretInspectInternalServerError describes a response with status code 500, with default header values.

server error

func NewSecretInspectInternalServerError

func NewSecretInspectInternalServerError() *SecretInspectInternalServerError

NewSecretInspectInternalServerError creates a SecretInspectInternalServerError with default headers values

func (*SecretInspectInternalServerError) Error

func (*SecretInspectInternalServerError) GetPayload

func (*SecretInspectInternalServerError) IsClientError

func (o *SecretInspectInternalServerError) IsClientError() bool

IsClientError returns true when this secret inspect internal server error response has a 4xx status code

func (*SecretInspectInternalServerError) IsCode

func (o *SecretInspectInternalServerError) IsCode(code int) bool

IsCode returns true when this secret inspect internal server error response a status code equal to that given

func (*SecretInspectInternalServerError) IsRedirect

func (o *SecretInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this secret inspect internal server error response has a 3xx status code

func (*SecretInspectInternalServerError) IsServerError

func (o *SecretInspectInternalServerError) IsServerError() bool

IsServerError returns true when this secret inspect internal server error response has a 5xx status code

func (*SecretInspectInternalServerError) IsSuccess

func (o *SecretInspectInternalServerError) IsSuccess() bool

IsSuccess returns true when this secret inspect internal server error response has a 2xx status code

func (*SecretInspectInternalServerError) String

type SecretInspectNotFound

type SecretInspectNotFound struct {
	Payload *models.ErrorResponse
}
SecretInspectNotFound describes a response with status code 404, with default header values.

secret not found

func NewSecretInspectNotFound

func NewSecretInspectNotFound() *SecretInspectNotFound

NewSecretInspectNotFound creates a SecretInspectNotFound with default headers values

func (*SecretInspectNotFound) Error

func (o *SecretInspectNotFound) Error() string

func (*SecretInspectNotFound) GetPayload

func (o *SecretInspectNotFound) GetPayload() *models.ErrorResponse

func (*SecretInspectNotFound) IsClientError

func (o *SecretInspectNotFound) IsClientError() bool

IsClientError returns true when this secret inspect not found response has a 4xx status code

func (*SecretInspectNotFound) IsCode

func (o *SecretInspectNotFound) IsCode(code int) bool

IsCode returns true when this secret inspect not found response a status code equal to that given

func (*SecretInspectNotFound) IsRedirect

func (o *SecretInspectNotFound) IsRedirect() bool

IsRedirect returns true when this secret inspect not found response has a 3xx status code

func (*SecretInspectNotFound) IsServerError

func (o *SecretInspectNotFound) IsServerError() bool

IsServerError returns true when this secret inspect not found response has a 5xx status code

func (*SecretInspectNotFound) IsSuccess

func (o *SecretInspectNotFound) IsSuccess() bool

IsSuccess returns true when this secret inspect not found response has a 2xx status code

func (*SecretInspectNotFound) String

func (o *SecretInspectNotFound) String() string

type SecretInspectOK

type SecretInspectOK struct {
	Payload *models.Secret
}
SecretInspectOK describes a response with status code 200, with default header values.

no error

func NewSecretInspectOK

func NewSecretInspectOK() *SecretInspectOK

NewSecretInspectOK creates a SecretInspectOK with default headers values

func (*SecretInspectOK) Error

func (o *SecretInspectOK) Error() string

func (*SecretInspectOK) GetPayload

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

func (*SecretInspectOK) IsClientError

func (o *SecretInspectOK) IsClientError() bool

IsClientError returns true when this secret inspect o k response has a 4xx status code

func (*SecretInspectOK) IsCode

func (o *SecretInspectOK) IsCode(code int) bool

IsCode returns true when this secret inspect o k response a status code equal to that given

func (*SecretInspectOK) IsRedirect

func (o *SecretInspectOK) IsRedirect() bool

IsRedirect returns true when this secret inspect o k response has a 3xx status code

func (*SecretInspectOK) IsServerError

func (o *SecretInspectOK) IsServerError() bool

IsServerError returns true when this secret inspect o k response has a 5xx status code

func (*SecretInspectOK) IsSuccess

func (o *SecretInspectOK) IsSuccess() bool

IsSuccess returns true when this secret inspect o k response has a 2xx status code

func (*SecretInspectOK) String

func (o *SecretInspectOK) String() string

type SecretInspectParams

type SecretInspectParams struct {

	/* ID.

	   ID of the secret
	*/
	ID string

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

SecretInspectParams contains all the parameters to send to the API endpoint

for the secret inspect operation.

Typically these are written to a http.Request.

func NewSecretInspectParams

func NewSecretInspectParams() *SecretInspectParams

NewSecretInspectParams creates a new SecretInspectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSecretInspectParamsWithContext

func NewSecretInspectParamsWithContext(ctx context.Context) *SecretInspectParams

NewSecretInspectParamsWithContext creates a new SecretInspectParams object with the ability to set a context for a request.

func NewSecretInspectParamsWithHTTPClient

func NewSecretInspectParamsWithHTTPClient(client *http.Client) *SecretInspectParams

NewSecretInspectParamsWithHTTPClient creates a new SecretInspectParams object with the ability to set a custom HTTPClient for a request.

func NewSecretInspectParamsWithTimeout

func NewSecretInspectParamsWithTimeout(timeout time.Duration) *SecretInspectParams

NewSecretInspectParamsWithTimeout creates a new SecretInspectParams object with the ability to set a timeout on a request.

func (*SecretInspectParams) SetContext

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

SetContext adds the context to the secret inspect params

func (*SecretInspectParams) SetDefaults

func (o *SecretInspectParams) SetDefaults()

SetDefaults hydrates default values in the secret inspect params (not the query body).

All values with no default are reset to their zero value.

func (*SecretInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret inspect params

func (*SecretInspectParams) SetID

func (o *SecretInspectParams) SetID(id string)

SetID adds the id to the secret inspect params

func (*SecretInspectParams) SetTimeout

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

SetTimeout adds the timeout to the secret inspect params

func (*SecretInspectParams) WithContext

WithContext adds the context to the secret inspect params

func (*SecretInspectParams) WithDefaults

func (o *SecretInspectParams) WithDefaults() *SecretInspectParams

WithDefaults hydrates default values in the secret inspect params (not the query body).

All values with no default are reset to their zero value.

func (*SecretInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret inspect params

func (*SecretInspectParams) WithID

WithID adds the id to the secret inspect params

func (*SecretInspectParams) WithTimeout

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

WithTimeout adds the timeout to the secret inspect params

func (*SecretInspectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SecretInspectReader

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

SecretInspectReader is a Reader for the SecretInspect structure.

func (*SecretInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretInspectServiceUnavailable

type SecretInspectServiceUnavailable struct {
	Payload *models.ErrorResponse
}
SecretInspectServiceUnavailable describes a response with status code 503, with default header values.

node is not part of a swarm

func NewSecretInspectServiceUnavailable

func NewSecretInspectServiceUnavailable() *SecretInspectServiceUnavailable

NewSecretInspectServiceUnavailable creates a SecretInspectServiceUnavailable with default headers values

func (*SecretInspectServiceUnavailable) Error

func (*SecretInspectServiceUnavailable) GetPayload

func (*SecretInspectServiceUnavailable) IsClientError

func (o *SecretInspectServiceUnavailable) IsClientError() bool

IsClientError returns true when this secret inspect service unavailable response has a 4xx status code

func (*SecretInspectServiceUnavailable) IsCode

func (o *SecretInspectServiceUnavailable) IsCode(code int) bool

IsCode returns true when this secret inspect service unavailable response a status code equal to that given

func (*SecretInspectServiceUnavailable) IsRedirect

func (o *SecretInspectServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this secret inspect service unavailable response has a 3xx status code

func (*SecretInspectServiceUnavailable) IsServerError

func (o *SecretInspectServiceUnavailable) IsServerError() bool

IsServerError returns true when this secret inspect service unavailable response has a 5xx status code

func (*SecretInspectServiceUnavailable) IsSuccess

func (o *SecretInspectServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this secret inspect service unavailable response has a 2xx status code

func (*SecretInspectServiceUnavailable) String

type SecretListInternalServerError

type SecretListInternalServerError struct {
	Payload *models.ErrorResponse
}
SecretListInternalServerError describes a response with status code 500, with default header values.

server error

func NewSecretListInternalServerError

func NewSecretListInternalServerError() *SecretListInternalServerError

NewSecretListInternalServerError creates a SecretListInternalServerError with default headers values

func (*SecretListInternalServerError) Error

func (*SecretListInternalServerError) GetPayload

func (*SecretListInternalServerError) IsClientError

func (o *SecretListInternalServerError) IsClientError() bool

IsClientError returns true when this secret list internal server error response has a 4xx status code

func (*SecretListInternalServerError) IsCode

func (o *SecretListInternalServerError) IsCode(code int) bool

IsCode returns true when this secret list internal server error response a status code equal to that given

func (*SecretListInternalServerError) IsRedirect

func (o *SecretListInternalServerError) IsRedirect() bool

IsRedirect returns true when this secret list internal server error response has a 3xx status code

func (*SecretListInternalServerError) IsServerError

func (o *SecretListInternalServerError) IsServerError() bool

IsServerError returns true when this secret list internal server error response has a 5xx status code

func (*SecretListInternalServerError) IsSuccess

func (o *SecretListInternalServerError) IsSuccess() bool

IsSuccess returns true when this secret list internal server error response has a 2xx status code

func (*SecretListInternalServerError) String

type SecretListOK

type SecretListOK struct {
	Payload []*models.Secret
}
SecretListOK describes a response with status code 200, with default header values.

no error

func NewSecretListOK

func NewSecretListOK() *SecretListOK

NewSecretListOK creates a SecretListOK with default headers values

func (*SecretListOK) Error

func (o *SecretListOK) Error() string

func (*SecretListOK) GetPayload

func (o *SecretListOK) GetPayload() []*models.Secret

func (*SecretListOK) IsClientError

func (o *SecretListOK) IsClientError() bool

IsClientError returns true when this secret list o k response has a 4xx status code

func (*SecretListOK) IsCode

func (o *SecretListOK) IsCode(code int) bool

IsCode returns true when this secret list o k response a status code equal to that given

func (*SecretListOK) IsRedirect

func (o *SecretListOK) IsRedirect() bool

IsRedirect returns true when this secret list o k response has a 3xx status code

func (*SecretListOK) IsServerError

func (o *SecretListOK) IsServerError() bool

IsServerError returns true when this secret list o k response has a 5xx status code

func (*SecretListOK) IsSuccess

func (o *SecretListOK) IsSuccess() bool

IsSuccess returns true when this secret list o k response has a 2xx status code

func (*SecretListOK) String

func (o *SecretListOK) String() string

type SecretListParams

type SecretListParams struct {

	/* Filters.

	     A JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Available filters:

	- `id=<secret id>`
	- `label=<key> or label=<key>=value`
	- `name=<secret name>`
	- `names=<secret name>`

	*/
	Filters *string

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

SecretListParams contains all the parameters to send to the API endpoint

for the secret list operation.

Typically these are written to a http.Request.

func NewSecretListParams

func NewSecretListParams() *SecretListParams

NewSecretListParams creates a new SecretListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSecretListParamsWithContext

func NewSecretListParamsWithContext(ctx context.Context) *SecretListParams

NewSecretListParamsWithContext creates a new SecretListParams object with the ability to set a context for a request.

func NewSecretListParamsWithHTTPClient

func NewSecretListParamsWithHTTPClient(client *http.Client) *SecretListParams

NewSecretListParamsWithHTTPClient creates a new SecretListParams object with the ability to set a custom HTTPClient for a request.

func NewSecretListParamsWithTimeout

func NewSecretListParamsWithTimeout(timeout time.Duration) *SecretListParams

NewSecretListParamsWithTimeout creates a new SecretListParams object with the ability to set a timeout on a request.

func (*SecretListParams) SetContext

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

SetContext adds the context to the secret list params

func (*SecretListParams) SetDefaults

func (o *SecretListParams) SetDefaults()

SetDefaults hydrates default values in the secret list params (not the query body).

All values with no default are reset to their zero value.

func (*SecretListParams) SetFilters

func (o *SecretListParams) SetFilters(filters *string)

SetFilters adds the filters to the secret list params

func (*SecretListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret list params

func (*SecretListParams) SetTimeout

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

SetTimeout adds the timeout to the secret list params

func (*SecretListParams) WithContext

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

WithContext adds the context to the secret list params

func (*SecretListParams) WithDefaults

func (o *SecretListParams) WithDefaults() *SecretListParams

WithDefaults hydrates default values in the secret list params (not the query body).

All values with no default are reset to their zero value.

func (*SecretListParams) WithFilters

func (o *SecretListParams) WithFilters(filters *string) *SecretListParams

WithFilters adds the filters to the secret list params

func (*SecretListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret list params

func (*SecretListParams) WithTimeout

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

WithTimeout adds the timeout to the secret list params

func (*SecretListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SecretListReader

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

SecretListReader is a Reader for the SecretList structure.

func (*SecretListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretListServiceUnavailable

type SecretListServiceUnavailable struct {
	Payload *models.ErrorResponse
}
SecretListServiceUnavailable describes a response with status code 503, with default header values.

node is not part of a swarm

func NewSecretListServiceUnavailable

func NewSecretListServiceUnavailable() *SecretListServiceUnavailable

NewSecretListServiceUnavailable creates a SecretListServiceUnavailable with default headers values

func (*SecretListServiceUnavailable) Error

func (*SecretListServiceUnavailable) GetPayload

func (*SecretListServiceUnavailable) IsClientError

func (o *SecretListServiceUnavailable) IsClientError() bool

IsClientError returns true when this secret list service unavailable response has a 4xx status code

func (*SecretListServiceUnavailable) IsCode

func (o *SecretListServiceUnavailable) IsCode(code int) bool

IsCode returns true when this secret list service unavailable response a status code equal to that given

func (*SecretListServiceUnavailable) IsRedirect

func (o *SecretListServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this secret list service unavailable response has a 3xx status code

func (*SecretListServiceUnavailable) IsServerError

func (o *SecretListServiceUnavailable) IsServerError() bool

IsServerError returns true when this secret list service unavailable response has a 5xx status code

func (*SecretListServiceUnavailable) IsSuccess

func (o *SecretListServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this secret list service unavailable response has a 2xx status code

func (*SecretListServiceUnavailable) String

type SecretUpdateBadRequest

type SecretUpdateBadRequest struct {
	Payload *models.ErrorResponse
}
SecretUpdateBadRequest describes a response with status code 400, with default header values.

bad parameter

func NewSecretUpdateBadRequest

func NewSecretUpdateBadRequest() *SecretUpdateBadRequest

NewSecretUpdateBadRequest creates a SecretUpdateBadRequest with default headers values

func (*SecretUpdateBadRequest) Error

func (o *SecretUpdateBadRequest) Error() string

func (*SecretUpdateBadRequest) GetPayload

func (o *SecretUpdateBadRequest) GetPayload() *models.ErrorResponse

func (*SecretUpdateBadRequest) IsClientError

func (o *SecretUpdateBadRequest) IsClientError() bool

IsClientError returns true when this secret update bad request response has a 4xx status code

func (*SecretUpdateBadRequest) IsCode

func (o *SecretUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this secret update bad request response a status code equal to that given

func (*SecretUpdateBadRequest) IsRedirect

func (o *SecretUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this secret update bad request response has a 3xx status code

func (*SecretUpdateBadRequest) IsServerError

func (o *SecretUpdateBadRequest) IsServerError() bool

IsServerError returns true when this secret update bad request response has a 5xx status code

func (*SecretUpdateBadRequest) IsSuccess

func (o *SecretUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this secret update bad request response has a 2xx status code

func (*SecretUpdateBadRequest) String

func (o *SecretUpdateBadRequest) String() string

type SecretUpdateInternalServerError

type SecretUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}
SecretUpdateInternalServerError describes a response with status code 500, with default header values.

server error

func NewSecretUpdateInternalServerError

func NewSecretUpdateInternalServerError() *SecretUpdateInternalServerError

NewSecretUpdateInternalServerError creates a SecretUpdateInternalServerError with default headers values

func (*SecretUpdateInternalServerError) Error

func (*SecretUpdateInternalServerError) GetPayload

func (*SecretUpdateInternalServerError) IsClientError

func (o *SecretUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this secret update internal server error response has a 4xx status code

func (*SecretUpdateInternalServerError) IsCode

func (o *SecretUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this secret update internal server error response a status code equal to that given

func (*SecretUpdateInternalServerError) IsRedirect

func (o *SecretUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this secret update internal server error response has a 3xx status code

func (*SecretUpdateInternalServerError) IsServerError

func (o *SecretUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this secret update internal server error response has a 5xx status code

func (*SecretUpdateInternalServerError) IsSuccess

func (o *SecretUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this secret update internal server error response has a 2xx status code

func (*SecretUpdateInternalServerError) String

type SecretUpdateNotFound

type SecretUpdateNotFound struct {
	Payload *models.ErrorResponse
}
SecretUpdateNotFound describes a response with status code 404, with default header values.

no such secret

func NewSecretUpdateNotFound

func NewSecretUpdateNotFound() *SecretUpdateNotFound

NewSecretUpdateNotFound creates a SecretUpdateNotFound with default headers values

func (*SecretUpdateNotFound) Error

func (o *SecretUpdateNotFound) Error() string

func (*SecretUpdateNotFound) GetPayload

func (o *SecretUpdateNotFound) GetPayload() *models.ErrorResponse

func (*SecretUpdateNotFound) IsClientError

func (o *SecretUpdateNotFound) IsClientError() bool

IsClientError returns true when this secret update not found response has a 4xx status code

func (*SecretUpdateNotFound) IsCode

func (o *SecretUpdateNotFound) IsCode(code int) bool

IsCode returns true when this secret update not found response a status code equal to that given

func (*SecretUpdateNotFound) IsRedirect

func (o *SecretUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this secret update not found response has a 3xx status code

func (*SecretUpdateNotFound) IsServerError

func (o *SecretUpdateNotFound) IsServerError() bool

IsServerError returns true when this secret update not found response has a 5xx status code

func (*SecretUpdateNotFound) IsSuccess

func (o *SecretUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this secret update not found response has a 2xx status code

func (*SecretUpdateNotFound) String

func (o *SecretUpdateNotFound) String() string

type SecretUpdateOK

type SecretUpdateOK struct {
}
SecretUpdateOK describes a response with status code 200, with default header values.

no error

func NewSecretUpdateOK

func NewSecretUpdateOK() *SecretUpdateOK

NewSecretUpdateOK creates a SecretUpdateOK with default headers values

func (*SecretUpdateOK) Error

func (o *SecretUpdateOK) Error() string

func (*SecretUpdateOK) IsClientError

func (o *SecretUpdateOK) IsClientError() bool

IsClientError returns true when this secret update o k response has a 4xx status code

func (*SecretUpdateOK) IsCode

func (o *SecretUpdateOK) IsCode(code int) bool

IsCode returns true when this secret update o k response a status code equal to that given

func (*SecretUpdateOK) IsRedirect

func (o *SecretUpdateOK) IsRedirect() bool

IsRedirect returns true when this secret update o k response has a 3xx status code

func (*SecretUpdateOK) IsServerError

func (o *SecretUpdateOK) IsServerError() bool

IsServerError returns true when this secret update o k response has a 5xx status code

func (*SecretUpdateOK) IsSuccess

func (o *SecretUpdateOK) IsSuccess() bool

IsSuccess returns true when this secret update o k response has a 2xx status code

func (*SecretUpdateOK) String

func (o *SecretUpdateOK) String() string

type SecretUpdateParams

type SecretUpdateParams struct {

	/* Body.

	   The spec of the secret to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [SecretInspect endpoint](#operation/SecretInspect) response values.
	*/
	Body *models.SecretSpec

	/* ID.

	   The ID or name of the secret
	*/
	ID string

	/* Version.

	   The version number of the secret object being updated. This is required to avoid conflicting writes.

	   Format: int64
	*/
	Version int64

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

SecretUpdateParams contains all the parameters to send to the API endpoint

for the secret update operation.

Typically these are written to a http.Request.

func NewSecretUpdateParams

func NewSecretUpdateParams() *SecretUpdateParams

NewSecretUpdateParams creates a new SecretUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSecretUpdateParamsWithContext

func NewSecretUpdateParamsWithContext(ctx context.Context) *SecretUpdateParams

NewSecretUpdateParamsWithContext creates a new SecretUpdateParams object with the ability to set a context for a request.

func NewSecretUpdateParamsWithHTTPClient

func NewSecretUpdateParamsWithHTTPClient(client *http.Client) *SecretUpdateParams

NewSecretUpdateParamsWithHTTPClient creates a new SecretUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSecretUpdateParamsWithTimeout

func NewSecretUpdateParamsWithTimeout(timeout time.Duration) *SecretUpdateParams

NewSecretUpdateParamsWithTimeout creates a new SecretUpdateParams object with the ability to set a timeout on a request.

func (*SecretUpdateParams) SetBody

func (o *SecretUpdateParams) SetBody(body *models.SecretSpec)

SetBody adds the body to the secret update params

func (*SecretUpdateParams) SetContext

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

SetContext adds the context to the secret update params

func (*SecretUpdateParams) SetDefaults

func (o *SecretUpdateParams) SetDefaults()

SetDefaults hydrates default values in the secret update params (not the query body).

All values with no default are reset to their zero value.

func (*SecretUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret update params

func (*SecretUpdateParams) SetID

func (o *SecretUpdateParams) SetID(id string)

SetID adds the id to the secret update params

func (*SecretUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the secret update params

func (*SecretUpdateParams) SetVersion

func (o *SecretUpdateParams) SetVersion(version int64)

SetVersion adds the version to the secret update params

func (*SecretUpdateParams) WithBody

WithBody adds the body to the secret update params

func (*SecretUpdateParams) WithContext

WithContext adds the context to the secret update params

func (*SecretUpdateParams) WithDefaults

func (o *SecretUpdateParams) WithDefaults() *SecretUpdateParams

WithDefaults hydrates default values in the secret update params (not the query body).

All values with no default are reset to their zero value.

func (*SecretUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret update params

func (*SecretUpdateParams) WithID

WithID adds the id to the secret update params

func (*SecretUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the secret update params

func (*SecretUpdateParams) WithVersion

func (o *SecretUpdateParams) WithVersion(version int64) *SecretUpdateParams

WithVersion adds the version to the secret update params

func (*SecretUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SecretUpdateReader

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

SecretUpdateReader is a Reader for the SecretUpdate structure.

func (*SecretUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SecretUpdateServiceUnavailable

type SecretUpdateServiceUnavailable struct {
	Payload *models.ErrorResponse
}
SecretUpdateServiceUnavailable describes a response with status code 503, with default header values.

node is not part of a swarm

func NewSecretUpdateServiceUnavailable

func NewSecretUpdateServiceUnavailable() *SecretUpdateServiceUnavailable

NewSecretUpdateServiceUnavailable creates a SecretUpdateServiceUnavailable with default headers values

func (*SecretUpdateServiceUnavailable) Error

func (*SecretUpdateServiceUnavailable) GetPayload

func (*SecretUpdateServiceUnavailable) IsClientError

func (o *SecretUpdateServiceUnavailable) IsClientError() bool

IsClientError returns true when this secret update service unavailable response has a 4xx status code

func (*SecretUpdateServiceUnavailable) IsCode

func (o *SecretUpdateServiceUnavailable) IsCode(code int) bool

IsCode returns true when this secret update service unavailable response a status code equal to that given

func (*SecretUpdateServiceUnavailable) IsRedirect

func (o *SecretUpdateServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this secret update service unavailable response has a 3xx status code

func (*SecretUpdateServiceUnavailable) IsServerError

func (o *SecretUpdateServiceUnavailable) IsServerError() bool

IsServerError returns true when this secret update service unavailable response has a 5xx status code

func (*SecretUpdateServiceUnavailable) IsSuccess

func (o *SecretUpdateServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this secret update service unavailable response has a 2xx status code

func (*SecretUpdateServiceUnavailable) String

Jump to

Keyboard shortcuts

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