Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) SystemCheckLibpod(params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
- func (a *Client) SystemCheckLibpodContext(ctx context.Context, params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
- func (a *Client) SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
- func (a *Client) SystemDataUsageLibpodContext(ctx context.Context, params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
- func (a *Client) SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
- func (a *Client) SystemEventsLibpodContext(ctx context.Context, params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
- func (a *Client) SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
- func (a *Client) SystemInfoLibpodContext(ctx context.Context, params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
- func (a *Client) SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
- func (a *Client) SystemPruneLibpodContext(ctx context.Context, params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
- func (a *Client) SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
- func (a *Client) SystemVersionLibpodContext(ctx context.Context, params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
- type ClientOption
- type ClientService
- type SystemCheckLibpodBadRequest
- func (o *SystemCheckLibpodBadRequest) Code() int
- func (o *SystemCheckLibpodBadRequest) Error() string
- func (o *SystemCheckLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *SystemCheckLibpodBadRequest) IsClientError() bool
- func (o *SystemCheckLibpodBadRequest) IsCode(code int) bool
- func (o *SystemCheckLibpodBadRequest) IsRedirect() bool
- func (o *SystemCheckLibpodBadRequest) IsServerError() bool
- func (o *SystemCheckLibpodBadRequest) IsSuccess() bool
- func (o *SystemCheckLibpodBadRequest) String() string
- type SystemCheckLibpodInternalServerError
- func (o *SystemCheckLibpodInternalServerError) Code() int
- func (o *SystemCheckLibpodInternalServerError) Error() string
- func (o *SystemCheckLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SystemCheckLibpodInternalServerError) IsClientError() bool
- func (o *SystemCheckLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemCheckLibpodInternalServerError) IsRedirect() bool
- func (o *SystemCheckLibpodInternalServerError) IsServerError() bool
- func (o *SystemCheckLibpodInternalServerError) IsSuccess() bool
- func (o *SystemCheckLibpodInternalServerError) String() string
- type SystemCheckLibpodOK
- func (o *SystemCheckLibpodOK) Code() int
- func (o *SystemCheckLibpodOK) Error() string
- func (o *SystemCheckLibpodOK) GetPayload() *models.SystemCheckReport
- func (o *SystemCheckLibpodOK) IsClientError() bool
- func (o *SystemCheckLibpodOK) IsCode(code int) bool
- func (o *SystemCheckLibpodOK) IsRedirect() bool
- func (o *SystemCheckLibpodOK) IsServerError() bool
- func (o *SystemCheckLibpodOK) IsSuccess() bool
- func (o *SystemCheckLibpodOK) String() string
- type SystemCheckLibpodParams
- func NewSystemCheckLibpodParams() *SystemCheckLibpodParams
- func NewSystemCheckLibpodParamsWithContext(ctx context.Context) *SystemCheckLibpodParamsdeprecated
- func NewSystemCheckLibpodParamsWithHTTPClient(client *http.Client) *SystemCheckLibpodParams
- func NewSystemCheckLibpodParamsWithTimeout(timeout time.Duration) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemCheckLibpodParams) SetDefaults()
- func (o *SystemCheckLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemCheckLibpodParams) SetQuick(quick *bool)
- func (o *SystemCheckLibpodParams) SetRepair(repair *bool)
- func (o *SystemCheckLibpodParams) SetRepairLossy(repairLossy *bool)
- func (o *SystemCheckLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemCheckLibpodParams) SetUnreferencedLayerMaxAge(unreferencedLayerMaxAge *string)
- func (o *SystemCheckLibpodParams) WithContext(ctx context.Context) *SystemCheckLibpodParamsdeprecated
- func (o *SystemCheckLibpodParams) WithDefaults() *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithHTTPClient(client *http.Client) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithQuick(quick *bool) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithRepair(repair *bool) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithRepairLossy(repairLossy *bool) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithTimeout(timeout time.Duration) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WithUnreferencedLayerMaxAge(unreferencedLayerMaxAge *string) *SystemCheckLibpodParams
- func (o *SystemCheckLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemCheckLibpodReader
- type SystemDataUsageLibpodInternalServerError
- func (o *SystemDataUsageLibpodInternalServerError) Code() int
- func (o *SystemDataUsageLibpodInternalServerError) Error() string
- func (o *SystemDataUsageLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SystemDataUsageLibpodInternalServerError) IsClientError() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemDataUsageLibpodInternalServerError) IsRedirect() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsServerError() bool
- func (o *SystemDataUsageLibpodInternalServerError) IsSuccess() bool
- func (o *SystemDataUsageLibpodInternalServerError) String() string
- type SystemDataUsageLibpodOK
- func (o *SystemDataUsageLibpodOK) Code() int
- func (o *SystemDataUsageLibpodOK) Error() string
- func (o *SystemDataUsageLibpodOK) GetPayload() *models.SystemDfReport
- func (o *SystemDataUsageLibpodOK) IsClientError() bool
- func (o *SystemDataUsageLibpodOK) IsCode(code int) bool
- func (o *SystemDataUsageLibpodOK) IsRedirect() bool
- func (o *SystemDataUsageLibpodOK) IsServerError() bool
- func (o *SystemDataUsageLibpodOK) IsSuccess() bool
- func (o *SystemDataUsageLibpodOK) String() string
- type SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParams() *SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParamsWithContext(ctx context.Context) *SystemDataUsageLibpodParamsdeprecated
- func NewSystemDataUsageLibpodParamsWithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
- func NewSystemDataUsageLibpodParamsWithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemDataUsageLibpodParams) SetDefaults()
- func (o *SystemDataUsageLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemDataUsageLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemDataUsageLibpodParams) WithContext(ctx context.Context) *SystemDataUsageLibpodParamsdeprecated
- func (o *SystemDataUsageLibpodParams) WithDefaults() *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
- func (o *SystemDataUsageLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemDataUsageLibpodReader
- type SystemEventsLibpodInternalServerError
- func (o *SystemEventsLibpodInternalServerError) Code() int
- func (o *SystemEventsLibpodInternalServerError) Error() string
- func (o *SystemEventsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SystemEventsLibpodInternalServerError) IsClientError() bool
- func (o *SystemEventsLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemEventsLibpodInternalServerError) IsRedirect() bool
- func (o *SystemEventsLibpodInternalServerError) IsServerError() bool
- func (o *SystemEventsLibpodInternalServerError) IsSuccess() bool
- func (o *SystemEventsLibpodInternalServerError) String() string
- type SystemEventsLibpodOK
- func (o *SystemEventsLibpodOK) Code() int
- func (o *SystemEventsLibpodOK) Error() string
- func (o *SystemEventsLibpodOK) IsClientError() bool
- func (o *SystemEventsLibpodOK) IsCode(code int) bool
- func (o *SystemEventsLibpodOK) IsRedirect() bool
- func (o *SystemEventsLibpodOK) IsServerError() bool
- func (o *SystemEventsLibpodOK) IsSuccess() bool
- func (o *SystemEventsLibpodOK) String() string
- type SystemEventsLibpodParams
- func NewSystemEventsLibpodParams() *SystemEventsLibpodParams
- func NewSystemEventsLibpodParamsWithContext(ctx context.Context) *SystemEventsLibpodParamsdeprecated
- func NewSystemEventsLibpodParamsWithHTTPClient(client *http.Client) *SystemEventsLibpodParams
- func NewSystemEventsLibpodParamsWithTimeout(timeout time.Duration) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemEventsLibpodParams) SetDefaults()
- func (o *SystemEventsLibpodParams) SetFilters(filters *string)
- func (o *SystemEventsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemEventsLibpodParams) SetSince(since *string)
- func (o *SystemEventsLibpodParams) SetStream(stream *bool)
- func (o *SystemEventsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemEventsLibpodParams) SetUntil(until *string)
- func (o *SystemEventsLibpodParams) WithContext(ctx context.Context) *SystemEventsLibpodParamsdeprecated
- func (o *SystemEventsLibpodParams) WithDefaults() *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithFilters(filters *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithHTTPClient(client *http.Client) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithSince(since *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithStream(stream *bool) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithTimeout(timeout time.Duration) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WithUntil(until *string) *SystemEventsLibpodParams
- func (o *SystemEventsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemEventsLibpodReader
- type SystemInfoLibpodInternalServerError
- func (o *SystemInfoLibpodInternalServerError) Code() int
- func (o *SystemInfoLibpodInternalServerError) Error() string
- func (o *SystemInfoLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SystemInfoLibpodInternalServerError) IsClientError() bool
- func (o *SystemInfoLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemInfoLibpodInternalServerError) IsRedirect() bool
- func (o *SystemInfoLibpodInternalServerError) IsServerError() bool
- func (o *SystemInfoLibpodInternalServerError) IsSuccess() bool
- func (o *SystemInfoLibpodInternalServerError) String() string
- type SystemInfoLibpodOK
- func (o *SystemInfoLibpodOK) Code() int
- func (o *SystemInfoLibpodOK) Error() string
- func (o *SystemInfoLibpodOK) GetPayload() *models.Info
- func (o *SystemInfoLibpodOK) IsClientError() bool
- func (o *SystemInfoLibpodOK) IsCode(code int) bool
- func (o *SystemInfoLibpodOK) IsRedirect() bool
- func (o *SystemInfoLibpodOK) IsServerError() bool
- func (o *SystemInfoLibpodOK) IsSuccess() bool
- func (o *SystemInfoLibpodOK) String() string
- type SystemInfoLibpodParams
- func NewSystemInfoLibpodParams() *SystemInfoLibpodParams
- func NewSystemInfoLibpodParamsWithContext(ctx context.Context) *SystemInfoLibpodParamsdeprecated
- func NewSystemInfoLibpodParamsWithHTTPClient(client *http.Client) *SystemInfoLibpodParams
- func NewSystemInfoLibpodParamsWithTimeout(timeout time.Duration) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemInfoLibpodParams) SetDefaults()
- func (o *SystemInfoLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemInfoLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemInfoLibpodParams) WithContext(ctx context.Context) *SystemInfoLibpodParamsdeprecated
- func (o *SystemInfoLibpodParams) WithDefaults() *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WithHTTPClient(client *http.Client) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WithTimeout(timeout time.Duration) *SystemInfoLibpodParams
- func (o *SystemInfoLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemInfoLibpodReader
- type SystemPruneLibpodBadRequest
- func (o *SystemPruneLibpodBadRequest) Code() int
- func (o *SystemPruneLibpodBadRequest) Error() string
- func (o *SystemPruneLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *SystemPruneLibpodBadRequest) IsClientError() bool
- func (o *SystemPruneLibpodBadRequest) IsCode(code int) bool
- func (o *SystemPruneLibpodBadRequest) IsRedirect() bool
- func (o *SystemPruneLibpodBadRequest) IsServerError() bool
- func (o *SystemPruneLibpodBadRequest) IsSuccess() bool
- func (o *SystemPruneLibpodBadRequest) String() string
- type SystemPruneLibpodInternalServerError
- func (o *SystemPruneLibpodInternalServerError) Code() int
- func (o *SystemPruneLibpodInternalServerError) Error() string
- func (o *SystemPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *SystemPruneLibpodInternalServerError) IsClientError() bool
- func (o *SystemPruneLibpodInternalServerError) IsCode(code int) bool
- func (o *SystemPruneLibpodInternalServerError) IsRedirect() bool
- func (o *SystemPruneLibpodInternalServerError) IsServerError() bool
- func (o *SystemPruneLibpodInternalServerError) IsSuccess() bool
- func (o *SystemPruneLibpodInternalServerError) String() string
- type SystemPruneLibpodOK
- func (o *SystemPruneLibpodOK) Code() int
- func (o *SystemPruneLibpodOK) Error() string
- func (o *SystemPruneLibpodOK) GetPayload() *models.SystemPruneReport
- func (o *SystemPruneLibpodOK) IsClientError() bool
- func (o *SystemPruneLibpodOK) IsCode(code int) bool
- func (o *SystemPruneLibpodOK) IsRedirect() bool
- func (o *SystemPruneLibpodOK) IsServerError() bool
- func (o *SystemPruneLibpodOK) IsSuccess() bool
- func (o *SystemPruneLibpodOK) String() string
- type SystemPruneLibpodParams
- func NewSystemPruneLibpodParams() *SystemPruneLibpodParams
- func NewSystemPruneLibpodParamsWithContext(ctx context.Context) *SystemPruneLibpodParamsdeprecated
- func NewSystemPruneLibpodParamsWithHTTPClient(client *http.Client) *SystemPruneLibpodParams
- func NewSystemPruneLibpodParamsWithTimeout(timeout time.Duration) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) SetAll(all *bool)
- func (o *SystemPruneLibpodParams) SetBuild(build *bool)
- func (o *SystemPruneLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemPruneLibpodParams) SetDefaults()
- func (o *SystemPruneLibpodParams) SetExternal(external *bool)
- func (o *SystemPruneLibpodParams) SetFilters(filters *string)
- func (o *SystemPruneLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemPruneLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemPruneLibpodParams) SetVolumes(volumes *bool)
- func (o *SystemPruneLibpodParams) WithAll(all *bool) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithBuild(build *bool) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithContext(ctx context.Context) *SystemPruneLibpodParamsdeprecated
- func (o *SystemPruneLibpodParams) WithDefaults() *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithExternal(external *bool) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithFilters(filters *string) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithHTTPClient(client *http.Client) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithTimeout(timeout time.Duration) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WithVolumes(volumes *bool) *SystemPruneLibpodParams
- func (o *SystemPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemPruneLibpodReader
- type SystemVersionLibpodOK
- func (o *SystemVersionLibpodOK) Code() int
- func (o *SystemVersionLibpodOK) Error() string
- func (o *SystemVersionLibpodOK) GetPayload() *models.SystemComponentVersion
- func (o *SystemVersionLibpodOK) IsClientError() bool
- func (o *SystemVersionLibpodOK) IsCode(code int) bool
- func (o *SystemVersionLibpodOK) IsRedirect() bool
- func (o *SystemVersionLibpodOK) IsServerError() bool
- func (o *SystemVersionLibpodOK) IsSuccess() bool
- func (o *SystemVersionLibpodOK) String() string
- type SystemVersionLibpodParams
- func NewSystemVersionLibpodParams() *SystemVersionLibpodParams
- func NewSystemVersionLibpodParamsWithContext(ctx context.Context) *SystemVersionLibpodParamsdeprecated
- func NewSystemVersionLibpodParamsWithHTTPClient(client *http.Client) *SystemVersionLibpodParams
- func NewSystemVersionLibpodParamsWithTimeout(timeout time.Duration) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *SystemVersionLibpodParams) SetDefaults()
- func (o *SystemVersionLibpodParams) SetHTTPClient(client *http.Client)
- func (o *SystemVersionLibpodParams) SetTimeout(timeout time.Duration)
- func (o *SystemVersionLibpodParams) WithContext(ctx context.Context) *SystemVersionLibpodParamsdeprecated
- func (o *SystemVersionLibpodParams) WithDefaults() *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WithHTTPClient(client *http.Client) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WithTimeout(timeout time.Duration) *SystemVersionLibpodParams
- func (o *SystemVersionLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemVersionLibpodReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxTar ¶
func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system API.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
func (*Client) SystemCheckLibpod ¶
func (a *Client) SystemCheckLibpod(params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
SystemCheckLibpod performs consistency checks on storage optionally removing items which fail checks.
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.SystemCheckLibpodContext instead.
func (*Client) SystemCheckLibpodContext ¶
func (a *Client) SystemCheckLibpodContext(ctx context.Context, params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
SystemCheckLibpodContext performs consistency checks on storage optionally removing items which fail checks.
Do not use the deprecated [SystemCheckLibpodParams.Context] with this method: it would be ignored.
func (*Client) SystemDataUsageLibpod ¶
func (a *Client) SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
SystemDataUsageLibpod shows disk usage.
Return information about disk usage for containers, images, and volumes.
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.SystemDataUsageLibpodContext instead.
func (*Client) SystemDataUsageLibpodContext ¶
func (a *Client) SystemDataUsageLibpodContext(ctx context.Context, params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
SystemDataUsageLibpodContext shows disk usage.
Return information about disk usage for containers, images, and volumes.
Do not use the deprecated [SystemDataUsageLibpodParams.Context] with this method: it would be ignored.
func (*Client) SystemEventsLibpod ¶
func (a *Client) SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
SystemEventsLibpod gets events.
Returns events filtered on query parameters.
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.SystemEventsLibpodContext instead.
func (*Client) SystemEventsLibpodContext ¶
func (a *Client) SystemEventsLibpodContext(ctx context.Context, params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
SystemEventsLibpodContext gets events.
Returns events filtered on query parameters.
Do not use the deprecated [SystemEventsLibpodParams.Context] with this method: it would be ignored.
func (*Client) SystemInfoLibpod ¶
func (a *Client) SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
SystemInfoLibpod gets info.
Returns information on the system and libpod configuration.
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.SystemInfoLibpodContext instead.
func (*Client) SystemInfoLibpodContext ¶
func (a *Client) SystemInfoLibpodContext(ctx context.Context, params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
SystemInfoLibpodContext gets info.
Returns information on the system and libpod configuration.
Do not use the deprecated [SystemInfoLibpodParams.Context] with this method: it would be ignored.
func (*Client) SystemPruneLibpod ¶
func (a *Client) SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
SystemPruneLibpod prunes unused data.
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.SystemPruneLibpodContext instead.
func (*Client) SystemPruneLibpodContext ¶
func (a *Client) SystemPruneLibpodContext(ctx context.Context, params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
SystemPruneLibpodContext prunes unused data.
Do not use the deprecated [SystemPruneLibpodParams.Context] with this method: it would be ignored.
func (*Client) SystemVersionLibpod ¶
func (a *Client) SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
SystemVersionLibpod components version information.
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.SystemVersionLibpodContext instead.
func (*Client) SystemVersionLibpodContext ¶
func (a *Client) SystemVersionLibpodContext(ctx context.Context, params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
SystemVersionLibpodContext components version information.
Do not use the deprecated [SystemVersionLibpodParams.Context] with this method: it would be ignored.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// SystemCheckLibpod performs consistency checks on storage optionally removing items which fail checks.
SystemCheckLibpod(params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
// SystemCheckLibpodContext performs consistency checks on storage optionally removing items which fail checks.
SystemCheckLibpodContext(ctx context.Context, params *SystemCheckLibpodParams, opts ...ClientOption) (*SystemCheckLibpodOK, error)
// SystemDataUsageLibpod show disk usage.
SystemDataUsageLibpod(params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
// SystemDataUsageLibpodContext show disk usage.
SystemDataUsageLibpodContext(ctx context.Context, params *SystemDataUsageLibpodParams, opts ...ClientOption) (*SystemDataUsageLibpodOK, error)
// SystemEventsLibpod get events.
SystemEventsLibpod(params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
// SystemEventsLibpodContext get events.
SystemEventsLibpodContext(ctx context.Context, params *SystemEventsLibpodParams, opts ...ClientOption) (*SystemEventsLibpodOK, error)
// SystemInfoLibpod get info.
SystemInfoLibpod(params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
// SystemInfoLibpodContext get info.
SystemInfoLibpodContext(ctx context.Context, params *SystemInfoLibpodParams, opts ...ClientOption) (*SystemInfoLibpodOK, error)
// SystemPruneLibpod prune unused data.
SystemPruneLibpod(params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
// SystemPruneLibpodContext prune unused data.
SystemPruneLibpodContext(ctx context.Context, params *SystemPruneLibpodParams, opts ...ClientOption) (*SystemPruneLibpodOK, error)
// SystemVersionLibpod component version information.
SystemVersionLibpod(params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, error)
// SystemVersionLibpodContext component version information.
SystemVersionLibpodContext(ctx context.Context, params *SystemVersionLibpodParams, opts ...ClientOption) (*SystemVersionLibpodOK, 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 system API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new system 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 system 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 SystemCheckLibpodBadRequest ¶
type SystemCheckLibpodBadRequest struct {
Payload *models.ErrorModel
}
SystemCheckLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewSystemCheckLibpodBadRequest ¶
func NewSystemCheckLibpodBadRequest() *SystemCheckLibpodBadRequest
NewSystemCheckLibpodBadRequest creates a SystemCheckLibpodBadRequest with default headers values
func (*SystemCheckLibpodBadRequest) Code ¶
func (o *SystemCheckLibpodBadRequest) Code() int
Code gets the status code for the system check libpod bad request response
func (*SystemCheckLibpodBadRequest) Error ¶
func (o *SystemCheckLibpodBadRequest) Error() string
func (*SystemCheckLibpodBadRequest) GetPayload ¶
func (o *SystemCheckLibpodBadRequest) GetPayload() *models.ErrorModel
func (*SystemCheckLibpodBadRequest) IsClientError ¶
func (o *SystemCheckLibpodBadRequest) IsClientError() bool
IsClientError returns true when this system check libpod bad request response has a 4xx status code
func (*SystemCheckLibpodBadRequest) IsCode ¶
func (o *SystemCheckLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this system check libpod bad request response a status code equal to that given
func (*SystemCheckLibpodBadRequest) IsRedirect ¶
func (o *SystemCheckLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this system check libpod bad request response has a 3xx status code
func (*SystemCheckLibpodBadRequest) IsServerError ¶
func (o *SystemCheckLibpodBadRequest) IsServerError() bool
IsServerError returns true when this system check libpod bad request response has a 5xx status code
func (*SystemCheckLibpodBadRequest) IsSuccess ¶
func (o *SystemCheckLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this system check libpod bad request response has a 2xx status code
func (*SystemCheckLibpodBadRequest) String ¶
func (o *SystemCheckLibpodBadRequest) String() string
type SystemCheckLibpodInternalServerError ¶
type SystemCheckLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SystemCheckLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemCheckLibpodInternalServerError ¶
func NewSystemCheckLibpodInternalServerError() *SystemCheckLibpodInternalServerError
NewSystemCheckLibpodInternalServerError creates a SystemCheckLibpodInternalServerError with default headers values
func (*SystemCheckLibpodInternalServerError) Code ¶
func (o *SystemCheckLibpodInternalServerError) Code() int
Code gets the status code for the system check libpod internal server error response
func (*SystemCheckLibpodInternalServerError) Error ¶
func (o *SystemCheckLibpodInternalServerError) Error() string
func (*SystemCheckLibpodInternalServerError) GetPayload ¶
func (o *SystemCheckLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SystemCheckLibpodInternalServerError) IsClientError ¶
func (o *SystemCheckLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system check libpod internal server error response has a 4xx status code
func (*SystemCheckLibpodInternalServerError) IsCode ¶
func (o *SystemCheckLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system check libpod internal server error response a status code equal to that given
func (*SystemCheckLibpodInternalServerError) IsRedirect ¶
func (o *SystemCheckLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system check libpod internal server error response has a 3xx status code
func (*SystemCheckLibpodInternalServerError) IsServerError ¶
func (o *SystemCheckLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system check libpod internal server error response has a 5xx status code
func (*SystemCheckLibpodInternalServerError) IsSuccess ¶
func (o *SystemCheckLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system check libpod internal server error response has a 2xx status code
func (*SystemCheckLibpodInternalServerError) String ¶
func (o *SystemCheckLibpodInternalServerError) String() string
type SystemCheckLibpodOK ¶
type SystemCheckLibpodOK struct {
Payload *models.SystemCheckReport
}
SystemCheckLibpodOK describes a response with status code 200, with default header values.
Check
func NewSystemCheckLibpodOK ¶
func NewSystemCheckLibpodOK() *SystemCheckLibpodOK
NewSystemCheckLibpodOK creates a SystemCheckLibpodOK with default headers values
func (*SystemCheckLibpodOK) Code ¶
func (o *SystemCheckLibpodOK) Code() int
Code gets the status code for the system check libpod o k response
func (*SystemCheckLibpodOK) Error ¶
func (o *SystemCheckLibpodOK) Error() string
func (*SystemCheckLibpodOK) GetPayload ¶
func (o *SystemCheckLibpodOK) GetPayload() *models.SystemCheckReport
func (*SystemCheckLibpodOK) IsClientError ¶
func (o *SystemCheckLibpodOK) IsClientError() bool
IsClientError returns true when this system check libpod o k response has a 4xx status code
func (*SystemCheckLibpodOK) IsCode ¶
func (o *SystemCheckLibpodOK) IsCode(code int) bool
IsCode returns true when this system check libpod o k response a status code equal to that given
func (*SystemCheckLibpodOK) IsRedirect ¶
func (o *SystemCheckLibpodOK) IsRedirect() bool
IsRedirect returns true when this system check libpod o k response has a 3xx status code
func (*SystemCheckLibpodOK) IsServerError ¶
func (o *SystemCheckLibpodOK) IsServerError() bool
IsServerError returns true when this system check libpod o k response has a 5xx status code
func (*SystemCheckLibpodOK) IsSuccess ¶
func (o *SystemCheckLibpodOK) IsSuccess() bool
IsSuccess returns true when this system check libpod o k response has a 2xx status code
func (*SystemCheckLibpodOK) String ¶
func (o *SystemCheckLibpodOK) String() string
type SystemCheckLibpodParams ¶
type SystemCheckLibpodParams struct {
// Quick.
//
// Skip time-consuming checks
Quick *bool
// Repair.
//
// Remove inconsistent images
Repair *bool
// RepairLossy.
//
// Remove inconsistent containers and images
RepairLossy *bool
// UnreferencedLayerMaxAge.
//
// Maximum allowed age of unreferenced layers
//
// Default: "24h0m0s"
UnreferencedLayerMaxAge *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemCheckLibpodParams contains all the parameters to send to the API endpoint
for the system check libpod operation. Typically these are written to a http.Request.
func NewSystemCheckLibpodParams ¶
func NewSystemCheckLibpodParams() *SystemCheckLibpodParams
NewSystemCheckLibpodParams creates a new SystemCheckLibpodParams 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 NewSystemCheckLibpodParamsWithContext
deprecated
func NewSystemCheckLibpodParamsWithContext(ctx context.Context) *SystemCheckLibpodParams
NewSystemCheckLibpodParamsWithContext creates a new SystemCheckLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemCheckLibpodParams.
func NewSystemCheckLibpodParamsWithHTTPClient ¶
func NewSystemCheckLibpodParamsWithHTTPClient(client *http.Client) *SystemCheckLibpodParams
NewSystemCheckLibpodParamsWithHTTPClient creates a new SystemCheckLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemCheckLibpodParamsWithTimeout ¶
func NewSystemCheckLibpodParamsWithTimeout(timeout time.Duration) *SystemCheckLibpodParams
NewSystemCheckLibpodParamsWithTimeout creates a new SystemCheckLibpodParams object with the ability to set a timeout on a request.
func (*SystemCheckLibpodParams) SetContext
deprecated
func (o *SystemCheckLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system check libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemCheckLibpodParams.
func (*SystemCheckLibpodParams) SetDefaults ¶
func (o *SystemCheckLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system check libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemCheckLibpodParams) SetHTTPClient ¶
func (o *SystemCheckLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system check libpod params.
func (*SystemCheckLibpodParams) SetQuick ¶
func (o *SystemCheckLibpodParams) SetQuick(quick *bool)
SetQuick adds the quick to the system check libpod params.
func (*SystemCheckLibpodParams) SetRepair ¶
func (o *SystemCheckLibpodParams) SetRepair(repair *bool)
SetRepair adds the repair to the system check libpod params.
func (*SystemCheckLibpodParams) SetRepairLossy ¶
func (o *SystemCheckLibpodParams) SetRepairLossy(repairLossy *bool)
SetRepairLossy adds the repairLossy to the system check libpod params.
func (*SystemCheckLibpodParams) SetTimeout ¶
func (o *SystemCheckLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system check libpod params.
func (*SystemCheckLibpodParams) SetUnreferencedLayerMaxAge ¶
func (o *SystemCheckLibpodParams) SetUnreferencedLayerMaxAge(unreferencedLayerMaxAge *string)
SetUnreferencedLayerMaxAge adds the unreferencedLayerMaxAge to the system check libpod params.
func (*SystemCheckLibpodParams) WithContext
deprecated
func (o *SystemCheckLibpodParams) WithContext(ctx context.Context) *SystemCheckLibpodParams
WithContext adds the context to the system check libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemCheckLibpodParams.
func (*SystemCheckLibpodParams) WithDefaults ¶
func (o *SystemCheckLibpodParams) WithDefaults() *SystemCheckLibpodParams
WithDefaults hydrates default values in the system check libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemCheckLibpodParams) WithHTTPClient ¶
func (o *SystemCheckLibpodParams) WithHTTPClient(client *http.Client) *SystemCheckLibpodParams
WithHTTPClient adds the HTTPClient to the system check libpod params.
func (*SystemCheckLibpodParams) WithQuick ¶
func (o *SystemCheckLibpodParams) WithQuick(quick *bool) *SystemCheckLibpodParams
WithQuick adds the quick to the system check libpod params.
func (*SystemCheckLibpodParams) WithRepair ¶
func (o *SystemCheckLibpodParams) WithRepair(repair *bool) *SystemCheckLibpodParams
WithRepair adds the repair to the system check libpod params.
func (*SystemCheckLibpodParams) WithRepairLossy ¶
func (o *SystemCheckLibpodParams) WithRepairLossy(repairLossy *bool) *SystemCheckLibpodParams
WithRepairLossy adds the repairLossy to the system check libpod params.
func (*SystemCheckLibpodParams) WithTimeout ¶
func (o *SystemCheckLibpodParams) WithTimeout(timeout time.Duration) *SystemCheckLibpodParams
WithTimeout adds the timeout to the system check libpod params.
func (*SystemCheckLibpodParams) WithUnreferencedLayerMaxAge ¶
func (o *SystemCheckLibpodParams) WithUnreferencedLayerMaxAge(unreferencedLayerMaxAge *string) *SystemCheckLibpodParams
WithUnreferencedLayerMaxAge adds the unreferencedLayerMaxAge to the system check libpod params.
func (*SystemCheckLibpodParams) WriteToRequest ¶
func (o *SystemCheckLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemCheckLibpodReader ¶
type SystemCheckLibpodReader struct {
// contains filtered or unexported fields
}
SystemCheckLibpodReader is a Reader for the SystemCheckLibpod structure.
func (*SystemCheckLibpodReader) ReadResponse ¶
func (o *SystemCheckLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SystemDataUsageLibpodInternalServerError ¶
type SystemDataUsageLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SystemDataUsageLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemDataUsageLibpodInternalServerError ¶
func NewSystemDataUsageLibpodInternalServerError() *SystemDataUsageLibpodInternalServerError
NewSystemDataUsageLibpodInternalServerError creates a SystemDataUsageLibpodInternalServerError with default headers values
func (*SystemDataUsageLibpodInternalServerError) Code ¶
func (o *SystemDataUsageLibpodInternalServerError) Code() int
Code gets the status code for the system data usage libpod internal server error response
func (*SystemDataUsageLibpodInternalServerError) Error ¶
func (o *SystemDataUsageLibpodInternalServerError) Error() string
func (*SystemDataUsageLibpodInternalServerError) GetPayload ¶
func (o *SystemDataUsageLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SystemDataUsageLibpodInternalServerError) IsClientError ¶
func (o *SystemDataUsageLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system data usage libpod internal server error response has a 4xx status code
func (*SystemDataUsageLibpodInternalServerError) IsCode ¶
func (o *SystemDataUsageLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system data usage libpod internal server error response a status code equal to that given
func (*SystemDataUsageLibpodInternalServerError) IsRedirect ¶
func (o *SystemDataUsageLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system data usage libpod internal server error response has a 3xx status code
func (*SystemDataUsageLibpodInternalServerError) IsServerError ¶
func (o *SystemDataUsageLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system data usage libpod internal server error response has a 5xx status code
func (*SystemDataUsageLibpodInternalServerError) IsSuccess ¶
func (o *SystemDataUsageLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system data usage libpod internal server error response has a 2xx status code
func (*SystemDataUsageLibpodInternalServerError) String ¶
func (o *SystemDataUsageLibpodInternalServerError) String() string
type SystemDataUsageLibpodOK ¶
type SystemDataUsageLibpodOK struct {
Payload *models.SystemDfReport
}
SystemDataUsageLibpodOK describes a response with status code 200, with default header values.
Disk usage
func NewSystemDataUsageLibpodOK ¶
func NewSystemDataUsageLibpodOK() *SystemDataUsageLibpodOK
NewSystemDataUsageLibpodOK creates a SystemDataUsageLibpodOK with default headers values
func (*SystemDataUsageLibpodOK) Code ¶
func (o *SystemDataUsageLibpodOK) Code() int
Code gets the status code for the system data usage libpod o k response
func (*SystemDataUsageLibpodOK) Error ¶
func (o *SystemDataUsageLibpodOK) Error() string
func (*SystemDataUsageLibpodOK) GetPayload ¶
func (o *SystemDataUsageLibpodOK) GetPayload() *models.SystemDfReport
func (*SystemDataUsageLibpodOK) IsClientError ¶
func (o *SystemDataUsageLibpodOK) IsClientError() bool
IsClientError returns true when this system data usage libpod o k response has a 4xx status code
func (*SystemDataUsageLibpodOK) IsCode ¶
func (o *SystemDataUsageLibpodOK) IsCode(code int) bool
IsCode returns true when this system data usage libpod o k response a status code equal to that given
func (*SystemDataUsageLibpodOK) IsRedirect ¶
func (o *SystemDataUsageLibpodOK) IsRedirect() bool
IsRedirect returns true when this system data usage libpod o k response has a 3xx status code
func (*SystemDataUsageLibpodOK) IsServerError ¶
func (o *SystemDataUsageLibpodOK) IsServerError() bool
IsServerError returns true when this system data usage libpod o k response has a 5xx status code
func (*SystemDataUsageLibpodOK) IsSuccess ¶
func (o *SystemDataUsageLibpodOK) IsSuccess() bool
IsSuccess returns true when this system data usage libpod o k response has a 2xx status code
func (*SystemDataUsageLibpodOK) String ¶
func (o *SystemDataUsageLibpodOK) String() string
type SystemDataUsageLibpodParams ¶
type SystemDataUsageLibpodParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemDataUsageLibpodParams contains all the parameters to send to the API endpoint
for the system data usage libpod operation. Typically these are written to a http.Request.
func NewSystemDataUsageLibpodParams ¶
func NewSystemDataUsageLibpodParams() *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParams creates a new SystemDataUsageLibpodParams 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 NewSystemDataUsageLibpodParamsWithContext
deprecated
func NewSystemDataUsageLibpodParamsWithContext(ctx context.Context) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithContext creates a new SystemDataUsageLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemDataUsageLibpodParams.
func NewSystemDataUsageLibpodParamsWithHTTPClient ¶
func NewSystemDataUsageLibpodParamsWithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithHTTPClient creates a new SystemDataUsageLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemDataUsageLibpodParamsWithTimeout ¶
func NewSystemDataUsageLibpodParamsWithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
NewSystemDataUsageLibpodParamsWithTimeout creates a new SystemDataUsageLibpodParams object with the ability to set a timeout on a request.
func (*SystemDataUsageLibpodParams) SetContext
deprecated
func (o *SystemDataUsageLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system data usage libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemDataUsageLibpodParams.
func (*SystemDataUsageLibpodParams) SetDefaults ¶
func (o *SystemDataUsageLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system data usage libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageLibpodParams) SetHTTPClient ¶
func (o *SystemDataUsageLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system data usage libpod params.
func (*SystemDataUsageLibpodParams) SetTimeout ¶
func (o *SystemDataUsageLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system data usage libpod params.
func (*SystemDataUsageLibpodParams) WithContext
deprecated
func (o *SystemDataUsageLibpodParams) WithContext(ctx context.Context) *SystemDataUsageLibpodParams
WithContext adds the context to the system data usage libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemDataUsageLibpodParams.
func (*SystemDataUsageLibpodParams) WithDefaults ¶
func (o *SystemDataUsageLibpodParams) WithDefaults() *SystemDataUsageLibpodParams
WithDefaults hydrates default values in the system data usage libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemDataUsageLibpodParams) WithHTTPClient ¶
func (o *SystemDataUsageLibpodParams) WithHTTPClient(client *http.Client) *SystemDataUsageLibpodParams
WithHTTPClient adds the HTTPClient to the system data usage libpod params.
func (*SystemDataUsageLibpodParams) WithTimeout ¶
func (o *SystemDataUsageLibpodParams) WithTimeout(timeout time.Duration) *SystemDataUsageLibpodParams
WithTimeout adds the timeout to the system data usage libpod params.
func (*SystemDataUsageLibpodParams) WriteToRequest ¶
func (o *SystemDataUsageLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemDataUsageLibpodReader ¶
type SystemDataUsageLibpodReader struct {
// contains filtered or unexported fields
}
SystemDataUsageLibpodReader is a Reader for the SystemDataUsageLibpod structure.
func (*SystemDataUsageLibpodReader) ReadResponse ¶
func (o *SystemDataUsageLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SystemEventsLibpodInternalServerError ¶
type SystemEventsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SystemEventsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemEventsLibpodInternalServerError ¶
func NewSystemEventsLibpodInternalServerError() *SystemEventsLibpodInternalServerError
NewSystemEventsLibpodInternalServerError creates a SystemEventsLibpodInternalServerError with default headers values
func (*SystemEventsLibpodInternalServerError) Code ¶
func (o *SystemEventsLibpodInternalServerError) Code() int
Code gets the status code for the system events libpod internal server error response
func (*SystemEventsLibpodInternalServerError) Error ¶
func (o *SystemEventsLibpodInternalServerError) Error() string
func (*SystemEventsLibpodInternalServerError) GetPayload ¶
func (o *SystemEventsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SystemEventsLibpodInternalServerError) IsClientError ¶
func (o *SystemEventsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system events libpod internal server error response has a 4xx status code
func (*SystemEventsLibpodInternalServerError) IsCode ¶
func (o *SystemEventsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system events libpod internal server error response a status code equal to that given
func (*SystemEventsLibpodInternalServerError) IsRedirect ¶
func (o *SystemEventsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system events libpod internal server error response has a 3xx status code
func (*SystemEventsLibpodInternalServerError) IsServerError ¶
func (o *SystemEventsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system events libpod internal server error response has a 5xx status code
func (*SystemEventsLibpodInternalServerError) IsSuccess ¶
func (o *SystemEventsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system events libpod internal server error response has a 2xx status code
func (*SystemEventsLibpodInternalServerError) String ¶
func (o *SystemEventsLibpodInternalServerError) String() string
type SystemEventsLibpodOK ¶
type SystemEventsLibpodOK struct {
}
SystemEventsLibpodOK describes a response with status code 200, with default header values.
returns a string of json data describing an event
func NewSystemEventsLibpodOK ¶
func NewSystemEventsLibpodOK() *SystemEventsLibpodOK
NewSystemEventsLibpodOK creates a SystemEventsLibpodOK with default headers values
func (*SystemEventsLibpodOK) Code ¶
func (o *SystemEventsLibpodOK) Code() int
Code gets the status code for the system events libpod o k response
func (*SystemEventsLibpodOK) Error ¶
func (o *SystemEventsLibpodOK) Error() string
func (*SystemEventsLibpodOK) IsClientError ¶
func (o *SystemEventsLibpodOK) IsClientError() bool
IsClientError returns true when this system events libpod o k response has a 4xx status code
func (*SystemEventsLibpodOK) IsCode ¶
func (o *SystemEventsLibpodOK) IsCode(code int) bool
IsCode returns true when this system events libpod o k response a status code equal to that given
func (*SystemEventsLibpodOK) IsRedirect ¶
func (o *SystemEventsLibpodOK) IsRedirect() bool
IsRedirect returns true when this system events libpod o k response has a 3xx status code
func (*SystemEventsLibpodOK) IsServerError ¶
func (o *SystemEventsLibpodOK) IsServerError() bool
IsServerError returns true when this system events libpod o k response has a 5xx status code
func (*SystemEventsLibpodOK) IsSuccess ¶
func (o *SystemEventsLibpodOK) IsSuccess() bool
IsSuccess returns true when this system events libpod o k response has a 2xx status code
func (*SystemEventsLibpodOK) String ¶
func (o *SystemEventsLibpodOK) String() string
type SystemEventsLibpodParams ¶
type SystemEventsLibpodParams struct {
// Filters.
//
// JSON encoded map[string][]string of constraints
Filters *string
// Since.
//
// start streaming events from this time
Since *string
// Stream.
//
// when false, do not follow events
//
// Default: true
Stream *bool
// Until.
//
// stop streaming events later than this
Until *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemEventsLibpodParams contains all the parameters to send to the API endpoint
for the system events libpod operation. Typically these are written to a http.Request.
func NewSystemEventsLibpodParams ¶
func NewSystemEventsLibpodParams() *SystemEventsLibpodParams
NewSystemEventsLibpodParams creates a new SystemEventsLibpodParams 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 NewSystemEventsLibpodParamsWithContext
deprecated
func NewSystemEventsLibpodParamsWithContext(ctx context.Context) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithContext creates a new SystemEventsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemEventsLibpodParams.
func NewSystemEventsLibpodParamsWithHTTPClient ¶
func NewSystemEventsLibpodParamsWithHTTPClient(client *http.Client) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithHTTPClient creates a new SystemEventsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemEventsLibpodParamsWithTimeout ¶
func NewSystemEventsLibpodParamsWithTimeout(timeout time.Duration) *SystemEventsLibpodParams
NewSystemEventsLibpodParamsWithTimeout creates a new SystemEventsLibpodParams object with the ability to set a timeout on a request.
func (*SystemEventsLibpodParams) SetContext
deprecated
func (o *SystemEventsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system events libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemEventsLibpodParams.
func (*SystemEventsLibpodParams) SetDefaults ¶
func (o *SystemEventsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system events libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsLibpodParams) SetFilters ¶
func (o *SystemEventsLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the system events libpod params.
func (*SystemEventsLibpodParams) SetHTTPClient ¶
func (o *SystemEventsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system events libpod params.
func (*SystemEventsLibpodParams) SetSince ¶
func (o *SystemEventsLibpodParams) SetSince(since *string)
SetSince adds the since to the system events libpod params.
func (*SystemEventsLibpodParams) SetStream ¶
func (o *SystemEventsLibpodParams) SetStream(stream *bool)
SetStream adds the stream to the system events libpod params.
func (*SystemEventsLibpodParams) SetTimeout ¶
func (o *SystemEventsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system events libpod params.
func (*SystemEventsLibpodParams) SetUntil ¶
func (o *SystemEventsLibpodParams) SetUntil(until *string)
SetUntil adds the until to the system events libpod params.
func (*SystemEventsLibpodParams) WithContext
deprecated
func (o *SystemEventsLibpodParams) WithContext(ctx context.Context) *SystemEventsLibpodParams
WithContext adds the context to the system events libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemEventsLibpodParams.
func (*SystemEventsLibpodParams) WithDefaults ¶
func (o *SystemEventsLibpodParams) WithDefaults() *SystemEventsLibpodParams
WithDefaults hydrates default values in the system events libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemEventsLibpodParams) WithFilters ¶
func (o *SystemEventsLibpodParams) WithFilters(filters *string) *SystemEventsLibpodParams
WithFilters adds the filters to the system events libpod params.
func (*SystemEventsLibpodParams) WithHTTPClient ¶
func (o *SystemEventsLibpodParams) WithHTTPClient(client *http.Client) *SystemEventsLibpodParams
WithHTTPClient adds the HTTPClient to the system events libpod params.
func (*SystemEventsLibpodParams) WithSince ¶
func (o *SystemEventsLibpodParams) WithSince(since *string) *SystemEventsLibpodParams
WithSince adds the since to the system events libpod params.
func (*SystemEventsLibpodParams) WithStream ¶
func (o *SystemEventsLibpodParams) WithStream(stream *bool) *SystemEventsLibpodParams
WithStream adds the stream to the system events libpod params.
func (*SystemEventsLibpodParams) WithTimeout ¶
func (o *SystemEventsLibpodParams) WithTimeout(timeout time.Duration) *SystemEventsLibpodParams
WithTimeout adds the timeout to the system events libpod params.
func (*SystemEventsLibpodParams) WithUntil ¶
func (o *SystemEventsLibpodParams) WithUntil(until *string) *SystemEventsLibpodParams
WithUntil adds the until to the system events libpod params.
func (*SystemEventsLibpodParams) WriteToRequest ¶
func (o *SystemEventsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemEventsLibpodReader ¶
type SystemEventsLibpodReader struct {
// contains filtered or unexported fields
}
SystemEventsLibpodReader is a Reader for the SystemEventsLibpod structure.
func (*SystemEventsLibpodReader) ReadResponse ¶
func (o *SystemEventsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SystemInfoLibpodInternalServerError ¶
type SystemInfoLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SystemInfoLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemInfoLibpodInternalServerError ¶
func NewSystemInfoLibpodInternalServerError() *SystemInfoLibpodInternalServerError
NewSystemInfoLibpodInternalServerError creates a SystemInfoLibpodInternalServerError with default headers values
func (*SystemInfoLibpodInternalServerError) Code ¶
func (o *SystemInfoLibpodInternalServerError) Code() int
Code gets the status code for the system info libpod internal server error response
func (*SystemInfoLibpodInternalServerError) Error ¶
func (o *SystemInfoLibpodInternalServerError) Error() string
func (*SystemInfoLibpodInternalServerError) GetPayload ¶
func (o *SystemInfoLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SystemInfoLibpodInternalServerError) IsClientError ¶
func (o *SystemInfoLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system info libpod internal server error response has a 4xx status code
func (*SystemInfoLibpodInternalServerError) IsCode ¶
func (o *SystemInfoLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system info libpod internal server error response a status code equal to that given
func (*SystemInfoLibpodInternalServerError) IsRedirect ¶
func (o *SystemInfoLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system info libpod internal server error response has a 3xx status code
func (*SystemInfoLibpodInternalServerError) IsServerError ¶
func (o *SystemInfoLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system info libpod internal server error response has a 5xx status code
func (*SystemInfoLibpodInternalServerError) IsSuccess ¶
func (o *SystemInfoLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system info libpod internal server error response has a 2xx status code
func (*SystemInfoLibpodInternalServerError) String ¶
func (o *SystemInfoLibpodInternalServerError) String() string
type SystemInfoLibpodOK ¶
SystemInfoLibpodOK describes a response with status code 200, with default header values.
Info
func NewSystemInfoLibpodOK ¶
func NewSystemInfoLibpodOK() *SystemInfoLibpodOK
NewSystemInfoLibpodOK creates a SystemInfoLibpodOK with default headers values
func (*SystemInfoLibpodOK) Code ¶
func (o *SystemInfoLibpodOK) Code() int
Code gets the status code for the system info libpod o k response
func (*SystemInfoLibpodOK) Error ¶
func (o *SystemInfoLibpodOK) Error() string
func (*SystemInfoLibpodOK) GetPayload ¶
func (o *SystemInfoLibpodOK) GetPayload() *models.Info
func (*SystemInfoLibpodOK) IsClientError ¶
func (o *SystemInfoLibpodOK) IsClientError() bool
IsClientError returns true when this system info libpod o k response has a 4xx status code
func (*SystemInfoLibpodOK) IsCode ¶
func (o *SystemInfoLibpodOK) IsCode(code int) bool
IsCode returns true when this system info libpod o k response a status code equal to that given
func (*SystemInfoLibpodOK) IsRedirect ¶
func (o *SystemInfoLibpodOK) IsRedirect() bool
IsRedirect returns true when this system info libpod o k response has a 3xx status code
func (*SystemInfoLibpodOK) IsServerError ¶
func (o *SystemInfoLibpodOK) IsServerError() bool
IsServerError returns true when this system info libpod o k response has a 5xx status code
func (*SystemInfoLibpodOK) IsSuccess ¶
func (o *SystemInfoLibpodOK) IsSuccess() bool
IsSuccess returns true when this system info libpod o k response has a 2xx status code
func (*SystemInfoLibpodOK) String ¶
func (o *SystemInfoLibpodOK) String() string
type SystemInfoLibpodParams ¶
type SystemInfoLibpodParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemInfoLibpodParams contains all the parameters to send to the API endpoint
for the system info libpod operation. Typically these are written to a http.Request.
func NewSystemInfoLibpodParams ¶
func NewSystemInfoLibpodParams() *SystemInfoLibpodParams
NewSystemInfoLibpodParams creates a new SystemInfoLibpodParams 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 NewSystemInfoLibpodParamsWithContext
deprecated
func NewSystemInfoLibpodParamsWithContext(ctx context.Context) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithContext creates a new SystemInfoLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemInfoLibpodParams.
func NewSystemInfoLibpodParamsWithHTTPClient ¶
func NewSystemInfoLibpodParamsWithHTTPClient(client *http.Client) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithHTTPClient creates a new SystemInfoLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemInfoLibpodParamsWithTimeout ¶
func NewSystemInfoLibpodParamsWithTimeout(timeout time.Duration) *SystemInfoLibpodParams
NewSystemInfoLibpodParamsWithTimeout creates a new SystemInfoLibpodParams object with the ability to set a timeout on a request.
func (*SystemInfoLibpodParams) SetContext
deprecated
func (o *SystemInfoLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system info libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemInfoLibpodParams.
func (*SystemInfoLibpodParams) SetDefaults ¶
func (o *SystemInfoLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system info libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoLibpodParams) SetHTTPClient ¶
func (o *SystemInfoLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system info libpod params.
func (*SystemInfoLibpodParams) SetTimeout ¶
func (o *SystemInfoLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system info libpod params.
func (*SystemInfoLibpodParams) WithContext
deprecated
func (o *SystemInfoLibpodParams) WithContext(ctx context.Context) *SystemInfoLibpodParams
WithContext adds the context to the system info libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemInfoLibpodParams.
func (*SystemInfoLibpodParams) WithDefaults ¶
func (o *SystemInfoLibpodParams) WithDefaults() *SystemInfoLibpodParams
WithDefaults hydrates default values in the system info libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemInfoLibpodParams) WithHTTPClient ¶
func (o *SystemInfoLibpodParams) WithHTTPClient(client *http.Client) *SystemInfoLibpodParams
WithHTTPClient adds the HTTPClient to the system info libpod params.
func (*SystemInfoLibpodParams) WithTimeout ¶
func (o *SystemInfoLibpodParams) WithTimeout(timeout time.Duration) *SystemInfoLibpodParams
WithTimeout adds the timeout to the system info libpod params.
func (*SystemInfoLibpodParams) WriteToRequest ¶
func (o *SystemInfoLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemInfoLibpodReader ¶
type SystemInfoLibpodReader struct {
// contains filtered or unexported fields
}
SystemInfoLibpodReader is a Reader for the SystemInfoLibpod structure.
func (*SystemInfoLibpodReader) ReadResponse ¶
func (o *SystemInfoLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SystemPruneLibpodBadRequest ¶
type SystemPruneLibpodBadRequest struct {
Payload *models.ErrorModel
}
SystemPruneLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewSystemPruneLibpodBadRequest ¶
func NewSystemPruneLibpodBadRequest() *SystemPruneLibpodBadRequest
NewSystemPruneLibpodBadRequest creates a SystemPruneLibpodBadRequest with default headers values
func (*SystemPruneLibpodBadRequest) Code ¶
func (o *SystemPruneLibpodBadRequest) Code() int
Code gets the status code for the system prune libpod bad request response
func (*SystemPruneLibpodBadRequest) Error ¶
func (o *SystemPruneLibpodBadRequest) Error() string
func (*SystemPruneLibpodBadRequest) GetPayload ¶
func (o *SystemPruneLibpodBadRequest) GetPayload() *models.ErrorModel
func (*SystemPruneLibpodBadRequest) IsClientError ¶
func (o *SystemPruneLibpodBadRequest) IsClientError() bool
IsClientError returns true when this system prune libpod bad request response has a 4xx status code
func (*SystemPruneLibpodBadRequest) IsCode ¶
func (o *SystemPruneLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this system prune libpod bad request response a status code equal to that given
func (*SystemPruneLibpodBadRequest) IsRedirect ¶
func (o *SystemPruneLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this system prune libpod bad request response has a 3xx status code
func (*SystemPruneLibpodBadRequest) IsServerError ¶
func (o *SystemPruneLibpodBadRequest) IsServerError() bool
IsServerError returns true when this system prune libpod bad request response has a 5xx status code
func (*SystemPruneLibpodBadRequest) IsSuccess ¶
func (o *SystemPruneLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this system prune libpod bad request response has a 2xx status code
func (*SystemPruneLibpodBadRequest) String ¶
func (o *SystemPruneLibpodBadRequest) String() string
type SystemPruneLibpodInternalServerError ¶
type SystemPruneLibpodInternalServerError struct {
Payload *models.ErrorModel
}
SystemPruneLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSystemPruneLibpodInternalServerError ¶
func NewSystemPruneLibpodInternalServerError() *SystemPruneLibpodInternalServerError
NewSystemPruneLibpodInternalServerError creates a SystemPruneLibpodInternalServerError with default headers values
func (*SystemPruneLibpodInternalServerError) Code ¶
func (o *SystemPruneLibpodInternalServerError) Code() int
Code gets the status code for the system prune libpod internal server error response
func (*SystemPruneLibpodInternalServerError) Error ¶
func (o *SystemPruneLibpodInternalServerError) Error() string
func (*SystemPruneLibpodInternalServerError) GetPayload ¶
func (o *SystemPruneLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*SystemPruneLibpodInternalServerError) IsClientError ¶
func (o *SystemPruneLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this system prune libpod internal server error response has a 4xx status code
func (*SystemPruneLibpodInternalServerError) IsCode ¶
func (o *SystemPruneLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this system prune libpod internal server error response a status code equal to that given
func (*SystemPruneLibpodInternalServerError) IsRedirect ¶
func (o *SystemPruneLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this system prune libpod internal server error response has a 3xx status code
func (*SystemPruneLibpodInternalServerError) IsServerError ¶
func (o *SystemPruneLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this system prune libpod internal server error response has a 5xx status code
func (*SystemPruneLibpodInternalServerError) IsSuccess ¶
func (o *SystemPruneLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this system prune libpod internal server error response has a 2xx status code
func (*SystemPruneLibpodInternalServerError) String ¶
func (o *SystemPruneLibpodInternalServerError) String() string
type SystemPruneLibpodOK ¶
type SystemPruneLibpodOK struct {
Payload *models.SystemPruneReport
}
SystemPruneLibpodOK describes a response with status code 200, with default header values.
System Prune results
func NewSystemPruneLibpodOK ¶
func NewSystemPruneLibpodOK() *SystemPruneLibpodOK
NewSystemPruneLibpodOK creates a SystemPruneLibpodOK with default headers values
func (*SystemPruneLibpodOK) Code ¶
func (o *SystemPruneLibpodOK) Code() int
Code gets the status code for the system prune libpod o k response
func (*SystemPruneLibpodOK) Error ¶
func (o *SystemPruneLibpodOK) Error() string
func (*SystemPruneLibpodOK) GetPayload ¶
func (o *SystemPruneLibpodOK) GetPayload() *models.SystemPruneReport
func (*SystemPruneLibpodOK) IsClientError ¶
func (o *SystemPruneLibpodOK) IsClientError() bool
IsClientError returns true when this system prune libpod o k response has a 4xx status code
func (*SystemPruneLibpodOK) IsCode ¶
func (o *SystemPruneLibpodOK) IsCode(code int) bool
IsCode returns true when this system prune libpod o k response a status code equal to that given
func (*SystemPruneLibpodOK) IsRedirect ¶
func (o *SystemPruneLibpodOK) IsRedirect() bool
IsRedirect returns true when this system prune libpod o k response has a 3xx status code
func (*SystemPruneLibpodOK) IsServerError ¶
func (o *SystemPruneLibpodOK) IsServerError() bool
IsServerError returns true when this system prune libpod o k response has a 5xx status code
func (*SystemPruneLibpodOK) IsSuccess ¶
func (o *SystemPruneLibpodOK) IsSuccess() bool
IsSuccess returns true when this system prune libpod o k response has a 2xx status code
func (*SystemPruneLibpodOK) String ¶
func (o *SystemPruneLibpodOK) String() string
type SystemPruneLibpodParams ¶
type SystemPruneLibpodParams struct {
// All.
//
// Remove all unused data, not just dangling data
All *bool
// Build.
//
// Remove build cache
Build *bool
// External.
//
// Remove images used by external containers (e.g., build containers)
External *bool
// Filters.
//
// JSON encoded value of filters (a map[string][]string) to match data against before pruning.
// Available filters:
// - `until=<timestamp>` Prune data created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine's time.
// - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune data with (or without, in case `label!=...` is used) the specified labels.
//
Filters *string
// Volumes.
//
// Prune volumes
Volumes *bool
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemPruneLibpodParams contains all the parameters to send to the API endpoint
for the system prune libpod operation. Typically these are written to a http.Request.
func NewSystemPruneLibpodParams ¶
func NewSystemPruneLibpodParams() *SystemPruneLibpodParams
NewSystemPruneLibpodParams creates a new SystemPruneLibpodParams 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 NewSystemPruneLibpodParamsWithContext
deprecated
func NewSystemPruneLibpodParamsWithContext(ctx context.Context) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithContext creates a new SystemPruneLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemPruneLibpodParams.
func NewSystemPruneLibpodParamsWithHTTPClient ¶
func NewSystemPruneLibpodParamsWithHTTPClient(client *http.Client) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithHTTPClient creates a new SystemPruneLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemPruneLibpodParamsWithTimeout ¶
func NewSystemPruneLibpodParamsWithTimeout(timeout time.Duration) *SystemPruneLibpodParams
NewSystemPruneLibpodParamsWithTimeout creates a new SystemPruneLibpodParams object with the ability to set a timeout on a request.
func (*SystemPruneLibpodParams) SetAll ¶
func (o *SystemPruneLibpodParams) SetAll(all *bool)
SetAll adds the all to the system prune libpod params.
func (*SystemPruneLibpodParams) SetBuild ¶
func (o *SystemPruneLibpodParams) SetBuild(build *bool)
SetBuild adds the build to the system prune libpod params.
func (*SystemPruneLibpodParams) SetContext
deprecated
func (o *SystemPruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system prune libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemPruneLibpodParams.
func (*SystemPruneLibpodParams) SetDefaults ¶
func (o *SystemPruneLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPruneLibpodParams) SetExternal ¶
func (o *SystemPruneLibpodParams) SetExternal(external *bool)
SetExternal adds the external to the system prune libpod params.
func (*SystemPruneLibpodParams) SetFilters ¶
func (o *SystemPruneLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the system prune libpod params.
func (*SystemPruneLibpodParams) SetHTTPClient ¶
func (o *SystemPruneLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system prune libpod params.
func (*SystemPruneLibpodParams) SetTimeout ¶
func (o *SystemPruneLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system prune libpod params.
func (*SystemPruneLibpodParams) SetVolumes ¶
func (o *SystemPruneLibpodParams) SetVolumes(volumes *bool)
SetVolumes adds the volumes to the system prune libpod params.
func (*SystemPruneLibpodParams) WithAll ¶
func (o *SystemPruneLibpodParams) WithAll(all *bool) *SystemPruneLibpodParams
WithAll adds the all to the system prune libpod params.
func (*SystemPruneLibpodParams) WithBuild ¶
func (o *SystemPruneLibpodParams) WithBuild(build *bool) *SystemPruneLibpodParams
WithBuild adds the build to the system prune libpod params.
func (*SystemPruneLibpodParams) WithContext
deprecated
func (o *SystemPruneLibpodParams) WithContext(ctx context.Context) *SystemPruneLibpodParams
WithContext adds the context to the system prune libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemPruneLibpodParams.
func (*SystemPruneLibpodParams) WithDefaults ¶
func (o *SystemPruneLibpodParams) WithDefaults() *SystemPruneLibpodParams
WithDefaults hydrates default values in the system prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemPruneLibpodParams) WithExternal ¶
func (o *SystemPruneLibpodParams) WithExternal(external *bool) *SystemPruneLibpodParams
WithExternal adds the external to the system prune libpod params.
func (*SystemPruneLibpodParams) WithFilters ¶
func (o *SystemPruneLibpodParams) WithFilters(filters *string) *SystemPruneLibpodParams
WithFilters adds the filters to the system prune libpod params.
func (*SystemPruneLibpodParams) WithHTTPClient ¶
func (o *SystemPruneLibpodParams) WithHTTPClient(client *http.Client) *SystemPruneLibpodParams
WithHTTPClient adds the HTTPClient to the system prune libpod params.
func (*SystemPruneLibpodParams) WithTimeout ¶
func (o *SystemPruneLibpodParams) WithTimeout(timeout time.Duration) *SystemPruneLibpodParams
WithTimeout adds the timeout to the system prune libpod params.
func (*SystemPruneLibpodParams) WithVolumes ¶
func (o *SystemPruneLibpodParams) WithVolumes(volumes *bool) *SystemPruneLibpodParams
WithVolumes adds the volumes to the system prune libpod params.
func (*SystemPruneLibpodParams) WriteToRequest ¶
func (o *SystemPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemPruneLibpodReader ¶
type SystemPruneLibpodReader struct {
// contains filtered or unexported fields
}
SystemPruneLibpodReader is a Reader for the SystemPruneLibpod structure.
func (*SystemPruneLibpodReader) ReadResponse ¶
func (o *SystemPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type SystemVersionLibpodOK ¶
type SystemVersionLibpodOK struct {
Payload *models.SystemComponentVersion
}
SystemVersionLibpodOK describes a response with status code 200, with default header values.
Version
func NewSystemVersionLibpodOK ¶
func NewSystemVersionLibpodOK() *SystemVersionLibpodOK
NewSystemVersionLibpodOK creates a SystemVersionLibpodOK with default headers values
func (*SystemVersionLibpodOK) Code ¶
func (o *SystemVersionLibpodOK) Code() int
Code gets the status code for the system version libpod o k response
func (*SystemVersionLibpodOK) Error ¶
func (o *SystemVersionLibpodOK) Error() string
func (*SystemVersionLibpodOK) GetPayload ¶
func (o *SystemVersionLibpodOK) GetPayload() *models.SystemComponentVersion
func (*SystemVersionLibpodOK) IsClientError ¶
func (o *SystemVersionLibpodOK) IsClientError() bool
IsClientError returns true when this system version libpod o k response has a 4xx status code
func (*SystemVersionLibpodOK) IsCode ¶
func (o *SystemVersionLibpodOK) IsCode(code int) bool
IsCode returns true when this system version libpod o k response a status code equal to that given
func (*SystemVersionLibpodOK) IsRedirect ¶
func (o *SystemVersionLibpodOK) IsRedirect() bool
IsRedirect returns true when this system version libpod o k response has a 3xx status code
func (*SystemVersionLibpodOK) IsServerError ¶
func (o *SystemVersionLibpodOK) IsServerError() bool
IsServerError returns true when this system version libpod o k response has a 5xx status code
func (*SystemVersionLibpodOK) IsSuccess ¶
func (o *SystemVersionLibpodOK) IsSuccess() bool
IsSuccess returns true when this system version libpod o k response has a 2xx status code
func (*SystemVersionLibpodOK) String ¶
func (o *SystemVersionLibpodOK) String() string
type SystemVersionLibpodParams ¶
type SystemVersionLibpodParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemVersionLibpodParams contains all the parameters to send to the API endpoint
for the system version libpod operation. Typically these are written to a http.Request.
func NewSystemVersionLibpodParams ¶
func NewSystemVersionLibpodParams() *SystemVersionLibpodParams
NewSystemVersionLibpodParams creates a new SystemVersionLibpodParams 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 NewSystemVersionLibpodParamsWithContext
deprecated
func NewSystemVersionLibpodParamsWithContext(ctx context.Context) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithContext creates a new SystemVersionLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of SystemVersionLibpodParams.
func NewSystemVersionLibpodParamsWithHTTPClient ¶
func NewSystemVersionLibpodParamsWithHTTPClient(client *http.Client) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithHTTPClient creates a new SystemVersionLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewSystemVersionLibpodParamsWithTimeout ¶
func NewSystemVersionLibpodParamsWithTimeout(timeout time.Duration) *SystemVersionLibpodParams
NewSystemVersionLibpodParamsWithTimeout creates a new SystemVersionLibpodParams object with the ability to set a timeout on a request.
func (*SystemVersionLibpodParams) SetContext
deprecated
func (o *SystemVersionLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the system version libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemVersionLibpodParams.
func (*SystemVersionLibpodParams) SetDefaults ¶
func (o *SystemVersionLibpodParams) SetDefaults()
SetDefaults hydrates default values in the system version libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionLibpodParams) SetHTTPClient ¶
func (o *SystemVersionLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system version libpod params.
func (*SystemVersionLibpodParams) SetTimeout ¶
func (o *SystemVersionLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system version libpod params.
func (*SystemVersionLibpodParams) WithContext
deprecated
func (o *SystemVersionLibpodParams) WithContext(ctx context.Context) *SystemVersionLibpodParams
WithContext adds the context to the system version libpod params.
Deprecated: use the operation call with context to pass the context instead of SystemVersionLibpodParams.
func (*SystemVersionLibpodParams) WithDefaults ¶
func (o *SystemVersionLibpodParams) WithDefaults() *SystemVersionLibpodParams
WithDefaults hydrates default values in the system version libpod params (not the query body).
All values with no default are reset to their zero value.
func (*SystemVersionLibpodParams) WithHTTPClient ¶
func (o *SystemVersionLibpodParams) WithHTTPClient(client *http.Client) *SystemVersionLibpodParams
WithHTTPClient adds the HTTPClient to the system version libpod params.
func (*SystemVersionLibpodParams) WithTimeout ¶
func (o *SystemVersionLibpodParams) WithTimeout(timeout time.Duration) *SystemVersionLibpodParams
WithTimeout adds the timeout to the system version libpod params.
func (*SystemVersionLibpodParams) WriteToRequest ¶
func (o *SystemVersionLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type SystemVersionLibpodReader ¶
type SystemVersionLibpodReader struct {
// contains filtered or unexported fields
}
SystemVersionLibpodReader is a Reader for the SystemVersionLibpod structure.
func (*SystemVersionLibpodReader) ReadResponse ¶
func (o *SystemVersionLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- system_check_libpod_parameters.go
- system_check_libpod_responses.go
- system_client.go
- system_data_usage_libpod_parameters.go
- system_data_usage_libpod_responses.go
- system_events_libpod_parameters.go
- system_events_libpod_responses.go
- system_info_libpod_parameters.go
- system_info_libpod_responses.go
- system_prune_libpod_parameters.go
- system_prune_libpod_responses.go
- system_version_libpod_parameters.go
- system_version_libpod_responses.go