Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextPlain(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) QuadletDeleteAllLibpod(params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)
- func (a *Client) QuadletDeleteAllLibpodContext(ctx context.Context, params *QuadletDeleteAllLibpodParams, ...) (*QuadletDeleteAllLibpodOK, error)
- func (a *Client) QuadletDeleteLibpod(params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
- func (a *Client) QuadletDeleteLibpodContext(ctx context.Context, params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
- func (a *Client) QuadletExistsLibpod(params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
- func (a *Client) QuadletExistsLibpodContext(ctx context.Context, params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
- func (a *Client) QuadletFileLibpod(params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
- func (a *Client) QuadletFileLibpodContext(ctx context.Context, params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
- func (a *Client) QuadletInstallLibpod(params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
- func (a *Client) QuadletInstallLibpodContext(ctx context.Context, params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
- func (a *Client) QuadletListLibpod(params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)
- func (a *Client) QuadletListLibpodContext(ctx context.Context, params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type QuadletDeleteAllLibpodBadRequest
- func (o *QuadletDeleteAllLibpodBadRequest) Code() int
- func (o *QuadletDeleteAllLibpodBadRequest) Error() string
- func (o *QuadletDeleteAllLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *QuadletDeleteAllLibpodBadRequest) IsClientError() bool
- func (o *QuadletDeleteAllLibpodBadRequest) IsCode(code int) bool
- func (o *QuadletDeleteAllLibpodBadRequest) IsRedirect() bool
- func (o *QuadletDeleteAllLibpodBadRequest) IsServerError() bool
- func (o *QuadletDeleteAllLibpodBadRequest) IsSuccess() bool
- func (o *QuadletDeleteAllLibpodBadRequest) String() string
- type QuadletDeleteAllLibpodInternalServerError
- func (o *QuadletDeleteAllLibpodInternalServerError) Code() int
- func (o *QuadletDeleteAllLibpodInternalServerError) Error() string
- func (o *QuadletDeleteAllLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletDeleteAllLibpodInternalServerError) IsClientError() bool
- func (o *QuadletDeleteAllLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletDeleteAllLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletDeleteAllLibpodInternalServerError) IsServerError() bool
- func (o *QuadletDeleteAllLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletDeleteAllLibpodInternalServerError) String() string
- type QuadletDeleteAllLibpodOK
- func (o *QuadletDeleteAllLibpodOK) Code() int
- func (o *QuadletDeleteAllLibpodOK) Error() string
- func (o *QuadletDeleteAllLibpodOK) GetPayload() *models.QuadletRemoveReport
- func (o *QuadletDeleteAllLibpodOK) IsClientError() bool
- func (o *QuadletDeleteAllLibpodOK) IsCode(code int) bool
- func (o *QuadletDeleteAllLibpodOK) IsRedirect() bool
- func (o *QuadletDeleteAllLibpodOK) IsServerError() bool
- func (o *QuadletDeleteAllLibpodOK) IsSuccess() bool
- func (o *QuadletDeleteAllLibpodOK) String() string
- type QuadletDeleteAllLibpodParams
- func NewQuadletDeleteAllLibpodParams() *QuadletDeleteAllLibpodParams
- func NewQuadletDeleteAllLibpodParamsWithContext(ctx context.Context) *QuadletDeleteAllLibpodParamsdeprecated
- func NewQuadletDeleteAllLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteAllLibpodParams
- func NewQuadletDeleteAllLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) SetAll(all *bool)
- func (o *QuadletDeleteAllLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletDeleteAllLibpodParams) SetDefaults()
- func (o *QuadletDeleteAllLibpodParams) SetForce(force *bool)
- func (o *QuadletDeleteAllLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletDeleteAllLibpodParams) SetIgnore(ignore *bool)
- func (o *QuadletDeleteAllLibpodParams) SetQuadlets(quadlets []string)
- func (o *QuadletDeleteAllLibpodParams) SetReloadSystemd(reloadSystemd *bool)
- func (o *QuadletDeleteAllLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletDeleteAllLibpodParams) WithAll(all *bool) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithContext(ctx context.Context) *QuadletDeleteAllLibpodParamsdeprecated
- func (o *QuadletDeleteAllLibpodParams) WithDefaults() *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithForce(force *bool) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithHTTPClient(client *http.Client) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithIgnore(ignore *bool) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithQuadlets(quadlets []string) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WithTimeout(timeout time.Duration) *QuadletDeleteAllLibpodParams
- func (o *QuadletDeleteAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletDeleteAllLibpodReader
- type QuadletDeleteLibpodBadRequest
- func (o *QuadletDeleteLibpodBadRequest) Code() int
- func (o *QuadletDeleteLibpodBadRequest) Error() string
- func (o *QuadletDeleteLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *QuadletDeleteLibpodBadRequest) IsClientError() bool
- func (o *QuadletDeleteLibpodBadRequest) IsCode(code int) bool
- func (o *QuadletDeleteLibpodBadRequest) IsRedirect() bool
- func (o *QuadletDeleteLibpodBadRequest) IsServerError() bool
- func (o *QuadletDeleteLibpodBadRequest) IsSuccess() bool
- func (o *QuadletDeleteLibpodBadRequest) String() string
- type QuadletDeleteLibpodInternalServerError
- func (o *QuadletDeleteLibpodInternalServerError) Code() int
- func (o *QuadletDeleteLibpodInternalServerError) Error() string
- func (o *QuadletDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletDeleteLibpodInternalServerError) IsClientError() bool
- func (o *QuadletDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletDeleteLibpodInternalServerError) IsServerError() bool
- func (o *QuadletDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletDeleteLibpodInternalServerError) String() string
- type QuadletDeleteLibpodNotFound
- func (o *QuadletDeleteLibpodNotFound) Code() int
- func (o *QuadletDeleteLibpodNotFound) Error() string
- func (o *QuadletDeleteLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *QuadletDeleteLibpodNotFound) IsClientError() bool
- func (o *QuadletDeleteLibpodNotFound) IsCode(code int) bool
- func (o *QuadletDeleteLibpodNotFound) IsRedirect() bool
- func (o *QuadletDeleteLibpodNotFound) IsServerError() bool
- func (o *QuadletDeleteLibpodNotFound) IsSuccess() bool
- func (o *QuadletDeleteLibpodNotFound) String() string
- type QuadletDeleteLibpodOK
- func (o *QuadletDeleteLibpodOK) Code() int
- func (o *QuadletDeleteLibpodOK) Error() string
- func (o *QuadletDeleteLibpodOK) GetPayload() *models.QuadletRemoveReport
- func (o *QuadletDeleteLibpodOK) IsClientError() bool
- func (o *QuadletDeleteLibpodOK) IsCode(code int) bool
- func (o *QuadletDeleteLibpodOK) IsRedirect() bool
- func (o *QuadletDeleteLibpodOK) IsServerError() bool
- func (o *QuadletDeleteLibpodOK) IsSuccess() bool
- func (o *QuadletDeleteLibpodOK) String() string
- type QuadletDeleteLibpodParams
- func NewQuadletDeleteLibpodParams() *QuadletDeleteLibpodParams
- func NewQuadletDeleteLibpodParamsWithContext(ctx context.Context) *QuadletDeleteLibpodParamsdeprecated
- func NewQuadletDeleteLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteLibpodParams
- func NewQuadletDeleteLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletDeleteLibpodParams) SetDefaults()
- func (o *QuadletDeleteLibpodParams) SetForce(force *bool)
- func (o *QuadletDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletDeleteLibpodParams) SetIgnore(ignore *bool)
- func (o *QuadletDeleteLibpodParams) SetName(name string)
- func (o *QuadletDeleteLibpodParams) SetReloadSystemd(reloadSystemd *bool)
- func (o *QuadletDeleteLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletDeleteLibpodParams) WithContext(ctx context.Context) *QuadletDeleteLibpodParamsdeprecated
- func (o *QuadletDeleteLibpodParams) WithDefaults() *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithForce(force *bool) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithHTTPClient(client *http.Client) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithIgnore(ignore *bool) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithName(name string) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WithTimeout(timeout time.Duration) *QuadletDeleteLibpodParams
- func (o *QuadletDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletDeleteLibpodReader
- type QuadletExistsLibpodInternalServerError
- func (o *QuadletExistsLibpodInternalServerError) Code() int
- func (o *QuadletExistsLibpodInternalServerError) Error() string
- func (o *QuadletExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletExistsLibpodInternalServerError) IsClientError() bool
- func (o *QuadletExistsLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletExistsLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletExistsLibpodInternalServerError) IsServerError() bool
- func (o *QuadletExistsLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletExistsLibpodInternalServerError) String() string
- type QuadletExistsLibpodNoContent
- func (o *QuadletExistsLibpodNoContent) Code() int
- func (o *QuadletExistsLibpodNoContent) Error() string
- func (o *QuadletExistsLibpodNoContent) IsClientError() bool
- func (o *QuadletExistsLibpodNoContent) IsCode(code int) bool
- func (o *QuadletExistsLibpodNoContent) IsRedirect() bool
- func (o *QuadletExistsLibpodNoContent) IsServerError() bool
- func (o *QuadletExistsLibpodNoContent) IsSuccess() bool
- func (o *QuadletExistsLibpodNoContent) String() string
- type QuadletExistsLibpodNotFound
- func (o *QuadletExistsLibpodNotFound) Code() int
- func (o *QuadletExistsLibpodNotFound) Error() string
- func (o *QuadletExistsLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *QuadletExistsLibpodNotFound) IsClientError() bool
- func (o *QuadletExistsLibpodNotFound) IsCode(code int) bool
- func (o *QuadletExistsLibpodNotFound) IsRedirect() bool
- func (o *QuadletExistsLibpodNotFound) IsServerError() bool
- func (o *QuadletExistsLibpodNotFound) IsSuccess() bool
- func (o *QuadletExistsLibpodNotFound) String() string
- type QuadletExistsLibpodParams
- func NewQuadletExistsLibpodParams() *QuadletExistsLibpodParams
- func NewQuadletExistsLibpodParamsWithContext(ctx context.Context) *QuadletExistsLibpodParamsdeprecated
- func NewQuadletExistsLibpodParamsWithHTTPClient(client *http.Client) *QuadletExistsLibpodParams
- func NewQuadletExistsLibpodParamsWithTimeout(timeout time.Duration) *QuadletExistsLibpodParams
- func (o *QuadletExistsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletExistsLibpodParams) SetDefaults()
- func (o *QuadletExistsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletExistsLibpodParams) SetName(name string)
- func (o *QuadletExistsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletExistsLibpodParams) WithContext(ctx context.Context) *QuadletExistsLibpodParamsdeprecated
- func (o *QuadletExistsLibpodParams) WithDefaults() *QuadletExistsLibpodParams
- func (o *QuadletExistsLibpodParams) WithHTTPClient(client *http.Client) *QuadletExistsLibpodParams
- func (o *QuadletExistsLibpodParams) WithName(name string) *QuadletExistsLibpodParams
- func (o *QuadletExistsLibpodParams) WithTimeout(timeout time.Duration) *QuadletExistsLibpodParams
- func (o *QuadletExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletExistsLibpodReader
- type QuadletFileLibpodInternalServerError
- func (o *QuadletFileLibpodInternalServerError) Code() int
- func (o *QuadletFileLibpodInternalServerError) Error() string
- func (o *QuadletFileLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletFileLibpodInternalServerError) IsClientError() bool
- func (o *QuadletFileLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletFileLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletFileLibpodInternalServerError) IsServerError() bool
- func (o *QuadletFileLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletFileLibpodInternalServerError) String() string
- type QuadletFileLibpodNotFound
- func (o *QuadletFileLibpodNotFound) Code() int
- func (o *QuadletFileLibpodNotFound) Error() string
- func (o *QuadletFileLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *QuadletFileLibpodNotFound) IsClientError() bool
- func (o *QuadletFileLibpodNotFound) IsCode(code int) bool
- func (o *QuadletFileLibpodNotFound) IsRedirect() bool
- func (o *QuadletFileLibpodNotFound) IsServerError() bool
- func (o *QuadletFileLibpodNotFound) IsSuccess() bool
- func (o *QuadletFileLibpodNotFound) String() string
- type QuadletFileLibpodOK
- func (o *QuadletFileLibpodOK) Code() int
- func (o *QuadletFileLibpodOK) Error() string
- func (o *QuadletFileLibpodOK) GetPayload() string
- func (o *QuadletFileLibpodOK) IsClientError() bool
- func (o *QuadletFileLibpodOK) IsCode(code int) bool
- func (o *QuadletFileLibpodOK) IsRedirect() bool
- func (o *QuadletFileLibpodOK) IsServerError() bool
- func (o *QuadletFileLibpodOK) IsSuccess() bool
- func (o *QuadletFileLibpodOK) String() string
- type QuadletFileLibpodParams
- func NewQuadletFileLibpodParams() *QuadletFileLibpodParams
- func NewQuadletFileLibpodParamsWithContext(ctx context.Context) *QuadletFileLibpodParamsdeprecated
- func NewQuadletFileLibpodParamsWithHTTPClient(client *http.Client) *QuadletFileLibpodParams
- func NewQuadletFileLibpodParamsWithTimeout(timeout time.Duration) *QuadletFileLibpodParams
- func (o *QuadletFileLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletFileLibpodParams) SetDefaults()
- func (o *QuadletFileLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletFileLibpodParams) SetName(name string)
- func (o *QuadletFileLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletFileLibpodParams) WithContext(ctx context.Context) *QuadletFileLibpodParamsdeprecated
- func (o *QuadletFileLibpodParams) WithDefaults() *QuadletFileLibpodParams
- func (o *QuadletFileLibpodParams) WithHTTPClient(client *http.Client) *QuadletFileLibpodParams
- func (o *QuadletFileLibpodParams) WithName(name string) *QuadletFileLibpodParams
- func (o *QuadletFileLibpodParams) WithTimeout(timeout time.Duration) *QuadletFileLibpodParams
- func (o *QuadletFileLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletFileLibpodReader
- type QuadletInstallLibpodBadRequest
- func (o *QuadletInstallLibpodBadRequest) Code() int
- func (o *QuadletInstallLibpodBadRequest) Error() string
- func (o *QuadletInstallLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *QuadletInstallLibpodBadRequest) IsClientError() bool
- func (o *QuadletInstallLibpodBadRequest) IsCode(code int) bool
- func (o *QuadletInstallLibpodBadRequest) IsRedirect() bool
- func (o *QuadletInstallLibpodBadRequest) IsServerError() bool
- func (o *QuadletInstallLibpodBadRequest) IsSuccess() bool
- func (o *QuadletInstallLibpodBadRequest) String() string
- type QuadletInstallLibpodInternalServerError
- func (o *QuadletInstallLibpodInternalServerError) Code() int
- func (o *QuadletInstallLibpodInternalServerError) Error() string
- func (o *QuadletInstallLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletInstallLibpodInternalServerError) IsClientError() bool
- func (o *QuadletInstallLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletInstallLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletInstallLibpodInternalServerError) IsServerError() bool
- func (o *QuadletInstallLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletInstallLibpodInternalServerError) String() string
- type QuadletInstallLibpodOK
- func (o *QuadletInstallLibpodOK) Code() int
- func (o *QuadletInstallLibpodOK) Error() string
- func (o *QuadletInstallLibpodOK) GetPayload() *QuadletInstallLibpodOKBody
- func (o *QuadletInstallLibpodOK) IsClientError() bool
- func (o *QuadletInstallLibpodOK) IsCode(code int) bool
- func (o *QuadletInstallLibpodOK) IsRedirect() bool
- func (o *QuadletInstallLibpodOK) IsServerError() bool
- func (o *QuadletInstallLibpodOK) IsSuccess() bool
- func (o *QuadletInstallLibpodOK) String() string
- type QuadletInstallLibpodOKBody
- func (o *QuadletInstallLibpodOKBody) ContextValidate(_ context.Context, _ strfmt.Registry) error
- func (o *QuadletInstallLibpodOKBody) MarshalBinary() ([]byte, error)
- func (o *QuadletInstallLibpodOKBody) UnmarshalBinary(b []byte) error
- func (o *QuadletInstallLibpodOKBody) Validate(_ strfmt.Registry) error
- type QuadletInstallLibpodParams
- func NewQuadletInstallLibpodParams() *QuadletInstallLibpodParams
- func NewQuadletInstallLibpodParamsWithContext(ctx context.Context) *QuadletInstallLibpodParamsdeprecated
- func NewQuadletInstallLibpodParamsWithHTTPClient(client *http.Client) *QuadletInstallLibpodParams
- func NewQuadletInstallLibpodParamsWithTimeout(timeout time.Duration) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) SetApplication(application *string)
- func (o *QuadletInstallLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletInstallLibpodParams) SetDefaults()
- func (o *QuadletInstallLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletInstallLibpodParams) SetReloadSystemd(reloadSystemd *bool)
- func (o *QuadletInstallLibpodParams) SetReplace(replace *bool)
- func (o *QuadletInstallLibpodParams) SetRequest(request io.ReadCloser)
- func (o *QuadletInstallLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletInstallLibpodParams) WithApplication(application *string) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithContext(ctx context.Context) *QuadletInstallLibpodParamsdeprecated
- func (o *QuadletInstallLibpodParams) WithDefaults() *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithHTTPClient(client *http.Client) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithReplace(replace *bool) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithRequest(request io.ReadCloser) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WithTimeout(timeout time.Duration) *QuadletInstallLibpodParams
- func (o *QuadletInstallLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletInstallLibpodReader
- type QuadletListLibpodInternalServerError
- func (o *QuadletListLibpodInternalServerError) Code() int
- func (o *QuadletListLibpodInternalServerError) Error() string
- func (o *QuadletListLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *QuadletListLibpodInternalServerError) IsClientError() bool
- func (o *QuadletListLibpodInternalServerError) IsCode(code int) bool
- func (o *QuadletListLibpodInternalServerError) IsRedirect() bool
- func (o *QuadletListLibpodInternalServerError) IsServerError() bool
- func (o *QuadletListLibpodInternalServerError) IsSuccess() bool
- func (o *QuadletListLibpodInternalServerError) String() string
- type QuadletListLibpodOK
- func (o *QuadletListLibpodOK) Code() int
- func (o *QuadletListLibpodOK) Error() string
- func (o *QuadletListLibpodOK) GetPayload() []*models.ListQuadlet
- func (o *QuadletListLibpodOK) IsClientError() bool
- func (o *QuadletListLibpodOK) IsCode(code int) bool
- func (o *QuadletListLibpodOK) IsRedirect() bool
- func (o *QuadletListLibpodOK) IsServerError() bool
- func (o *QuadletListLibpodOK) IsSuccess() bool
- func (o *QuadletListLibpodOK) String() string
- type QuadletListLibpodParams
- func NewQuadletListLibpodParams() *QuadletListLibpodParams
- func NewQuadletListLibpodParamsWithContext(ctx context.Context) *QuadletListLibpodParamsdeprecated
- func NewQuadletListLibpodParamsWithHTTPClient(client *http.Client) *QuadletListLibpodParams
- func NewQuadletListLibpodParamsWithTimeout(timeout time.Duration) *QuadletListLibpodParams
- func (o *QuadletListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *QuadletListLibpodParams) SetDefaults()
- func (o *QuadletListLibpodParams) SetFilters(filters *string)
- func (o *QuadletListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *QuadletListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *QuadletListLibpodParams) WithContext(ctx context.Context) *QuadletListLibpodParamsdeprecated
- func (o *QuadletListLibpodParams) WithDefaults() *QuadletListLibpodParams
- func (o *QuadletListLibpodParams) WithFilters(filters *string) *QuadletListLibpodParams
- func (o *QuadletListLibpodParams) WithHTTPClient(client *http.Client) *QuadletListLibpodParams
- func (o *QuadletListLibpodParams) WithTimeout(timeout time.Duration) *QuadletListLibpodParams
- func (o *QuadletListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuadletListLibpodReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextPlain ¶
func WithAcceptTextPlain(r *runtime.ClientOperation)
WithAcceptTextPlain sets the Accept header to "text/plain".
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".
func WithContentTypeMultipartFormData ¶
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for quadlets API.
func (*Client) QuadletDeleteAllLibpod ¶
func (a *Client) QuadletDeleteAllLibpod(params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)
QuadletDeleteAllLibpod removes quadlet files batch operation.
Remove one or more quadlet files. Supports removing specific quadlets by name or all quadlets for the current user. Can force removal of running quadlets and control systemd reload behavior. .
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.QuadletDeleteAllLibpodContext instead.
func (*Client) QuadletDeleteAllLibpodContext ¶
func (a *Client) QuadletDeleteAllLibpodContext(ctx context.Context, params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)
QuadletDeleteAllLibpodContext removes quadlet files batch operation.
Remove one or more quadlet files. Supports removing specific quadlets by name or all quadlets for the current user. Can force removal of running quadlets and control systemd reload behavior. .
Do not use the deprecated [QuadletDeleteAllLibpodParams.Context] with this method: it would be ignored.
func (*Client) QuadletDeleteLibpod ¶
func (a *Client) QuadletDeleteLibpod(params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
QuadletDeleteLibpod removes a quadlet file.
Remove a quadlet file by name. Can force removal of running quadlets and control systemd reload behavior. .
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.QuadletDeleteLibpodContext instead.
func (*Client) QuadletDeleteLibpodContext ¶
func (a *Client) QuadletDeleteLibpodContext(ctx context.Context, params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
QuadletDeleteLibpodContext removes a quadlet file.
Remove a quadlet file by name. Can force removal of running quadlets and control systemd reload behavior. .
Do not use the deprecated [QuadletDeleteLibpodParams.Context] with this method: it would be ignored.
func (*Client) QuadletExistsLibpod ¶
func (a *Client) QuadletExistsLibpod(params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
QuadletExistsLibpod checks if quadlet exists.
Check if a quadlet exists by name.
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.QuadletExistsLibpodContext instead.
func (*Client) QuadletExistsLibpodContext ¶
func (a *Client) QuadletExistsLibpodContext(ctx context.Context, params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
QuadletExistsLibpodContext checks if quadlet exists.
Check if a quadlet exists by name.
Do not use the deprecated [QuadletExistsLibpodParams.Context] with this method: it would be ignored.
func (*Client) QuadletFileLibpod ¶
func (a *Client) QuadletFileLibpod(params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
QuadletFileLibpod gets quadlet file.
Get the contents of a Quadlet, displaying the file including all comments.
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.QuadletFileLibpodContext instead.
func (*Client) QuadletFileLibpodContext ¶
func (a *Client) QuadletFileLibpodContext(ctx context.Context, params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
QuadletFileLibpodContext gets quadlet file.
Get the contents of a Quadlet, displaying the file including all comments.
Do not use the deprecated [QuadletFileLibpodParams.Context] with this method: it would be ignored.
func (*Client) QuadletInstallLibpod ¶
func (a *Client) QuadletInstallLibpod(params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
QuadletInstallLibpod installs quadlet files.
Install one or more files for a quadlet application. Each request should contain a single quadlet file and optionally more files such as containerfile, kube yaml or configuration files. When additional files are passed, the application query parameter should be specified. Supports both tar archives and multipart form data uploads. .
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.QuadletInstallLibpodContext instead.
func (*Client) QuadletInstallLibpodContext ¶
func (a *Client) QuadletInstallLibpodContext(ctx context.Context, params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
QuadletInstallLibpodContext installs quadlet files.
Install one or more files for a quadlet application. Each request should contain a single quadlet file and optionally more files such as containerfile, kube yaml or configuration files. When additional files are passed, the application query parameter should be specified. Supports both tar archives and multipart form data uploads. .
Do not use the deprecated [QuadletInstallLibpodParams.Context] with this method: it would be ignored.
func (*Client) QuadletListLibpod ¶
func (a *Client) QuadletListLibpod(params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)
QuadletListLibpod lists quadlets.
Return a list of all quadlets..
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.QuadletListLibpodContext instead.
func (*Client) QuadletListLibpodContext ¶
func (a *Client) QuadletListLibpodContext(ctx context.Context, params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)
QuadletListLibpodContext lists quadlets.
Return a list of all quadlets..
Do not use the deprecated [QuadletListLibpodParams.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 WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
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 {
// QuadletDeleteAllLibpod remove quadlet files batch operation.
QuadletDeleteAllLibpod(params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)
// QuadletDeleteAllLibpodContext remove quadlet files batch operation.
QuadletDeleteAllLibpodContext(ctx context.Context, params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)
// QuadletDeleteLibpod remove a quadlet file.
QuadletDeleteLibpod(params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
// QuadletDeleteLibpodContext remove a quadlet file.
QuadletDeleteLibpodContext(ctx context.Context, params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)
// QuadletExistsLibpod check if quadlet exists.
QuadletExistsLibpod(params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
// QuadletExistsLibpodContext check if quadlet exists.
QuadletExistsLibpodContext(ctx context.Context, params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)
// QuadletFileLibpod get quadlet file.
QuadletFileLibpod(params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
// QuadletFileLibpodContext get quadlet file.
QuadletFileLibpodContext(ctx context.Context, params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)
// QuadletInstallLibpod install quadlet files.
QuadletInstallLibpod(params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
// QuadletInstallLibpodContext install quadlet files.
QuadletInstallLibpodContext(ctx context.Context, params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)
// QuadletListLibpod list quadlets.
QuadletListLibpod(params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)
// QuadletListLibpodContext list quadlets.
QuadletListLibpodContext(ctx context.Context, params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, 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 quadlets API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new quadlets 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 quadlets 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 QuadletDeleteAllLibpodBadRequest ¶
type QuadletDeleteAllLibpodBadRequest struct {
Payload *models.ErrorModel
}
QuadletDeleteAllLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewQuadletDeleteAllLibpodBadRequest ¶
func NewQuadletDeleteAllLibpodBadRequest() *QuadletDeleteAllLibpodBadRequest
NewQuadletDeleteAllLibpodBadRequest creates a QuadletDeleteAllLibpodBadRequest with default headers values
func (*QuadletDeleteAllLibpodBadRequest) Code ¶
func (o *QuadletDeleteAllLibpodBadRequest) Code() int
Code gets the status code for the quadlet delete all libpod bad request response
func (*QuadletDeleteAllLibpodBadRequest) Error ¶
func (o *QuadletDeleteAllLibpodBadRequest) Error() string
func (*QuadletDeleteAllLibpodBadRequest) GetPayload ¶
func (o *QuadletDeleteAllLibpodBadRequest) GetPayload() *models.ErrorModel
func (*QuadletDeleteAllLibpodBadRequest) IsClientError ¶
func (o *QuadletDeleteAllLibpodBadRequest) IsClientError() bool
IsClientError returns true when this quadlet delete all libpod bad request response has a 4xx status code
func (*QuadletDeleteAllLibpodBadRequest) IsCode ¶
func (o *QuadletDeleteAllLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this quadlet delete all libpod bad request response a status code equal to that given
func (*QuadletDeleteAllLibpodBadRequest) IsRedirect ¶
func (o *QuadletDeleteAllLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this quadlet delete all libpod bad request response has a 3xx status code
func (*QuadletDeleteAllLibpodBadRequest) IsServerError ¶
func (o *QuadletDeleteAllLibpodBadRequest) IsServerError() bool
IsServerError returns true when this quadlet delete all libpod bad request response has a 5xx status code
func (*QuadletDeleteAllLibpodBadRequest) IsSuccess ¶
func (o *QuadletDeleteAllLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this quadlet delete all libpod bad request response has a 2xx status code
func (*QuadletDeleteAllLibpodBadRequest) String ¶
func (o *QuadletDeleteAllLibpodBadRequest) String() string
type QuadletDeleteAllLibpodInternalServerError ¶
type QuadletDeleteAllLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletDeleteAllLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletDeleteAllLibpodInternalServerError ¶
func NewQuadletDeleteAllLibpodInternalServerError() *QuadletDeleteAllLibpodInternalServerError
NewQuadletDeleteAllLibpodInternalServerError creates a QuadletDeleteAllLibpodInternalServerError with default headers values
func (*QuadletDeleteAllLibpodInternalServerError) Code ¶
func (o *QuadletDeleteAllLibpodInternalServerError) Code() int
Code gets the status code for the quadlet delete all libpod internal server error response
func (*QuadletDeleteAllLibpodInternalServerError) Error ¶
func (o *QuadletDeleteAllLibpodInternalServerError) Error() string
func (*QuadletDeleteAllLibpodInternalServerError) GetPayload ¶
func (o *QuadletDeleteAllLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletDeleteAllLibpodInternalServerError) IsClientError ¶
func (o *QuadletDeleteAllLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet delete all libpod internal server error response has a 4xx status code
func (*QuadletDeleteAllLibpodInternalServerError) IsCode ¶
func (o *QuadletDeleteAllLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet delete all libpod internal server error response a status code equal to that given
func (*QuadletDeleteAllLibpodInternalServerError) IsRedirect ¶
func (o *QuadletDeleteAllLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet delete all libpod internal server error response has a 3xx status code
func (*QuadletDeleteAllLibpodInternalServerError) IsServerError ¶
func (o *QuadletDeleteAllLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet delete all libpod internal server error response has a 5xx status code
func (*QuadletDeleteAllLibpodInternalServerError) IsSuccess ¶
func (o *QuadletDeleteAllLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet delete all libpod internal server error response has a 2xx status code
func (*QuadletDeleteAllLibpodInternalServerError) String ¶
func (o *QuadletDeleteAllLibpodInternalServerError) String() string
type QuadletDeleteAllLibpodOK ¶
type QuadletDeleteAllLibpodOK struct {
Payload *models.QuadletRemoveReport
}
QuadletDeleteAllLibpodOK describes a response with status code 200, with default header values.
Quadlet remove
func NewQuadletDeleteAllLibpodOK ¶
func NewQuadletDeleteAllLibpodOK() *QuadletDeleteAllLibpodOK
NewQuadletDeleteAllLibpodOK creates a QuadletDeleteAllLibpodOK with default headers values
func (*QuadletDeleteAllLibpodOK) Code ¶
func (o *QuadletDeleteAllLibpodOK) Code() int
Code gets the status code for the quadlet delete all libpod o k response
func (*QuadletDeleteAllLibpodOK) Error ¶
func (o *QuadletDeleteAllLibpodOK) Error() string
func (*QuadletDeleteAllLibpodOK) GetPayload ¶
func (o *QuadletDeleteAllLibpodOK) GetPayload() *models.QuadletRemoveReport
func (*QuadletDeleteAllLibpodOK) IsClientError ¶
func (o *QuadletDeleteAllLibpodOK) IsClientError() bool
IsClientError returns true when this quadlet delete all libpod o k response has a 4xx status code
func (*QuadletDeleteAllLibpodOK) IsCode ¶
func (o *QuadletDeleteAllLibpodOK) IsCode(code int) bool
IsCode returns true when this quadlet delete all libpod o k response a status code equal to that given
func (*QuadletDeleteAllLibpodOK) IsRedirect ¶
func (o *QuadletDeleteAllLibpodOK) IsRedirect() bool
IsRedirect returns true when this quadlet delete all libpod o k response has a 3xx status code
func (*QuadletDeleteAllLibpodOK) IsServerError ¶
func (o *QuadletDeleteAllLibpodOK) IsServerError() bool
IsServerError returns true when this quadlet delete all libpod o k response has a 5xx status code
func (*QuadletDeleteAllLibpodOK) IsSuccess ¶
func (o *QuadletDeleteAllLibpodOK) IsSuccess() bool
IsSuccess returns true when this quadlet delete all libpod o k response has a 2xx status code
func (*QuadletDeleteAllLibpodOK) String ¶
func (o *QuadletDeleteAllLibpodOK) String() string
type QuadletDeleteAllLibpodParams ¶
type QuadletDeleteAllLibpodParams struct {
// All.
//
// Remove all quadlets for the current user
All *bool
// Force.
//
// Remove running quadlets by stopping them first
Force *bool
// Ignore.
//
// Do not error for quadlets that do not exist
Ignore *bool
// Quadlets.
//
// Names of quadlets to remove (e.g., "myapp.container"). Required unless all=true
Quadlets []string
// ReloadSystemd.
//
// Reload systemd after removing quadlets
//
// Default: true
ReloadSystemd *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletDeleteAllLibpodParams contains all the parameters to send to the API endpoint
for the quadlet delete all libpod operation. Typically these are written to a http.Request.
func NewQuadletDeleteAllLibpodParams ¶
func NewQuadletDeleteAllLibpodParams() *QuadletDeleteAllLibpodParams
NewQuadletDeleteAllLibpodParams creates a new QuadletDeleteAllLibpodParams 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 NewQuadletDeleteAllLibpodParamsWithContext
deprecated
func NewQuadletDeleteAllLibpodParamsWithContext(ctx context.Context) *QuadletDeleteAllLibpodParams
NewQuadletDeleteAllLibpodParamsWithContext creates a new QuadletDeleteAllLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteAllLibpodParams.
func NewQuadletDeleteAllLibpodParamsWithHTTPClient ¶
func NewQuadletDeleteAllLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteAllLibpodParams
NewQuadletDeleteAllLibpodParamsWithHTTPClient creates a new QuadletDeleteAllLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletDeleteAllLibpodParamsWithTimeout ¶
func NewQuadletDeleteAllLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteAllLibpodParams
NewQuadletDeleteAllLibpodParamsWithTimeout creates a new QuadletDeleteAllLibpodParams object with the ability to set a timeout on a request.
func (*QuadletDeleteAllLibpodParams) SetAll ¶
func (o *QuadletDeleteAllLibpodParams) SetAll(all *bool)
SetAll adds the all to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetContext
deprecated
func (o *QuadletDeleteAllLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet delete all libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteAllLibpodParams.
func (*QuadletDeleteAllLibpodParams) SetDefaults ¶
func (o *QuadletDeleteAllLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet delete all libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletDeleteAllLibpodParams) SetForce ¶
func (o *QuadletDeleteAllLibpodParams) SetForce(force *bool)
SetForce adds the force to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetHTTPClient ¶
func (o *QuadletDeleteAllLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetIgnore ¶
func (o *QuadletDeleteAllLibpodParams) SetIgnore(ignore *bool)
SetIgnore adds the ignore to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetQuadlets ¶
func (o *QuadletDeleteAllLibpodParams) SetQuadlets(quadlets []string)
SetQuadlets adds the quadlets to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetReloadSystemd ¶
func (o *QuadletDeleteAllLibpodParams) SetReloadSystemd(reloadSystemd *bool)
SetReloadSystemd adds the reloadSystemd to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) SetTimeout ¶
func (o *QuadletDeleteAllLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithAll ¶
func (o *QuadletDeleteAllLibpodParams) WithAll(all *bool) *QuadletDeleteAllLibpodParams
WithAll adds the all to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithContext
deprecated
func (o *QuadletDeleteAllLibpodParams) WithContext(ctx context.Context) *QuadletDeleteAllLibpodParams
WithContext adds the context to the quadlet delete all libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteAllLibpodParams.
func (*QuadletDeleteAllLibpodParams) WithDefaults ¶
func (o *QuadletDeleteAllLibpodParams) WithDefaults() *QuadletDeleteAllLibpodParams
WithDefaults hydrates default values in the quadlet delete all libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletDeleteAllLibpodParams) WithForce ¶
func (o *QuadletDeleteAllLibpodParams) WithForce(force *bool) *QuadletDeleteAllLibpodParams
WithForce adds the force to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithHTTPClient ¶
func (o *QuadletDeleteAllLibpodParams) WithHTTPClient(client *http.Client) *QuadletDeleteAllLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithIgnore ¶
func (o *QuadletDeleteAllLibpodParams) WithIgnore(ignore *bool) *QuadletDeleteAllLibpodParams
WithIgnore adds the ignore to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithQuadlets ¶
func (o *QuadletDeleteAllLibpodParams) WithQuadlets(quadlets []string) *QuadletDeleteAllLibpodParams
WithQuadlets adds the quadlets to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithReloadSystemd ¶
func (o *QuadletDeleteAllLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteAllLibpodParams
WithReloadSystemd adds the reloadSystemd to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WithTimeout ¶
func (o *QuadletDeleteAllLibpodParams) WithTimeout(timeout time.Duration) *QuadletDeleteAllLibpodParams
WithTimeout adds the timeout to the quadlet delete all libpod params.
func (*QuadletDeleteAllLibpodParams) WriteToRequest ¶
func (o *QuadletDeleteAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletDeleteAllLibpodReader ¶
type QuadletDeleteAllLibpodReader struct {
// contains filtered or unexported fields
}
QuadletDeleteAllLibpodReader is a Reader for the QuadletDeleteAllLibpod structure.
func (*QuadletDeleteAllLibpodReader) ReadResponse ¶
func (o *QuadletDeleteAllLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type QuadletDeleteLibpodBadRequest ¶
type QuadletDeleteLibpodBadRequest struct {
Payload *models.ErrorModel
}
QuadletDeleteLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewQuadletDeleteLibpodBadRequest ¶
func NewQuadletDeleteLibpodBadRequest() *QuadletDeleteLibpodBadRequest
NewQuadletDeleteLibpodBadRequest creates a QuadletDeleteLibpodBadRequest with default headers values
func (*QuadletDeleteLibpodBadRequest) Code ¶
func (o *QuadletDeleteLibpodBadRequest) Code() int
Code gets the status code for the quadlet delete libpod bad request response
func (*QuadletDeleteLibpodBadRequest) Error ¶
func (o *QuadletDeleteLibpodBadRequest) Error() string
func (*QuadletDeleteLibpodBadRequest) GetPayload ¶
func (o *QuadletDeleteLibpodBadRequest) GetPayload() *models.ErrorModel
func (*QuadletDeleteLibpodBadRequest) IsClientError ¶
func (o *QuadletDeleteLibpodBadRequest) IsClientError() bool
IsClientError returns true when this quadlet delete libpod bad request response has a 4xx status code
func (*QuadletDeleteLibpodBadRequest) IsCode ¶
func (o *QuadletDeleteLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this quadlet delete libpod bad request response a status code equal to that given
func (*QuadletDeleteLibpodBadRequest) IsRedirect ¶
func (o *QuadletDeleteLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this quadlet delete libpod bad request response has a 3xx status code
func (*QuadletDeleteLibpodBadRequest) IsServerError ¶
func (o *QuadletDeleteLibpodBadRequest) IsServerError() bool
IsServerError returns true when this quadlet delete libpod bad request response has a 5xx status code
func (*QuadletDeleteLibpodBadRequest) IsSuccess ¶
func (o *QuadletDeleteLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this quadlet delete libpod bad request response has a 2xx status code
func (*QuadletDeleteLibpodBadRequest) String ¶
func (o *QuadletDeleteLibpodBadRequest) String() string
type QuadletDeleteLibpodInternalServerError ¶
type QuadletDeleteLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletDeleteLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletDeleteLibpodInternalServerError ¶
func NewQuadletDeleteLibpodInternalServerError() *QuadletDeleteLibpodInternalServerError
NewQuadletDeleteLibpodInternalServerError creates a QuadletDeleteLibpodInternalServerError with default headers values
func (*QuadletDeleteLibpodInternalServerError) Code ¶
func (o *QuadletDeleteLibpodInternalServerError) Code() int
Code gets the status code for the quadlet delete libpod internal server error response
func (*QuadletDeleteLibpodInternalServerError) Error ¶
func (o *QuadletDeleteLibpodInternalServerError) Error() string
func (*QuadletDeleteLibpodInternalServerError) GetPayload ¶
func (o *QuadletDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletDeleteLibpodInternalServerError) IsClientError ¶
func (o *QuadletDeleteLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet delete libpod internal server error response has a 4xx status code
func (*QuadletDeleteLibpodInternalServerError) IsCode ¶
func (o *QuadletDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet delete libpod internal server error response a status code equal to that given
func (*QuadletDeleteLibpodInternalServerError) IsRedirect ¶
func (o *QuadletDeleteLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet delete libpod internal server error response has a 3xx status code
func (*QuadletDeleteLibpodInternalServerError) IsServerError ¶
func (o *QuadletDeleteLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet delete libpod internal server error response has a 5xx status code
func (*QuadletDeleteLibpodInternalServerError) IsSuccess ¶
func (o *QuadletDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet delete libpod internal server error response has a 2xx status code
func (*QuadletDeleteLibpodInternalServerError) String ¶
func (o *QuadletDeleteLibpodInternalServerError) String() string
type QuadletDeleteLibpodNotFound ¶
type QuadletDeleteLibpodNotFound struct {
Payload *models.ErrorModel
}
QuadletDeleteLibpodNotFound describes a response with status code 404, with default header values.
No such quadlet
func NewQuadletDeleteLibpodNotFound ¶
func NewQuadletDeleteLibpodNotFound() *QuadletDeleteLibpodNotFound
NewQuadletDeleteLibpodNotFound creates a QuadletDeleteLibpodNotFound with default headers values
func (*QuadletDeleteLibpodNotFound) Code ¶
func (o *QuadletDeleteLibpodNotFound) Code() int
Code gets the status code for the quadlet delete libpod not found response
func (*QuadletDeleteLibpodNotFound) Error ¶
func (o *QuadletDeleteLibpodNotFound) Error() string
func (*QuadletDeleteLibpodNotFound) GetPayload ¶
func (o *QuadletDeleteLibpodNotFound) GetPayload() *models.ErrorModel
func (*QuadletDeleteLibpodNotFound) IsClientError ¶
func (o *QuadletDeleteLibpodNotFound) IsClientError() bool
IsClientError returns true when this quadlet delete libpod not found response has a 4xx status code
func (*QuadletDeleteLibpodNotFound) IsCode ¶
func (o *QuadletDeleteLibpodNotFound) IsCode(code int) bool
IsCode returns true when this quadlet delete libpod not found response a status code equal to that given
func (*QuadletDeleteLibpodNotFound) IsRedirect ¶
func (o *QuadletDeleteLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this quadlet delete libpod not found response has a 3xx status code
func (*QuadletDeleteLibpodNotFound) IsServerError ¶
func (o *QuadletDeleteLibpodNotFound) IsServerError() bool
IsServerError returns true when this quadlet delete libpod not found response has a 5xx status code
func (*QuadletDeleteLibpodNotFound) IsSuccess ¶
func (o *QuadletDeleteLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this quadlet delete libpod not found response has a 2xx status code
func (*QuadletDeleteLibpodNotFound) String ¶
func (o *QuadletDeleteLibpodNotFound) String() string
type QuadletDeleteLibpodOK ¶
type QuadletDeleteLibpodOK struct {
Payload *models.QuadletRemoveReport
}
QuadletDeleteLibpodOK describes a response with status code 200, with default header values.
Quadlet remove
func NewQuadletDeleteLibpodOK ¶
func NewQuadletDeleteLibpodOK() *QuadletDeleteLibpodOK
NewQuadletDeleteLibpodOK creates a QuadletDeleteLibpodOK with default headers values
func (*QuadletDeleteLibpodOK) Code ¶
func (o *QuadletDeleteLibpodOK) Code() int
Code gets the status code for the quadlet delete libpod o k response
func (*QuadletDeleteLibpodOK) Error ¶
func (o *QuadletDeleteLibpodOK) Error() string
func (*QuadletDeleteLibpodOK) GetPayload ¶
func (o *QuadletDeleteLibpodOK) GetPayload() *models.QuadletRemoveReport
func (*QuadletDeleteLibpodOK) IsClientError ¶
func (o *QuadletDeleteLibpodOK) IsClientError() bool
IsClientError returns true when this quadlet delete libpod o k response has a 4xx status code
func (*QuadletDeleteLibpodOK) IsCode ¶
func (o *QuadletDeleteLibpodOK) IsCode(code int) bool
IsCode returns true when this quadlet delete libpod o k response a status code equal to that given
func (*QuadletDeleteLibpodOK) IsRedirect ¶
func (o *QuadletDeleteLibpodOK) IsRedirect() bool
IsRedirect returns true when this quadlet delete libpod o k response has a 3xx status code
func (*QuadletDeleteLibpodOK) IsServerError ¶
func (o *QuadletDeleteLibpodOK) IsServerError() bool
IsServerError returns true when this quadlet delete libpod o k response has a 5xx status code
func (*QuadletDeleteLibpodOK) IsSuccess ¶
func (o *QuadletDeleteLibpodOK) IsSuccess() bool
IsSuccess returns true when this quadlet delete libpod o k response has a 2xx status code
func (*QuadletDeleteLibpodOK) String ¶
func (o *QuadletDeleteLibpodOK) String() string
type QuadletDeleteLibpodParams ¶
type QuadletDeleteLibpodParams struct {
// Force.
//
// Remove running quadlets (in case of uninstantiated template quadlets, stop its instances).
Force *bool
// Ignore.
//
// Do not error if the quadlet does not exist
Ignore *bool
// Name.
//
// the name of the quadlet with extension (e.g., "myapp.container")
Name string
// ReloadSystemd.
//
// Reload systemd after removing the quadlet
//
// Default: true
ReloadSystemd *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletDeleteLibpodParams contains all the parameters to send to the API endpoint
for the quadlet delete libpod operation. Typically these are written to a http.Request.
func NewQuadletDeleteLibpodParams ¶
func NewQuadletDeleteLibpodParams() *QuadletDeleteLibpodParams
NewQuadletDeleteLibpodParams creates a new QuadletDeleteLibpodParams 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 NewQuadletDeleteLibpodParamsWithContext
deprecated
func NewQuadletDeleteLibpodParamsWithContext(ctx context.Context) *QuadletDeleteLibpodParams
NewQuadletDeleteLibpodParamsWithContext creates a new QuadletDeleteLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteLibpodParams.
func NewQuadletDeleteLibpodParamsWithHTTPClient ¶
func NewQuadletDeleteLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteLibpodParams
NewQuadletDeleteLibpodParamsWithHTTPClient creates a new QuadletDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletDeleteLibpodParamsWithTimeout ¶
func NewQuadletDeleteLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteLibpodParams
NewQuadletDeleteLibpodParamsWithTimeout creates a new QuadletDeleteLibpodParams object with the ability to set a timeout on a request.
func (*QuadletDeleteLibpodParams) SetContext
deprecated
func (o *QuadletDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet delete libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteLibpodParams.
func (*QuadletDeleteLibpodParams) SetDefaults ¶
func (o *QuadletDeleteLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletDeleteLibpodParams) SetForce ¶
func (o *QuadletDeleteLibpodParams) SetForce(force *bool)
SetForce adds the force to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) SetHTTPClient ¶
func (o *QuadletDeleteLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) SetIgnore ¶
func (o *QuadletDeleteLibpodParams) SetIgnore(ignore *bool)
SetIgnore adds the ignore to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) SetName ¶
func (o *QuadletDeleteLibpodParams) SetName(name string)
SetName adds the name to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) SetReloadSystemd ¶
func (o *QuadletDeleteLibpodParams) SetReloadSystemd(reloadSystemd *bool)
SetReloadSystemd adds the reloadSystemd to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) SetTimeout ¶
func (o *QuadletDeleteLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithContext
deprecated
func (o *QuadletDeleteLibpodParams) WithContext(ctx context.Context) *QuadletDeleteLibpodParams
WithContext adds the context to the quadlet delete libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletDeleteLibpodParams.
func (*QuadletDeleteLibpodParams) WithDefaults ¶
func (o *QuadletDeleteLibpodParams) WithDefaults() *QuadletDeleteLibpodParams
WithDefaults hydrates default values in the quadlet delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletDeleteLibpodParams) WithForce ¶
func (o *QuadletDeleteLibpodParams) WithForce(force *bool) *QuadletDeleteLibpodParams
WithForce adds the force to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithHTTPClient ¶
func (o *QuadletDeleteLibpodParams) WithHTTPClient(client *http.Client) *QuadletDeleteLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithIgnore ¶
func (o *QuadletDeleteLibpodParams) WithIgnore(ignore *bool) *QuadletDeleteLibpodParams
WithIgnore adds the ignore to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithName ¶
func (o *QuadletDeleteLibpodParams) WithName(name string) *QuadletDeleteLibpodParams
WithName adds the name to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithReloadSystemd ¶
func (o *QuadletDeleteLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteLibpodParams
WithReloadSystemd adds the reloadSystemd to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WithTimeout ¶
func (o *QuadletDeleteLibpodParams) WithTimeout(timeout time.Duration) *QuadletDeleteLibpodParams
WithTimeout adds the timeout to the quadlet delete libpod params.
func (*QuadletDeleteLibpodParams) WriteToRequest ¶
func (o *QuadletDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletDeleteLibpodReader ¶
type QuadletDeleteLibpodReader struct {
// contains filtered or unexported fields
}
QuadletDeleteLibpodReader is a Reader for the QuadletDeleteLibpod structure.
func (*QuadletDeleteLibpodReader) ReadResponse ¶
func (o *QuadletDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type QuadletExistsLibpodInternalServerError ¶
type QuadletExistsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletExistsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletExistsLibpodInternalServerError ¶
func NewQuadletExistsLibpodInternalServerError() *QuadletExistsLibpodInternalServerError
NewQuadletExistsLibpodInternalServerError creates a QuadletExistsLibpodInternalServerError with default headers values
func (*QuadletExistsLibpodInternalServerError) Code ¶
func (o *QuadletExistsLibpodInternalServerError) Code() int
Code gets the status code for the quadlet exists libpod internal server error response
func (*QuadletExistsLibpodInternalServerError) Error ¶
func (o *QuadletExistsLibpodInternalServerError) Error() string
func (*QuadletExistsLibpodInternalServerError) GetPayload ¶
func (o *QuadletExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletExistsLibpodInternalServerError) IsClientError ¶
func (o *QuadletExistsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet exists libpod internal server error response has a 4xx status code
func (*QuadletExistsLibpodInternalServerError) IsCode ¶
func (o *QuadletExistsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet exists libpod internal server error response a status code equal to that given
func (*QuadletExistsLibpodInternalServerError) IsRedirect ¶
func (o *QuadletExistsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet exists libpod internal server error response has a 3xx status code
func (*QuadletExistsLibpodInternalServerError) IsServerError ¶
func (o *QuadletExistsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet exists libpod internal server error response has a 5xx status code
func (*QuadletExistsLibpodInternalServerError) IsSuccess ¶
func (o *QuadletExistsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet exists libpod internal server error response has a 2xx status code
func (*QuadletExistsLibpodInternalServerError) String ¶
func (o *QuadletExistsLibpodInternalServerError) String() string
type QuadletExistsLibpodNoContent ¶
type QuadletExistsLibpodNoContent struct {
}
QuadletExistsLibpodNoContent describes a response with status code 204, with default header values.
quadlet exists
func NewQuadletExistsLibpodNoContent ¶
func NewQuadletExistsLibpodNoContent() *QuadletExistsLibpodNoContent
NewQuadletExistsLibpodNoContent creates a QuadletExistsLibpodNoContent with default headers values
func (*QuadletExistsLibpodNoContent) Code ¶
func (o *QuadletExistsLibpodNoContent) Code() int
Code gets the status code for the quadlet exists libpod no content response
func (*QuadletExistsLibpodNoContent) Error ¶
func (o *QuadletExistsLibpodNoContent) Error() string
func (*QuadletExistsLibpodNoContent) IsClientError ¶
func (o *QuadletExistsLibpodNoContent) IsClientError() bool
IsClientError returns true when this quadlet exists libpod no content response has a 4xx status code
func (*QuadletExistsLibpodNoContent) IsCode ¶
func (o *QuadletExistsLibpodNoContent) IsCode(code int) bool
IsCode returns true when this quadlet exists libpod no content response a status code equal to that given
func (*QuadletExistsLibpodNoContent) IsRedirect ¶
func (o *QuadletExistsLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this quadlet exists libpod no content response has a 3xx status code
func (*QuadletExistsLibpodNoContent) IsServerError ¶
func (o *QuadletExistsLibpodNoContent) IsServerError() bool
IsServerError returns true when this quadlet exists libpod no content response has a 5xx status code
func (*QuadletExistsLibpodNoContent) IsSuccess ¶
func (o *QuadletExistsLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this quadlet exists libpod no content response has a 2xx status code
func (*QuadletExistsLibpodNoContent) String ¶
func (o *QuadletExistsLibpodNoContent) String() string
type QuadletExistsLibpodNotFound ¶
type QuadletExistsLibpodNotFound struct {
Payload *models.ErrorModel
}
QuadletExistsLibpodNotFound describes a response with status code 404, with default header values.
No such quadlet
func NewQuadletExistsLibpodNotFound ¶
func NewQuadletExistsLibpodNotFound() *QuadletExistsLibpodNotFound
NewQuadletExistsLibpodNotFound creates a QuadletExistsLibpodNotFound with default headers values
func (*QuadletExistsLibpodNotFound) Code ¶
func (o *QuadletExistsLibpodNotFound) Code() int
Code gets the status code for the quadlet exists libpod not found response
func (*QuadletExistsLibpodNotFound) Error ¶
func (o *QuadletExistsLibpodNotFound) Error() string
func (*QuadletExistsLibpodNotFound) GetPayload ¶
func (o *QuadletExistsLibpodNotFound) GetPayload() *models.ErrorModel
func (*QuadletExistsLibpodNotFound) IsClientError ¶
func (o *QuadletExistsLibpodNotFound) IsClientError() bool
IsClientError returns true when this quadlet exists libpod not found response has a 4xx status code
func (*QuadletExistsLibpodNotFound) IsCode ¶
func (o *QuadletExistsLibpodNotFound) IsCode(code int) bool
IsCode returns true when this quadlet exists libpod not found response a status code equal to that given
func (*QuadletExistsLibpodNotFound) IsRedirect ¶
func (o *QuadletExistsLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this quadlet exists libpod not found response has a 3xx status code
func (*QuadletExistsLibpodNotFound) IsServerError ¶
func (o *QuadletExistsLibpodNotFound) IsServerError() bool
IsServerError returns true when this quadlet exists libpod not found response has a 5xx status code
func (*QuadletExistsLibpodNotFound) IsSuccess ¶
func (o *QuadletExistsLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this quadlet exists libpod not found response has a 2xx status code
func (*QuadletExistsLibpodNotFound) String ¶
func (o *QuadletExistsLibpodNotFound) String() string
type QuadletExistsLibpodParams ¶
type QuadletExistsLibpodParams struct {
// Name.
//
// the name of the quadlet with extension (e.g., "myapp.container")
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletExistsLibpodParams contains all the parameters to send to the API endpoint
for the quadlet exists libpod operation. Typically these are written to a http.Request.
func NewQuadletExistsLibpodParams ¶
func NewQuadletExistsLibpodParams() *QuadletExistsLibpodParams
NewQuadletExistsLibpodParams creates a new QuadletExistsLibpodParams 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 NewQuadletExistsLibpodParamsWithContext
deprecated
func NewQuadletExistsLibpodParamsWithContext(ctx context.Context) *QuadletExistsLibpodParams
NewQuadletExistsLibpodParamsWithContext creates a new QuadletExistsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletExistsLibpodParams.
func NewQuadletExistsLibpodParamsWithHTTPClient ¶
func NewQuadletExistsLibpodParamsWithHTTPClient(client *http.Client) *QuadletExistsLibpodParams
NewQuadletExistsLibpodParamsWithHTTPClient creates a new QuadletExistsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletExistsLibpodParamsWithTimeout ¶
func NewQuadletExistsLibpodParamsWithTimeout(timeout time.Duration) *QuadletExistsLibpodParams
NewQuadletExistsLibpodParamsWithTimeout creates a new QuadletExistsLibpodParams object with the ability to set a timeout on a request.
func (*QuadletExistsLibpodParams) SetContext
deprecated
func (o *QuadletExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet exists libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletExistsLibpodParams.
func (*QuadletExistsLibpodParams) SetDefaults ¶
func (o *QuadletExistsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletExistsLibpodParams) SetHTTPClient ¶
func (o *QuadletExistsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) SetName ¶
func (o *QuadletExistsLibpodParams) SetName(name string)
SetName adds the name to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) SetTimeout ¶
func (o *QuadletExistsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) WithContext
deprecated
func (o *QuadletExistsLibpodParams) WithContext(ctx context.Context) *QuadletExistsLibpodParams
WithContext adds the context to the quadlet exists libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletExistsLibpodParams.
func (*QuadletExistsLibpodParams) WithDefaults ¶
func (o *QuadletExistsLibpodParams) WithDefaults() *QuadletExistsLibpodParams
WithDefaults hydrates default values in the quadlet exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletExistsLibpodParams) WithHTTPClient ¶
func (o *QuadletExistsLibpodParams) WithHTTPClient(client *http.Client) *QuadletExistsLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) WithName ¶
func (o *QuadletExistsLibpodParams) WithName(name string) *QuadletExistsLibpodParams
WithName adds the name to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) WithTimeout ¶
func (o *QuadletExistsLibpodParams) WithTimeout(timeout time.Duration) *QuadletExistsLibpodParams
WithTimeout adds the timeout to the quadlet exists libpod params.
func (*QuadletExistsLibpodParams) WriteToRequest ¶
func (o *QuadletExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletExistsLibpodReader ¶
type QuadletExistsLibpodReader struct {
// contains filtered or unexported fields
}
QuadletExistsLibpodReader is a Reader for the QuadletExistsLibpod structure.
func (*QuadletExistsLibpodReader) ReadResponse ¶
func (o *QuadletExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type QuadletFileLibpodInternalServerError ¶
type QuadletFileLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletFileLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletFileLibpodInternalServerError ¶
func NewQuadletFileLibpodInternalServerError() *QuadletFileLibpodInternalServerError
NewQuadletFileLibpodInternalServerError creates a QuadletFileLibpodInternalServerError with default headers values
func (*QuadletFileLibpodInternalServerError) Code ¶
func (o *QuadletFileLibpodInternalServerError) Code() int
Code gets the status code for the quadlet file libpod internal server error response
func (*QuadletFileLibpodInternalServerError) Error ¶
func (o *QuadletFileLibpodInternalServerError) Error() string
func (*QuadletFileLibpodInternalServerError) GetPayload ¶
func (o *QuadletFileLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletFileLibpodInternalServerError) IsClientError ¶
func (o *QuadletFileLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet file libpod internal server error response has a 4xx status code
func (*QuadletFileLibpodInternalServerError) IsCode ¶
func (o *QuadletFileLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet file libpod internal server error response a status code equal to that given
func (*QuadletFileLibpodInternalServerError) IsRedirect ¶
func (o *QuadletFileLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet file libpod internal server error response has a 3xx status code
func (*QuadletFileLibpodInternalServerError) IsServerError ¶
func (o *QuadletFileLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet file libpod internal server error response has a 5xx status code
func (*QuadletFileLibpodInternalServerError) IsSuccess ¶
func (o *QuadletFileLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet file libpod internal server error response has a 2xx status code
func (*QuadletFileLibpodInternalServerError) String ¶
func (o *QuadletFileLibpodInternalServerError) String() string
type QuadletFileLibpodNotFound ¶
type QuadletFileLibpodNotFound struct {
Payload *models.ErrorModel
}
QuadletFileLibpodNotFound describes a response with status code 404, with default header values.
No such quadlet
func NewQuadletFileLibpodNotFound ¶
func NewQuadletFileLibpodNotFound() *QuadletFileLibpodNotFound
NewQuadletFileLibpodNotFound creates a QuadletFileLibpodNotFound with default headers values
func (*QuadletFileLibpodNotFound) Code ¶
func (o *QuadletFileLibpodNotFound) Code() int
Code gets the status code for the quadlet file libpod not found response
func (*QuadletFileLibpodNotFound) Error ¶
func (o *QuadletFileLibpodNotFound) Error() string
func (*QuadletFileLibpodNotFound) GetPayload ¶
func (o *QuadletFileLibpodNotFound) GetPayload() *models.ErrorModel
func (*QuadletFileLibpodNotFound) IsClientError ¶
func (o *QuadletFileLibpodNotFound) IsClientError() bool
IsClientError returns true when this quadlet file libpod not found response has a 4xx status code
func (*QuadletFileLibpodNotFound) IsCode ¶
func (o *QuadletFileLibpodNotFound) IsCode(code int) bool
IsCode returns true when this quadlet file libpod not found response a status code equal to that given
func (*QuadletFileLibpodNotFound) IsRedirect ¶
func (o *QuadletFileLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this quadlet file libpod not found response has a 3xx status code
func (*QuadletFileLibpodNotFound) IsServerError ¶
func (o *QuadletFileLibpodNotFound) IsServerError() bool
IsServerError returns true when this quadlet file libpod not found response has a 5xx status code
func (*QuadletFileLibpodNotFound) IsSuccess ¶
func (o *QuadletFileLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this quadlet file libpod not found response has a 2xx status code
func (*QuadletFileLibpodNotFound) String ¶
func (o *QuadletFileLibpodNotFound) String() string
type QuadletFileLibpodOK ¶
type QuadletFileLibpodOK struct {
Payload string
}
QuadletFileLibpodOK describes a response with status code 200, with default header values.
Quadlet file
func NewQuadletFileLibpodOK ¶
func NewQuadletFileLibpodOK() *QuadletFileLibpodOK
NewQuadletFileLibpodOK creates a QuadletFileLibpodOK with default headers values
func (*QuadletFileLibpodOK) Code ¶
func (o *QuadletFileLibpodOK) Code() int
Code gets the status code for the quadlet file libpod o k response
func (*QuadletFileLibpodOK) Error ¶
func (o *QuadletFileLibpodOK) Error() string
func (*QuadletFileLibpodOK) GetPayload ¶
func (o *QuadletFileLibpodOK) GetPayload() string
func (*QuadletFileLibpodOK) IsClientError ¶
func (o *QuadletFileLibpodOK) IsClientError() bool
IsClientError returns true when this quadlet file libpod o k response has a 4xx status code
func (*QuadletFileLibpodOK) IsCode ¶
func (o *QuadletFileLibpodOK) IsCode(code int) bool
IsCode returns true when this quadlet file libpod o k response a status code equal to that given
func (*QuadletFileLibpodOK) IsRedirect ¶
func (o *QuadletFileLibpodOK) IsRedirect() bool
IsRedirect returns true when this quadlet file libpod o k response has a 3xx status code
func (*QuadletFileLibpodOK) IsServerError ¶
func (o *QuadletFileLibpodOK) IsServerError() bool
IsServerError returns true when this quadlet file libpod o k response has a 5xx status code
func (*QuadletFileLibpodOK) IsSuccess ¶
func (o *QuadletFileLibpodOK) IsSuccess() bool
IsSuccess returns true when this quadlet file libpod o k response has a 2xx status code
func (*QuadletFileLibpodOK) String ¶
func (o *QuadletFileLibpodOK) String() string
type QuadletFileLibpodParams ¶
type QuadletFileLibpodParams struct {
// Name.
//
// the name of the quadlet with extension (e.g., "myapp.container")
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletFileLibpodParams contains all the parameters to send to the API endpoint
for the quadlet file libpod operation. Typically these are written to a http.Request.
func NewQuadletFileLibpodParams ¶
func NewQuadletFileLibpodParams() *QuadletFileLibpodParams
NewQuadletFileLibpodParams creates a new QuadletFileLibpodParams 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 NewQuadletFileLibpodParamsWithContext
deprecated
func NewQuadletFileLibpodParamsWithContext(ctx context.Context) *QuadletFileLibpodParams
NewQuadletFileLibpodParamsWithContext creates a new QuadletFileLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletFileLibpodParams.
func NewQuadletFileLibpodParamsWithHTTPClient ¶
func NewQuadletFileLibpodParamsWithHTTPClient(client *http.Client) *QuadletFileLibpodParams
NewQuadletFileLibpodParamsWithHTTPClient creates a new QuadletFileLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletFileLibpodParamsWithTimeout ¶
func NewQuadletFileLibpodParamsWithTimeout(timeout time.Duration) *QuadletFileLibpodParams
NewQuadletFileLibpodParamsWithTimeout creates a new QuadletFileLibpodParams object with the ability to set a timeout on a request.
func (*QuadletFileLibpodParams) SetContext
deprecated
func (o *QuadletFileLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet file libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletFileLibpodParams.
func (*QuadletFileLibpodParams) SetDefaults ¶
func (o *QuadletFileLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet file libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletFileLibpodParams) SetHTTPClient ¶
func (o *QuadletFileLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet file libpod params.
func (*QuadletFileLibpodParams) SetName ¶
func (o *QuadletFileLibpodParams) SetName(name string)
SetName adds the name to the quadlet file libpod params.
func (*QuadletFileLibpodParams) SetTimeout ¶
func (o *QuadletFileLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet file libpod params.
func (*QuadletFileLibpodParams) WithContext
deprecated
func (o *QuadletFileLibpodParams) WithContext(ctx context.Context) *QuadletFileLibpodParams
WithContext adds the context to the quadlet file libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletFileLibpodParams.
func (*QuadletFileLibpodParams) WithDefaults ¶
func (o *QuadletFileLibpodParams) WithDefaults() *QuadletFileLibpodParams
WithDefaults hydrates default values in the quadlet file libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletFileLibpodParams) WithHTTPClient ¶
func (o *QuadletFileLibpodParams) WithHTTPClient(client *http.Client) *QuadletFileLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet file libpod params.
func (*QuadletFileLibpodParams) WithName ¶
func (o *QuadletFileLibpodParams) WithName(name string) *QuadletFileLibpodParams
WithName adds the name to the quadlet file libpod params.
func (*QuadletFileLibpodParams) WithTimeout ¶
func (o *QuadletFileLibpodParams) WithTimeout(timeout time.Duration) *QuadletFileLibpodParams
WithTimeout adds the timeout to the quadlet file libpod params.
func (*QuadletFileLibpodParams) WriteToRequest ¶
func (o *QuadletFileLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletFileLibpodReader ¶
type QuadletFileLibpodReader struct {
// contains filtered or unexported fields
}
QuadletFileLibpodReader is a Reader for the QuadletFileLibpod structure.
func (*QuadletFileLibpodReader) ReadResponse ¶
func (o *QuadletFileLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type QuadletInstallLibpodBadRequest ¶
type QuadletInstallLibpodBadRequest struct {
Payload *models.ErrorModel
}
QuadletInstallLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewQuadletInstallLibpodBadRequest ¶
func NewQuadletInstallLibpodBadRequest() *QuadletInstallLibpodBadRequest
NewQuadletInstallLibpodBadRequest creates a QuadletInstallLibpodBadRequest with default headers values
func (*QuadletInstallLibpodBadRequest) Code ¶
func (o *QuadletInstallLibpodBadRequest) Code() int
Code gets the status code for the quadlet install libpod bad request response
func (*QuadletInstallLibpodBadRequest) Error ¶
func (o *QuadletInstallLibpodBadRequest) Error() string
func (*QuadletInstallLibpodBadRequest) GetPayload ¶
func (o *QuadletInstallLibpodBadRequest) GetPayload() *models.ErrorModel
func (*QuadletInstallLibpodBadRequest) IsClientError ¶
func (o *QuadletInstallLibpodBadRequest) IsClientError() bool
IsClientError returns true when this quadlet install libpod bad request response has a 4xx status code
func (*QuadletInstallLibpodBadRequest) IsCode ¶
func (o *QuadletInstallLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this quadlet install libpod bad request response a status code equal to that given
func (*QuadletInstallLibpodBadRequest) IsRedirect ¶
func (o *QuadletInstallLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this quadlet install libpod bad request response has a 3xx status code
func (*QuadletInstallLibpodBadRequest) IsServerError ¶
func (o *QuadletInstallLibpodBadRequest) IsServerError() bool
IsServerError returns true when this quadlet install libpod bad request response has a 5xx status code
func (*QuadletInstallLibpodBadRequest) IsSuccess ¶
func (o *QuadletInstallLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this quadlet install libpod bad request response has a 2xx status code
func (*QuadletInstallLibpodBadRequest) String ¶
func (o *QuadletInstallLibpodBadRequest) String() string
type QuadletInstallLibpodInternalServerError ¶
type QuadletInstallLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletInstallLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletInstallLibpodInternalServerError ¶
func NewQuadletInstallLibpodInternalServerError() *QuadletInstallLibpodInternalServerError
NewQuadletInstallLibpodInternalServerError creates a QuadletInstallLibpodInternalServerError with default headers values
func (*QuadletInstallLibpodInternalServerError) Code ¶
func (o *QuadletInstallLibpodInternalServerError) Code() int
Code gets the status code for the quadlet install libpod internal server error response
func (*QuadletInstallLibpodInternalServerError) Error ¶
func (o *QuadletInstallLibpodInternalServerError) Error() string
func (*QuadletInstallLibpodInternalServerError) GetPayload ¶
func (o *QuadletInstallLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletInstallLibpodInternalServerError) IsClientError ¶
func (o *QuadletInstallLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet install libpod internal server error response has a 4xx status code
func (*QuadletInstallLibpodInternalServerError) IsCode ¶
func (o *QuadletInstallLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet install libpod internal server error response a status code equal to that given
func (*QuadletInstallLibpodInternalServerError) IsRedirect ¶
func (o *QuadletInstallLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet install libpod internal server error response has a 3xx status code
func (*QuadletInstallLibpodInternalServerError) IsServerError ¶
func (o *QuadletInstallLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet install libpod internal server error response has a 5xx status code
func (*QuadletInstallLibpodInternalServerError) IsSuccess ¶
func (o *QuadletInstallLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet install libpod internal server error response has a 2xx status code
func (*QuadletInstallLibpodInternalServerError) String ¶
func (o *QuadletInstallLibpodInternalServerError) String() string
type QuadletInstallLibpodOK ¶
type QuadletInstallLibpodOK struct {
Payload *QuadletInstallLibpodOKBody
}
QuadletInstallLibpodOK describes a response with status code 200, with default header values.
Quadlet installation report
func NewQuadletInstallLibpodOK ¶
func NewQuadletInstallLibpodOK() *QuadletInstallLibpodOK
NewQuadletInstallLibpodOK creates a QuadletInstallLibpodOK with default headers values
func (*QuadletInstallLibpodOK) Code ¶
func (o *QuadletInstallLibpodOK) Code() int
Code gets the status code for the quadlet install libpod o k response
func (*QuadletInstallLibpodOK) Error ¶
func (o *QuadletInstallLibpodOK) Error() string
func (*QuadletInstallLibpodOK) GetPayload ¶
func (o *QuadletInstallLibpodOK) GetPayload() *QuadletInstallLibpodOKBody
func (*QuadletInstallLibpodOK) IsClientError ¶
func (o *QuadletInstallLibpodOK) IsClientError() bool
IsClientError returns true when this quadlet install libpod o k response has a 4xx status code
func (*QuadletInstallLibpodOK) IsCode ¶
func (o *QuadletInstallLibpodOK) IsCode(code int) bool
IsCode returns true when this quadlet install libpod o k response a status code equal to that given
func (*QuadletInstallLibpodOK) IsRedirect ¶
func (o *QuadletInstallLibpodOK) IsRedirect() bool
IsRedirect returns true when this quadlet install libpod o k response has a 3xx status code
func (*QuadletInstallLibpodOK) IsServerError ¶
func (o *QuadletInstallLibpodOK) IsServerError() bool
IsServerError returns true when this quadlet install libpod o k response has a 5xx status code
func (*QuadletInstallLibpodOK) IsSuccess ¶
func (o *QuadletInstallLibpodOK) IsSuccess() bool
IsSuccess returns true when this quadlet install libpod o k response has a 2xx status code
func (*QuadletInstallLibpodOK) String ¶
func (o *QuadletInstallLibpodOK) String() string
type QuadletInstallLibpodOKBody ¶
type QuadletInstallLibpodOKBody struct {
// Map of source path to installed path for successfully installed quadlets
InstalledQuadlets map[string]string `json:"InstalledQuadlets,omitempty"`
// Map of source path to error message for failed installations
QuadletErrors map[string]string `json:"QuadletErrors,omitempty"`
}
QuadletInstallLibpodOKBody quadlet install libpod o k body
swagger:model QuadletInstallLibpodOKBody
func (*QuadletInstallLibpodOKBody) ContextValidate ¶
ContextValidate validates this quadlet install libpod o k body based on context it is used
func (*QuadletInstallLibpodOKBody) MarshalBinary ¶
func (o *QuadletInstallLibpodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuadletInstallLibpodOKBody) UnmarshalBinary ¶
func (o *QuadletInstallLibpodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuadletInstallLibpodParams ¶
type QuadletInstallLibpodParams struct {
// Application.
//
// Group quadlet and associated files in a directory with the application name.
// Required when additional files are passed.
//
Application *string
// ReloadSystemd.
//
// Reload systemd after installing quadlets
//
// Default: true
ReloadSystemd *bool
// Replace.
//
// Replace the installation files even if the files already exists
Replace *bool
// Request.
//
// Quadlet files to install. Can be provided as:
// - application/x-tar: A tar archive containing one quadlet file and optionally additional files
// - multipart/form-data: One quadlet file as form data and optionally additional files
//
//
// Format: binary
Request io.ReadCloser
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletInstallLibpodParams contains all the parameters to send to the API endpoint
for the quadlet install libpod operation. Typically these are written to a http.Request.
func NewQuadletInstallLibpodParams ¶
func NewQuadletInstallLibpodParams() *QuadletInstallLibpodParams
NewQuadletInstallLibpodParams creates a new QuadletInstallLibpodParams 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 NewQuadletInstallLibpodParamsWithContext
deprecated
func NewQuadletInstallLibpodParamsWithContext(ctx context.Context) *QuadletInstallLibpodParams
NewQuadletInstallLibpodParamsWithContext creates a new QuadletInstallLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletInstallLibpodParams.
func NewQuadletInstallLibpodParamsWithHTTPClient ¶
func NewQuadletInstallLibpodParamsWithHTTPClient(client *http.Client) *QuadletInstallLibpodParams
NewQuadletInstallLibpodParamsWithHTTPClient creates a new QuadletInstallLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletInstallLibpodParamsWithTimeout ¶
func NewQuadletInstallLibpodParamsWithTimeout(timeout time.Duration) *QuadletInstallLibpodParams
NewQuadletInstallLibpodParamsWithTimeout creates a new QuadletInstallLibpodParams object with the ability to set a timeout on a request.
func (*QuadletInstallLibpodParams) SetApplication ¶
func (o *QuadletInstallLibpodParams) SetApplication(application *string)
SetApplication adds the application to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) SetContext
deprecated
func (o *QuadletInstallLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet install libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletInstallLibpodParams.
func (*QuadletInstallLibpodParams) SetDefaults ¶
func (o *QuadletInstallLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet install libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletInstallLibpodParams) SetHTTPClient ¶
func (o *QuadletInstallLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) SetReloadSystemd ¶
func (o *QuadletInstallLibpodParams) SetReloadSystemd(reloadSystemd *bool)
SetReloadSystemd adds the reloadSystemd to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) SetReplace ¶
func (o *QuadletInstallLibpodParams) SetReplace(replace *bool)
SetReplace adds the replace to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) SetRequest ¶
func (o *QuadletInstallLibpodParams) SetRequest(request io.ReadCloser)
SetRequest adds the request to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) SetTimeout ¶
func (o *QuadletInstallLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithApplication ¶
func (o *QuadletInstallLibpodParams) WithApplication(application *string) *QuadletInstallLibpodParams
WithApplication adds the application to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithContext
deprecated
func (o *QuadletInstallLibpodParams) WithContext(ctx context.Context) *QuadletInstallLibpodParams
WithContext adds the context to the quadlet install libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletInstallLibpodParams.
func (*QuadletInstallLibpodParams) WithDefaults ¶
func (o *QuadletInstallLibpodParams) WithDefaults() *QuadletInstallLibpodParams
WithDefaults hydrates default values in the quadlet install libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletInstallLibpodParams) WithHTTPClient ¶
func (o *QuadletInstallLibpodParams) WithHTTPClient(client *http.Client) *QuadletInstallLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithReloadSystemd ¶
func (o *QuadletInstallLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletInstallLibpodParams
WithReloadSystemd adds the reloadSystemd to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithReplace ¶
func (o *QuadletInstallLibpodParams) WithReplace(replace *bool) *QuadletInstallLibpodParams
WithReplace adds the replace to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithRequest ¶
func (o *QuadletInstallLibpodParams) WithRequest(request io.ReadCloser) *QuadletInstallLibpodParams
WithRequest adds the request to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WithTimeout ¶
func (o *QuadletInstallLibpodParams) WithTimeout(timeout time.Duration) *QuadletInstallLibpodParams
WithTimeout adds the timeout to the quadlet install libpod params.
func (*QuadletInstallLibpodParams) WriteToRequest ¶
func (o *QuadletInstallLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletInstallLibpodReader ¶
type QuadletInstallLibpodReader struct {
// contains filtered or unexported fields
}
QuadletInstallLibpodReader is a Reader for the QuadletInstallLibpod structure.
func (*QuadletInstallLibpodReader) ReadResponse ¶
func (o *QuadletInstallLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type QuadletListLibpodInternalServerError ¶
type QuadletListLibpodInternalServerError struct {
Payload *models.ErrorModel
}
QuadletListLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewQuadletListLibpodInternalServerError ¶
func NewQuadletListLibpodInternalServerError() *QuadletListLibpodInternalServerError
NewQuadletListLibpodInternalServerError creates a QuadletListLibpodInternalServerError with default headers values
func (*QuadletListLibpodInternalServerError) Code ¶
func (o *QuadletListLibpodInternalServerError) Code() int
Code gets the status code for the quadlet list libpod internal server error response
func (*QuadletListLibpodInternalServerError) Error ¶
func (o *QuadletListLibpodInternalServerError) Error() string
func (*QuadletListLibpodInternalServerError) GetPayload ¶
func (o *QuadletListLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*QuadletListLibpodInternalServerError) IsClientError ¶
func (o *QuadletListLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this quadlet list libpod internal server error response has a 4xx status code
func (*QuadletListLibpodInternalServerError) IsCode ¶
func (o *QuadletListLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this quadlet list libpod internal server error response a status code equal to that given
func (*QuadletListLibpodInternalServerError) IsRedirect ¶
func (o *QuadletListLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this quadlet list libpod internal server error response has a 3xx status code
func (*QuadletListLibpodInternalServerError) IsServerError ¶
func (o *QuadletListLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this quadlet list libpod internal server error response has a 5xx status code
func (*QuadletListLibpodInternalServerError) IsSuccess ¶
func (o *QuadletListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this quadlet list libpod internal server error response has a 2xx status code
func (*QuadletListLibpodInternalServerError) String ¶
func (o *QuadletListLibpodInternalServerError) String() string
type QuadletListLibpodOK ¶
type QuadletListLibpodOK struct {
Payload []*models.ListQuadlet
}
QuadletListLibpodOK describes a response with status code 200, with default header values.
Quadlet list
func NewQuadletListLibpodOK ¶
func NewQuadletListLibpodOK() *QuadletListLibpodOK
NewQuadletListLibpodOK creates a QuadletListLibpodOK with default headers values
func (*QuadletListLibpodOK) Code ¶
func (o *QuadletListLibpodOK) Code() int
Code gets the status code for the quadlet list libpod o k response
func (*QuadletListLibpodOK) Error ¶
func (o *QuadletListLibpodOK) Error() string
func (*QuadletListLibpodOK) GetPayload ¶
func (o *QuadletListLibpodOK) GetPayload() []*models.ListQuadlet
func (*QuadletListLibpodOK) IsClientError ¶
func (o *QuadletListLibpodOK) IsClientError() bool
IsClientError returns true when this quadlet list libpod o k response has a 4xx status code
func (*QuadletListLibpodOK) IsCode ¶
func (o *QuadletListLibpodOK) IsCode(code int) bool
IsCode returns true when this quadlet list libpod o k response a status code equal to that given
func (*QuadletListLibpodOK) IsRedirect ¶
func (o *QuadletListLibpodOK) IsRedirect() bool
IsRedirect returns true when this quadlet list libpod o k response has a 3xx status code
func (*QuadletListLibpodOK) IsServerError ¶
func (o *QuadletListLibpodOK) IsServerError() bool
IsServerError returns true when this quadlet list libpod o k response has a 5xx status code
func (*QuadletListLibpodOK) IsSuccess ¶
func (o *QuadletListLibpodOK) IsSuccess() bool
IsSuccess returns true when this quadlet list libpod o k response has a 2xx status code
func (*QuadletListLibpodOK) String ¶
func (o *QuadletListLibpodOK) String() string
type QuadletListLibpodParams ¶
type QuadletListLibpodParams struct {
// Filters.
//
// JSON encoded value of the filters (a map[string][]string).
// Supported filters:
// - name=<quadlet-name> Filter by quadlet name
// - pod=<pod-quadlet> Filter by Pod= value (container quadlets only)
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
QuadletListLibpodParams contains all the parameters to send to the API endpoint
for the quadlet list libpod operation. Typically these are written to a http.Request.
func NewQuadletListLibpodParams ¶
func NewQuadletListLibpodParams() *QuadletListLibpodParams
NewQuadletListLibpodParams creates a new QuadletListLibpodParams 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 NewQuadletListLibpodParamsWithContext
deprecated
func NewQuadletListLibpodParamsWithContext(ctx context.Context) *QuadletListLibpodParams
NewQuadletListLibpodParamsWithContext creates a new QuadletListLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of QuadletListLibpodParams.
func NewQuadletListLibpodParamsWithHTTPClient ¶
func NewQuadletListLibpodParamsWithHTTPClient(client *http.Client) *QuadletListLibpodParams
NewQuadletListLibpodParamsWithHTTPClient creates a new QuadletListLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewQuadletListLibpodParamsWithTimeout ¶
func NewQuadletListLibpodParamsWithTimeout(timeout time.Duration) *QuadletListLibpodParams
NewQuadletListLibpodParamsWithTimeout creates a new QuadletListLibpodParams object with the ability to set a timeout on a request.
func (*QuadletListLibpodParams) SetContext
deprecated
func (o *QuadletListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the quadlet list libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletListLibpodParams.
func (*QuadletListLibpodParams) SetDefaults ¶
func (o *QuadletListLibpodParams) SetDefaults()
SetDefaults hydrates default values in the quadlet list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletListLibpodParams) SetFilters ¶
func (o *QuadletListLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the quadlet list libpod params.
func (*QuadletListLibpodParams) SetHTTPClient ¶
func (o *QuadletListLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quadlet list libpod params.
func (*QuadletListLibpodParams) SetTimeout ¶
func (o *QuadletListLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quadlet list libpod params.
func (*QuadletListLibpodParams) WithContext
deprecated
func (o *QuadletListLibpodParams) WithContext(ctx context.Context) *QuadletListLibpodParams
WithContext adds the context to the quadlet list libpod params.
Deprecated: use the operation call with context to pass the context instead of QuadletListLibpodParams.
func (*QuadletListLibpodParams) WithDefaults ¶
func (o *QuadletListLibpodParams) WithDefaults() *QuadletListLibpodParams
WithDefaults hydrates default values in the quadlet list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*QuadletListLibpodParams) WithFilters ¶
func (o *QuadletListLibpodParams) WithFilters(filters *string) *QuadletListLibpodParams
WithFilters adds the filters to the quadlet list libpod params.
func (*QuadletListLibpodParams) WithHTTPClient ¶
func (o *QuadletListLibpodParams) WithHTTPClient(client *http.Client) *QuadletListLibpodParams
WithHTTPClient adds the HTTPClient to the quadlet list libpod params.
func (*QuadletListLibpodParams) WithTimeout ¶
func (o *QuadletListLibpodParams) WithTimeout(timeout time.Duration) *QuadletListLibpodParams
WithTimeout adds the timeout to the quadlet list libpod params.
func (*QuadletListLibpodParams) WriteToRequest ¶
func (o *QuadletListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type QuadletListLibpodReader ¶
type QuadletListLibpodReader struct {
// contains filtered or unexported fields
}
QuadletListLibpodReader is a Reader for the QuadletListLibpod structure.
func (*QuadletListLibpodReader) ReadResponse ¶
func (o *QuadletListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- quadlet_delete_all_libpod_parameters.go
- quadlet_delete_all_libpod_responses.go
- quadlet_delete_libpod_parameters.go
- quadlet_delete_libpod_responses.go
- quadlet_exists_libpod_parameters.go
- quadlet_exists_libpod_responses.go
- quadlet_file_libpod_parameters.go
- quadlet_file_libpod_responses.go
- quadlet_install_libpod_parameters.go
- quadlet_install_libpod_responses.go
- quadlet_list_libpod_parameters.go
- quadlet_list_libpod_responses.go
- quadlets_client.go