secrets

package
v0.0.0-...-fe9a356 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxTar

func WithContentTypeApplicationxTar(r *runtime.ClientOperation)

WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".

Types

type Client

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

Client for secrets API.

func (*Client) SecretCreateLibpod

func (a *Client) SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)

SecretCreateLibpod creates a secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.SecretCreateLibpodContext instead.

func (*Client) SecretCreateLibpodContext

func (a *Client) SecretCreateLibpodContext(ctx context.Context, params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)

SecretCreateLibpodContext creates a secret.

Do not use the deprecated [SecretCreateLibpodParams.Context] with this method: it would be ignored.

func (*Client) SecretDeleteLibpod

func (a *Client) SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)

SecretDeleteLibpod removes secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.SecretDeleteLibpodContext instead.

func (*Client) SecretDeleteLibpodContext

func (a *Client) SecretDeleteLibpodContext(ctx context.Context, params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)

SecretDeleteLibpodContext removes secret.

Do not use the deprecated [SecretDeleteLibpodParams.Context] with this method: it would be ignored.

func (*Client) SecretExistsLibpod

func (a *Client) SecretExistsLibpod(params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)

SecretExistsLibpod secrets exists.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.SecretExistsLibpodContext instead.

func (*Client) SecretExistsLibpodContext

func (a *Client) SecretExistsLibpodContext(ctx context.Context, params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)

SecretExistsLibpodContext secrets exists.

Do not use the deprecated [SecretExistsLibpodParams.Context] with this method: it would be ignored.

func (*Client) SecretInspectLibpod

func (a *Client) SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)

SecretInspectLibpod inspects secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.SecretInspectLibpodContext instead.

func (*Client) SecretInspectLibpodContext

func (a *Client) SecretInspectLibpodContext(ctx context.Context, params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)

SecretInspectLibpodContext inspects secret.

Do not use the deprecated [SecretInspectLibpodParams.Context] with this method: it would be ignored.

func (*Client) SecretListLibpod

func (a *Client) SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)

SecretListLibpod lists secrets.

Returns a list of secrets.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.SecretListLibpodContext instead.

func (*Client) SecretListLibpodContext

func (a *Client) SecretListLibpodContext(ctx context.Context, params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)

SecretListLibpodContext lists secrets.

Returns a list of secrets.

Do not use the deprecated [SecretListLibpodParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {

	// SecretCreateLibpod create a secret.
	SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)

	// SecretCreateLibpodContext create a secret.
	SecretCreateLibpodContext(ctx context.Context, params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)

	// SecretDeleteLibpod remove secret.
	SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)

	// SecretDeleteLibpodContext remove secret.
	SecretDeleteLibpodContext(ctx context.Context, params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)

	// SecretExistsLibpod secret exists.
	SecretExistsLibpod(params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)

	// SecretExistsLibpodContext secret exists.
	SecretExistsLibpodContext(ctx context.Context, params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)

	// SecretInspectLibpod inspect secret.
	SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)

	// SecretInspectLibpodContext inspect secret.
	SecretInspectLibpodContext(ctx context.Context, params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)

	// SecretListLibpod list secrets.
	SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)

	// SecretListLibpodContext list secrets.
	SecretListLibpodContext(ctx context.Context, params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new secrets API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new secrets API client with basic auth credentials.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new secrets API client with a bearer token for authentication.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type SecretCreateLibpodCreated

type SecretCreateLibpodCreated struct {
	Payload *SecretCreateLibpodCreatedBody
}

SecretCreateLibpodCreated describes a response with status code 201, with default header values.

Secret create response

func NewSecretCreateLibpodCreated

func NewSecretCreateLibpodCreated() *SecretCreateLibpodCreated

NewSecretCreateLibpodCreated creates a SecretCreateLibpodCreated with default headers values

func (*SecretCreateLibpodCreated) Code

func (o *SecretCreateLibpodCreated) Code() int

Code gets the status code for the secret create libpod created response

func (*SecretCreateLibpodCreated) Error

func (o *SecretCreateLibpodCreated) Error() string

func (*SecretCreateLibpodCreated) GetPayload

func (*SecretCreateLibpodCreated) IsClientError

func (o *SecretCreateLibpodCreated) IsClientError() bool

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

func (*SecretCreateLibpodCreated) IsCode

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

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

func (*SecretCreateLibpodCreated) IsRedirect

func (o *SecretCreateLibpodCreated) IsRedirect() bool

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

func (*SecretCreateLibpodCreated) IsServerError

func (o *SecretCreateLibpodCreated) IsServerError() bool

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

func (*SecretCreateLibpodCreated) IsSuccess

func (o *SecretCreateLibpodCreated) IsSuccess() bool

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

func (*SecretCreateLibpodCreated) String

func (o *SecretCreateLibpodCreated) String() string

type SecretCreateLibpodCreatedBody

type SecretCreateLibpodCreatedBody struct {

	// ID
	ID string `json:"ID,omitempty"`
}

SecretCreateLibpodCreatedBody secret create libpod created body

swagger:model SecretCreateLibpodCreatedBody

func (*SecretCreateLibpodCreatedBody) ContextValidate

ContextValidate validates this secret create libpod created body based on context it is used

func (*SecretCreateLibpodCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretCreateLibpodCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretCreateLibpodCreatedBody) Validate

Validate validates this secret create libpod created body

type SecretCreateLibpodInternalServerError

type SecretCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

SecretCreateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSecretCreateLibpodInternalServerError

func NewSecretCreateLibpodInternalServerError() *SecretCreateLibpodInternalServerError

NewSecretCreateLibpodInternalServerError creates a SecretCreateLibpodInternalServerError with default headers values

func (*SecretCreateLibpodInternalServerError) Code

Code gets the status code for the secret create libpod internal server error response

func (*SecretCreateLibpodInternalServerError) Error

func (*SecretCreateLibpodInternalServerError) GetPayload

func (*SecretCreateLibpodInternalServerError) IsClientError

func (o *SecretCreateLibpodInternalServerError) IsClientError() bool

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

func (*SecretCreateLibpodInternalServerError) IsCode

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

func (*SecretCreateLibpodInternalServerError) IsRedirect

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

func (*SecretCreateLibpodInternalServerError) IsServerError

func (o *SecretCreateLibpodInternalServerError) IsServerError() bool

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

func (*SecretCreateLibpodInternalServerError) IsSuccess

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

func (*SecretCreateLibpodInternalServerError) String

type SecretCreateLibpodParams

type SecretCreateLibpodParams struct {

	// Driver.
	//
	// Secret driver
	//
	// Default: "file"
	Driver *string

	// Driveropts.
	//
	// JSON-encoded string containing secret driver options as a `map[string]string`.
	Driveropts *string

	// Ignore.
	//
	// Ignore the request if a secret with the same name already exists.
	Ignore *bool

	// Labels.
	//
	// JSON-encoded string containing labels as a `map[string]string`.
	Labels *string

	// Name.
	//
	// User-defined name of the secret.
	Name string

	// Replace.
	//
	// Replace an existing secret with the same name.
	Replace *bool

	// Request.
	//
	// Secret
	Request string

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

SecretCreateLibpodParams contains all the parameters to send to the API endpoint

for the secret create libpod operation.

Typically these are written to a http.Request.

func NewSecretCreateLibpodParams

func NewSecretCreateLibpodParams() *SecretCreateLibpodParams

NewSecretCreateLibpodParams creates a new SecretCreateLibpodParams 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 NewSecretCreateLibpodParamsWithContext deprecated

func NewSecretCreateLibpodParamsWithContext(ctx context.Context) *SecretCreateLibpodParams

NewSecretCreateLibpodParamsWithContext creates a new SecretCreateLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.

func NewSecretCreateLibpodParamsWithHTTPClient

func NewSecretCreateLibpodParamsWithHTTPClient(client *http.Client) *SecretCreateLibpodParams

NewSecretCreateLibpodParamsWithHTTPClient creates a new SecretCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewSecretCreateLibpodParamsWithTimeout

func NewSecretCreateLibpodParamsWithTimeout(timeout time.Duration) *SecretCreateLibpodParams

NewSecretCreateLibpodParamsWithTimeout creates a new SecretCreateLibpodParams object with the ability to set a timeout on a request.

func (*SecretCreateLibpodParams) SetContext deprecated

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

SetContext adds the context to the secret create libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.

func (*SecretCreateLibpodParams) SetDefaults

func (o *SecretCreateLibpodParams) SetDefaults()

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

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

func (*SecretCreateLibpodParams) SetDriver

func (o *SecretCreateLibpodParams) SetDriver(driver *string)

SetDriver adds the driver to the secret create libpod params.

func (*SecretCreateLibpodParams) SetDriveropts

func (o *SecretCreateLibpodParams) SetDriveropts(driveropts *string)

SetDriveropts adds the driveropts to the secret create libpod params.

func (*SecretCreateLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret create libpod params.

func (*SecretCreateLibpodParams) SetIgnore

func (o *SecretCreateLibpodParams) SetIgnore(ignore *bool)

SetIgnore adds the ignore to the secret create libpod params.

func (*SecretCreateLibpodParams) SetLabels

func (o *SecretCreateLibpodParams) SetLabels(labels *string)

SetLabels adds the labels to the secret create libpod params.

func (*SecretCreateLibpodParams) SetName

func (o *SecretCreateLibpodParams) SetName(name string)

SetName adds the name to the secret create libpod params.

func (*SecretCreateLibpodParams) SetReplace

func (o *SecretCreateLibpodParams) SetReplace(replace *bool)

SetReplace adds the replace to the secret create libpod params.

func (*SecretCreateLibpodParams) SetRequest

func (o *SecretCreateLibpodParams) SetRequest(request string)

SetRequest adds the request to the secret create libpod params.

func (*SecretCreateLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the secret create libpod params.

func (*SecretCreateLibpodParams) WithContext deprecated

WithContext adds the context to the secret create libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.

func (*SecretCreateLibpodParams) WithDefaults

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

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

func (*SecretCreateLibpodParams) WithDriver

WithDriver adds the driver to the secret create libpod params.

func (*SecretCreateLibpodParams) WithDriveropts

func (o *SecretCreateLibpodParams) WithDriveropts(driveropts *string) *SecretCreateLibpodParams

WithDriveropts adds the driveropts to the secret create libpod params.

func (*SecretCreateLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret create libpod params.

func (*SecretCreateLibpodParams) WithIgnore

func (o *SecretCreateLibpodParams) WithIgnore(ignore *bool) *SecretCreateLibpodParams

WithIgnore adds the ignore to the secret create libpod params.

func (*SecretCreateLibpodParams) WithLabels

WithLabels adds the labels to the secret create libpod params.

func (*SecretCreateLibpodParams) WithName

WithName adds the name to the secret create libpod params.

func (*SecretCreateLibpodParams) WithReplace

func (o *SecretCreateLibpodParams) WithReplace(replace *bool) *SecretCreateLibpodParams

WithReplace adds the replace to the secret create libpod params.

func (*SecretCreateLibpodParams) WithRequest

func (o *SecretCreateLibpodParams) WithRequest(request string) *SecretCreateLibpodParams

WithRequest adds the request to the secret create libpod params.

func (*SecretCreateLibpodParams) WithTimeout

WithTimeout adds the timeout to the secret create libpod params.

func (*SecretCreateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type SecretCreateLibpodReader

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

SecretCreateLibpodReader is a Reader for the SecretCreateLibpod structure.

func (*SecretCreateLibpodReader) ReadResponse

func (o *SecretCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type SecretDeleteLibpodInternalServerError

type SecretDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

SecretDeleteLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSecretDeleteLibpodInternalServerError

func NewSecretDeleteLibpodInternalServerError() *SecretDeleteLibpodInternalServerError

NewSecretDeleteLibpodInternalServerError creates a SecretDeleteLibpodInternalServerError with default headers values

func (*SecretDeleteLibpodInternalServerError) Code

Code gets the status code for the secret delete libpod internal server error response

func (*SecretDeleteLibpodInternalServerError) Error

func (*SecretDeleteLibpodInternalServerError) GetPayload

func (*SecretDeleteLibpodInternalServerError) IsClientError

func (o *SecretDeleteLibpodInternalServerError) IsClientError() bool

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

func (*SecretDeleteLibpodInternalServerError) IsCode

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

func (*SecretDeleteLibpodInternalServerError) IsRedirect

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

func (*SecretDeleteLibpodInternalServerError) IsServerError

func (o *SecretDeleteLibpodInternalServerError) IsServerError() bool

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

func (*SecretDeleteLibpodInternalServerError) IsSuccess

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

func (*SecretDeleteLibpodInternalServerError) String

type SecretDeleteLibpodNoContent

type SecretDeleteLibpodNoContent struct {
}

SecretDeleteLibpodNoContent describes a response with status code 204, with default header values.

no error

func NewSecretDeleteLibpodNoContent

func NewSecretDeleteLibpodNoContent() *SecretDeleteLibpodNoContent

NewSecretDeleteLibpodNoContent creates a SecretDeleteLibpodNoContent with default headers values

func (*SecretDeleteLibpodNoContent) Code

func (o *SecretDeleteLibpodNoContent) Code() int

Code gets the status code for the secret delete libpod no content response

func (*SecretDeleteLibpodNoContent) Error

func (*SecretDeleteLibpodNoContent) IsClientError

func (o *SecretDeleteLibpodNoContent) IsClientError() bool

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

func (*SecretDeleteLibpodNoContent) IsCode

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

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

func (*SecretDeleteLibpodNoContent) IsRedirect

func (o *SecretDeleteLibpodNoContent) IsRedirect() bool

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

func (*SecretDeleteLibpodNoContent) IsServerError

func (o *SecretDeleteLibpodNoContent) IsServerError() bool

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

func (*SecretDeleteLibpodNoContent) IsSuccess

func (o *SecretDeleteLibpodNoContent) IsSuccess() bool

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

func (*SecretDeleteLibpodNoContent) String

func (o *SecretDeleteLibpodNoContent) String() string

type SecretDeleteLibpodNotFound

type SecretDeleteLibpodNotFound struct {
	Payload *SecretDeleteLibpodNotFoundBody
}

SecretDeleteLibpodNotFound describes a response with status code 404, with default header values.

No such secret

func NewSecretDeleteLibpodNotFound

func NewSecretDeleteLibpodNotFound() *SecretDeleteLibpodNotFound

NewSecretDeleteLibpodNotFound creates a SecretDeleteLibpodNotFound with default headers values

func (*SecretDeleteLibpodNotFound) Code

func (o *SecretDeleteLibpodNotFound) Code() int

Code gets the status code for the secret delete libpod not found response

func (*SecretDeleteLibpodNotFound) Error

func (*SecretDeleteLibpodNotFound) GetPayload

func (*SecretDeleteLibpodNotFound) IsClientError

func (o *SecretDeleteLibpodNotFound) IsClientError() bool

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

func (*SecretDeleteLibpodNotFound) IsCode

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

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

func (*SecretDeleteLibpodNotFound) IsRedirect

func (o *SecretDeleteLibpodNotFound) IsRedirect() bool

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

func (*SecretDeleteLibpodNotFound) IsServerError

func (o *SecretDeleteLibpodNotFound) IsServerError() bool

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

func (*SecretDeleteLibpodNotFound) IsSuccess

func (o *SecretDeleteLibpodNotFound) IsSuccess() bool

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

func (*SecretDeleteLibpodNotFound) String

func (o *SecretDeleteLibpodNotFound) String() string

type SecretDeleteLibpodNotFoundBody

type SecretDeleteLibpodNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// HTTP response code
	// Minimum: 400
	ResponseCode int64 `json:"response,omitempty"`
}

SecretDeleteLibpodNotFoundBody secret delete libpod not found body

swagger:model SecretDeleteLibpodNotFoundBody

func (*SecretDeleteLibpodNotFoundBody) ContextValidate

ContextValidate validates this secret delete libpod not found body based on context it is used

func (*SecretDeleteLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretDeleteLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretDeleteLibpodNotFoundBody) Validate

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

Validate validates this secret delete libpod not found body

type SecretDeleteLibpodParams

type SecretDeleteLibpodParams struct {

	// All.
	//
	// Remove all secrets
	All *bool

	// Name.
	//
	// the name or ID of the secret
	Name string

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

SecretDeleteLibpodParams contains all the parameters to send to the API endpoint

for the secret delete libpod operation.

Typically these are written to a http.Request.

func NewSecretDeleteLibpodParams

func NewSecretDeleteLibpodParams() *SecretDeleteLibpodParams

NewSecretDeleteLibpodParams creates a new SecretDeleteLibpodParams 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 NewSecretDeleteLibpodParamsWithContext deprecated

func NewSecretDeleteLibpodParamsWithContext(ctx context.Context) *SecretDeleteLibpodParams

NewSecretDeleteLibpodParamsWithContext creates a new SecretDeleteLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.

func NewSecretDeleteLibpodParamsWithHTTPClient

func NewSecretDeleteLibpodParamsWithHTTPClient(client *http.Client) *SecretDeleteLibpodParams

NewSecretDeleteLibpodParamsWithHTTPClient creates a new SecretDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewSecretDeleteLibpodParamsWithTimeout

func NewSecretDeleteLibpodParamsWithTimeout(timeout time.Duration) *SecretDeleteLibpodParams

NewSecretDeleteLibpodParamsWithTimeout creates a new SecretDeleteLibpodParams object with the ability to set a timeout on a request.

func (*SecretDeleteLibpodParams) SetAll

func (o *SecretDeleteLibpodParams) SetAll(all *bool)

SetAll adds the all to the secret delete libpod params.

func (*SecretDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the secret delete libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.

func (*SecretDeleteLibpodParams) SetDefaults

func (o *SecretDeleteLibpodParams) SetDefaults()

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

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

func (*SecretDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret delete libpod params.

func (*SecretDeleteLibpodParams) SetName

func (o *SecretDeleteLibpodParams) SetName(name string)

SetName adds the name to the secret delete libpod params.

func (*SecretDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the secret delete libpod params.

func (*SecretDeleteLibpodParams) WithAll

WithAll adds the all to the secret delete libpod params.

func (*SecretDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the secret delete libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.

func (*SecretDeleteLibpodParams) WithDefaults

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

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

func (*SecretDeleteLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret delete libpod params.

func (*SecretDeleteLibpodParams) WithName

WithName adds the name to the secret delete libpod params.

func (*SecretDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the secret delete libpod params.

func (*SecretDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type SecretDeleteLibpodReader

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

SecretDeleteLibpodReader is a Reader for the SecretDeleteLibpod structure.

func (*SecretDeleteLibpodReader) ReadResponse

func (o *SecretDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type SecretExistsLibpodInternalServerError

type SecretExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

SecretExistsLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSecretExistsLibpodInternalServerError

func NewSecretExistsLibpodInternalServerError() *SecretExistsLibpodInternalServerError

NewSecretExistsLibpodInternalServerError creates a SecretExistsLibpodInternalServerError with default headers values

func (*SecretExistsLibpodInternalServerError) Code

Code gets the status code for the secret exists libpod internal server error response

func (*SecretExistsLibpodInternalServerError) Error

func (*SecretExistsLibpodInternalServerError) GetPayload

func (*SecretExistsLibpodInternalServerError) IsClientError

func (o *SecretExistsLibpodInternalServerError) IsClientError() bool

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

func (*SecretExistsLibpodInternalServerError) IsCode

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

func (*SecretExistsLibpodInternalServerError) IsRedirect

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

func (*SecretExistsLibpodInternalServerError) IsServerError

func (o *SecretExistsLibpodInternalServerError) IsServerError() bool

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

func (*SecretExistsLibpodInternalServerError) IsSuccess

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

func (*SecretExistsLibpodInternalServerError) String

type SecretExistsLibpodNoContent

type SecretExistsLibpodNoContent struct {
}

SecretExistsLibpodNoContent describes a response with status code 204, with default header values.

secret exists

func NewSecretExistsLibpodNoContent

func NewSecretExistsLibpodNoContent() *SecretExistsLibpodNoContent

NewSecretExistsLibpodNoContent creates a SecretExistsLibpodNoContent with default headers values

func (*SecretExistsLibpodNoContent) Code

func (o *SecretExistsLibpodNoContent) Code() int

Code gets the status code for the secret exists libpod no content response

func (*SecretExistsLibpodNoContent) Error

func (*SecretExistsLibpodNoContent) IsClientError

func (o *SecretExistsLibpodNoContent) IsClientError() bool

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

func (*SecretExistsLibpodNoContent) IsCode

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

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

func (*SecretExistsLibpodNoContent) IsRedirect

func (o *SecretExistsLibpodNoContent) IsRedirect() bool

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

func (*SecretExistsLibpodNoContent) IsServerError

func (o *SecretExistsLibpodNoContent) IsServerError() bool

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

func (*SecretExistsLibpodNoContent) IsSuccess

func (o *SecretExistsLibpodNoContent) IsSuccess() bool

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

func (*SecretExistsLibpodNoContent) String

func (o *SecretExistsLibpodNoContent) String() string

type SecretExistsLibpodNotFound

type SecretExistsLibpodNotFound struct {
	Payload *SecretExistsLibpodNotFoundBody
}

SecretExistsLibpodNotFound describes a response with status code 404, with default header values.

No such secret

func NewSecretExistsLibpodNotFound

func NewSecretExistsLibpodNotFound() *SecretExistsLibpodNotFound

NewSecretExistsLibpodNotFound creates a SecretExistsLibpodNotFound with default headers values

func (*SecretExistsLibpodNotFound) Code

func (o *SecretExistsLibpodNotFound) Code() int

Code gets the status code for the secret exists libpod not found response

func (*SecretExistsLibpodNotFound) Error

func (*SecretExistsLibpodNotFound) GetPayload

func (*SecretExistsLibpodNotFound) IsClientError

func (o *SecretExistsLibpodNotFound) IsClientError() bool

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

func (*SecretExistsLibpodNotFound) IsCode

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

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

func (*SecretExistsLibpodNotFound) IsRedirect

func (o *SecretExistsLibpodNotFound) IsRedirect() bool

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

func (*SecretExistsLibpodNotFound) IsServerError

func (o *SecretExistsLibpodNotFound) IsServerError() bool

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

func (*SecretExistsLibpodNotFound) IsSuccess

func (o *SecretExistsLibpodNotFound) IsSuccess() bool

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

func (*SecretExistsLibpodNotFound) String

func (o *SecretExistsLibpodNotFound) String() string

type SecretExistsLibpodNotFoundBody

type SecretExistsLibpodNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// HTTP response code
	// Minimum: 400
	ResponseCode int64 `json:"response,omitempty"`
}

SecretExistsLibpodNotFoundBody secret exists libpod not found body

swagger:model SecretExistsLibpodNotFoundBody

func (*SecretExistsLibpodNotFoundBody) ContextValidate

ContextValidate validates this secret exists libpod not found body based on context it is used

func (*SecretExistsLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretExistsLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretExistsLibpodNotFoundBody) Validate

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

Validate validates this secret exists libpod not found body

type SecretExistsLibpodParams

type SecretExistsLibpodParams struct {

	// Name.
	//
	// the name or ID of the secret
	Name string

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

SecretExistsLibpodParams contains all the parameters to send to the API endpoint

for the secret exists libpod operation.

Typically these are written to a http.Request.

func NewSecretExistsLibpodParams

func NewSecretExistsLibpodParams() *SecretExistsLibpodParams

NewSecretExistsLibpodParams creates a new SecretExistsLibpodParams 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 NewSecretExistsLibpodParamsWithContext deprecated

func NewSecretExistsLibpodParamsWithContext(ctx context.Context) *SecretExistsLibpodParams

NewSecretExistsLibpodParamsWithContext creates a new SecretExistsLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.

func NewSecretExistsLibpodParamsWithHTTPClient

func NewSecretExistsLibpodParamsWithHTTPClient(client *http.Client) *SecretExistsLibpodParams

NewSecretExistsLibpodParamsWithHTTPClient creates a new SecretExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewSecretExistsLibpodParamsWithTimeout

func NewSecretExistsLibpodParamsWithTimeout(timeout time.Duration) *SecretExistsLibpodParams

NewSecretExistsLibpodParamsWithTimeout creates a new SecretExistsLibpodParams object with the ability to set a timeout on a request.

func (*SecretExistsLibpodParams) SetContext deprecated

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

SetContext adds the context to the secret exists libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.

func (*SecretExistsLibpodParams) SetDefaults

func (o *SecretExistsLibpodParams) SetDefaults()

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

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

func (*SecretExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret exists libpod params.

func (*SecretExistsLibpodParams) SetName

func (o *SecretExistsLibpodParams) SetName(name string)

SetName adds the name to the secret exists libpod params.

func (*SecretExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the secret exists libpod params.

func (*SecretExistsLibpodParams) WithContext deprecated

WithContext adds the context to the secret exists libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.

func (*SecretExistsLibpodParams) WithDefaults

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

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

func (*SecretExistsLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret exists libpod params.

func (*SecretExistsLibpodParams) WithName

WithName adds the name to the secret exists libpod params.

func (*SecretExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the secret exists libpod params.

func (*SecretExistsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type SecretExistsLibpodReader

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

SecretExistsLibpodReader is a Reader for the SecretExistsLibpod structure.

func (*SecretExistsLibpodReader) ReadResponse

func (o *SecretExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type SecretInspectLibpodInternalServerError

type SecretInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

SecretInspectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSecretInspectLibpodInternalServerError

func NewSecretInspectLibpodInternalServerError() *SecretInspectLibpodInternalServerError

NewSecretInspectLibpodInternalServerError creates a SecretInspectLibpodInternalServerError with default headers values

func (*SecretInspectLibpodInternalServerError) Code

Code gets the status code for the secret inspect libpod internal server error response

func (*SecretInspectLibpodInternalServerError) Error

func (*SecretInspectLibpodInternalServerError) GetPayload

func (*SecretInspectLibpodInternalServerError) IsClientError

func (o *SecretInspectLibpodInternalServerError) IsClientError() bool

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

func (*SecretInspectLibpodInternalServerError) IsCode

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

func (*SecretInspectLibpodInternalServerError) IsRedirect

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

func (*SecretInspectLibpodInternalServerError) IsServerError

func (o *SecretInspectLibpodInternalServerError) IsServerError() bool

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

func (*SecretInspectLibpodInternalServerError) IsSuccess

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

func (*SecretInspectLibpodInternalServerError) String

type SecretInspectLibpodNotFound

type SecretInspectLibpodNotFound struct {
	Payload *SecretInspectLibpodNotFoundBody
}

SecretInspectLibpodNotFound describes a response with status code 404, with default header values.

No such secret

func NewSecretInspectLibpodNotFound

func NewSecretInspectLibpodNotFound() *SecretInspectLibpodNotFound

NewSecretInspectLibpodNotFound creates a SecretInspectLibpodNotFound with default headers values

func (*SecretInspectLibpodNotFound) Code

func (o *SecretInspectLibpodNotFound) Code() int

Code gets the status code for the secret inspect libpod not found response

func (*SecretInspectLibpodNotFound) Error

func (*SecretInspectLibpodNotFound) GetPayload

func (*SecretInspectLibpodNotFound) IsClientError

func (o *SecretInspectLibpodNotFound) IsClientError() bool

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

func (*SecretInspectLibpodNotFound) IsCode

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

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

func (*SecretInspectLibpodNotFound) IsRedirect

func (o *SecretInspectLibpodNotFound) IsRedirect() bool

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

func (*SecretInspectLibpodNotFound) IsServerError

func (o *SecretInspectLibpodNotFound) IsServerError() bool

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

func (*SecretInspectLibpodNotFound) IsSuccess

func (o *SecretInspectLibpodNotFound) IsSuccess() bool

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

func (*SecretInspectLibpodNotFound) String

func (o *SecretInspectLibpodNotFound) String() string

type SecretInspectLibpodNotFoundBody

type SecretInspectLibpodNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// HTTP response code
	// Minimum: 400
	ResponseCode int64 `json:"response,omitempty"`
}

SecretInspectLibpodNotFoundBody secret inspect libpod not found body

swagger:model SecretInspectLibpodNotFoundBody

func (*SecretInspectLibpodNotFoundBody) ContextValidate

ContextValidate validates this secret inspect libpod not found body based on context it is used

func (*SecretInspectLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretInspectLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretInspectLibpodNotFoundBody) Validate

Validate validates this secret inspect libpod not found body

type SecretInspectLibpodOK

type SecretInspectLibpodOK struct {
	Payload *models.SecretInfoReport
}

SecretInspectLibpodOK describes a response with status code 200, with default header values.

Secret inspect response

func NewSecretInspectLibpodOK

func NewSecretInspectLibpodOK() *SecretInspectLibpodOK

NewSecretInspectLibpodOK creates a SecretInspectLibpodOK with default headers values

func (*SecretInspectLibpodOK) Code

func (o *SecretInspectLibpodOK) Code() int

Code gets the status code for the secret inspect libpod o k response

func (*SecretInspectLibpodOK) Error

func (o *SecretInspectLibpodOK) Error() string

func (*SecretInspectLibpodOK) GetPayload

func (*SecretInspectLibpodOK) IsClientError

func (o *SecretInspectLibpodOK) IsClientError() bool

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

func (*SecretInspectLibpodOK) IsCode

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

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

func (*SecretInspectLibpodOK) IsRedirect

func (o *SecretInspectLibpodOK) IsRedirect() bool

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

func (*SecretInspectLibpodOK) IsServerError

func (o *SecretInspectLibpodOK) IsServerError() bool

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

func (*SecretInspectLibpodOK) IsSuccess

func (o *SecretInspectLibpodOK) IsSuccess() bool

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

func (*SecretInspectLibpodOK) String

func (o *SecretInspectLibpodOK) String() string

type SecretInspectLibpodParams

type SecretInspectLibpodParams struct {

	// Name.
	//
	// the name or ID of the secret
	Name string

	// Showsecret.
	//
	// Display Secret
	Showsecret *bool

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

SecretInspectLibpodParams contains all the parameters to send to the API endpoint

for the secret inspect libpod operation.

Typically these are written to a http.Request.

func NewSecretInspectLibpodParams

func NewSecretInspectLibpodParams() *SecretInspectLibpodParams

NewSecretInspectLibpodParams creates a new SecretInspectLibpodParams 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 NewSecretInspectLibpodParamsWithContext deprecated

func NewSecretInspectLibpodParamsWithContext(ctx context.Context) *SecretInspectLibpodParams

NewSecretInspectLibpodParamsWithContext creates a new SecretInspectLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.

func NewSecretInspectLibpodParamsWithHTTPClient

func NewSecretInspectLibpodParamsWithHTTPClient(client *http.Client) *SecretInspectLibpodParams

NewSecretInspectLibpodParamsWithHTTPClient creates a new SecretInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewSecretInspectLibpodParamsWithTimeout

func NewSecretInspectLibpodParamsWithTimeout(timeout time.Duration) *SecretInspectLibpodParams

NewSecretInspectLibpodParamsWithTimeout creates a new SecretInspectLibpodParams object with the ability to set a timeout on a request.

func (*SecretInspectLibpodParams) SetContext deprecated

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

SetContext adds the context to the secret inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.

func (*SecretInspectLibpodParams) SetDefaults

func (o *SecretInspectLibpodParams) SetDefaults()

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

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

func (*SecretInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret inspect libpod params.

func (*SecretInspectLibpodParams) SetName

func (o *SecretInspectLibpodParams) SetName(name string)

SetName adds the name to the secret inspect libpod params.

func (*SecretInspectLibpodParams) SetShowsecret

func (o *SecretInspectLibpodParams) SetShowsecret(showsecret *bool)

SetShowsecret adds the showsecret to the secret inspect libpod params.

func (*SecretInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the secret inspect libpod params.

func (*SecretInspectLibpodParams) WithContext deprecated

WithContext adds the context to the secret inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.

func (*SecretInspectLibpodParams) WithDefaults

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

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

func (*SecretInspectLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret inspect libpod params.

func (*SecretInspectLibpodParams) WithName

WithName adds the name to the secret inspect libpod params.

func (*SecretInspectLibpodParams) WithShowsecret

func (o *SecretInspectLibpodParams) WithShowsecret(showsecret *bool) *SecretInspectLibpodParams

WithShowsecret adds the showsecret to the secret inspect libpod params.

func (*SecretInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the secret inspect libpod params.

func (*SecretInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type SecretInspectLibpodReader

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

SecretInspectLibpodReader is a Reader for the SecretInspectLibpod structure.

func (*SecretInspectLibpodReader) ReadResponse

func (o *SecretInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type SecretListLibpodInternalServerError

type SecretListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

SecretListLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSecretListLibpodInternalServerError

func NewSecretListLibpodInternalServerError() *SecretListLibpodInternalServerError

NewSecretListLibpodInternalServerError creates a SecretListLibpodInternalServerError with default headers values

func (*SecretListLibpodInternalServerError) Code

Code gets the status code for the secret list libpod internal server error response

func (*SecretListLibpodInternalServerError) Error

func (*SecretListLibpodInternalServerError) GetPayload

func (*SecretListLibpodInternalServerError) IsClientError

func (o *SecretListLibpodInternalServerError) IsClientError() bool

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

func (*SecretListLibpodInternalServerError) IsCode

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

func (*SecretListLibpodInternalServerError) IsRedirect

func (o *SecretListLibpodInternalServerError) IsRedirect() bool

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

func (*SecretListLibpodInternalServerError) IsServerError

func (o *SecretListLibpodInternalServerError) IsServerError() bool

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

func (*SecretListLibpodInternalServerError) IsSuccess

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

func (*SecretListLibpodInternalServerError) String

type SecretListLibpodOK

type SecretListLibpodOK struct {
	Payload []*models.SecretInfoReport
}

SecretListLibpodOK describes a response with status code 200, with default header values.

Secret list response

func NewSecretListLibpodOK

func NewSecretListLibpodOK() *SecretListLibpodOK

NewSecretListLibpodOK creates a SecretListLibpodOK with default headers values

func (*SecretListLibpodOK) Code

func (o *SecretListLibpodOK) Code() int

Code gets the status code for the secret list libpod o k response

func (*SecretListLibpodOK) Error

func (o *SecretListLibpodOK) Error() string

func (*SecretListLibpodOK) GetPayload

func (o *SecretListLibpodOK) GetPayload() []*models.SecretInfoReport

func (*SecretListLibpodOK) IsClientError

func (o *SecretListLibpodOK) IsClientError() bool

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

func (*SecretListLibpodOK) IsCode

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

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

func (*SecretListLibpodOK) IsRedirect

func (o *SecretListLibpodOK) IsRedirect() bool

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

func (*SecretListLibpodOK) IsServerError

func (o *SecretListLibpodOK) IsServerError() bool

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

func (*SecretListLibpodOK) IsSuccess

func (o *SecretListLibpodOK) IsSuccess() bool

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

func (*SecretListLibpodOK) String

func (o *SecretListLibpodOK) String() string

type SecretListLibpodParams

type SecretListLibpodParams struct {

	// Filters.
	//
	// JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters:
	//   - `name=[name]` Matches secrets name (accepts regex).
	//   - `id=[id]` Matches for full or partial ID.
	//
	Filters *string

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

SecretListLibpodParams contains all the parameters to send to the API endpoint

for the secret list libpod operation.

Typically these are written to a http.Request.

func NewSecretListLibpodParams

func NewSecretListLibpodParams() *SecretListLibpodParams

NewSecretListLibpodParams creates a new SecretListLibpodParams 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 NewSecretListLibpodParamsWithContext deprecated

func NewSecretListLibpodParamsWithContext(ctx context.Context) *SecretListLibpodParams

NewSecretListLibpodParamsWithContext creates a new SecretListLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.

func NewSecretListLibpodParamsWithHTTPClient

func NewSecretListLibpodParamsWithHTTPClient(client *http.Client) *SecretListLibpodParams

NewSecretListLibpodParamsWithHTTPClient creates a new SecretListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewSecretListLibpodParamsWithTimeout

func NewSecretListLibpodParamsWithTimeout(timeout time.Duration) *SecretListLibpodParams

NewSecretListLibpodParamsWithTimeout creates a new SecretListLibpodParams object with the ability to set a timeout on a request.

func (*SecretListLibpodParams) SetContext deprecated

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

SetContext adds the context to the secret list libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.

func (*SecretListLibpodParams) SetDefaults

func (o *SecretListLibpodParams) SetDefaults()

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

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

func (*SecretListLibpodParams) SetFilters

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

SetFilters adds the filters to the secret list libpod params.

func (*SecretListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the secret list libpod params.

func (*SecretListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the secret list libpod params.

func (*SecretListLibpodParams) WithContext deprecated

WithContext adds the context to the secret list libpod params.

Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.

func (*SecretListLibpodParams) WithDefaults

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

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

func (*SecretListLibpodParams) WithFilters

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

WithFilters adds the filters to the secret list libpod params.

func (*SecretListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret list libpod params.

func (*SecretListLibpodParams) WithTimeout

WithTimeout adds the timeout to the secret list libpod params.

func (*SecretListLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type SecretListLibpodReader

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

SecretListLibpodReader is a Reader for the SecretListLibpod structure.

func (*SecretListLibpodReader) ReadResponse

func (o *SecretListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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
⌂ 换网址