system

package
v0.0.0-...-fe9a356 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

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

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 (*SystemCheckLibpodBadRequest) GetPayload

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

Code gets the status code for the system check libpod internal server error response

func (*SystemCheckLibpodInternalServerError) Error

func (*SystemCheckLibpodInternalServerError) GetPayload

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

IsCode returns true when this system check libpod internal server error response a status code equal to that given

func (*SystemCheckLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this system check libpod internal server error response has a 2xx status code

func (*SystemCheckLibpodInternalServerError) 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

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

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

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

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

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

Code gets the status code for the system data usage libpod internal server error response

func (*SystemDataUsageLibpodInternalServerError) Error

func (*SystemDataUsageLibpodInternalServerError) GetPayload

func (*SystemDataUsageLibpodInternalServerError) IsClientError

IsClientError returns true when this system data usage libpod internal server error response has a 4xx status code

func (*SystemDataUsageLibpodInternalServerError) IsCode

IsCode returns true when this system data usage libpod internal server error response a status code equal to that given

func (*SystemDataUsageLibpodInternalServerError) IsRedirect

IsRedirect returns true when this system data usage libpod internal server error response has a 3xx status code

func (*SystemDataUsageLibpodInternalServerError) IsServerError

IsServerError returns true when this system data usage libpod internal server error response has a 5xx status code

func (*SystemDataUsageLibpodInternalServerError) IsSuccess

IsSuccess returns true when this system data usage libpod internal server error response has a 2xx status code

func (*SystemDataUsageLibpodInternalServerError) 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 (*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

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

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

WithHTTPClient adds the HTTPClient to the system data usage libpod params.

func (*SystemDataUsageLibpodParams) WithTimeout

WithTimeout adds the timeout to the system data usage libpod params.

func (*SystemDataUsageLibpodParams) WriteToRequest

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

Code gets the status code for the system events libpod internal server error response

func (*SystemEventsLibpodInternalServerError) Error

func (*SystemEventsLibpodInternalServerError) GetPayload

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

IsCode returns true when this system events libpod internal server error response a status code equal to that given

func (*SystemEventsLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this system events libpod internal server error response has a 2xx status code

func (*SystemEventsLibpodInternalServerError) 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

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

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

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

WithTimeout adds the timeout to the system events libpod params.

func (*SystemEventsLibpodParams) WithUntil

WithUntil adds the until to the system events libpod params.

func (*SystemEventsLibpodParams) WriteToRequest

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

Code gets the status code for the system info libpod internal server error response

func (*SystemInfoLibpodInternalServerError) Error

func (*SystemInfoLibpodInternalServerError) GetPayload

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

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

IsSuccess returns true when this system info libpod internal server error response has a 2xx status code

func (*SystemInfoLibpodInternalServerError) String

type SystemInfoLibpodOK

type SystemInfoLibpodOK struct {
	Payload *models.Info
}

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

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

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

WithTimeout adds the timeout to the system info libpod params.

func (*SystemInfoLibpodParams) WriteToRequest

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 (*SystemPruneLibpodBadRequest) GetPayload

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

Code gets the status code for the system prune libpod internal server error response

func (*SystemPruneLibpodInternalServerError) Error

func (*SystemPruneLibpodInternalServerError) GetPayload

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

IsCode returns true when this system prune libpod internal server error response a status code equal to that given

func (*SystemPruneLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this system prune libpod internal server error response has a 2xx status code

func (*SystemPruneLibpodInternalServerError) 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

WithAll adds the all to the system prune libpod params.

func (*SystemPruneLibpodParams) WithBuild

WithBuild adds the build to the system prune libpod params.

func (*SystemPruneLibpodParams) WithContext deprecated

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

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

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

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 (*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

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

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

WithTimeout adds the timeout to the system version libpod params.

func (*SystemVersionLibpodParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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