Documentation ¶
Index ¶
- type Client
- func (a *Client) SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
- func (a *Client) SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
- func (a *Client) SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
- func (a *Client) SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type SecretCreateLibpodCreated
- func (o *SecretCreateLibpodCreated) Error() string
- func (o *SecretCreateLibpodCreated) GetPayload() *SecretCreateLibpodCreatedBody
- func (o *SecretCreateLibpodCreated) IsClientError() bool
- func (o *SecretCreateLibpodCreated) IsCode(code int) bool
- func (o *SecretCreateLibpodCreated) IsRedirect() bool
- func (o *SecretCreateLibpodCreated) IsServerError() bool
- func (o *SecretCreateLibpodCreated) IsSuccess() bool
- func (o *SecretCreateLibpodCreated) String() string
- type SecretCreateLibpodCreatedBody
- func (o *SecretCreateLibpodCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretCreateLibpodCreatedBody) MarshalBinary() ([]byte, error)
- func (o *SecretCreateLibpodCreatedBody) UnmarshalBinary(b []byte) error
- func (o *SecretCreateLibpodCreatedBody) Validate(formats strfmt.Registry) error
- type SecretCreateLibpodInternalServerError
- func (o *SecretCreateLibpodInternalServerError) Error() string
- func (o *SecretCreateLibpodInternalServerError) GetPayload() *SecretCreateLibpodInternalServerErrorBody
- func (o *SecretCreateLibpodInternalServerError) IsClientError() bool
- func (o *SecretCreateLibpodInternalServerError) IsCode(code int) bool
- func (o *SecretCreateLibpodInternalServerError) IsRedirect() bool
- func (o *SecretCreateLibpodInternalServerError) IsServerError() bool
- func (o *SecretCreateLibpodInternalServerError) IsSuccess() bool
- func (o *SecretCreateLibpodInternalServerError) String() string
- type SecretCreateLibpodInternalServerErrorBody
- func (o *SecretCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SecretCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SecretCreateLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SecretCreateLibpodParams
- func NewSecretCreateLibpodParams() *SecretCreateLibpodParams
- func NewSecretCreateLibpodParamsWithContext(ctx context.Context) *SecretCreateLibpodParams
- func NewSecretCreateLibpodParamsWithHTTPClient(client *http.Client) *SecretCreateLibpodParams
- func NewSecretCreateLibpodParamsWithTimeout(timeout time.Duration) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) SetContext(ctx context.Context)
- func (o *SecretCreateLibpodParams) SetDefaults()
- func (o *SecretCreateLibpodParams) SetDriver(driver *string)
- func (o *SecretCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretCreateLibpodParams) SetName(name string)
- func (o *SecretCreateLibpodParams) SetRequest(request string)
- func (o *SecretCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretCreateLibpodParams) WithContext(ctx context.Context) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithDefaults() *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithDriver(driver *string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithHTTPClient(client *http.Client) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithName(name string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithRequest(request string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithTimeout(timeout time.Duration) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretCreateLibpodReader
- type SecretDeleteLibpodInternalServerError
- func (o *SecretDeleteLibpodInternalServerError) Error() string
- func (o *SecretDeleteLibpodInternalServerError) GetPayload() *SecretDeleteLibpodInternalServerErrorBody
- func (o *SecretDeleteLibpodInternalServerError) IsClientError() bool
- func (o *SecretDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *SecretDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *SecretDeleteLibpodInternalServerError) IsServerError() bool
- func (o *SecretDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *SecretDeleteLibpodInternalServerError) String() string
- type SecretDeleteLibpodInternalServerErrorBody
- func (o *SecretDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SecretDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SecretDeleteLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SecretDeleteLibpodNoContent
- func (o *SecretDeleteLibpodNoContent) Error() string
- func (o *SecretDeleteLibpodNoContent) IsClientError() bool
- func (o *SecretDeleteLibpodNoContent) IsCode(code int) bool
- func (o *SecretDeleteLibpodNoContent) IsRedirect() bool
- func (o *SecretDeleteLibpodNoContent) IsServerError() bool
- func (o *SecretDeleteLibpodNoContent) IsSuccess() bool
- func (o *SecretDeleteLibpodNoContent) String() string
- type SecretDeleteLibpodNotFound
- func (o *SecretDeleteLibpodNotFound) Error() string
- func (o *SecretDeleteLibpodNotFound) GetPayload() *SecretDeleteLibpodNotFoundBody
- func (o *SecretDeleteLibpodNotFound) IsClientError() bool
- func (o *SecretDeleteLibpodNotFound) IsCode(code int) bool
- func (o *SecretDeleteLibpodNotFound) IsRedirect() bool
- func (o *SecretDeleteLibpodNotFound) IsServerError() bool
- func (o *SecretDeleteLibpodNotFound) IsSuccess() bool
- func (o *SecretDeleteLibpodNotFound) String() string
- type SecretDeleteLibpodNotFoundBody
- func (o *SecretDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *SecretDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *SecretDeleteLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type SecretDeleteLibpodParams
- func NewSecretDeleteLibpodParams() *SecretDeleteLibpodParams
- func NewSecretDeleteLibpodParamsWithContext(ctx context.Context) *SecretDeleteLibpodParams
- func NewSecretDeleteLibpodParamsWithHTTPClient(client *http.Client) *SecretDeleteLibpodParams
- func NewSecretDeleteLibpodParamsWithTimeout(timeout time.Duration) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) SetAll(all *bool)
- func (o *SecretDeleteLibpodParams) SetContext(ctx context.Context)
- func (o *SecretDeleteLibpodParams) SetDefaults()
- func (o *SecretDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretDeleteLibpodParams) SetName(name string)
- func (o *SecretDeleteLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretDeleteLibpodParams) WithAll(all *bool) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WithContext(ctx context.Context) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WithDefaults() *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WithHTTPClient(client *http.Client) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WithName(name string) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WithTimeout(timeout time.Duration) *SecretDeleteLibpodParams
- func (o *SecretDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretDeleteLibpodReader
- type SecretInspectLibpodInternalServerError
- func (o *SecretInspectLibpodInternalServerError) Error() string
- func (o *SecretInspectLibpodInternalServerError) GetPayload() *SecretInspectLibpodInternalServerErrorBody
- func (o *SecretInspectLibpodInternalServerError) IsClientError() bool
- func (o *SecretInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *SecretInspectLibpodInternalServerError) IsRedirect() bool
- func (o *SecretInspectLibpodInternalServerError) IsServerError() bool
- func (o *SecretInspectLibpodInternalServerError) IsSuccess() bool
- func (o *SecretInspectLibpodInternalServerError) String() string
- type SecretInspectLibpodInternalServerErrorBody
- func (o *SecretInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SecretInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SecretInspectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SecretInspectLibpodNotFound
- func (o *SecretInspectLibpodNotFound) Error() string
- func (o *SecretInspectLibpodNotFound) GetPayload() *SecretInspectLibpodNotFoundBody
- func (o *SecretInspectLibpodNotFound) IsClientError() bool
- func (o *SecretInspectLibpodNotFound) IsCode(code int) bool
- func (o *SecretInspectLibpodNotFound) IsRedirect() bool
- func (o *SecretInspectLibpodNotFound) IsServerError() bool
- func (o *SecretInspectLibpodNotFound) IsSuccess() bool
- func (o *SecretInspectLibpodNotFound) String() string
- type SecretInspectLibpodNotFoundBody
- func (o *SecretInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *SecretInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *SecretInspectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type SecretInspectLibpodOK
- func (o *SecretInspectLibpodOK) Error() string
- func (o *SecretInspectLibpodOK) GetPayload() *models.SecretInfoReport
- func (o *SecretInspectLibpodOK) IsClientError() bool
- func (o *SecretInspectLibpodOK) IsCode(code int) bool
- func (o *SecretInspectLibpodOK) IsRedirect() bool
- func (o *SecretInspectLibpodOK) IsServerError() bool
- func (o *SecretInspectLibpodOK) IsSuccess() bool
- func (o *SecretInspectLibpodOK) String() string
- type SecretInspectLibpodParams
- func NewSecretInspectLibpodParams() *SecretInspectLibpodParams
- func NewSecretInspectLibpodParamsWithContext(ctx context.Context) *SecretInspectLibpodParams
- func NewSecretInspectLibpodParamsWithHTTPClient(client *http.Client) *SecretInspectLibpodParams
- func NewSecretInspectLibpodParamsWithTimeout(timeout time.Duration) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) SetContext(ctx context.Context)
- func (o *SecretInspectLibpodParams) SetDefaults()
- func (o *SecretInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretInspectLibpodParams) SetName(name string)
- func (o *SecretInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretInspectLibpodParams) WithContext(ctx context.Context) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithDefaults() *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithHTTPClient(client *http.Client) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithName(name string) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithTimeout(timeout time.Duration) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretInspectLibpodReader
- type SecretListLibpodInternalServerError
- func (o *SecretListLibpodInternalServerError) Error() string
- func (o *SecretListLibpodInternalServerError) GetPayload() *SecretListLibpodInternalServerErrorBody
- func (o *SecretListLibpodInternalServerError) IsClientError() bool
- func (o *SecretListLibpodInternalServerError) IsCode(code int) bool
- func (o *SecretListLibpodInternalServerError) IsRedirect() bool
- func (o *SecretListLibpodInternalServerError) IsServerError() bool
- func (o *SecretListLibpodInternalServerError) IsSuccess() bool
- func (o *SecretListLibpodInternalServerError) String() string
- type SecretListLibpodInternalServerErrorBody
- func (o *SecretListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *SecretListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *SecretListLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type SecretListLibpodOK
- func (o *SecretListLibpodOK) Error() string
- func (o *SecretListLibpodOK) GetPayload() []*models.SecretInfoReport
- func (o *SecretListLibpodOK) IsClientError() bool
- func (o *SecretListLibpodOK) IsCode(code int) bool
- func (o *SecretListLibpodOK) IsRedirect() bool
- func (o *SecretListLibpodOK) IsServerError() bool
- func (o *SecretListLibpodOK) IsSuccess() bool
- func (o *SecretListLibpodOK) String() string
- type SecretListLibpodParams
- func NewSecretListLibpodParams() *SecretListLibpodParams
- func NewSecretListLibpodParamsWithContext(ctx context.Context) *SecretListLibpodParams
- func NewSecretListLibpodParamsWithHTTPClient(client *http.Client) *SecretListLibpodParams
- func NewSecretListLibpodParamsWithTimeout(timeout time.Duration) *SecretListLibpodParams
- func (o *SecretListLibpodParams) SetContext(ctx context.Context)
- func (o *SecretListLibpodParams) SetDefaults()
- func (o *SecretListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretListLibpodParams) WithContext(ctx context.Context) *SecretListLibpodParams
- func (o *SecretListLibpodParams) WithDefaults() *SecretListLibpodParams
- func (o *SecretListLibpodParams) WithHTTPClient(client *http.Client) *SecretListLibpodParams
- func (o *SecretListLibpodParams) WithTimeout(timeout time.Duration) *SecretListLibpodParams
- func (o *SecretListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretListLibpodReader
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 (o *SecretCreateLibpodCreated) GetPayload() *SecretCreateLibpodCreatedBody
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
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 (o *SecretCreateLibpodInternalServerError) Error() string
func (*SecretCreateLibpodInternalServerError) GetPayload ¶
func (o *SecretCreateLibpodInternalServerError) GetPayload() *SecretCreateLibpodInternalServerErrorBody
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 ¶
func (o *SecretCreateLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this secret create libpod internal server error response a status code equal to that given
func (*SecretCreateLibpodInternalServerError) IsRedirect ¶
func (o *SecretCreateLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *SecretCreateLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret create libpod internal server error response has a 2xx status code
func (*SecretCreateLibpodInternalServerError) String ¶
func (o *SecretCreateLibpodInternalServerError) String() 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 ¶
func (o *SecretCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *SecretCreateLibpodParams) WithContext(ctx context.Context) *SecretCreateLibpodParams
WithContext adds the context to the secret create libpod params
func (*SecretCreateLibpodParams) WithDefaults ¶
func (o *SecretCreateLibpodParams) WithDefaults() *SecretCreateLibpodParams
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 ¶
func (o *SecretCreateLibpodParams) WithDriver(driver *string) *SecretCreateLibpodParams
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 ¶
func (o *SecretCreateLibpodParams) WithName(name string) *SecretCreateLibpodParams
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 ¶
func (o *SecretCreateLibpodParams) WithTimeout(timeout time.Duration) *SecretCreateLibpodParams
WithTimeout adds the timeout to the secret create libpod params
func (*SecretCreateLibpodParams) WriteToRequest ¶
func (o *SecretCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SecretDeleteLibpodInternalServerError) Error() string
func (*SecretDeleteLibpodInternalServerError) GetPayload ¶
func (o *SecretDeleteLibpodInternalServerError) GetPayload() *SecretDeleteLibpodInternalServerErrorBody
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 ¶
func (o *SecretDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this secret delete libpod internal server error response a status code equal to that given
func (*SecretDeleteLibpodInternalServerError) IsRedirect ¶
func (o *SecretDeleteLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *SecretDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret delete libpod internal server error response has a 2xx status code
func (*SecretDeleteLibpodInternalServerError) String ¶
func (o *SecretDeleteLibpodInternalServerError) String() 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 ¶
func (o *SecretDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *SecretDeleteLibpodNoContent) Error() string
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 (o *SecretDeleteLibpodNotFound) Error() string
func (*SecretDeleteLibpodNotFound) GetPayload ¶
func (o *SecretDeleteLibpodNotFound) GetPayload() *SecretDeleteLibpodNotFoundBody
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
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 ¶
func (o *SecretDeleteLibpodParams) WithAll(all *bool) *SecretDeleteLibpodParams
WithAll adds the all to the secret delete libpod params
func (*SecretDeleteLibpodParams) WithContext ¶
func (o *SecretDeleteLibpodParams) WithContext(ctx context.Context) *SecretDeleteLibpodParams
WithContext adds the context to the secret delete libpod params
func (*SecretDeleteLibpodParams) WithDefaults ¶
func (o *SecretDeleteLibpodParams) WithDefaults() *SecretDeleteLibpodParams
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 ¶
func (o *SecretDeleteLibpodParams) WithName(name string) *SecretDeleteLibpodParams
WithName adds the name to the secret delete libpod params
func (*SecretDeleteLibpodParams) WithTimeout ¶
func (o *SecretDeleteLibpodParams) WithTimeout(timeout time.Duration) *SecretDeleteLibpodParams
WithTimeout adds the timeout to the secret delete libpod params
func (*SecretDeleteLibpodParams) WriteToRequest ¶
func (o *SecretDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SecretInspectLibpodInternalServerError) Error() string
func (*SecretInspectLibpodInternalServerError) GetPayload ¶
func (o *SecretInspectLibpodInternalServerError) GetPayload() *SecretInspectLibpodInternalServerErrorBody
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 ¶
func (o *SecretInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this secret inspect libpod internal server error response a status code equal to that given
func (*SecretInspectLibpodInternalServerError) IsRedirect ¶
func (o *SecretInspectLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *SecretInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret inspect libpod internal server error response has a 2xx status code
func (*SecretInspectLibpodInternalServerError) String ¶
func (o *SecretInspectLibpodInternalServerError) String() 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 ¶
func (o *SecretInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *SecretInspectLibpodNotFound) Error() string
func (*SecretInspectLibpodNotFound) GetPayload ¶
func (o *SecretInspectLibpodNotFound) GetPayload() *SecretInspectLibpodNotFoundBody
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
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 (o *SecretInspectLibpodOK) GetPayload() *models.SecretInfoReport
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 ¶
func (o *SecretInspectLibpodParams) WithContext(ctx context.Context) *SecretInspectLibpodParams
WithContext adds the context to the secret inspect libpod params
func (*SecretInspectLibpodParams) WithDefaults ¶
func (o *SecretInspectLibpodParams) WithDefaults() *SecretInspectLibpodParams
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 ¶
func (o *SecretInspectLibpodParams) WithName(name string) *SecretInspectLibpodParams
WithName adds the name to the secret inspect libpod params
func (*SecretInspectLibpodParams) WithTimeout ¶
func (o *SecretInspectLibpodParams) WithTimeout(timeout time.Duration) *SecretInspectLibpodParams
WithTimeout adds the timeout to the secret inspect libpod params
func (*SecretInspectLibpodParams) WriteToRequest ¶
func (o *SecretInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SecretListLibpodInternalServerError) Error() string
func (*SecretListLibpodInternalServerError) GetPayload ¶
func (o *SecretListLibpodInternalServerError) GetPayload() *SecretListLibpodInternalServerErrorBody
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 ¶
func (o *SecretListLibpodInternalServerError) IsCode(code int) bool
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 ¶
func (o *SecretListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret list libpod internal server error response has a 2xx status code
func (*SecretListLibpodInternalServerError) String ¶
func (o *SecretListLibpodInternalServerError) String() 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 ¶
func (o *SecretListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *SecretListLibpodParams) WithContext(ctx context.Context) *SecretListLibpodParams
WithContext adds the context to the secret list libpod params
func (*SecretListLibpodParams) WithDefaults ¶
func (o *SecretListLibpodParams) WithDefaults() *SecretListLibpodParams
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 ¶
func (o *SecretListLibpodParams) WithTimeout(timeout time.Duration) *SecretListLibpodParams
WithTimeout adds the timeout to the secret list libpod params
func (*SecretListLibpodParams) WriteToRequest ¶
func (o *SecretListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.