Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
- func (a *Client) SecretCreateLibpodContext(ctx context.Context, params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
- func (a *Client) SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
- func (a *Client) SecretDeleteLibpodContext(ctx context.Context, params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
- func (a *Client) SecretExistsLibpod(params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
- func (a *Client) SecretExistsLibpodContext(ctx context.Context, params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
- func (a *Client) SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
- func (a *Client) SecretInspectLibpodContext(ctx context.Context, params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
- func (a *Client) SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
- func (a *Client) SecretListLibpodContext(ctx context.Context, params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type SecretCreateLibpodCreated
- func (o *SecretCreateLibpodCreated) Code() int
- 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(_ context.Context, _ strfmt.Registry) error
- func (o *SecretCreateLibpodCreatedBody) MarshalBinary() ([]byte, error)
- func (o *SecretCreateLibpodCreatedBody) UnmarshalBinary(b []byte) error
- func (o *SecretCreateLibpodCreatedBody) Validate(_ strfmt.Registry) error
- type SecretCreateLibpodInternalServerError
- func (o *SecretCreateLibpodInternalServerError) Code() int
- func (o *SecretCreateLibpodInternalServerError) Error() string
- func (o *SecretCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 SecretCreateLibpodParams
- func NewSecretCreateLibpodParams() *SecretCreateLibpodParams
- func NewSecretCreateLibpodParamsWithContext(ctx context.Context) *SecretCreateLibpodParamsdeprecated
- func NewSecretCreateLibpodParamsWithHTTPClient(client *http.Client) *SecretCreateLibpodParams
- func NewSecretCreateLibpodParamsWithTimeout(timeout time.Duration) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SecretCreateLibpodParams) SetDefaults()
- func (o *SecretCreateLibpodParams) SetDriver(driver *string)
- func (o *SecretCreateLibpodParams) SetDriveropts(driveropts *string)
- func (o *SecretCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretCreateLibpodParams) SetIgnore(ignore *bool)
- func (o *SecretCreateLibpodParams) SetLabels(labels *string)
- func (o *SecretCreateLibpodParams) SetName(name string)
- func (o *SecretCreateLibpodParams) SetReplace(replace *bool)
- func (o *SecretCreateLibpodParams) SetRequest(request string)
- func (o *SecretCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretCreateLibpodParams) WithContext(ctx context.Context) *SecretCreateLibpodParamsdeprecated
- func (o *SecretCreateLibpodParams) WithDefaults() *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithDriver(driver *string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithDriveropts(driveropts *string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithHTTPClient(client *http.Client) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithIgnore(ignore *bool) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithLabels(labels *string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithName(name string) *SecretCreateLibpodParams
- func (o *SecretCreateLibpodParams) WithReplace(replace *bool) *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) Code() int
- func (o *SecretDeleteLibpodInternalServerError) Error() string
- func (o *SecretDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 SecretDeleteLibpodNoContent
- func (o *SecretDeleteLibpodNoContent) Code() int
- 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) Code() int
- 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(_ context.Context, _ 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) *SecretDeleteLibpodParamsdeprecated
- 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)deprecated
- 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) *SecretDeleteLibpodParamsdeprecated
- 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 SecretExistsLibpodInternalServerError
- func (o *SecretExistsLibpodInternalServerError) Code() int
- func (o *SecretExistsLibpodInternalServerError) Error() string
- func (o *SecretExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SecretExistsLibpodInternalServerError) IsClientError() bool
- func (o *SecretExistsLibpodInternalServerError) IsCode(code int) bool
- func (o *SecretExistsLibpodInternalServerError) IsRedirect() bool
- func (o *SecretExistsLibpodInternalServerError) IsServerError() bool
- func (o *SecretExistsLibpodInternalServerError) IsSuccess() bool
- func (o *SecretExistsLibpodInternalServerError) String() string
- type SecretExistsLibpodNoContent
- func (o *SecretExistsLibpodNoContent) Code() int
- func (o *SecretExistsLibpodNoContent) Error() string
- func (o *SecretExistsLibpodNoContent) IsClientError() bool
- func (o *SecretExistsLibpodNoContent) IsCode(code int) bool
- func (o *SecretExistsLibpodNoContent) IsRedirect() bool
- func (o *SecretExistsLibpodNoContent) IsServerError() bool
- func (o *SecretExistsLibpodNoContent) IsSuccess() bool
- func (o *SecretExistsLibpodNoContent) String() string
- type SecretExistsLibpodNotFound
- func (o *SecretExistsLibpodNotFound) Code() int
- func (o *SecretExistsLibpodNotFound) Error() string
- func (o *SecretExistsLibpodNotFound) GetPayload() *SecretExistsLibpodNotFoundBody
- func (o *SecretExistsLibpodNotFound) IsClientError() bool
- func (o *SecretExistsLibpodNotFound) IsCode(code int) bool
- func (o *SecretExistsLibpodNotFound) IsRedirect() bool
- func (o *SecretExistsLibpodNotFound) IsServerError() bool
- func (o *SecretExistsLibpodNotFound) IsSuccess() bool
- func (o *SecretExistsLibpodNotFound) String() string
- type SecretExistsLibpodNotFoundBody
- func (o *SecretExistsLibpodNotFoundBody) ContextValidate(_ context.Context, _ strfmt.Registry) error
- func (o *SecretExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *SecretExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *SecretExistsLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type SecretExistsLibpodParams
- func NewSecretExistsLibpodParams() *SecretExistsLibpodParams
- func NewSecretExistsLibpodParamsWithContext(ctx context.Context) *SecretExistsLibpodParamsdeprecated
- func NewSecretExistsLibpodParamsWithHTTPClient(client *http.Client) *SecretExistsLibpodParams
- func NewSecretExistsLibpodParamsWithTimeout(timeout time.Duration) *SecretExistsLibpodParams
- func (o *SecretExistsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SecretExistsLibpodParams) SetDefaults()
- func (o *SecretExistsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretExistsLibpodParams) SetName(name string)
- func (o *SecretExistsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretExistsLibpodParams) WithContext(ctx context.Context) *SecretExistsLibpodParamsdeprecated
- func (o *SecretExistsLibpodParams) WithDefaults() *SecretExistsLibpodParams
- func (o *SecretExistsLibpodParams) WithHTTPClient(client *http.Client) *SecretExistsLibpodParams
- func (o *SecretExistsLibpodParams) WithName(name string) *SecretExistsLibpodParams
- func (o *SecretExistsLibpodParams) WithTimeout(timeout time.Duration) *SecretExistsLibpodParams
- func (o *SecretExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretExistsLibpodReader
- type SecretInspectLibpodInternalServerError
- func (o *SecretInspectLibpodInternalServerError) Code() int
- func (o *SecretInspectLibpodInternalServerError) Error() string
- func (o *SecretInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 SecretInspectLibpodNotFound
- func (o *SecretInspectLibpodNotFound) Code() int
- 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(_ context.Context, _ 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) Code() int
- 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) *SecretInspectLibpodParamsdeprecated
- func NewSecretInspectLibpodParamsWithHTTPClient(client *http.Client) *SecretInspectLibpodParams
- func NewSecretInspectLibpodParamsWithTimeout(timeout time.Duration) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SecretInspectLibpodParams) SetDefaults()
- func (o *SecretInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretInspectLibpodParams) SetName(name string)
- func (o *SecretInspectLibpodParams) SetShowsecret(showsecret *bool)
- func (o *SecretInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretInspectLibpodParams) WithContext(ctx context.Context) *SecretInspectLibpodParamsdeprecated
- func (o *SecretInspectLibpodParams) WithDefaults() *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithHTTPClient(client *http.Client) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithName(name string) *SecretInspectLibpodParams
- func (o *SecretInspectLibpodParams) WithShowsecret(showsecret *bool) *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) Code() int
- func (o *SecretListLibpodInternalServerError) Error() string
- func (o *SecretListLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 SecretListLibpodOK
- func (o *SecretListLibpodOK) Code() int
- 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) *SecretListLibpodParamsdeprecated
- func NewSecretListLibpodParamsWithHTTPClient(client *http.Client) *SecretListLibpodParams
- func NewSecretListLibpodParamsWithTimeout(timeout time.Duration) *SecretListLibpodParams
- func (o *SecretListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SecretListLibpodParams) SetDefaults()
- func (o *SecretListLibpodParams) SetFilters(filters *string)
- func (o *SecretListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SecretListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SecretListLibpodParams) WithContext(ctx context.Context) *SecretListLibpodParamsdeprecated
- func (o *SecretListLibpodParams) WithDefaults() *SecretListLibpodParams
- func (o *SecretListLibpodParams) WithFilters(filters *string) *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 ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxTar ¶
func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for secrets API.
func (*Client) SecretCreateLibpod ¶
func (a *Client) SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
SecretCreateLibpod creates a secret.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.SecretCreateLibpodContext instead.
func (*Client) SecretCreateLibpodContext ¶
func (a *Client) SecretCreateLibpodContext(ctx context.Context, params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
SecretCreateLibpodContext creates a secret.
Do not use the deprecated [SecretCreateLibpodParams.Context] with this method: it would be ignored.
func (*Client) SecretDeleteLibpod ¶
func (a *Client) SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
SecretDeleteLibpod removes secret.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.SecretDeleteLibpodContext instead.
func (*Client) SecretDeleteLibpodContext ¶
func (a *Client) SecretDeleteLibpodContext(ctx context.Context, params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
SecretDeleteLibpodContext removes secret.
Do not use the deprecated [SecretDeleteLibpodParams.Context] with this method: it would be ignored.
func (*Client) SecretExistsLibpod ¶
func (a *Client) SecretExistsLibpod(params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
SecretExistsLibpod secrets exists.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.SecretExistsLibpodContext instead.
func (*Client) SecretExistsLibpodContext ¶
func (a *Client) SecretExistsLibpodContext(ctx context.Context, params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
SecretExistsLibpodContext secrets exists.
Do not use the deprecated [SecretExistsLibpodParams.Context] with this method: it would be ignored.
func (*Client) SecretInspectLibpod ¶
func (a *Client) SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
SecretInspectLibpod inspects secret.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.SecretInspectLibpodContext instead.
func (*Client) SecretInspectLibpodContext ¶
func (a *Client) SecretInspectLibpodContext(ctx context.Context, params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
SecretInspectLibpodContext inspects secret.
Do not use the deprecated [SecretInspectLibpodParams.Context] with this method: it would be ignored.
func (*Client) SecretListLibpod ¶
func (a *Client) SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
SecretListLibpod lists secrets.
Returns a list of secrets.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.SecretListLibpodContext instead.
func (*Client) SecretListLibpodContext ¶
func (a *Client) SecretListLibpodContext(ctx context.Context, params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
SecretListLibpodContext lists secrets.
Returns a list of secrets.
Do not use the deprecated [SecretListLibpodParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// SecretCreateLibpod create a secret.
SecretCreateLibpod(params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
// SecretCreateLibpodContext create a secret.
SecretCreateLibpodContext(ctx context.Context, params *SecretCreateLibpodParams, opts ...ClientOption) (*SecretCreateLibpodCreated, error)
// SecretDeleteLibpod remove secret.
SecretDeleteLibpod(params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
// SecretDeleteLibpodContext remove secret.
SecretDeleteLibpodContext(ctx context.Context, params *SecretDeleteLibpodParams, opts ...ClientOption) (*SecretDeleteLibpodNoContent, error)
// SecretExistsLibpod secret exists.
SecretExistsLibpod(params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
// SecretExistsLibpodContext secret exists.
SecretExistsLibpodContext(ctx context.Context, params *SecretExistsLibpodParams, opts ...ClientOption) (*SecretExistsLibpodNoContent, error)
// SecretInspectLibpod inspect secret.
SecretInspectLibpod(params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
// SecretInspectLibpodContext inspect secret.
SecretInspectLibpodContext(ctx context.Context, params *SecretInspectLibpodParams, opts ...ClientOption) (*SecretInspectLibpodOK, error)
// SecretListLibpod list secrets.
SecretListLibpod(params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
// SecretListLibpodContext list secrets.
SecretListLibpodContext(ctx context.Context, params *SecretListLibpodParams, opts ...ClientOption) (*SecretListLibpodOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new secrets API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new secrets API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new secrets API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type SecretCreateLibpodCreated ¶
type SecretCreateLibpodCreated struct {
Payload *SecretCreateLibpodCreatedBody
}
SecretCreateLibpodCreated describes a response with status code 201, with default header values.
Secret create response
func NewSecretCreateLibpodCreated ¶
func NewSecretCreateLibpodCreated() *SecretCreateLibpodCreated
NewSecretCreateLibpodCreated creates a SecretCreateLibpodCreated with default headers values
func (*SecretCreateLibpodCreated) Code ¶
func (o *SecretCreateLibpodCreated) Code() int
Code gets the status code for the secret create libpod created response
func (*SecretCreateLibpodCreated) Error ¶
func (o *SecretCreateLibpodCreated) Error() string
func (*SecretCreateLibpodCreated) GetPayload ¶
func (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 ¶
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 *models.ErrorModel
}
SecretCreateLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSecretCreateLibpodInternalServerError ¶
func NewSecretCreateLibpodInternalServerError() *SecretCreateLibpodInternalServerError
NewSecretCreateLibpodInternalServerError creates a SecretCreateLibpodInternalServerError with default headers values
func (*SecretCreateLibpodInternalServerError) Code ¶
func (o *SecretCreateLibpodInternalServerError) Code() int
Code gets the status code for the secret create libpod internal server error response
func (*SecretCreateLibpodInternalServerError) Error ¶
func (o *SecretCreateLibpodInternalServerError) Error() string
func (*SecretCreateLibpodInternalServerError) GetPayload ¶
func (o *SecretCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
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 SecretCreateLibpodParams ¶
type SecretCreateLibpodParams struct {
// Driver.
//
// Secret driver
//
// Default: "file"
Driver *string
// Driveropts.
//
// JSON-encoded string containing secret driver options as a `map[string]string`.
Driveropts *string
// Ignore.
//
// Ignore the request if a secret with the same name already exists.
Ignore *bool
// Labels.
//
// JSON-encoded string containing labels as a `map[string]string`.
Labels *string
// Name.
//
// User-defined name of the secret.
Name string
// Replace.
//
// Replace an existing secret with the same name.
Replace *bool
// Request.
//
// Secret
Request string
HTTPClient *http.Client
// contains filtered or unexported fields
}
SecretCreateLibpodParams contains all the parameters to send to the API endpoint
for the secret create libpod operation. Typically these are written to a http.Request.
func NewSecretCreateLibpodParams ¶
func NewSecretCreateLibpodParams() *SecretCreateLibpodParams
NewSecretCreateLibpodParams creates a new SecretCreateLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretCreateLibpodParamsWithContext
deprecated
func NewSecretCreateLibpodParamsWithContext(ctx context.Context) *SecretCreateLibpodParams
NewSecretCreateLibpodParamsWithContext creates a new SecretCreateLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.
func NewSecretCreateLibpodParamsWithHTTPClient ¶
func NewSecretCreateLibpodParamsWithHTTPClient(client *http.Client) *SecretCreateLibpodParams
NewSecretCreateLibpodParamsWithHTTPClient creates a new SecretCreateLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSecretCreateLibpodParamsWithTimeout ¶
func NewSecretCreateLibpodParamsWithTimeout(timeout time.Duration) *SecretCreateLibpodParams
NewSecretCreateLibpodParamsWithTimeout creates a new SecretCreateLibpodParams object with the ability to set a timeout on a request.
func (*SecretCreateLibpodParams) SetContext
deprecated
func (o *SecretCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the secret create libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.
func (*SecretCreateLibpodParams) SetDefaults ¶
func (o *SecretCreateLibpodParams) SetDefaults()
SetDefaults hydrates default values in the secret create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretCreateLibpodParams) SetDriver ¶
func (o *SecretCreateLibpodParams) SetDriver(driver *string)
SetDriver adds the driver to the secret create libpod params.
func (*SecretCreateLibpodParams) SetDriveropts ¶
func (o *SecretCreateLibpodParams) SetDriveropts(driveropts *string)
SetDriveropts adds the driveropts to the secret create libpod params.
func (*SecretCreateLibpodParams) SetHTTPClient ¶
func (o *SecretCreateLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret create libpod params.
func (*SecretCreateLibpodParams) SetIgnore ¶
func (o *SecretCreateLibpodParams) SetIgnore(ignore *bool)
SetIgnore adds the ignore to the secret create libpod params.
func (*SecretCreateLibpodParams) SetLabels ¶
func (o *SecretCreateLibpodParams) SetLabels(labels *string)
SetLabels adds the labels to the secret create libpod params.
func (*SecretCreateLibpodParams) SetName ¶
func (o *SecretCreateLibpodParams) SetName(name string)
SetName adds the name to the secret create libpod params.
func (*SecretCreateLibpodParams) SetReplace ¶
func (o *SecretCreateLibpodParams) SetReplace(replace *bool)
SetReplace adds the replace to the secret create libpod params.
func (*SecretCreateLibpodParams) SetRequest ¶
func (o *SecretCreateLibpodParams) SetRequest(request string)
SetRequest adds the request to the secret create libpod params.
func (*SecretCreateLibpodParams) SetTimeout ¶
func (o *SecretCreateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret create libpod params.
func (*SecretCreateLibpodParams) WithContext
deprecated
func (o *SecretCreateLibpodParams) WithContext(ctx context.Context) *SecretCreateLibpodParams
WithContext adds the context to the secret create libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretCreateLibpodParams.
func (*SecretCreateLibpodParams) WithDefaults ¶
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) WithDriveropts ¶
func (o *SecretCreateLibpodParams) WithDriveropts(driveropts *string) *SecretCreateLibpodParams
WithDriveropts adds the driveropts to the secret create libpod params.
func (*SecretCreateLibpodParams) WithHTTPClient ¶
func (o *SecretCreateLibpodParams) WithHTTPClient(client *http.Client) *SecretCreateLibpodParams
WithHTTPClient adds the HTTPClient to the secret create libpod params.
func (*SecretCreateLibpodParams) WithIgnore ¶
func (o *SecretCreateLibpodParams) WithIgnore(ignore *bool) *SecretCreateLibpodParams
WithIgnore adds the ignore to the secret create libpod params.
func (*SecretCreateLibpodParams) WithLabels ¶
func (o *SecretCreateLibpodParams) WithLabels(labels *string) *SecretCreateLibpodParams
WithLabels adds the labels 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) WithReplace ¶
func (o *SecretCreateLibpodParams) WithReplace(replace *bool) *SecretCreateLibpodParams
WithReplace adds the replace to the secret create libpod params.
func (*SecretCreateLibpodParams) WithRequest ¶
func (o *SecretCreateLibpodParams) WithRequest(request string) *SecretCreateLibpodParams
WithRequest adds the request to the secret create libpod params.
func (*SecretCreateLibpodParams) WithTimeout ¶
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 runtime.ClientRequest.
type SecretCreateLibpodReader ¶
type SecretCreateLibpodReader struct {
// contains filtered or unexported fields
}
SecretCreateLibpodReader is a Reader for the SecretCreateLibpod structure.
func (*SecretCreateLibpodReader) ReadResponse ¶
func (o *SecretCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SecretDeleteLibpodInternalServerError ¶
type SecretDeleteLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SecretDeleteLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSecretDeleteLibpodInternalServerError ¶
func NewSecretDeleteLibpodInternalServerError() *SecretDeleteLibpodInternalServerError
NewSecretDeleteLibpodInternalServerError creates a SecretDeleteLibpodInternalServerError with default headers values
func (*SecretDeleteLibpodInternalServerError) Code ¶
func (o *SecretDeleteLibpodInternalServerError) Code() int
Code gets the status code for the secret delete libpod internal server error response
func (*SecretDeleteLibpodInternalServerError) Error ¶
func (o *SecretDeleteLibpodInternalServerError) Error() string
func (*SecretDeleteLibpodInternalServerError) GetPayload ¶
func (o *SecretDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
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 SecretDeleteLibpodNoContent ¶
type SecretDeleteLibpodNoContent struct {
}
SecretDeleteLibpodNoContent describes a response with status code 204, with default header values.
no error
func NewSecretDeleteLibpodNoContent ¶
func NewSecretDeleteLibpodNoContent() *SecretDeleteLibpodNoContent
NewSecretDeleteLibpodNoContent creates a SecretDeleteLibpodNoContent with default headers values
func (*SecretDeleteLibpodNoContent) Code ¶
func (o *SecretDeleteLibpodNoContent) Code() int
Code gets the status code for the secret delete libpod no content response
func (*SecretDeleteLibpodNoContent) Error ¶
func (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) Code ¶
func (o *SecretDeleteLibpodNotFound) Code() int
Code gets the status code for the secret delete libpod not found response
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
// Minimum: 400
ResponseCode int64 `json:"response,omitempty"`
}
SecretDeleteLibpodNotFoundBody secret delete libpod not found body
swagger:model SecretDeleteLibpodNotFoundBody
func (*SecretDeleteLibpodNotFoundBody) ContextValidate ¶
func (o *SecretDeleteLibpodNotFoundBody) ContextValidate(_ context.Context, _ 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
HTTPClient *http.Client
// contains filtered or unexported fields
}
SecretDeleteLibpodParams contains all the parameters to send to the API endpoint
for the secret delete libpod operation. Typically these are written to a http.Request.
func NewSecretDeleteLibpodParams ¶
func NewSecretDeleteLibpodParams() *SecretDeleteLibpodParams
NewSecretDeleteLibpodParams creates a new SecretDeleteLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretDeleteLibpodParamsWithContext
deprecated
func NewSecretDeleteLibpodParamsWithContext(ctx context.Context) *SecretDeleteLibpodParams
NewSecretDeleteLibpodParamsWithContext creates a new SecretDeleteLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.
func NewSecretDeleteLibpodParamsWithHTTPClient ¶
func NewSecretDeleteLibpodParamsWithHTTPClient(client *http.Client) *SecretDeleteLibpodParams
NewSecretDeleteLibpodParamsWithHTTPClient creates a new SecretDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSecretDeleteLibpodParamsWithTimeout ¶
func NewSecretDeleteLibpodParamsWithTimeout(timeout time.Duration) *SecretDeleteLibpodParams
NewSecretDeleteLibpodParamsWithTimeout creates a new SecretDeleteLibpodParams object with the ability to set a timeout on a request.
func (*SecretDeleteLibpodParams) SetAll ¶
func (o *SecretDeleteLibpodParams) SetAll(all *bool)
SetAll adds the all to the secret delete libpod params.
func (*SecretDeleteLibpodParams) SetContext
deprecated
func (o *SecretDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the secret delete libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.
func (*SecretDeleteLibpodParams) SetDefaults ¶
func (o *SecretDeleteLibpodParams) SetDefaults()
SetDefaults hydrates default values in the secret delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretDeleteLibpodParams) SetHTTPClient ¶
func (o *SecretDeleteLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret delete libpod params.
func (*SecretDeleteLibpodParams) SetName ¶
func (o *SecretDeleteLibpodParams) SetName(name string)
SetName adds the name to the secret delete libpod params.
func (*SecretDeleteLibpodParams) SetTimeout ¶
func (o *SecretDeleteLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret delete libpod params.
func (*SecretDeleteLibpodParams) WithAll ¶
func (o *SecretDeleteLibpodParams) WithAll(all *bool) *SecretDeleteLibpodParams
WithAll adds the all to the secret delete libpod params.
func (*SecretDeleteLibpodParams) WithContext
deprecated
func (o *SecretDeleteLibpodParams) WithContext(ctx context.Context) *SecretDeleteLibpodParams
WithContext adds the context to the secret delete libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretDeleteLibpodParams.
func (*SecretDeleteLibpodParams) WithDefaults ¶
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 runtime.ClientRequest.
type SecretDeleteLibpodReader ¶
type SecretDeleteLibpodReader struct {
// contains filtered or unexported fields
}
SecretDeleteLibpodReader is a Reader for the SecretDeleteLibpod structure.
func (*SecretDeleteLibpodReader) ReadResponse ¶
func (o *SecretDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SecretExistsLibpodInternalServerError ¶
type SecretExistsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SecretExistsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSecretExistsLibpodInternalServerError ¶
func NewSecretExistsLibpodInternalServerError() *SecretExistsLibpodInternalServerError
NewSecretExistsLibpodInternalServerError creates a SecretExistsLibpodInternalServerError with default headers values
func (*SecretExistsLibpodInternalServerError) Code ¶
func (o *SecretExistsLibpodInternalServerError) Code() int
Code gets the status code for the secret exists libpod internal server error response
func (*SecretExistsLibpodInternalServerError) Error ¶
func (o *SecretExistsLibpodInternalServerError) Error() string
func (*SecretExistsLibpodInternalServerError) GetPayload ¶
func (o *SecretExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SecretExistsLibpodInternalServerError) IsClientError ¶
func (o *SecretExistsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this secret exists libpod internal server error response has a 4xx status code
func (*SecretExistsLibpodInternalServerError) IsCode ¶
func (o *SecretExistsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this secret exists libpod internal server error response a status code equal to that given
func (*SecretExistsLibpodInternalServerError) IsRedirect ¶
func (o *SecretExistsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret exists libpod internal server error response has a 3xx status code
func (*SecretExistsLibpodInternalServerError) IsServerError ¶
func (o *SecretExistsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this secret exists libpod internal server error response has a 5xx status code
func (*SecretExistsLibpodInternalServerError) IsSuccess ¶
func (o *SecretExistsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret exists libpod internal server error response has a 2xx status code
func (*SecretExistsLibpodInternalServerError) String ¶
func (o *SecretExistsLibpodInternalServerError) String() string
type SecretExistsLibpodNoContent ¶
type SecretExistsLibpodNoContent struct {
}
SecretExistsLibpodNoContent describes a response with status code 204, with default header values.
secret exists
func NewSecretExistsLibpodNoContent ¶
func NewSecretExistsLibpodNoContent() *SecretExistsLibpodNoContent
NewSecretExistsLibpodNoContent creates a SecretExistsLibpodNoContent with default headers values
func (*SecretExistsLibpodNoContent) Code ¶
func (o *SecretExistsLibpodNoContent) Code() int
Code gets the status code for the secret exists libpod no content response
func (*SecretExistsLibpodNoContent) Error ¶
func (o *SecretExistsLibpodNoContent) Error() string
func (*SecretExistsLibpodNoContent) IsClientError ¶
func (o *SecretExistsLibpodNoContent) IsClientError() bool
IsClientError returns true when this secret exists libpod no content response has a 4xx status code
func (*SecretExistsLibpodNoContent) IsCode ¶
func (o *SecretExistsLibpodNoContent) IsCode(code int) bool
IsCode returns true when this secret exists libpod no content response a status code equal to that given
func (*SecretExistsLibpodNoContent) IsRedirect ¶
func (o *SecretExistsLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this secret exists libpod no content response has a 3xx status code
func (*SecretExistsLibpodNoContent) IsServerError ¶
func (o *SecretExistsLibpodNoContent) IsServerError() bool
IsServerError returns true when this secret exists libpod no content response has a 5xx status code
func (*SecretExistsLibpodNoContent) IsSuccess ¶
func (o *SecretExistsLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this secret exists libpod no content response has a 2xx status code
func (*SecretExistsLibpodNoContent) String ¶
func (o *SecretExistsLibpodNoContent) String() string
type SecretExistsLibpodNotFound ¶
type SecretExistsLibpodNotFound struct {
Payload *SecretExistsLibpodNotFoundBody
}
SecretExistsLibpodNotFound describes a response with status code 404, with default header values.
No such secret
func NewSecretExistsLibpodNotFound ¶
func NewSecretExistsLibpodNotFound() *SecretExistsLibpodNotFound
NewSecretExistsLibpodNotFound creates a SecretExistsLibpodNotFound with default headers values
func (*SecretExistsLibpodNotFound) Code ¶
func (o *SecretExistsLibpodNotFound) Code() int
Code gets the status code for the secret exists libpod not found response
func (*SecretExistsLibpodNotFound) Error ¶
func (o *SecretExistsLibpodNotFound) Error() string
func (*SecretExistsLibpodNotFound) GetPayload ¶
func (o *SecretExistsLibpodNotFound) GetPayload() *SecretExistsLibpodNotFoundBody
func (*SecretExistsLibpodNotFound) IsClientError ¶
func (o *SecretExistsLibpodNotFound) IsClientError() bool
IsClientError returns true when this secret exists libpod not found response has a 4xx status code
func (*SecretExistsLibpodNotFound) IsCode ¶
func (o *SecretExistsLibpodNotFound) IsCode(code int) bool
IsCode returns true when this secret exists libpod not found response a status code equal to that given
func (*SecretExistsLibpodNotFound) IsRedirect ¶
func (o *SecretExistsLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this secret exists libpod not found response has a 3xx status code
func (*SecretExistsLibpodNotFound) IsServerError ¶
func (o *SecretExistsLibpodNotFound) IsServerError() bool
IsServerError returns true when this secret exists libpod not found response has a 5xx status code
func (*SecretExistsLibpodNotFound) IsSuccess ¶
func (o *SecretExistsLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this secret exists libpod not found response has a 2xx status code
func (*SecretExistsLibpodNotFound) String ¶
func (o *SecretExistsLibpodNotFound) String() string
type SecretExistsLibpodNotFoundBody ¶
type SecretExistsLibpodNotFoundBody struct {
// API root cause formatted for automated parsing
// Example: API root cause
Because string `json:"cause,omitempty"`
// human error message, formatted for a human to read
// Example: human error message
Message string `json:"message,omitempty"`
// HTTP response code
// Minimum: 400
ResponseCode int64 `json:"response,omitempty"`
}
SecretExistsLibpodNotFoundBody secret exists libpod not found body
swagger:model SecretExistsLibpodNotFoundBody
func (*SecretExistsLibpodNotFoundBody) ContextValidate ¶
func (o *SecretExistsLibpodNotFoundBody) ContextValidate(_ context.Context, _ strfmt.Registry) error
ContextValidate validates this secret exists libpod not found body based on context it is used
func (*SecretExistsLibpodNotFoundBody) MarshalBinary ¶
func (o *SecretExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretExistsLibpodNotFoundBody) UnmarshalBinary ¶
func (o *SecretExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecretExistsLibpodParams ¶
type SecretExistsLibpodParams struct {
// Name.
//
// the name or ID of the secret
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
SecretExistsLibpodParams contains all the parameters to send to the API endpoint
for the secret exists libpod operation. Typically these are written to a http.Request.
func NewSecretExistsLibpodParams ¶
func NewSecretExistsLibpodParams() *SecretExistsLibpodParams
NewSecretExistsLibpodParams creates a new SecretExistsLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretExistsLibpodParamsWithContext
deprecated
func NewSecretExistsLibpodParamsWithContext(ctx context.Context) *SecretExistsLibpodParams
NewSecretExistsLibpodParamsWithContext creates a new SecretExistsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.
func NewSecretExistsLibpodParamsWithHTTPClient ¶
func NewSecretExistsLibpodParamsWithHTTPClient(client *http.Client) *SecretExistsLibpodParams
NewSecretExistsLibpodParamsWithHTTPClient creates a new SecretExistsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSecretExistsLibpodParamsWithTimeout ¶
func NewSecretExistsLibpodParamsWithTimeout(timeout time.Duration) *SecretExistsLibpodParams
NewSecretExistsLibpodParamsWithTimeout creates a new SecretExistsLibpodParams object with the ability to set a timeout on a request.
func (*SecretExistsLibpodParams) SetContext
deprecated
func (o *SecretExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the secret exists libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.
func (*SecretExistsLibpodParams) SetDefaults ¶
func (o *SecretExistsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the secret exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretExistsLibpodParams) SetHTTPClient ¶
func (o *SecretExistsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret exists libpod params.
func (*SecretExistsLibpodParams) SetName ¶
func (o *SecretExistsLibpodParams) SetName(name string)
SetName adds the name to the secret exists libpod params.
func (*SecretExistsLibpodParams) SetTimeout ¶
func (o *SecretExistsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret exists libpod params.
func (*SecretExistsLibpodParams) WithContext
deprecated
func (o *SecretExistsLibpodParams) WithContext(ctx context.Context) *SecretExistsLibpodParams
WithContext adds the context to the secret exists libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretExistsLibpodParams.
func (*SecretExistsLibpodParams) WithDefaults ¶
func (o *SecretExistsLibpodParams) WithDefaults() *SecretExistsLibpodParams
WithDefaults hydrates default values in the secret exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretExistsLibpodParams) WithHTTPClient ¶
func (o *SecretExistsLibpodParams) WithHTTPClient(client *http.Client) *SecretExistsLibpodParams
WithHTTPClient adds the HTTPClient to the secret exists libpod params.
func (*SecretExistsLibpodParams) WithName ¶
func (o *SecretExistsLibpodParams) WithName(name string) *SecretExistsLibpodParams
WithName adds the name to the secret exists libpod params.
func (*SecretExistsLibpodParams) WithTimeout ¶
func (o *SecretExistsLibpodParams) WithTimeout(timeout time.Duration) *SecretExistsLibpodParams
WithTimeout adds the timeout to the secret exists libpod params.
func (*SecretExistsLibpodParams) WriteToRequest ¶
func (o *SecretExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SecretExistsLibpodReader ¶
type SecretExistsLibpodReader struct {
// contains filtered or unexported fields
}
SecretExistsLibpodReader is a Reader for the SecretExistsLibpod structure.
func (*SecretExistsLibpodReader) ReadResponse ¶
func (o *SecretExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SecretInspectLibpodInternalServerError ¶
type SecretInspectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SecretInspectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSecretInspectLibpodInternalServerError ¶
func NewSecretInspectLibpodInternalServerError() *SecretInspectLibpodInternalServerError
NewSecretInspectLibpodInternalServerError creates a SecretInspectLibpodInternalServerError with default headers values
func (*SecretInspectLibpodInternalServerError) Code ¶
func (o *SecretInspectLibpodInternalServerError) Code() int
Code gets the status code for the secret inspect libpod internal server error response
func (*SecretInspectLibpodInternalServerError) Error ¶
func (o *SecretInspectLibpodInternalServerError) Error() string
func (*SecretInspectLibpodInternalServerError) GetPayload ¶
func (o *SecretInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
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 SecretInspectLibpodNotFound ¶
type SecretInspectLibpodNotFound struct {
Payload *SecretInspectLibpodNotFoundBody
}
SecretInspectLibpodNotFound describes a response with status code 404, with default header values.
No such secret
func NewSecretInspectLibpodNotFound ¶
func NewSecretInspectLibpodNotFound() *SecretInspectLibpodNotFound
NewSecretInspectLibpodNotFound creates a SecretInspectLibpodNotFound with default headers values
func (*SecretInspectLibpodNotFound) Code ¶
func (o *SecretInspectLibpodNotFound) Code() int
Code gets the status code for the secret inspect libpod not found response
func (*SecretInspectLibpodNotFound) Error ¶
func (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
// Minimum: 400
ResponseCode int64 `json:"response,omitempty"`
}
SecretInspectLibpodNotFoundBody secret inspect libpod not found body
swagger:model SecretInspectLibpodNotFoundBody
func (*SecretInspectLibpodNotFoundBody) ContextValidate ¶
func (o *SecretInspectLibpodNotFoundBody) ContextValidate(_ context.Context, _ 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) Code ¶
func (o *SecretInspectLibpodOK) Code() int
Code gets the status code for the secret inspect libpod o k response
func (*SecretInspectLibpodOK) Error ¶
func (o *SecretInspectLibpodOK) Error() string
func (*SecretInspectLibpodOK) GetPayload ¶
func (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
// Showsecret.
//
// Display Secret
Showsecret *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
SecretInspectLibpodParams contains all the parameters to send to the API endpoint
for the secret inspect libpod operation. Typically these are written to a http.Request.
func NewSecretInspectLibpodParams ¶
func NewSecretInspectLibpodParams() *SecretInspectLibpodParams
NewSecretInspectLibpodParams creates a new SecretInspectLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretInspectLibpodParamsWithContext
deprecated
func NewSecretInspectLibpodParamsWithContext(ctx context.Context) *SecretInspectLibpodParams
NewSecretInspectLibpodParamsWithContext creates a new SecretInspectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.
func NewSecretInspectLibpodParamsWithHTTPClient ¶
func NewSecretInspectLibpodParamsWithHTTPClient(client *http.Client) *SecretInspectLibpodParams
NewSecretInspectLibpodParamsWithHTTPClient creates a new SecretInspectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSecretInspectLibpodParamsWithTimeout ¶
func NewSecretInspectLibpodParamsWithTimeout(timeout time.Duration) *SecretInspectLibpodParams
NewSecretInspectLibpodParamsWithTimeout creates a new SecretInspectLibpodParams object with the ability to set a timeout on a request.
func (*SecretInspectLibpodParams) SetContext
deprecated
func (o *SecretInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the secret inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.
func (*SecretInspectLibpodParams) SetDefaults ¶
func (o *SecretInspectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the secret inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretInspectLibpodParams) SetHTTPClient ¶
func (o *SecretInspectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret inspect libpod params.
func (*SecretInspectLibpodParams) SetName ¶
func (o *SecretInspectLibpodParams) SetName(name string)
SetName adds the name to the secret inspect libpod params.
func (*SecretInspectLibpodParams) SetShowsecret ¶
func (o *SecretInspectLibpodParams) SetShowsecret(showsecret *bool)
SetShowsecret adds the showsecret to the secret inspect libpod params.
func (*SecretInspectLibpodParams) SetTimeout ¶
func (o *SecretInspectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret inspect libpod params.
func (*SecretInspectLibpodParams) WithContext
deprecated
func (o *SecretInspectLibpodParams) WithContext(ctx context.Context) *SecretInspectLibpodParams
WithContext adds the context to the secret inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretInspectLibpodParams.
func (*SecretInspectLibpodParams) WithDefaults ¶
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) WithShowsecret ¶
func (o *SecretInspectLibpodParams) WithShowsecret(showsecret *bool) *SecretInspectLibpodParams
WithShowsecret adds the showsecret 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 runtime.ClientRequest.
type SecretInspectLibpodReader ¶
type SecretInspectLibpodReader struct {
// contains filtered or unexported fields
}
SecretInspectLibpodReader is a Reader for the SecretInspectLibpod structure.
func (*SecretInspectLibpodReader) ReadResponse ¶
func (o *SecretInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SecretListLibpodInternalServerError ¶
type SecretListLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SecretListLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSecretListLibpodInternalServerError ¶
func NewSecretListLibpodInternalServerError() *SecretListLibpodInternalServerError
NewSecretListLibpodInternalServerError creates a SecretListLibpodInternalServerError with default headers values
func (*SecretListLibpodInternalServerError) Code ¶
func (o *SecretListLibpodInternalServerError) Code() int
Code gets the status code for the secret list libpod internal server error response
func (*SecretListLibpodInternalServerError) Error ¶
func (o *SecretListLibpodInternalServerError) Error() string
func (*SecretListLibpodInternalServerError) GetPayload ¶
func (o *SecretListLibpodInternalServerError) GetPayload() *models.ErrorModel
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 SecretListLibpodOK ¶
type SecretListLibpodOK struct {
Payload []*models.SecretInfoReport
}
SecretListLibpodOK describes a response with status code 200, with default header values.
Secret list response
func NewSecretListLibpodOK ¶
func NewSecretListLibpodOK() *SecretListLibpodOK
NewSecretListLibpodOK creates a SecretListLibpodOK with default headers values
func (*SecretListLibpodOK) Code ¶
func (o *SecretListLibpodOK) Code() int
Code gets the status code for the secret list libpod o k response
func (*SecretListLibpodOK) Error ¶
func (o *SecretListLibpodOK) Error() string
func (*SecretListLibpodOK) GetPayload ¶
func (o *SecretListLibpodOK) GetPayload() []*models.SecretInfoReport
func (*SecretListLibpodOK) IsClientError ¶
func (o *SecretListLibpodOK) IsClientError() bool
IsClientError returns true when this secret list libpod o k response has a 4xx status code
func (*SecretListLibpodOK) IsCode ¶
func (o *SecretListLibpodOK) IsCode(code int) bool
IsCode returns true when this secret list libpod o k response a status code equal to that given
func (*SecretListLibpodOK) IsRedirect ¶
func (o *SecretListLibpodOK) IsRedirect() bool
IsRedirect returns true when this secret list libpod o k response has a 3xx status code
func (*SecretListLibpodOK) IsServerError ¶
func (o *SecretListLibpodOK) IsServerError() bool
IsServerError returns true when this secret list libpod o k response has a 5xx status code
func (*SecretListLibpodOK) IsSuccess ¶
func (o *SecretListLibpodOK) IsSuccess() bool
IsSuccess returns true when this secret list libpod o k response has a 2xx status code
func (*SecretListLibpodOK) String ¶
func (o *SecretListLibpodOK) String() string
type SecretListLibpodParams ¶
type SecretListLibpodParams struct {
// Filters.
//
// JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters:
// - `name=[name]` Matches secrets name (accepts regex).
// - `id=[id]` Matches for full or partial ID.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
SecretListLibpodParams contains all the parameters to send to the API endpoint
for the secret list libpod operation. Typically these are written to a http.Request.
func NewSecretListLibpodParams ¶
func NewSecretListLibpodParams() *SecretListLibpodParams
NewSecretListLibpodParams creates a new SecretListLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretListLibpodParamsWithContext
deprecated
func NewSecretListLibpodParamsWithContext(ctx context.Context) *SecretListLibpodParams
NewSecretListLibpodParamsWithContext creates a new SecretListLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.
func NewSecretListLibpodParamsWithHTTPClient ¶
func NewSecretListLibpodParamsWithHTTPClient(client *http.Client) *SecretListLibpodParams
NewSecretListLibpodParamsWithHTTPClient creates a new SecretListLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSecretListLibpodParamsWithTimeout ¶
func NewSecretListLibpodParamsWithTimeout(timeout time.Duration) *SecretListLibpodParams
NewSecretListLibpodParamsWithTimeout creates a new SecretListLibpodParams object with the ability to set a timeout on a request.
func (*SecretListLibpodParams) SetContext
deprecated
func (o *SecretListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the secret list libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.
func (*SecretListLibpodParams) SetDefaults ¶
func (o *SecretListLibpodParams) SetDefaults()
SetDefaults hydrates default values in the secret list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SecretListLibpodParams) SetFilters ¶
func (o *SecretListLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the secret list libpod params.
func (*SecretListLibpodParams) SetHTTPClient ¶
func (o *SecretListLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret list libpod params.
func (*SecretListLibpodParams) SetTimeout ¶
func (o *SecretListLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret list libpod params.
func (*SecretListLibpodParams) WithContext
deprecated
func (o *SecretListLibpodParams) WithContext(ctx context.Context) *SecretListLibpodParams
WithContext adds the context to the secret list libpod params.
Deprecated: use the operation call with context to pass the context instead of SecretListLibpodParams.
func (*SecretListLibpodParams) WithDefaults ¶
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) WithFilters ¶
func (o *SecretListLibpodParams) WithFilters(filters *string) *SecretListLibpodParams
WithFilters adds the filters to the secret list libpod params.
func (*SecretListLibpodParams) WithHTTPClient ¶
func (o *SecretListLibpodParams) WithHTTPClient(client *http.Client) *SecretListLibpodParams
WithHTTPClient adds the HTTPClient to the secret list libpod params.
func (*SecretListLibpodParams) WithTimeout ¶
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 runtime.ClientRequest.
type SecretListLibpodReader ¶
type SecretListLibpodReader struct {
// contains filtered or unexported fields
}
SecretListLibpodReader is a Reader for the SecretListLibpod structure.
func (*SecretListLibpodReader) ReadResponse ¶
func (o *SecretListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- secret_create_libpod_parameters.go
- secret_create_libpod_responses.go
- secret_delete_libpod_parameters.go
- secret_delete_libpod_responses.go
- secret_exists_libpod_parameters.go
- secret_exists_libpod_responses.go
- secret_inspect_libpod_parameters.go
- secret_inspect_libpod_responses.go
- secret_list_libpod_parameters.go
- secret_list_libpod_responses.go
- secrets_client.go