secrets

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for secrets API

func (*Client) SecretCreateLibpod

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

SecretCreateLibpod creates a secret

func (*Client) SecretDeleteLibpod

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

SecretDeleteLibpod removes secret

func (*Client) SecretInspectLibpod

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

SecretInspectLibpod inspects secret

func (*Client) SecretListLibpod

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

SecretListLibpod lists secrets

Returns a list of secrets

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 {
	SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)

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

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

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new secrets API client.

type 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) 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

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

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

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

Validate validates this secret create libpod created body

type SecretCreateLibpodInternalServerError

type SecretCreateLibpodInternalServerError struct {
	Payload *SecretCreateLibpodInternalServerErrorBody
}

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) 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 SecretCreateLibpodInternalServerErrorBody

type SecretCreateLibpodInternalServerErrorBody 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretCreateLibpodInternalServerErrorBody secret create libpod internal server error body swagger:model SecretCreateLibpodInternalServerErrorBody

func (*SecretCreateLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this secret create libpod internal server error body based on context it is used

func (*SecretCreateLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretCreateLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretCreateLibpodInternalServerErrorBody) Validate

Validate validates this secret create libpod internal server error body

type SecretCreateLibpodParams

type SecretCreateLibpodParams struct {

	/* Driver.

	   Secret driver

	   Default: "file"
	*/
	Driver *string

	/* Name.

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

	/* Request.

	   Secret
	*/
	Request string

	Context    context.Context
	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

func NewSecretCreateLibpodParamsWithContext(ctx context.Context) *SecretCreateLibpodParams

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

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

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

SetContext adds the context to the secret create libpod params

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) 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

WithContext adds the context to the secret create libpod params

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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the secret create libpod params

func (*SecretCreateLibpodParams) WithName

WithName adds the name 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 swagger request

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type SecretDeleteLibpodInternalServerError

type SecretDeleteLibpodInternalServerError struct {
	Payload *SecretDeleteLibpodInternalServerErrorBody
}

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) 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 SecretDeleteLibpodInternalServerErrorBody

type SecretDeleteLibpodInternalServerErrorBody 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretDeleteLibpodInternalServerErrorBody secret delete libpod internal server error body swagger:model SecretDeleteLibpodInternalServerErrorBody

func (*SecretDeleteLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this secret delete libpod internal server error body based on context it is used

func (*SecretDeleteLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretDeleteLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretDeleteLibpodInternalServerErrorBody) Validate

Validate validates this secret delete libpod internal server error body

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) 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) 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretDeleteLibpodNotFoundBody secret delete libpod not found body swagger:model SecretDeleteLibpodNotFoundBody

func (*SecretDeleteLibpodNotFoundBody) ContextValidate

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

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

	Context    context.Context
	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

func NewSecretDeleteLibpodParamsWithContext(ctx context.Context) *SecretDeleteLibpodParams

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

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

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

SetContext adds the context to the secret delete libpod params

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

WithContext adds the context to the secret delete libpod params

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 swagger request

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type SecretInspectLibpodInternalServerError

type SecretInspectLibpodInternalServerError struct {
	Payload *SecretInspectLibpodInternalServerErrorBody
}

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) 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 SecretInspectLibpodInternalServerErrorBody

type SecretInspectLibpodInternalServerErrorBody 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretInspectLibpodInternalServerErrorBody secret inspect libpod internal server error body swagger:model SecretInspectLibpodInternalServerErrorBody

func (*SecretInspectLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this secret inspect libpod internal server error body based on context it is used

func (*SecretInspectLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretInspectLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretInspectLibpodInternalServerErrorBody) Validate

Validate validates this secret inspect libpod internal server error body

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) 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretInspectLibpodNotFoundBody secret inspect libpod not found body swagger:model SecretInspectLibpodNotFoundBody

func (*SecretInspectLibpodNotFoundBody) ContextValidate

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

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) 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

	Context    context.Context
	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

func NewSecretInspectLibpodParamsWithContext(ctx context.Context) *SecretInspectLibpodParams

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

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

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

SetContext adds the context to the secret inspect libpod params

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) SetTimeout

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

SetTimeout adds the timeout to the secret inspect libpod params

func (*SecretInspectLibpodParams) WithContext

WithContext adds the context to the secret inspect libpod params

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) WithTimeout

WithTimeout adds the timeout to the secret inspect libpod params

func (*SecretInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type SecretListLibpodInternalServerError

type SecretListLibpodInternalServerError struct {
	Payload *SecretListLibpodInternalServerErrorBody
}

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) 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 SecretListLibpodInternalServerErrorBody

type SecretListLibpodInternalServerErrorBody 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
	ResponseCode int64 `json:"response,omitempty"`
}

SecretListLibpodInternalServerErrorBody secret list libpod internal server error body swagger:model SecretListLibpodInternalServerErrorBody

func (*SecretListLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this secret list libpod internal server error body based on context it is used

func (*SecretListLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretListLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretListLibpodInternalServerErrorBody) Validate

Validate validates this secret list libpod internal server error body

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) 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 {
	Context    context.Context
	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

func NewSecretListLibpodParamsWithContext(ctx context.Context) *SecretListLibpodParams

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

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

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

SetContext adds the context to the secret list libpod params

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) 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

WithContext adds the context to the secret list libpod params

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) 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 swagger request

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) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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