pods

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: 14 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 pods API.

func (*Client) PodCreateLibpod

func (a *Client) PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

PodCreateLibpod creates a pod.

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.PodCreateLibpodContext instead.

func (*Client) PodCreateLibpodContext

func (a *Client) PodCreateLibpodContext(ctx context.Context, params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

PodCreateLibpodContext creates a pod.

Do not use the deprecated [PodCreateLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodDeleteLibpod

func (a *Client) PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

PodDeleteLibpod removes pod.

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.PodDeleteLibpodContext instead.

func (*Client) PodDeleteLibpodContext

func (a *Client) PodDeleteLibpodContext(ctx context.Context, params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

PodDeleteLibpodContext removes pod.

Do not use the deprecated [PodDeleteLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodExistsLibpod

func (a *Client) PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

PodExistsLibpod pods exists.

Check if a pod exists by name or ID.

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.PodExistsLibpodContext instead.

func (*Client) PodExistsLibpodContext

func (a *Client) PodExistsLibpodContext(ctx context.Context, params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

PodExistsLibpodContext pods exists.

Check if a pod exists by name or ID.

Do not use the deprecated [PodExistsLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodInspectLibpod

func (a *Client) PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

PodInspectLibpod inspects pod.

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.PodInspectLibpodContext instead.

func (*Client) PodInspectLibpodContext

func (a *Client) PodInspectLibpodContext(ctx context.Context, params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

PodInspectLibpodContext inspects pod.

Do not use the deprecated [PodInspectLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodKillLibpod

func (a *Client) PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

PodKillLibpod kills a pod.

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.PodKillLibpodContext instead.

func (*Client) PodKillLibpodContext

func (a *Client) PodKillLibpodContext(ctx context.Context, params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

PodKillLibpodContext kills a pod.

Do not use the deprecated [PodKillLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodListLibpod

func (a *Client) PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

PodListLibpod lists pods.

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.PodListLibpodContext instead.

func (*Client) PodListLibpodContext

func (a *Client) PodListLibpodContext(ctx context.Context, params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

PodListLibpodContext lists pods.

Do not use the deprecated [PodListLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodPauseLibpod

func (a *Client) PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

PodPauseLibpod pauses a pod.

Pause a pod.

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.PodPauseLibpodContext instead.

func (*Client) PodPauseLibpodContext

func (a *Client) PodPauseLibpodContext(ctx context.Context, params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

PodPauseLibpodContext pauses a pod.

Pause a pod.

Do not use the deprecated [PodPauseLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodPruneLibpod

func (a *Client) PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

PodPruneLibpod prunes unused pods.

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.PodPruneLibpodContext instead.

func (*Client) PodPruneLibpodContext

func (a *Client) PodPruneLibpodContext(ctx context.Context, params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

PodPruneLibpodContext prunes unused pods.

Do not use the deprecated [PodPruneLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodRestartLibpod

func (a *Client) PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

PodRestartLibpod restarts a pod.

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.PodRestartLibpodContext instead.

func (*Client) PodRestartLibpodContext

func (a *Client) PodRestartLibpodContext(ctx context.Context, params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

PodRestartLibpodContext restarts a pod.

Do not use the deprecated [PodRestartLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodStartLibpod

func (a *Client) PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

PodStartLibpod starts a pod.

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.PodStartLibpodContext instead.

func (*Client) PodStartLibpodContext

func (a *Client) PodStartLibpodContext(ctx context.Context, params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

PodStartLibpodContext starts a pod.

Do not use the deprecated [PodStartLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodStatsAllLibpod

func (a *Client) PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

PodStatsAllLibpod statistics for one or more pods.

Display a live stream of resource usage statistics for the containers in one or more pods.

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.PodStatsAllLibpodContext instead.

func (*Client) PodStatsAllLibpodContext

func (a *Client) PodStatsAllLibpodContext(ctx context.Context, params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

PodStatsAllLibpodContext statistics for one or more pods.

Display a live stream of resource usage statistics for the containers in one or more pods.

Do not use the deprecated [PodStatsAllLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodStopLibpod

func (a *Client) PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

PodStopLibpod stops a pod.

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.PodStopLibpodContext instead.

func (*Client) PodStopLibpodContext

func (a *Client) PodStopLibpodContext(ctx context.Context, params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

PodStopLibpodContext stops a pod.

Do not use the deprecated [PodStopLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodTopLibpod

func (a *Client) PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

PodTopLibpod lists processes.

List processes running inside a pod.

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.PodTopLibpodContext instead.

func (*Client) PodTopLibpodContext

func (a *Client) PodTopLibpodContext(ctx context.Context, params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

PodTopLibpodContext lists processes.

List processes running inside a pod.

Do not use the deprecated [PodTopLibpodParams.Context] with this method: it would be ignored.

func (*Client) PodUnpauseLibpod

func (a *Client) PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)

PodUnpauseLibpod unpauses a pod.

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.PodUnpauseLibpodContext instead.

func (*Client) PodUnpauseLibpodContext

func (a *Client) PodUnpauseLibpodContext(ctx context.Context, params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)

PodUnpauseLibpodContext unpauses a pod.

Do not use the deprecated [PodUnpauseLibpodParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ContextualTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {

	// PodCreateLibpod create a pod.
	PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

	// PodCreateLibpodContext create a pod.
	PodCreateLibpodContext(ctx context.Context, params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

	// PodDeleteLibpod remove pod.
	PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

	// PodDeleteLibpodContext remove pod.
	PodDeleteLibpodContext(ctx context.Context, params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

	// PodExistsLibpod pod exists.
	PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

	// PodExistsLibpodContext pod exists.
	PodExistsLibpodContext(ctx context.Context, params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

	// PodInspectLibpod inspect pod.
	PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

	// PodInspectLibpodContext inspect pod.
	PodInspectLibpodContext(ctx context.Context, params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

	// PodKillLibpod kill a pod.
	PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

	// PodKillLibpodContext kill a pod.
	PodKillLibpodContext(ctx context.Context, params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

	// PodListLibpod list pods.
	PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

	// PodListLibpodContext list pods.
	PodListLibpodContext(ctx context.Context, params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

	// PodPauseLibpod pause a pod.
	PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

	// PodPauseLibpodContext pause a pod.
	PodPauseLibpodContext(ctx context.Context, params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

	// PodPruneLibpod prune unused pods.
	PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

	// PodPruneLibpodContext prune unused pods.
	PodPruneLibpodContext(ctx context.Context, params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

	// PodRestartLibpod restart a pod.
	PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

	// PodRestartLibpodContext restart a pod.
	PodRestartLibpodContext(ctx context.Context, params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

	// PodStartLibpod start a pod.
	PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

	// PodStartLibpodContext start a pod.
	PodStartLibpodContext(ctx context.Context, params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

	// PodStatsAllLibpod statistics for one or more pods.
	PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

	// PodStatsAllLibpodContext statistics for one or more pods.
	PodStatsAllLibpodContext(ctx context.Context, params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

	// PodStopLibpod stop a pod.
	PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

	// PodStopLibpodContext stop a pod.
	PodStopLibpodContext(ctx context.Context, params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

	// PodTopLibpod list processes.
	PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

	// PodTopLibpodContext list processes.
	PodTopLibpodContext(ctx context.Context, params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

	// PodUnpauseLibpod unpause a pod.
	PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)

	// PodUnpauseLibpodContext unpause a pod.
	PodUnpauseLibpodContext(ctx context.Context, params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new pods API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new pods 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 pods 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 PodCreateLibpodBadRequest

type PodCreateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodCreateLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodCreateLibpodBadRequest

func NewPodCreateLibpodBadRequest() *PodCreateLibpodBadRequest

NewPodCreateLibpodBadRequest creates a PodCreateLibpodBadRequest with default headers values

func (*PodCreateLibpodBadRequest) Code

func (o *PodCreateLibpodBadRequest) Code() int

Code gets the status code for the pod create libpod bad request response

func (*PodCreateLibpodBadRequest) Error

func (o *PodCreateLibpodBadRequest) Error() string

func (*PodCreateLibpodBadRequest) GetPayload

func (o *PodCreateLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodCreateLibpodBadRequest) IsClientError

func (o *PodCreateLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod create libpod bad request response has a 4xx status code

func (*PodCreateLibpodBadRequest) IsCode

func (o *PodCreateLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod create libpod bad request response a status code equal to that given

func (*PodCreateLibpodBadRequest) IsRedirect

func (o *PodCreateLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod create libpod bad request response has a 3xx status code

func (*PodCreateLibpodBadRequest) IsServerError

func (o *PodCreateLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod create libpod bad request response has a 5xx status code

func (*PodCreateLibpodBadRequest) IsSuccess

func (o *PodCreateLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod create libpod bad request response has a 2xx status code

func (*PodCreateLibpodBadRequest) String

func (o *PodCreateLibpodBadRequest) String() string

type PodCreateLibpodConflict

type PodCreateLibpodConflict struct {
	Payload string
}

PodCreateLibpodConflict describes a response with status code 409, with default header values.

status conflict

func NewPodCreateLibpodConflict

func NewPodCreateLibpodConflict() *PodCreateLibpodConflict

NewPodCreateLibpodConflict creates a PodCreateLibpodConflict with default headers values

func (*PodCreateLibpodConflict) Code

func (o *PodCreateLibpodConflict) Code() int

Code gets the status code for the pod create libpod conflict response

func (*PodCreateLibpodConflict) Error

func (o *PodCreateLibpodConflict) Error() string

func (*PodCreateLibpodConflict) GetPayload

func (o *PodCreateLibpodConflict) GetPayload() string

func (*PodCreateLibpodConflict) IsClientError

func (o *PodCreateLibpodConflict) IsClientError() bool

IsClientError returns true when this pod create libpod conflict response has a 4xx status code

func (*PodCreateLibpodConflict) IsCode

func (o *PodCreateLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod create libpod conflict response a status code equal to that given

func (*PodCreateLibpodConflict) IsRedirect

func (o *PodCreateLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod create libpod conflict response has a 3xx status code

func (*PodCreateLibpodConflict) IsServerError

func (o *PodCreateLibpodConflict) IsServerError() bool

IsServerError returns true when this pod create libpod conflict response has a 5xx status code

func (*PodCreateLibpodConflict) IsSuccess

func (o *PodCreateLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod create libpod conflict response has a 2xx status code

func (*PodCreateLibpodConflict) String

func (o *PodCreateLibpodConflict) String() string

type PodCreateLibpodCreated

type PodCreateLibpodCreated struct {
	Payload *models.IDResponse
}

PodCreateLibpodCreated describes a response with status code 201, with default header values.

PodCreateLibpodCreated pod create libpod created

func NewPodCreateLibpodCreated

func NewPodCreateLibpodCreated() *PodCreateLibpodCreated

NewPodCreateLibpodCreated creates a PodCreateLibpodCreated with default headers values

func (*PodCreateLibpodCreated) Code

func (o *PodCreateLibpodCreated) Code() int

Code gets the status code for the pod create libpod created response

func (*PodCreateLibpodCreated) Error

func (o *PodCreateLibpodCreated) Error() string

func (*PodCreateLibpodCreated) GetPayload

func (o *PodCreateLibpodCreated) GetPayload() *models.IDResponse

func (*PodCreateLibpodCreated) IsClientError

func (o *PodCreateLibpodCreated) IsClientError() bool

IsClientError returns true when this pod create libpod created response has a 4xx status code

func (*PodCreateLibpodCreated) IsCode

func (o *PodCreateLibpodCreated) IsCode(code int) bool

IsCode returns true when this pod create libpod created response a status code equal to that given

func (*PodCreateLibpodCreated) IsRedirect

func (o *PodCreateLibpodCreated) IsRedirect() bool

IsRedirect returns true when this pod create libpod created response has a 3xx status code

func (*PodCreateLibpodCreated) IsServerError

func (o *PodCreateLibpodCreated) IsServerError() bool

IsServerError returns true when this pod create libpod created response has a 5xx status code

func (*PodCreateLibpodCreated) IsSuccess

func (o *PodCreateLibpodCreated) IsSuccess() bool

IsSuccess returns true when this pod create libpod created response has a 2xx status code

func (*PodCreateLibpodCreated) String

func (o *PodCreateLibpodCreated) String() string

type PodCreateLibpodInternalServerError

type PodCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodCreateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodCreateLibpodInternalServerError

func NewPodCreateLibpodInternalServerError() *PodCreateLibpodInternalServerError

NewPodCreateLibpodInternalServerError creates a PodCreateLibpodInternalServerError with default headers values

func (*PodCreateLibpodInternalServerError) Code

Code gets the status code for the pod create libpod internal server error response

func (*PodCreateLibpodInternalServerError) Error

func (*PodCreateLibpodInternalServerError) GetPayload

func (*PodCreateLibpodInternalServerError) IsClientError

func (o *PodCreateLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod create libpod internal server error response has a 4xx status code

func (*PodCreateLibpodInternalServerError) IsCode

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

func (*PodCreateLibpodInternalServerError) IsRedirect

func (o *PodCreateLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod create libpod internal server error response has a 3xx status code

func (*PodCreateLibpodInternalServerError) IsServerError

func (o *PodCreateLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod create libpod internal server error response has a 5xx status code

func (*PodCreateLibpodInternalServerError) IsSuccess

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

func (*PodCreateLibpodInternalServerError) String

type PodCreateLibpodParams

type PodCreateLibpodParams struct {

	// Create.
	//
	// attributes for creating a pod
	Create *models.PodSpecGenerator

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodCreateLibpodParams contains all the parameters to send to the API endpoint

for the pod create libpod operation.

Typically these are written to a http.Request.

func NewPodCreateLibpodParams

func NewPodCreateLibpodParams() *PodCreateLibpodParams

NewPodCreateLibpodParams creates a new PodCreateLibpodParams 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 NewPodCreateLibpodParamsWithContext deprecated

func NewPodCreateLibpodParamsWithContext(ctx context.Context) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithContext creates a new PodCreateLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.

func NewPodCreateLibpodParamsWithHTTPClient

func NewPodCreateLibpodParamsWithHTTPClient(client *http.Client) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithHTTPClient creates a new PodCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodCreateLibpodParamsWithTimeout

func NewPodCreateLibpodParamsWithTimeout(timeout time.Duration) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithTimeout creates a new PodCreateLibpodParams object with the ability to set a timeout on a request.

func (*PodCreateLibpodParams) SetContext deprecated

func (o *PodCreateLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod create libpod params.

Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.

func (*PodCreateLibpodParams) SetCreate

func (o *PodCreateLibpodParams) SetCreate(create *models.PodSpecGenerator)

SetCreate adds the create to the pod create libpod params.

func (*PodCreateLibpodParams) SetDefaults

func (o *PodCreateLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod create libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodCreateLibpodParams) SetHTTPClient

func (o *PodCreateLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod create libpod params.

func (*PodCreateLibpodParams) SetTimeout

func (o *PodCreateLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod create libpod params.

func (*PodCreateLibpodParams) WithContext deprecated

WithContext adds the context to the pod create libpod params.

Deprecated: use the operation call with context to pass the context instead of PodCreateLibpodParams.

func (*PodCreateLibpodParams) WithCreate

WithCreate adds the create to the pod create libpod params.

func (*PodCreateLibpodParams) WithDefaults

func (o *PodCreateLibpodParams) WithDefaults() *PodCreateLibpodParams

WithDefaults hydrates default values in the pod create libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodCreateLibpodParams) WithHTTPClient

func (o *PodCreateLibpodParams) WithHTTPClient(client *http.Client) *PodCreateLibpodParams

WithHTTPClient adds the HTTPClient to the pod create libpod params.

func (*PodCreateLibpodParams) WithTimeout

func (o *PodCreateLibpodParams) WithTimeout(timeout time.Duration) *PodCreateLibpodParams

WithTimeout adds the timeout to the pod create libpod params.

func (*PodCreateLibpodParams) WriteToRequest

func (o *PodCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodCreateLibpodReader

type PodCreateLibpodReader struct {
	// contains filtered or unexported fields
}

PodCreateLibpodReader is a Reader for the PodCreateLibpod structure.

func (*PodCreateLibpodReader) ReadResponse

func (o *PodCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodDeleteLibpodBadRequest

type PodDeleteLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodDeleteLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodDeleteLibpodBadRequest

func NewPodDeleteLibpodBadRequest() *PodDeleteLibpodBadRequest

NewPodDeleteLibpodBadRequest creates a PodDeleteLibpodBadRequest with default headers values

func (*PodDeleteLibpodBadRequest) Code

func (o *PodDeleteLibpodBadRequest) Code() int

Code gets the status code for the pod delete libpod bad request response

func (*PodDeleteLibpodBadRequest) Error

func (o *PodDeleteLibpodBadRequest) Error() string

func (*PodDeleteLibpodBadRequest) GetPayload

func (o *PodDeleteLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodDeleteLibpodBadRequest) IsClientError

func (o *PodDeleteLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod delete libpod bad request response has a 4xx status code

func (*PodDeleteLibpodBadRequest) IsCode

func (o *PodDeleteLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod delete libpod bad request response a status code equal to that given

func (*PodDeleteLibpodBadRequest) IsRedirect

func (o *PodDeleteLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod delete libpod bad request response has a 3xx status code

func (*PodDeleteLibpodBadRequest) IsServerError

func (o *PodDeleteLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod delete libpod bad request response has a 5xx status code

func (*PodDeleteLibpodBadRequest) IsSuccess

func (o *PodDeleteLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod delete libpod bad request response has a 2xx status code

func (*PodDeleteLibpodBadRequest) String

func (o *PodDeleteLibpodBadRequest) String() string

type PodDeleteLibpodInternalServerError

type PodDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodDeleteLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodDeleteLibpodInternalServerError

func NewPodDeleteLibpodInternalServerError() *PodDeleteLibpodInternalServerError

NewPodDeleteLibpodInternalServerError creates a PodDeleteLibpodInternalServerError with default headers values

func (*PodDeleteLibpodInternalServerError) Code

Code gets the status code for the pod delete libpod internal server error response

func (*PodDeleteLibpodInternalServerError) Error

func (*PodDeleteLibpodInternalServerError) GetPayload

func (*PodDeleteLibpodInternalServerError) IsClientError

func (o *PodDeleteLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod delete libpod internal server error response has a 4xx status code

func (*PodDeleteLibpodInternalServerError) IsCode

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

func (*PodDeleteLibpodInternalServerError) IsRedirect

func (o *PodDeleteLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod delete libpod internal server error response has a 3xx status code

func (*PodDeleteLibpodInternalServerError) IsServerError

func (o *PodDeleteLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod delete libpod internal server error response has a 5xx status code

func (*PodDeleteLibpodInternalServerError) IsSuccess

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

func (*PodDeleteLibpodInternalServerError) String

type PodDeleteLibpodNotFound

type PodDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodDeleteLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodDeleteLibpodNotFound

func NewPodDeleteLibpodNotFound() *PodDeleteLibpodNotFound

NewPodDeleteLibpodNotFound creates a PodDeleteLibpodNotFound with default headers values

func (*PodDeleteLibpodNotFound) Code

func (o *PodDeleteLibpodNotFound) Code() int

Code gets the status code for the pod delete libpod not found response

func (*PodDeleteLibpodNotFound) Error

func (o *PodDeleteLibpodNotFound) Error() string

func (*PodDeleteLibpodNotFound) GetPayload

func (o *PodDeleteLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodDeleteLibpodNotFound) IsClientError

func (o *PodDeleteLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod delete libpod not found response has a 4xx status code

func (*PodDeleteLibpodNotFound) IsCode

func (o *PodDeleteLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod delete libpod not found response a status code equal to that given

func (*PodDeleteLibpodNotFound) IsRedirect

func (o *PodDeleteLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod delete libpod not found response has a 3xx status code

func (*PodDeleteLibpodNotFound) IsServerError

func (o *PodDeleteLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod delete libpod not found response has a 5xx status code

func (*PodDeleteLibpodNotFound) IsSuccess

func (o *PodDeleteLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod delete libpod not found response has a 2xx status code

func (*PodDeleteLibpodNotFound) String

func (o *PodDeleteLibpodNotFound) String() string

type PodDeleteLibpodOK

type PodDeleteLibpodOK struct {
	Payload *models.PodRmReport
}

PodDeleteLibpodOK describes a response with status code 200, with default header values.

Rm pod

func NewPodDeleteLibpodOK

func NewPodDeleteLibpodOK() *PodDeleteLibpodOK

NewPodDeleteLibpodOK creates a PodDeleteLibpodOK with default headers values

func (*PodDeleteLibpodOK) Code

func (o *PodDeleteLibpodOK) Code() int

Code gets the status code for the pod delete libpod o k response

func (*PodDeleteLibpodOK) Error

func (o *PodDeleteLibpodOK) Error() string

func (*PodDeleteLibpodOK) GetPayload

func (o *PodDeleteLibpodOK) GetPayload() *models.PodRmReport

func (*PodDeleteLibpodOK) IsClientError

func (o *PodDeleteLibpodOK) IsClientError() bool

IsClientError returns true when this pod delete libpod o k response has a 4xx status code

func (*PodDeleteLibpodOK) IsCode

func (o *PodDeleteLibpodOK) IsCode(code int) bool

IsCode returns true when this pod delete libpod o k response a status code equal to that given

func (*PodDeleteLibpodOK) IsRedirect

func (o *PodDeleteLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod delete libpod o k response has a 3xx status code

func (*PodDeleteLibpodOK) IsServerError

func (o *PodDeleteLibpodOK) IsServerError() bool

IsServerError returns true when this pod delete libpod o k response has a 5xx status code

func (*PodDeleteLibpodOK) IsSuccess

func (o *PodDeleteLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod delete libpod o k response has a 2xx status code

func (*PodDeleteLibpodOK) String

func (o *PodDeleteLibpodOK) String() string

type PodDeleteLibpodParams

type PodDeleteLibpodParams struct {

	// Force.
	//
	// force removal of a running pod by first stopping all containers, then removing all containers in the pod
	Force *bool

	// Name.
	//
	// the name or ID of the pod
	Name string

	// Timeout.
	//
	// number of seconds to wait before killing containers in pod
	Timeout *int64

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodDeleteLibpodParams contains all the parameters to send to the API endpoint

for the pod delete libpod operation.

Typically these are written to a http.Request.

func NewPodDeleteLibpodParams

func NewPodDeleteLibpodParams() *PodDeleteLibpodParams

NewPodDeleteLibpodParams creates a new PodDeleteLibpodParams 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 NewPodDeleteLibpodParamsWithContext deprecated

func NewPodDeleteLibpodParamsWithContext(ctx context.Context) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithContext creates a new PodDeleteLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.

func NewPodDeleteLibpodParamsWithHTTPClient

func NewPodDeleteLibpodParamsWithHTTPClient(client *http.Client) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithHTTPClient creates a new PodDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodDeleteLibpodParamsWithTimeout

func NewPodDeleteLibpodParamsWithTimeout(timeout time.Duration) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithTimeout creates a new PodDeleteLibpodParams object with the ability to set a timeout on a request.

func (*PodDeleteLibpodParams) SetContext deprecated

func (o *PodDeleteLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod delete libpod params.

Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.

func (*PodDeleteLibpodParams) SetDefaults

func (o *PodDeleteLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod delete libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodDeleteLibpodParams) SetForce

func (o *PodDeleteLibpodParams) SetForce(force *bool)

SetForce adds the force to the pod delete libpod params.

func (*PodDeleteLibpodParams) SetHTTPClient

func (o *PodDeleteLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod delete libpod params.

func (*PodDeleteLibpodParams) SetName

func (o *PodDeleteLibpodParams) SetName(name string)

SetName adds the name to the pod delete libpod params.

func (*PodDeleteLibpodParams) SetRequestTimeout

func (o *PodDeleteLibpodParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the pod delete libpod params.

func (*PodDeleteLibpodParams) SetTimeout

func (o *PodDeleteLibpodParams) SetTimeout(timeout *int64)

SetTimeout adds the timeout to the pod delete libpod params.

func (*PodDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the pod delete libpod params.

Deprecated: use the operation call with context to pass the context instead of PodDeleteLibpodParams.

func (*PodDeleteLibpodParams) WithDefaults

func (o *PodDeleteLibpodParams) WithDefaults() *PodDeleteLibpodParams

WithDefaults hydrates default values in the pod delete libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodDeleteLibpodParams) WithForce

func (o *PodDeleteLibpodParams) WithForce(force *bool) *PodDeleteLibpodParams

WithForce adds the force to the pod delete libpod params.

func (*PodDeleteLibpodParams) WithHTTPClient

func (o *PodDeleteLibpodParams) WithHTTPClient(client *http.Client) *PodDeleteLibpodParams

WithHTTPClient adds the HTTPClient to the pod delete libpod params.

func (*PodDeleteLibpodParams) WithName

WithName adds the name to the pod delete libpod params.

func (*PodDeleteLibpodParams) WithRequestTimeout

func (o *PodDeleteLibpodParams) WithRequestTimeout(timeout time.Duration) *PodDeleteLibpodParams

WithRequestTimeout adds the timeout to the pod delete libpod params.

func (*PodDeleteLibpodParams) WithTimeout

func (o *PodDeleteLibpodParams) WithTimeout(timeout *int64) *PodDeleteLibpodParams

WithTimeout adds the timeout to the pod delete libpod params.

func (*PodDeleteLibpodParams) WriteToRequest

func (o *PodDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodDeleteLibpodReader

type PodDeleteLibpodReader struct {
	// contains filtered or unexported fields
}

PodDeleteLibpodReader is a Reader for the PodDeleteLibpod structure.

func (*PodDeleteLibpodReader) ReadResponse

func (o *PodDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodExistsLibpodInternalServerError

type PodExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodExistsLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodExistsLibpodInternalServerError

func NewPodExistsLibpodInternalServerError() *PodExistsLibpodInternalServerError

NewPodExistsLibpodInternalServerError creates a PodExistsLibpodInternalServerError with default headers values

func (*PodExistsLibpodInternalServerError) Code

Code gets the status code for the pod exists libpod internal server error response

func (*PodExistsLibpodInternalServerError) Error

func (*PodExistsLibpodInternalServerError) GetPayload

func (*PodExistsLibpodInternalServerError) IsClientError

func (o *PodExistsLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod exists libpod internal server error response has a 4xx status code

func (*PodExistsLibpodInternalServerError) IsCode

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

func (*PodExistsLibpodInternalServerError) IsRedirect

func (o *PodExistsLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod exists libpod internal server error response has a 3xx status code

func (*PodExistsLibpodInternalServerError) IsServerError

func (o *PodExistsLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod exists libpod internal server error response has a 5xx status code

func (*PodExistsLibpodInternalServerError) IsSuccess

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

func (*PodExistsLibpodInternalServerError) String

type PodExistsLibpodNoContent

type PodExistsLibpodNoContent struct {
}

PodExistsLibpodNoContent describes a response with status code 204, with default header values.

pod exists

func NewPodExistsLibpodNoContent

func NewPodExistsLibpodNoContent() *PodExistsLibpodNoContent

NewPodExistsLibpodNoContent creates a PodExistsLibpodNoContent with default headers values

func (*PodExistsLibpodNoContent) Code

func (o *PodExistsLibpodNoContent) Code() int

Code gets the status code for the pod exists libpod no content response

func (*PodExistsLibpodNoContent) Error

func (o *PodExistsLibpodNoContent) Error() string

func (*PodExistsLibpodNoContent) IsClientError

func (o *PodExistsLibpodNoContent) IsClientError() bool

IsClientError returns true when this pod exists libpod no content response has a 4xx status code

func (*PodExistsLibpodNoContent) IsCode

func (o *PodExistsLibpodNoContent) IsCode(code int) bool

IsCode returns true when this pod exists libpod no content response a status code equal to that given

func (*PodExistsLibpodNoContent) IsRedirect

func (o *PodExistsLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this pod exists libpod no content response has a 3xx status code

func (*PodExistsLibpodNoContent) IsServerError

func (o *PodExistsLibpodNoContent) IsServerError() bool

IsServerError returns true when this pod exists libpod no content response has a 5xx status code

func (*PodExistsLibpodNoContent) IsSuccess

func (o *PodExistsLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this pod exists libpod no content response has a 2xx status code

func (*PodExistsLibpodNoContent) String

func (o *PodExistsLibpodNoContent) String() string

type PodExistsLibpodNotFound

type PodExistsLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodExistsLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodExistsLibpodNotFound

func NewPodExistsLibpodNotFound() *PodExistsLibpodNotFound

NewPodExistsLibpodNotFound creates a PodExistsLibpodNotFound with default headers values

func (*PodExistsLibpodNotFound) Code

func (o *PodExistsLibpodNotFound) Code() int

Code gets the status code for the pod exists libpod not found response

func (*PodExistsLibpodNotFound) Error

func (o *PodExistsLibpodNotFound) Error() string

func (*PodExistsLibpodNotFound) GetPayload

func (o *PodExistsLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodExistsLibpodNotFound) IsClientError

func (o *PodExistsLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod exists libpod not found response has a 4xx status code

func (*PodExistsLibpodNotFound) IsCode

func (o *PodExistsLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod exists libpod not found response a status code equal to that given

func (*PodExistsLibpodNotFound) IsRedirect

func (o *PodExistsLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod exists libpod not found response has a 3xx status code

func (*PodExistsLibpodNotFound) IsServerError

func (o *PodExistsLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod exists libpod not found response has a 5xx status code

func (*PodExistsLibpodNotFound) IsSuccess

func (o *PodExistsLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod exists libpod not found response has a 2xx status code

func (*PodExistsLibpodNotFound) String

func (o *PodExistsLibpodNotFound) String() string

type PodExistsLibpodParams

type PodExistsLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodExistsLibpodParams contains all the parameters to send to the API endpoint

for the pod exists libpod operation.

Typically these are written to a http.Request.

func NewPodExistsLibpodParams

func NewPodExistsLibpodParams() *PodExistsLibpodParams

NewPodExistsLibpodParams creates a new PodExistsLibpodParams 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 NewPodExistsLibpodParamsWithContext deprecated

func NewPodExistsLibpodParamsWithContext(ctx context.Context) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithContext creates a new PodExistsLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.

func NewPodExistsLibpodParamsWithHTTPClient

func NewPodExistsLibpodParamsWithHTTPClient(client *http.Client) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithHTTPClient creates a new PodExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodExistsLibpodParamsWithTimeout

func NewPodExistsLibpodParamsWithTimeout(timeout time.Duration) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithTimeout creates a new PodExistsLibpodParams object with the ability to set a timeout on a request.

func (*PodExistsLibpodParams) SetContext deprecated

func (o *PodExistsLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod exists libpod params.

Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.

func (*PodExistsLibpodParams) SetDefaults

func (o *PodExistsLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod exists libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodExistsLibpodParams) SetHTTPClient

func (o *PodExistsLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod exists libpod params.

func (*PodExistsLibpodParams) SetName

func (o *PodExistsLibpodParams) SetName(name string)

SetName adds the name to the pod exists libpod params.

func (*PodExistsLibpodParams) SetTimeout

func (o *PodExistsLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod exists libpod params.

func (*PodExistsLibpodParams) WithContext deprecated

WithContext adds the context to the pod exists libpod params.

Deprecated: use the operation call with context to pass the context instead of PodExistsLibpodParams.

func (*PodExistsLibpodParams) WithDefaults

func (o *PodExistsLibpodParams) WithDefaults() *PodExistsLibpodParams

WithDefaults hydrates default values in the pod exists libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodExistsLibpodParams) WithHTTPClient

func (o *PodExistsLibpodParams) WithHTTPClient(client *http.Client) *PodExistsLibpodParams

WithHTTPClient adds the HTTPClient to the pod exists libpod params.

func (*PodExistsLibpodParams) WithName

WithName adds the name to the pod exists libpod params.

func (*PodExistsLibpodParams) WithTimeout

func (o *PodExistsLibpodParams) WithTimeout(timeout time.Duration) *PodExistsLibpodParams

WithTimeout adds the timeout to the pod exists libpod params.

func (*PodExistsLibpodParams) WriteToRequest

func (o *PodExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodExistsLibpodReader

type PodExistsLibpodReader struct {
	// contains filtered or unexported fields
}

PodExistsLibpodReader is a Reader for the PodExistsLibpod structure.

func (*PodExistsLibpodReader) ReadResponse

func (o *PodExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodInspectLibpodInternalServerError

type PodInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodInspectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodInspectLibpodInternalServerError

func NewPodInspectLibpodInternalServerError() *PodInspectLibpodInternalServerError

NewPodInspectLibpodInternalServerError creates a PodInspectLibpodInternalServerError with default headers values

func (*PodInspectLibpodInternalServerError) Code

Code gets the status code for the pod inspect libpod internal server error response

func (*PodInspectLibpodInternalServerError) Error

func (*PodInspectLibpodInternalServerError) GetPayload

func (*PodInspectLibpodInternalServerError) IsClientError

func (o *PodInspectLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod inspect libpod internal server error response has a 4xx status code

func (*PodInspectLibpodInternalServerError) IsCode

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

func (*PodInspectLibpodInternalServerError) IsRedirect

func (o *PodInspectLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod internal server error response has a 3xx status code

func (*PodInspectLibpodInternalServerError) IsServerError

func (o *PodInspectLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod inspect libpod internal server error response has a 5xx status code

func (*PodInspectLibpodInternalServerError) IsSuccess

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

func (*PodInspectLibpodInternalServerError) String

type PodInspectLibpodNotFound

type PodInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodInspectLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodInspectLibpodNotFound

func NewPodInspectLibpodNotFound() *PodInspectLibpodNotFound

NewPodInspectLibpodNotFound creates a PodInspectLibpodNotFound with default headers values

func (*PodInspectLibpodNotFound) Code

func (o *PodInspectLibpodNotFound) Code() int

Code gets the status code for the pod inspect libpod not found response

func (*PodInspectLibpodNotFound) Error

func (o *PodInspectLibpodNotFound) Error() string

func (*PodInspectLibpodNotFound) GetPayload

func (o *PodInspectLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodInspectLibpodNotFound) IsClientError

func (o *PodInspectLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod inspect libpod not found response has a 4xx status code

func (*PodInspectLibpodNotFound) IsCode

func (o *PodInspectLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod inspect libpod not found response a status code equal to that given

func (*PodInspectLibpodNotFound) IsRedirect

func (o *PodInspectLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod not found response has a 3xx status code

func (*PodInspectLibpodNotFound) IsServerError

func (o *PodInspectLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod inspect libpod not found response has a 5xx status code

func (*PodInspectLibpodNotFound) IsSuccess

func (o *PodInspectLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod inspect libpod not found response has a 2xx status code

func (*PodInspectLibpodNotFound) String

func (o *PodInspectLibpodNotFound) String() string

type PodInspectLibpodOK

type PodInspectLibpodOK struct {
	Payload *models.InspectPodData
}

PodInspectLibpodOK describes a response with status code 200, with default header values.

Inspect pod

func NewPodInspectLibpodOK

func NewPodInspectLibpodOK() *PodInspectLibpodOK

NewPodInspectLibpodOK creates a PodInspectLibpodOK with default headers values

func (*PodInspectLibpodOK) Code

func (o *PodInspectLibpodOK) Code() int

Code gets the status code for the pod inspect libpod o k response

func (*PodInspectLibpodOK) Error

func (o *PodInspectLibpodOK) Error() string

func (*PodInspectLibpodOK) GetPayload

func (o *PodInspectLibpodOK) GetPayload() *models.InspectPodData

func (*PodInspectLibpodOK) IsClientError

func (o *PodInspectLibpodOK) IsClientError() bool

IsClientError returns true when this pod inspect libpod o k response has a 4xx status code

func (*PodInspectLibpodOK) IsCode

func (o *PodInspectLibpodOK) IsCode(code int) bool

IsCode returns true when this pod inspect libpod o k response a status code equal to that given

func (*PodInspectLibpodOK) IsRedirect

func (o *PodInspectLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod o k response has a 3xx status code

func (*PodInspectLibpodOK) IsServerError

func (o *PodInspectLibpodOK) IsServerError() bool

IsServerError returns true when this pod inspect libpod o k response has a 5xx status code

func (*PodInspectLibpodOK) IsSuccess

func (o *PodInspectLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod inspect libpod o k response has a 2xx status code

func (*PodInspectLibpodOK) String

func (o *PodInspectLibpodOK) String() string

type PodInspectLibpodParams

type PodInspectLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodInspectLibpodParams contains all the parameters to send to the API endpoint

for the pod inspect libpod operation.

Typically these are written to a http.Request.

func NewPodInspectLibpodParams

func NewPodInspectLibpodParams() *PodInspectLibpodParams

NewPodInspectLibpodParams creates a new PodInspectLibpodParams 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 NewPodInspectLibpodParamsWithContext deprecated

func NewPodInspectLibpodParamsWithContext(ctx context.Context) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithContext creates a new PodInspectLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.

func NewPodInspectLibpodParamsWithHTTPClient

func NewPodInspectLibpodParamsWithHTTPClient(client *http.Client) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithHTTPClient creates a new PodInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodInspectLibpodParamsWithTimeout

func NewPodInspectLibpodParamsWithTimeout(timeout time.Duration) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithTimeout creates a new PodInspectLibpodParams object with the ability to set a timeout on a request.

func (*PodInspectLibpodParams) SetContext deprecated

func (o *PodInspectLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.

func (*PodInspectLibpodParams) SetDefaults

func (o *PodInspectLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod inspect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodInspectLibpodParams) SetHTTPClient

func (o *PodInspectLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod inspect libpod params.

func (*PodInspectLibpodParams) SetName

func (o *PodInspectLibpodParams) SetName(name string)

SetName adds the name to the pod inspect libpod params.

func (*PodInspectLibpodParams) SetTimeout

func (o *PodInspectLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod inspect libpod params.

func (*PodInspectLibpodParams) WithContext deprecated

WithContext adds the context to the pod inspect libpod params.

Deprecated: use the operation call with context to pass the context instead of PodInspectLibpodParams.

func (*PodInspectLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod inspect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodInspectLibpodParams) WithHTTPClient

func (o *PodInspectLibpodParams) WithHTTPClient(client *http.Client) *PodInspectLibpodParams

WithHTTPClient adds the HTTPClient to the pod inspect libpod params.

func (*PodInspectLibpodParams) WithName

WithName adds the name to the pod inspect libpod params.

func (*PodInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod inspect libpod params.

func (*PodInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PodInspectLibpodReader

type PodInspectLibpodReader struct {
	// contains filtered or unexported fields
}

PodInspectLibpodReader is a Reader for the PodInspectLibpod structure.

func (*PodInspectLibpodReader) ReadResponse

func (o *PodInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodKillLibpodBadRequest

type PodKillLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodKillLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodKillLibpodBadRequest

func NewPodKillLibpodBadRequest() *PodKillLibpodBadRequest

NewPodKillLibpodBadRequest creates a PodKillLibpodBadRequest with default headers values

func (*PodKillLibpodBadRequest) Code

func (o *PodKillLibpodBadRequest) Code() int

Code gets the status code for the pod kill libpod bad request response

func (*PodKillLibpodBadRequest) Error

func (o *PodKillLibpodBadRequest) Error() string

func (*PodKillLibpodBadRequest) GetPayload

func (o *PodKillLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodKillLibpodBadRequest) IsClientError

func (o *PodKillLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod kill libpod bad request response has a 4xx status code

func (*PodKillLibpodBadRequest) IsCode

func (o *PodKillLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod kill libpod bad request response a status code equal to that given

func (*PodKillLibpodBadRequest) IsRedirect

func (o *PodKillLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod kill libpod bad request response has a 3xx status code

func (*PodKillLibpodBadRequest) IsServerError

func (o *PodKillLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod kill libpod bad request response has a 5xx status code

func (*PodKillLibpodBadRequest) IsSuccess

func (o *PodKillLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod kill libpod bad request response has a 2xx status code

func (*PodKillLibpodBadRequest) String

func (o *PodKillLibpodBadRequest) String() string

type PodKillLibpodConflict

type PodKillLibpodConflict struct {
	Payload *models.PodKillReport
}

PodKillLibpodConflict describes a response with status code 409, with default header values.

Kill Pod

func NewPodKillLibpodConflict

func NewPodKillLibpodConflict() *PodKillLibpodConflict

NewPodKillLibpodConflict creates a PodKillLibpodConflict with default headers values

func (*PodKillLibpodConflict) Code

func (o *PodKillLibpodConflict) Code() int

Code gets the status code for the pod kill libpod conflict response

func (*PodKillLibpodConflict) Error

func (o *PodKillLibpodConflict) Error() string

func (*PodKillLibpodConflict) GetPayload

func (o *PodKillLibpodConflict) GetPayload() *models.PodKillReport

func (*PodKillLibpodConflict) IsClientError

func (o *PodKillLibpodConflict) IsClientError() bool

IsClientError returns true when this pod kill libpod conflict response has a 4xx status code

func (*PodKillLibpodConflict) IsCode

func (o *PodKillLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod kill libpod conflict response a status code equal to that given

func (*PodKillLibpodConflict) IsRedirect

func (o *PodKillLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod kill libpod conflict response has a 3xx status code

func (*PodKillLibpodConflict) IsServerError

func (o *PodKillLibpodConflict) IsServerError() bool

IsServerError returns true when this pod kill libpod conflict response has a 5xx status code

func (*PodKillLibpodConflict) IsSuccess

func (o *PodKillLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod kill libpod conflict response has a 2xx status code

func (*PodKillLibpodConflict) String

func (o *PodKillLibpodConflict) String() string

type PodKillLibpodInternalServerError

type PodKillLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodKillLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodKillLibpodInternalServerError

func NewPodKillLibpodInternalServerError() *PodKillLibpodInternalServerError

NewPodKillLibpodInternalServerError creates a PodKillLibpodInternalServerError with default headers values

func (*PodKillLibpodInternalServerError) Code

Code gets the status code for the pod kill libpod internal server error response

func (*PodKillLibpodInternalServerError) Error

func (*PodKillLibpodInternalServerError) GetPayload

func (*PodKillLibpodInternalServerError) IsClientError

func (o *PodKillLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod kill libpod internal server error response has a 4xx status code

func (*PodKillLibpodInternalServerError) IsCode

func (o *PodKillLibpodInternalServerError) IsCode(code int) bool

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

func (*PodKillLibpodInternalServerError) IsRedirect

func (o *PodKillLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod kill libpod internal server error response has a 3xx status code

func (*PodKillLibpodInternalServerError) IsServerError

func (o *PodKillLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod kill libpod internal server error response has a 5xx status code

func (*PodKillLibpodInternalServerError) IsSuccess

func (o *PodKillLibpodInternalServerError) IsSuccess() bool

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

func (*PodKillLibpodInternalServerError) String

type PodKillLibpodNotFound

type PodKillLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodKillLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodKillLibpodNotFound

func NewPodKillLibpodNotFound() *PodKillLibpodNotFound

NewPodKillLibpodNotFound creates a PodKillLibpodNotFound with default headers values

func (*PodKillLibpodNotFound) Code

func (o *PodKillLibpodNotFound) Code() int

Code gets the status code for the pod kill libpod not found response

func (*PodKillLibpodNotFound) Error

func (o *PodKillLibpodNotFound) Error() string

func (*PodKillLibpodNotFound) GetPayload

func (o *PodKillLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodKillLibpodNotFound) IsClientError

func (o *PodKillLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod kill libpod not found response has a 4xx status code

func (*PodKillLibpodNotFound) IsCode

func (o *PodKillLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod kill libpod not found response a status code equal to that given

func (*PodKillLibpodNotFound) IsRedirect

func (o *PodKillLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod kill libpod not found response has a 3xx status code

func (*PodKillLibpodNotFound) IsServerError

func (o *PodKillLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod kill libpod not found response has a 5xx status code

func (*PodKillLibpodNotFound) IsSuccess

func (o *PodKillLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod kill libpod not found response has a 2xx status code

func (*PodKillLibpodNotFound) String

func (o *PodKillLibpodNotFound) String() string

type PodKillLibpodOK

type PodKillLibpodOK struct {
	Payload *models.PodKillReport
}

PodKillLibpodOK describes a response with status code 200, with default header values.

Kill Pod

func NewPodKillLibpodOK

func NewPodKillLibpodOK() *PodKillLibpodOK

NewPodKillLibpodOK creates a PodKillLibpodOK with default headers values

func (*PodKillLibpodOK) Code

func (o *PodKillLibpodOK) Code() int

Code gets the status code for the pod kill libpod o k response

func (*PodKillLibpodOK) Error

func (o *PodKillLibpodOK) Error() string

func (*PodKillLibpodOK) GetPayload

func (o *PodKillLibpodOK) GetPayload() *models.PodKillReport

func (*PodKillLibpodOK) IsClientError

func (o *PodKillLibpodOK) IsClientError() bool

IsClientError returns true when this pod kill libpod o k response has a 4xx status code

func (*PodKillLibpodOK) IsCode

func (o *PodKillLibpodOK) IsCode(code int) bool

IsCode returns true when this pod kill libpod o k response a status code equal to that given

func (*PodKillLibpodOK) IsRedirect

func (o *PodKillLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod kill libpod o k response has a 3xx status code

func (*PodKillLibpodOK) IsServerError

func (o *PodKillLibpodOK) IsServerError() bool

IsServerError returns true when this pod kill libpod o k response has a 5xx status code

func (*PodKillLibpodOK) IsSuccess

func (o *PodKillLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod kill libpod o k response has a 2xx status code

func (*PodKillLibpodOK) String

func (o *PodKillLibpodOK) String() string

type PodKillLibpodParams

type PodKillLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	// Signal.
	//
	// signal to be sent to pod
	//
	// Default: "SIGKILL"
	Signal *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodKillLibpodParams contains all the parameters to send to the API endpoint

for the pod kill libpod operation.

Typically these are written to a http.Request.

func NewPodKillLibpodParams

func NewPodKillLibpodParams() *PodKillLibpodParams

NewPodKillLibpodParams creates a new PodKillLibpodParams 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 NewPodKillLibpodParamsWithContext deprecated

func NewPodKillLibpodParamsWithContext(ctx context.Context) *PodKillLibpodParams

NewPodKillLibpodParamsWithContext creates a new PodKillLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.

func NewPodKillLibpodParamsWithHTTPClient

func NewPodKillLibpodParamsWithHTTPClient(client *http.Client) *PodKillLibpodParams

NewPodKillLibpodParamsWithHTTPClient creates a new PodKillLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodKillLibpodParamsWithTimeout

func NewPodKillLibpodParamsWithTimeout(timeout time.Duration) *PodKillLibpodParams

NewPodKillLibpodParamsWithTimeout creates a new PodKillLibpodParams object with the ability to set a timeout on a request.

func (*PodKillLibpodParams) SetContext deprecated

func (o *PodKillLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod kill libpod params.

Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.

func (*PodKillLibpodParams) SetDefaults

func (o *PodKillLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod kill libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodKillLibpodParams) SetHTTPClient

func (o *PodKillLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod kill libpod params.

func (*PodKillLibpodParams) SetName

func (o *PodKillLibpodParams) SetName(name string)

SetName adds the name to the pod kill libpod params.

func (*PodKillLibpodParams) SetSignal

func (o *PodKillLibpodParams) SetSignal(signal *string)

SetSignal adds the signal to the pod kill libpod params.

func (*PodKillLibpodParams) SetTimeout

func (o *PodKillLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod kill libpod params.

func (*PodKillLibpodParams) WithContext deprecated

WithContext adds the context to the pod kill libpod params.

Deprecated: use the operation call with context to pass the context instead of PodKillLibpodParams.

func (*PodKillLibpodParams) WithDefaults

func (o *PodKillLibpodParams) WithDefaults() *PodKillLibpodParams

WithDefaults hydrates default values in the pod kill libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodKillLibpodParams) WithHTTPClient

func (o *PodKillLibpodParams) WithHTTPClient(client *http.Client) *PodKillLibpodParams

WithHTTPClient adds the HTTPClient to the pod kill libpod params.

func (*PodKillLibpodParams) WithName

func (o *PodKillLibpodParams) WithName(name string) *PodKillLibpodParams

WithName adds the name to the pod kill libpod params.

func (*PodKillLibpodParams) WithSignal

func (o *PodKillLibpodParams) WithSignal(signal *string) *PodKillLibpodParams

WithSignal adds the signal to the pod kill libpod params.

func (*PodKillLibpodParams) WithTimeout

func (o *PodKillLibpodParams) WithTimeout(timeout time.Duration) *PodKillLibpodParams

WithTimeout adds the timeout to the pod kill libpod params.

func (*PodKillLibpodParams) WriteToRequest

func (o *PodKillLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodKillLibpodReader

type PodKillLibpodReader struct {
	// contains filtered or unexported fields
}

PodKillLibpodReader is a Reader for the PodKillLibpod structure.

func (*PodKillLibpodReader) ReadResponse

func (o *PodKillLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodListLibpodBadRequest

type PodListLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodListLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodListLibpodBadRequest

func NewPodListLibpodBadRequest() *PodListLibpodBadRequest

NewPodListLibpodBadRequest creates a PodListLibpodBadRequest with default headers values

func (*PodListLibpodBadRequest) Code

func (o *PodListLibpodBadRequest) Code() int

Code gets the status code for the pod list libpod bad request response

func (*PodListLibpodBadRequest) Error

func (o *PodListLibpodBadRequest) Error() string

func (*PodListLibpodBadRequest) GetPayload

func (o *PodListLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodListLibpodBadRequest) IsClientError

func (o *PodListLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod list libpod bad request response has a 4xx status code

func (*PodListLibpodBadRequest) IsCode

func (o *PodListLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod list libpod bad request response a status code equal to that given

func (*PodListLibpodBadRequest) IsRedirect

func (o *PodListLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod list libpod bad request response has a 3xx status code

func (*PodListLibpodBadRequest) IsServerError

func (o *PodListLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod list libpod bad request response has a 5xx status code

func (*PodListLibpodBadRequest) IsSuccess

func (o *PodListLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod list libpod bad request response has a 2xx status code

func (*PodListLibpodBadRequest) String

func (o *PodListLibpodBadRequest) String() string

type PodListLibpodInternalServerError

type PodListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodListLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodListLibpodInternalServerError

func NewPodListLibpodInternalServerError() *PodListLibpodInternalServerError

NewPodListLibpodInternalServerError creates a PodListLibpodInternalServerError with default headers values

func (*PodListLibpodInternalServerError) Code

Code gets the status code for the pod list libpod internal server error response

func (*PodListLibpodInternalServerError) Error

func (*PodListLibpodInternalServerError) GetPayload

func (*PodListLibpodInternalServerError) IsClientError

func (o *PodListLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod list libpod internal server error response has a 4xx status code

func (*PodListLibpodInternalServerError) IsCode

func (o *PodListLibpodInternalServerError) IsCode(code int) bool

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

func (*PodListLibpodInternalServerError) IsRedirect

func (o *PodListLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod list libpod internal server error response has a 3xx status code

func (*PodListLibpodInternalServerError) IsServerError

func (o *PodListLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod list libpod internal server error response has a 5xx status code

func (*PodListLibpodInternalServerError) IsSuccess

func (o *PodListLibpodInternalServerError) IsSuccess() bool

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

func (*PodListLibpodInternalServerError) String

type PodListLibpodOK

type PodListLibpodOK struct {
	Payload []*models.ListPodsReport
}

PodListLibpodOK describes a response with status code 200, with default header values.

List pods

func NewPodListLibpodOK

func NewPodListLibpodOK() *PodListLibpodOK

NewPodListLibpodOK creates a PodListLibpodOK with default headers values

func (*PodListLibpodOK) Code

func (o *PodListLibpodOK) Code() int

Code gets the status code for the pod list libpod o k response

func (*PodListLibpodOK) Error

func (o *PodListLibpodOK) Error() string

func (*PodListLibpodOK) GetPayload

func (o *PodListLibpodOK) GetPayload() []*models.ListPodsReport

func (*PodListLibpodOK) IsClientError

func (o *PodListLibpodOK) IsClientError() bool

IsClientError returns true when this pod list libpod o k response has a 4xx status code

func (*PodListLibpodOK) IsCode

func (o *PodListLibpodOK) IsCode(code int) bool

IsCode returns true when this pod list libpod o k response a status code equal to that given

func (*PodListLibpodOK) IsRedirect

func (o *PodListLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod list libpod o k response has a 3xx status code

func (*PodListLibpodOK) IsServerError

func (o *PodListLibpodOK) IsServerError() bool

IsServerError returns true when this pod list libpod o k response has a 5xx status code

func (*PodListLibpodOK) IsSuccess

func (o *PodListLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod list libpod o k response has a 2xx status code

func (*PodListLibpodOK) String

func (o *PodListLibpodOK) String() string

type PodListLibpodParams

type PodListLibpodParams struct {

	// Filters.
	//
	// JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters:
	//   - `id=<pod-id>` Matches all of pod id.
	//   - `label=<key>` or `label=<key>:<value>` Matches pods based on the presence of a label alone or a label and a value.
	//   - `name=<pod-name>` Matches all of pod name.
	//   - `until=<timestamp>` List pods 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.
	//   - `status=<pod-status>` Pod's status: `stopped`, `running`, `paused`, `exited`, `dead`, `created`, `degraded`.
	//   - `network=<pod-network>` Name or full ID of network.
	//   - `ctr-names=<pod-ctr-names>` Container name within the pod.
	//   - `ctr-ids=<pod-ctr-ids>` Container ID within the pod.
	//   - `ctr-status=<pod-ctr-status>` Container status within the pod.
	//   - `ctr-number=<pod-ctr-number>` Number of containers in the pod.
	//
	Filters *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodListLibpodParams contains all the parameters to send to the API endpoint

for the pod list libpod operation.

Typically these are written to a http.Request.

func NewPodListLibpodParams

func NewPodListLibpodParams() *PodListLibpodParams

NewPodListLibpodParams creates a new PodListLibpodParams 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 NewPodListLibpodParamsWithContext deprecated

func NewPodListLibpodParamsWithContext(ctx context.Context) *PodListLibpodParams

NewPodListLibpodParamsWithContext creates a new PodListLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.

func NewPodListLibpodParamsWithHTTPClient

func NewPodListLibpodParamsWithHTTPClient(client *http.Client) *PodListLibpodParams

NewPodListLibpodParamsWithHTTPClient creates a new PodListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodListLibpodParamsWithTimeout

func NewPodListLibpodParamsWithTimeout(timeout time.Duration) *PodListLibpodParams

NewPodListLibpodParamsWithTimeout creates a new PodListLibpodParams object with the ability to set a timeout on a request.

func (*PodListLibpodParams) SetContext deprecated

func (o *PodListLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod list libpod params.

Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.

func (*PodListLibpodParams) SetDefaults

func (o *PodListLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod list libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodListLibpodParams) SetFilters

func (o *PodListLibpodParams) SetFilters(filters *string)

SetFilters adds the filters to the pod list libpod params.

func (*PodListLibpodParams) SetHTTPClient

func (o *PodListLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod list libpod params.

func (*PodListLibpodParams) SetTimeout

func (o *PodListLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod list libpod params.

func (*PodListLibpodParams) WithContext deprecated

WithContext adds the context to the pod list libpod params.

Deprecated: use the operation call with context to pass the context instead of PodListLibpodParams.

func (*PodListLibpodParams) WithDefaults

func (o *PodListLibpodParams) WithDefaults() *PodListLibpodParams

WithDefaults hydrates default values in the pod list libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodListLibpodParams) WithFilters

func (o *PodListLibpodParams) WithFilters(filters *string) *PodListLibpodParams

WithFilters adds the filters to the pod list libpod params.

func (*PodListLibpodParams) WithHTTPClient

func (o *PodListLibpodParams) WithHTTPClient(client *http.Client) *PodListLibpodParams

WithHTTPClient adds the HTTPClient to the pod list libpod params.

func (*PodListLibpodParams) WithTimeout

func (o *PodListLibpodParams) WithTimeout(timeout time.Duration) *PodListLibpodParams

WithTimeout adds the timeout to the pod list libpod params.

func (*PodListLibpodParams) WriteToRequest

func (o *PodListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodListLibpodReader

type PodListLibpodReader struct {
	// contains filtered or unexported fields
}

PodListLibpodReader is a Reader for the PodListLibpod structure.

func (*PodListLibpodReader) ReadResponse

func (o *PodListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodPauseLibpodConflict

type PodPauseLibpodConflict struct {
	Payload *models.PodPauseReport
}

PodPauseLibpodConflict describes a response with status code 409, with default header values.

Pause pod

func NewPodPauseLibpodConflict

func NewPodPauseLibpodConflict() *PodPauseLibpodConflict

NewPodPauseLibpodConflict creates a PodPauseLibpodConflict with default headers values

func (*PodPauseLibpodConflict) Code

func (o *PodPauseLibpodConflict) Code() int

Code gets the status code for the pod pause libpod conflict response

func (*PodPauseLibpodConflict) Error

func (o *PodPauseLibpodConflict) Error() string

func (*PodPauseLibpodConflict) GetPayload

func (o *PodPauseLibpodConflict) GetPayload() *models.PodPauseReport

func (*PodPauseLibpodConflict) IsClientError

func (o *PodPauseLibpodConflict) IsClientError() bool

IsClientError returns true when this pod pause libpod conflict response has a 4xx status code

func (*PodPauseLibpodConflict) IsCode

func (o *PodPauseLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod pause libpod conflict response a status code equal to that given

func (*PodPauseLibpodConflict) IsRedirect

func (o *PodPauseLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod pause libpod conflict response has a 3xx status code

func (*PodPauseLibpodConflict) IsServerError

func (o *PodPauseLibpodConflict) IsServerError() bool

IsServerError returns true when this pod pause libpod conflict response has a 5xx status code

func (*PodPauseLibpodConflict) IsSuccess

func (o *PodPauseLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod pause libpod conflict response has a 2xx status code

func (*PodPauseLibpodConflict) String

func (o *PodPauseLibpodConflict) String() string

type PodPauseLibpodInternalServerError

type PodPauseLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodPauseLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodPauseLibpodInternalServerError

func NewPodPauseLibpodInternalServerError() *PodPauseLibpodInternalServerError

NewPodPauseLibpodInternalServerError creates a PodPauseLibpodInternalServerError with default headers values

func (*PodPauseLibpodInternalServerError) Code

Code gets the status code for the pod pause libpod internal server error response

func (*PodPauseLibpodInternalServerError) Error

func (*PodPauseLibpodInternalServerError) GetPayload

func (*PodPauseLibpodInternalServerError) IsClientError

func (o *PodPauseLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod pause libpod internal server error response has a 4xx status code

func (*PodPauseLibpodInternalServerError) IsCode

func (o *PodPauseLibpodInternalServerError) IsCode(code int) bool

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

func (*PodPauseLibpodInternalServerError) IsRedirect

func (o *PodPauseLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod pause libpod internal server error response has a 3xx status code

func (*PodPauseLibpodInternalServerError) IsServerError

func (o *PodPauseLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod pause libpod internal server error response has a 5xx status code

func (*PodPauseLibpodInternalServerError) IsSuccess

func (o *PodPauseLibpodInternalServerError) IsSuccess() bool

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

func (*PodPauseLibpodInternalServerError) String

type PodPauseLibpodNotFound

type PodPauseLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodPauseLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodPauseLibpodNotFound

func NewPodPauseLibpodNotFound() *PodPauseLibpodNotFound

NewPodPauseLibpodNotFound creates a PodPauseLibpodNotFound with default headers values

func (*PodPauseLibpodNotFound) Code

func (o *PodPauseLibpodNotFound) Code() int

Code gets the status code for the pod pause libpod not found response

func (*PodPauseLibpodNotFound) Error

func (o *PodPauseLibpodNotFound) Error() string

func (*PodPauseLibpodNotFound) GetPayload

func (o *PodPauseLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodPauseLibpodNotFound) IsClientError

func (o *PodPauseLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod pause libpod not found response has a 4xx status code

func (*PodPauseLibpodNotFound) IsCode

func (o *PodPauseLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod pause libpod not found response a status code equal to that given

func (*PodPauseLibpodNotFound) IsRedirect

func (o *PodPauseLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod pause libpod not found response has a 3xx status code

func (*PodPauseLibpodNotFound) IsServerError

func (o *PodPauseLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod pause libpod not found response has a 5xx status code

func (*PodPauseLibpodNotFound) IsSuccess

func (o *PodPauseLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod pause libpod not found response has a 2xx status code

func (*PodPauseLibpodNotFound) String

func (o *PodPauseLibpodNotFound) String() string

type PodPauseLibpodOK

type PodPauseLibpodOK struct {
	Payload *models.PodPauseReport
}

PodPauseLibpodOK describes a response with status code 200, with default header values.

Pause pod

func NewPodPauseLibpodOK

func NewPodPauseLibpodOK() *PodPauseLibpodOK

NewPodPauseLibpodOK creates a PodPauseLibpodOK with default headers values

func (*PodPauseLibpodOK) Code

func (o *PodPauseLibpodOK) Code() int

Code gets the status code for the pod pause libpod o k response

func (*PodPauseLibpodOK) Error

func (o *PodPauseLibpodOK) Error() string

func (*PodPauseLibpodOK) GetPayload

func (o *PodPauseLibpodOK) GetPayload() *models.PodPauseReport

func (*PodPauseLibpodOK) IsClientError

func (o *PodPauseLibpodOK) IsClientError() bool

IsClientError returns true when this pod pause libpod o k response has a 4xx status code

func (*PodPauseLibpodOK) IsCode

func (o *PodPauseLibpodOK) IsCode(code int) bool

IsCode returns true when this pod pause libpod o k response a status code equal to that given

func (*PodPauseLibpodOK) IsRedirect

func (o *PodPauseLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod pause libpod o k response has a 3xx status code

func (*PodPauseLibpodOK) IsServerError

func (o *PodPauseLibpodOK) IsServerError() bool

IsServerError returns true when this pod pause libpod o k response has a 5xx status code

func (*PodPauseLibpodOK) IsSuccess

func (o *PodPauseLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod pause libpod o k response has a 2xx status code

func (*PodPauseLibpodOK) String

func (o *PodPauseLibpodOK) String() string

type PodPauseLibpodParams

type PodPauseLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodPauseLibpodParams contains all the parameters to send to the API endpoint

for the pod pause libpod operation.

Typically these are written to a http.Request.

func NewPodPauseLibpodParams

func NewPodPauseLibpodParams() *PodPauseLibpodParams

NewPodPauseLibpodParams creates a new PodPauseLibpodParams 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 NewPodPauseLibpodParamsWithContext deprecated

func NewPodPauseLibpodParamsWithContext(ctx context.Context) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithContext creates a new PodPauseLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.

func NewPodPauseLibpodParamsWithHTTPClient

func NewPodPauseLibpodParamsWithHTTPClient(client *http.Client) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithHTTPClient creates a new PodPauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodPauseLibpodParamsWithTimeout

func NewPodPauseLibpodParamsWithTimeout(timeout time.Duration) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithTimeout creates a new PodPauseLibpodParams object with the ability to set a timeout on a request.

func (*PodPauseLibpodParams) SetContext deprecated

func (o *PodPauseLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod pause libpod params.

Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.

func (*PodPauseLibpodParams) SetDefaults

func (o *PodPauseLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod pause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPauseLibpodParams) SetHTTPClient

func (o *PodPauseLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod pause libpod params.

func (*PodPauseLibpodParams) SetName

func (o *PodPauseLibpodParams) SetName(name string)

SetName adds the name to the pod pause libpod params.

func (*PodPauseLibpodParams) SetTimeout

func (o *PodPauseLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod pause libpod params.

func (*PodPauseLibpodParams) WithContext deprecated

WithContext adds the context to the pod pause libpod params.

Deprecated: use the operation call with context to pass the context instead of PodPauseLibpodParams.

func (*PodPauseLibpodParams) WithDefaults

func (o *PodPauseLibpodParams) WithDefaults() *PodPauseLibpodParams

WithDefaults hydrates default values in the pod pause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPauseLibpodParams) WithHTTPClient

func (o *PodPauseLibpodParams) WithHTTPClient(client *http.Client) *PodPauseLibpodParams

WithHTTPClient adds the HTTPClient to the pod pause libpod params.

func (*PodPauseLibpodParams) WithName

WithName adds the name to the pod pause libpod params.

func (*PodPauseLibpodParams) WithTimeout

func (o *PodPauseLibpodParams) WithTimeout(timeout time.Duration) *PodPauseLibpodParams

WithTimeout adds the timeout to the pod pause libpod params.

func (*PodPauseLibpodParams) WriteToRequest

func (o *PodPauseLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodPauseLibpodReader

type PodPauseLibpodReader struct {
	// contains filtered or unexported fields
}

PodPauseLibpodReader is a Reader for the PodPauseLibpod structure.

func (*PodPauseLibpodReader) ReadResponse

func (o *PodPauseLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodPruneLibpodBadRequest

type PodPruneLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodPruneLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodPruneLibpodBadRequest

func NewPodPruneLibpodBadRequest() *PodPruneLibpodBadRequest

NewPodPruneLibpodBadRequest creates a PodPruneLibpodBadRequest with default headers values

func (*PodPruneLibpodBadRequest) Code

func (o *PodPruneLibpodBadRequest) Code() int

Code gets the status code for the pod prune libpod bad request response

func (*PodPruneLibpodBadRequest) Error

func (o *PodPruneLibpodBadRequest) Error() string

func (*PodPruneLibpodBadRequest) GetPayload

func (o *PodPruneLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodPruneLibpodBadRequest) IsClientError

func (o *PodPruneLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod prune libpod bad request response has a 4xx status code

func (*PodPruneLibpodBadRequest) IsCode

func (o *PodPruneLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod prune libpod bad request response a status code equal to that given

func (*PodPruneLibpodBadRequest) IsRedirect

func (o *PodPruneLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod prune libpod bad request response has a 3xx status code

func (*PodPruneLibpodBadRequest) IsServerError

func (o *PodPruneLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod prune libpod bad request response has a 5xx status code

func (*PodPruneLibpodBadRequest) IsSuccess

func (o *PodPruneLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod prune libpod bad request response has a 2xx status code

func (*PodPruneLibpodBadRequest) String

func (o *PodPruneLibpodBadRequest) String() string

type PodPruneLibpodConflict

type PodPruneLibpodConflict struct {
}

PodPruneLibpodConflict describes a response with status code 409, with default header values.

pod already exists

func NewPodPruneLibpodConflict

func NewPodPruneLibpodConflict() *PodPruneLibpodConflict

NewPodPruneLibpodConflict creates a PodPruneLibpodConflict with default headers values

func (*PodPruneLibpodConflict) Code

func (o *PodPruneLibpodConflict) Code() int

Code gets the status code for the pod prune libpod conflict response

func (*PodPruneLibpodConflict) Error

func (o *PodPruneLibpodConflict) Error() string

func (*PodPruneLibpodConflict) IsClientError

func (o *PodPruneLibpodConflict) IsClientError() bool

IsClientError returns true when this pod prune libpod conflict response has a 4xx status code

func (*PodPruneLibpodConflict) IsCode

func (o *PodPruneLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod prune libpod conflict response a status code equal to that given

func (*PodPruneLibpodConflict) IsRedirect

func (o *PodPruneLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod prune libpod conflict response has a 3xx status code

func (*PodPruneLibpodConflict) IsServerError

func (o *PodPruneLibpodConflict) IsServerError() bool

IsServerError returns true when this pod prune libpod conflict response has a 5xx status code

func (*PodPruneLibpodConflict) IsSuccess

func (o *PodPruneLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod prune libpod conflict response has a 2xx status code

func (*PodPruneLibpodConflict) String

func (o *PodPruneLibpodConflict) String() string

type PodPruneLibpodInternalServerError

type PodPruneLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodPruneLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodPruneLibpodInternalServerError

func NewPodPruneLibpodInternalServerError() *PodPruneLibpodInternalServerError

NewPodPruneLibpodInternalServerError creates a PodPruneLibpodInternalServerError with default headers values

func (*PodPruneLibpodInternalServerError) Code

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

func (*PodPruneLibpodInternalServerError) Error

func (*PodPruneLibpodInternalServerError) GetPayload

func (*PodPruneLibpodInternalServerError) IsClientError

func (o *PodPruneLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod prune libpod internal server error response has a 4xx status code

func (*PodPruneLibpodInternalServerError) IsCode

func (o *PodPruneLibpodInternalServerError) IsCode(code int) bool

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

func (*PodPruneLibpodInternalServerError) IsRedirect

func (o *PodPruneLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod prune libpod internal server error response has a 3xx status code

func (*PodPruneLibpodInternalServerError) IsServerError

func (o *PodPruneLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod prune libpod internal server error response has a 5xx status code

func (*PodPruneLibpodInternalServerError) IsSuccess

func (o *PodPruneLibpodInternalServerError) IsSuccess() bool

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

func (*PodPruneLibpodInternalServerError) String

type PodPruneLibpodOK

type PodPruneLibpodOK struct {
	Payload *models.PodPruneReport
}

PodPruneLibpodOK describes a response with status code 200, with default header values.

Prune pod

func NewPodPruneLibpodOK

func NewPodPruneLibpodOK() *PodPruneLibpodOK

NewPodPruneLibpodOK creates a PodPruneLibpodOK with default headers values

func (*PodPruneLibpodOK) Code

func (o *PodPruneLibpodOK) Code() int

Code gets the status code for the pod prune libpod o k response

func (*PodPruneLibpodOK) Error

func (o *PodPruneLibpodOK) Error() string

func (*PodPruneLibpodOK) GetPayload

func (o *PodPruneLibpodOK) GetPayload() *models.PodPruneReport

func (*PodPruneLibpodOK) IsClientError

func (o *PodPruneLibpodOK) IsClientError() bool

IsClientError returns true when this pod prune libpod o k response has a 4xx status code

func (*PodPruneLibpodOK) IsCode

func (o *PodPruneLibpodOK) IsCode(code int) bool

IsCode returns true when this pod prune libpod o k response a status code equal to that given

func (*PodPruneLibpodOK) IsRedirect

func (o *PodPruneLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod prune libpod o k response has a 3xx status code

func (*PodPruneLibpodOK) IsServerError

func (o *PodPruneLibpodOK) IsServerError() bool

IsServerError returns true when this pod prune libpod o k response has a 5xx status code

func (*PodPruneLibpodOK) IsSuccess

func (o *PodPruneLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod prune libpod o k response has a 2xx status code

func (*PodPruneLibpodOK) String

func (o *PodPruneLibpodOK) String() string

type PodPruneLibpodParams

type PodPruneLibpodParams struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodPruneLibpodParams contains all the parameters to send to the API endpoint

for the pod prune libpod operation.

Typically these are written to a http.Request.

func NewPodPruneLibpodParams

func NewPodPruneLibpodParams() *PodPruneLibpodParams

NewPodPruneLibpodParams creates a new PodPruneLibpodParams 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 NewPodPruneLibpodParamsWithContext deprecated

func NewPodPruneLibpodParamsWithContext(ctx context.Context) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithContext creates a new PodPruneLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.

func NewPodPruneLibpodParamsWithHTTPClient

func NewPodPruneLibpodParamsWithHTTPClient(client *http.Client) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithHTTPClient creates a new PodPruneLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodPruneLibpodParamsWithTimeout

func NewPodPruneLibpodParamsWithTimeout(timeout time.Duration) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithTimeout creates a new PodPruneLibpodParams object with the ability to set a timeout on a request.

func (*PodPruneLibpodParams) SetContext deprecated

func (o *PodPruneLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod prune libpod params.

Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.

func (*PodPruneLibpodParams) SetDefaults

func (o *PodPruneLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod prune libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPruneLibpodParams) SetHTTPClient

func (o *PodPruneLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod prune libpod params.

func (*PodPruneLibpodParams) SetTimeout

func (o *PodPruneLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod prune libpod params.

func (*PodPruneLibpodParams) WithContext deprecated

WithContext adds the context to the pod prune libpod params.

Deprecated: use the operation call with context to pass the context instead of PodPruneLibpodParams.

func (*PodPruneLibpodParams) WithDefaults

func (o *PodPruneLibpodParams) WithDefaults() *PodPruneLibpodParams

WithDefaults hydrates default values in the pod prune libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPruneLibpodParams) WithHTTPClient

func (o *PodPruneLibpodParams) WithHTTPClient(client *http.Client) *PodPruneLibpodParams

WithHTTPClient adds the HTTPClient to the pod prune libpod params.

func (*PodPruneLibpodParams) WithTimeout

func (o *PodPruneLibpodParams) WithTimeout(timeout time.Duration) *PodPruneLibpodParams

WithTimeout adds the timeout to the pod prune libpod params.

func (*PodPruneLibpodParams) WriteToRequest

func (o *PodPruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodPruneLibpodReader

type PodPruneLibpodReader struct {
	// contains filtered or unexported fields
}

PodPruneLibpodReader is a Reader for the PodPruneLibpod structure.

func (*PodPruneLibpodReader) ReadResponse

func (o *PodPruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodRestartLibpodConflict

type PodRestartLibpodConflict struct {
	Payload *models.PodRestartReport
}

PodRestartLibpodConflict describes a response with status code 409, with default header values.

Restart pod

func NewPodRestartLibpodConflict

func NewPodRestartLibpodConflict() *PodRestartLibpodConflict

NewPodRestartLibpodConflict creates a PodRestartLibpodConflict with default headers values

func (*PodRestartLibpodConflict) Code

func (o *PodRestartLibpodConflict) Code() int

Code gets the status code for the pod restart libpod conflict response

func (*PodRestartLibpodConflict) Error

func (o *PodRestartLibpodConflict) Error() string

func (*PodRestartLibpodConflict) GetPayload

func (*PodRestartLibpodConflict) IsClientError

func (o *PodRestartLibpodConflict) IsClientError() bool

IsClientError returns true when this pod restart libpod conflict response has a 4xx status code

func (*PodRestartLibpodConflict) IsCode

func (o *PodRestartLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod restart libpod conflict response a status code equal to that given

func (*PodRestartLibpodConflict) IsRedirect

func (o *PodRestartLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod restart libpod conflict response has a 3xx status code

func (*PodRestartLibpodConflict) IsServerError

func (o *PodRestartLibpodConflict) IsServerError() bool

IsServerError returns true when this pod restart libpod conflict response has a 5xx status code

func (*PodRestartLibpodConflict) IsSuccess

func (o *PodRestartLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod restart libpod conflict response has a 2xx status code

func (*PodRestartLibpodConflict) String

func (o *PodRestartLibpodConflict) String() string

type PodRestartLibpodInternalServerError

type PodRestartLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodRestartLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodRestartLibpodInternalServerError

func NewPodRestartLibpodInternalServerError() *PodRestartLibpodInternalServerError

NewPodRestartLibpodInternalServerError creates a PodRestartLibpodInternalServerError with default headers values

func (*PodRestartLibpodInternalServerError) Code

Code gets the status code for the pod restart libpod internal server error response

func (*PodRestartLibpodInternalServerError) Error

func (*PodRestartLibpodInternalServerError) GetPayload

func (*PodRestartLibpodInternalServerError) IsClientError

func (o *PodRestartLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod restart libpod internal server error response has a 4xx status code

func (*PodRestartLibpodInternalServerError) IsCode

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

func (*PodRestartLibpodInternalServerError) IsRedirect

func (o *PodRestartLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod restart libpod internal server error response has a 3xx status code

func (*PodRestartLibpodInternalServerError) IsServerError

func (o *PodRestartLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod restart libpod internal server error response has a 5xx status code

func (*PodRestartLibpodInternalServerError) IsSuccess

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

func (*PodRestartLibpodInternalServerError) String

type PodRestartLibpodNotFound

type PodRestartLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodRestartLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodRestartLibpodNotFound

func NewPodRestartLibpodNotFound() *PodRestartLibpodNotFound

NewPodRestartLibpodNotFound creates a PodRestartLibpodNotFound with default headers values

func (*PodRestartLibpodNotFound) Code

func (o *PodRestartLibpodNotFound) Code() int

Code gets the status code for the pod restart libpod not found response

func (*PodRestartLibpodNotFound) Error

func (o *PodRestartLibpodNotFound) Error() string

func (*PodRestartLibpodNotFound) GetPayload

func (o *PodRestartLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodRestartLibpodNotFound) IsClientError

func (o *PodRestartLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod restart libpod not found response has a 4xx status code

func (*PodRestartLibpodNotFound) IsCode

func (o *PodRestartLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod restart libpod not found response a status code equal to that given

func (*PodRestartLibpodNotFound) IsRedirect

func (o *PodRestartLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod restart libpod not found response has a 3xx status code

func (*PodRestartLibpodNotFound) IsServerError

func (o *PodRestartLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod restart libpod not found response has a 5xx status code

func (*PodRestartLibpodNotFound) IsSuccess

func (o *PodRestartLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod restart libpod not found response has a 2xx status code

func (*PodRestartLibpodNotFound) String

func (o *PodRestartLibpodNotFound) String() string

type PodRestartLibpodOK

type PodRestartLibpodOK struct {
	Payload *models.PodRestartReport
}

PodRestartLibpodOK describes a response with status code 200, with default header values.

Restart pod

func NewPodRestartLibpodOK

func NewPodRestartLibpodOK() *PodRestartLibpodOK

NewPodRestartLibpodOK creates a PodRestartLibpodOK with default headers values

func (*PodRestartLibpodOK) Code

func (o *PodRestartLibpodOK) Code() int

Code gets the status code for the pod restart libpod o k response

func (*PodRestartLibpodOK) Error

func (o *PodRestartLibpodOK) Error() string

func (*PodRestartLibpodOK) GetPayload

func (o *PodRestartLibpodOK) GetPayload() *models.PodRestartReport

func (*PodRestartLibpodOK) IsClientError

func (o *PodRestartLibpodOK) IsClientError() bool

IsClientError returns true when this pod restart libpod o k response has a 4xx status code

func (*PodRestartLibpodOK) IsCode

func (o *PodRestartLibpodOK) IsCode(code int) bool

IsCode returns true when this pod restart libpod o k response a status code equal to that given

func (*PodRestartLibpodOK) IsRedirect

func (o *PodRestartLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod restart libpod o k response has a 3xx status code

func (*PodRestartLibpodOK) IsServerError

func (o *PodRestartLibpodOK) IsServerError() bool

IsServerError returns true when this pod restart libpod o k response has a 5xx status code

func (*PodRestartLibpodOK) IsSuccess

func (o *PodRestartLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod restart libpod o k response has a 2xx status code

func (*PodRestartLibpodOK) String

func (o *PodRestartLibpodOK) String() string

type PodRestartLibpodParams

type PodRestartLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodRestartLibpodParams contains all the parameters to send to the API endpoint

for the pod restart libpod operation.

Typically these are written to a http.Request.

func NewPodRestartLibpodParams

func NewPodRestartLibpodParams() *PodRestartLibpodParams

NewPodRestartLibpodParams creates a new PodRestartLibpodParams 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 NewPodRestartLibpodParamsWithContext deprecated

func NewPodRestartLibpodParamsWithContext(ctx context.Context) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithContext creates a new PodRestartLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.

func NewPodRestartLibpodParamsWithHTTPClient

func NewPodRestartLibpodParamsWithHTTPClient(client *http.Client) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithHTTPClient creates a new PodRestartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodRestartLibpodParamsWithTimeout

func NewPodRestartLibpodParamsWithTimeout(timeout time.Duration) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithTimeout creates a new PodRestartLibpodParams object with the ability to set a timeout on a request.

func (*PodRestartLibpodParams) SetContext deprecated

func (o *PodRestartLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod restart libpod params.

Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.

func (*PodRestartLibpodParams) SetDefaults

func (o *PodRestartLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod restart libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodRestartLibpodParams) SetHTTPClient

func (o *PodRestartLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod restart libpod params.

func (*PodRestartLibpodParams) SetName

func (o *PodRestartLibpodParams) SetName(name string)

SetName adds the name to the pod restart libpod params.

func (*PodRestartLibpodParams) SetTimeout

func (o *PodRestartLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod restart libpod params.

func (*PodRestartLibpodParams) WithContext deprecated

WithContext adds the context to the pod restart libpod params.

Deprecated: use the operation call with context to pass the context instead of PodRestartLibpodParams.

func (*PodRestartLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod restart libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodRestartLibpodParams) WithHTTPClient

func (o *PodRestartLibpodParams) WithHTTPClient(client *http.Client) *PodRestartLibpodParams

WithHTTPClient adds the HTTPClient to the pod restart libpod params.

func (*PodRestartLibpodParams) WithName

WithName adds the name to the pod restart libpod params.

func (*PodRestartLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod restart libpod params.

func (*PodRestartLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PodRestartLibpodReader

type PodRestartLibpodReader struct {
	// contains filtered or unexported fields
}

PodRestartLibpodReader is a Reader for the PodRestartLibpod structure.

func (*PodRestartLibpodReader) ReadResponse

func (o *PodRestartLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodStartLibpodConflict

type PodStartLibpodConflict struct {
	Payload *models.PodStartReport
}

PodStartLibpodConflict describes a response with status code 409, with default header values.

Start pod

func NewPodStartLibpodConflict

func NewPodStartLibpodConflict() *PodStartLibpodConflict

NewPodStartLibpodConflict creates a PodStartLibpodConflict with default headers values

func (*PodStartLibpodConflict) Code

func (o *PodStartLibpodConflict) Code() int

Code gets the status code for the pod start libpod conflict response

func (*PodStartLibpodConflict) Error

func (o *PodStartLibpodConflict) Error() string

func (*PodStartLibpodConflict) GetPayload

func (o *PodStartLibpodConflict) GetPayload() *models.PodStartReport

func (*PodStartLibpodConflict) IsClientError

func (o *PodStartLibpodConflict) IsClientError() bool

IsClientError returns true when this pod start libpod conflict response has a 4xx status code

func (*PodStartLibpodConflict) IsCode

func (o *PodStartLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod start libpod conflict response a status code equal to that given

func (*PodStartLibpodConflict) IsRedirect

func (o *PodStartLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod start libpod conflict response has a 3xx status code

func (*PodStartLibpodConflict) IsServerError

func (o *PodStartLibpodConflict) IsServerError() bool

IsServerError returns true when this pod start libpod conflict response has a 5xx status code

func (*PodStartLibpodConflict) IsSuccess

func (o *PodStartLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod start libpod conflict response has a 2xx status code

func (*PodStartLibpodConflict) String

func (o *PodStartLibpodConflict) String() string

type PodStartLibpodInternalServerError

type PodStartLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodStartLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStartLibpodInternalServerError

func NewPodStartLibpodInternalServerError() *PodStartLibpodInternalServerError

NewPodStartLibpodInternalServerError creates a PodStartLibpodInternalServerError with default headers values

func (*PodStartLibpodInternalServerError) Code

Code gets the status code for the pod start libpod internal server error response

func (*PodStartLibpodInternalServerError) Error

func (*PodStartLibpodInternalServerError) GetPayload

func (*PodStartLibpodInternalServerError) IsClientError

func (o *PodStartLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod start libpod internal server error response has a 4xx status code

func (*PodStartLibpodInternalServerError) IsCode

func (o *PodStartLibpodInternalServerError) IsCode(code int) bool

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

func (*PodStartLibpodInternalServerError) IsRedirect

func (o *PodStartLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod start libpod internal server error response has a 3xx status code

func (*PodStartLibpodInternalServerError) IsServerError

func (o *PodStartLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod start libpod internal server error response has a 5xx status code

func (*PodStartLibpodInternalServerError) IsSuccess

func (o *PodStartLibpodInternalServerError) IsSuccess() bool

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

func (*PodStartLibpodInternalServerError) String

type PodStartLibpodNotFound

type PodStartLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodStartLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStartLibpodNotFound

func NewPodStartLibpodNotFound() *PodStartLibpodNotFound

NewPodStartLibpodNotFound creates a PodStartLibpodNotFound with default headers values

func (*PodStartLibpodNotFound) Code

func (o *PodStartLibpodNotFound) Code() int

Code gets the status code for the pod start libpod not found response

func (*PodStartLibpodNotFound) Error

func (o *PodStartLibpodNotFound) Error() string

func (*PodStartLibpodNotFound) GetPayload

func (o *PodStartLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodStartLibpodNotFound) IsClientError

func (o *PodStartLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod start libpod not found response has a 4xx status code

func (*PodStartLibpodNotFound) IsCode

func (o *PodStartLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod start libpod not found response a status code equal to that given

func (*PodStartLibpodNotFound) IsRedirect

func (o *PodStartLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod start libpod not found response has a 3xx status code

func (*PodStartLibpodNotFound) IsServerError

func (o *PodStartLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod start libpod not found response has a 5xx status code

func (*PodStartLibpodNotFound) IsSuccess

func (o *PodStartLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod start libpod not found response has a 2xx status code

func (*PodStartLibpodNotFound) String

func (o *PodStartLibpodNotFound) String() string

type PodStartLibpodNotModified

type PodStartLibpodNotModified struct {
	Payload *models.ErrorModel
}

PodStartLibpodNotModified describes a response with status code 304, with default header values.

Pod already started

func NewPodStartLibpodNotModified

func NewPodStartLibpodNotModified() *PodStartLibpodNotModified

NewPodStartLibpodNotModified creates a PodStartLibpodNotModified with default headers values

func (*PodStartLibpodNotModified) Code

func (o *PodStartLibpodNotModified) Code() int

Code gets the status code for the pod start libpod not modified response

func (*PodStartLibpodNotModified) Error

func (o *PodStartLibpodNotModified) Error() string

func (*PodStartLibpodNotModified) GetPayload

func (o *PodStartLibpodNotModified) GetPayload() *models.ErrorModel

func (*PodStartLibpodNotModified) IsClientError

func (o *PodStartLibpodNotModified) IsClientError() bool

IsClientError returns true when this pod start libpod not modified response has a 4xx status code

func (*PodStartLibpodNotModified) IsCode

func (o *PodStartLibpodNotModified) IsCode(code int) bool

IsCode returns true when this pod start libpod not modified response a status code equal to that given

func (*PodStartLibpodNotModified) IsRedirect

func (o *PodStartLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this pod start libpod not modified response has a 3xx status code

func (*PodStartLibpodNotModified) IsServerError

func (o *PodStartLibpodNotModified) IsServerError() bool

IsServerError returns true when this pod start libpod not modified response has a 5xx status code

func (*PodStartLibpodNotModified) IsSuccess

func (o *PodStartLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this pod start libpod not modified response has a 2xx status code

func (*PodStartLibpodNotModified) String

func (o *PodStartLibpodNotModified) String() string

type PodStartLibpodOK

type PodStartLibpodOK struct {
	Payload *models.PodStartReport
}

PodStartLibpodOK describes a response with status code 200, with default header values.

Start pod

func NewPodStartLibpodOK

func NewPodStartLibpodOK() *PodStartLibpodOK

NewPodStartLibpodOK creates a PodStartLibpodOK with default headers values

func (*PodStartLibpodOK) Code

func (o *PodStartLibpodOK) Code() int

Code gets the status code for the pod start libpod o k response

func (*PodStartLibpodOK) Error

func (o *PodStartLibpodOK) Error() string

func (*PodStartLibpodOK) GetPayload

func (o *PodStartLibpodOK) GetPayload() *models.PodStartReport

func (*PodStartLibpodOK) IsClientError

func (o *PodStartLibpodOK) IsClientError() bool

IsClientError returns true when this pod start libpod o k response has a 4xx status code

func (*PodStartLibpodOK) IsCode

func (o *PodStartLibpodOK) IsCode(code int) bool

IsCode returns true when this pod start libpod o k response a status code equal to that given

func (*PodStartLibpodOK) IsRedirect

func (o *PodStartLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod start libpod o k response has a 3xx status code

func (*PodStartLibpodOK) IsServerError

func (o *PodStartLibpodOK) IsServerError() bool

IsServerError returns true when this pod start libpod o k response has a 5xx status code

func (*PodStartLibpodOK) IsSuccess

func (o *PodStartLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod start libpod o k response has a 2xx status code

func (*PodStartLibpodOK) String

func (o *PodStartLibpodOK) String() string

type PodStartLibpodParams

type PodStartLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodStartLibpodParams contains all the parameters to send to the API endpoint

for the pod start libpod operation.

Typically these are written to a http.Request.

func NewPodStartLibpodParams

func NewPodStartLibpodParams() *PodStartLibpodParams

NewPodStartLibpodParams creates a new PodStartLibpodParams 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 NewPodStartLibpodParamsWithContext deprecated

func NewPodStartLibpodParamsWithContext(ctx context.Context) *PodStartLibpodParams

NewPodStartLibpodParamsWithContext creates a new PodStartLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.

func NewPodStartLibpodParamsWithHTTPClient

func NewPodStartLibpodParamsWithHTTPClient(client *http.Client) *PodStartLibpodParams

NewPodStartLibpodParamsWithHTTPClient creates a new PodStartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStartLibpodParamsWithTimeout

func NewPodStartLibpodParamsWithTimeout(timeout time.Duration) *PodStartLibpodParams

NewPodStartLibpodParamsWithTimeout creates a new PodStartLibpodParams object with the ability to set a timeout on a request.

func (*PodStartLibpodParams) SetContext deprecated

func (o *PodStartLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod start libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.

func (*PodStartLibpodParams) SetDefaults

func (o *PodStartLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod start libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStartLibpodParams) SetHTTPClient

func (o *PodStartLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod start libpod params.

func (*PodStartLibpodParams) SetName

func (o *PodStartLibpodParams) SetName(name string)

SetName adds the name to the pod start libpod params.

func (*PodStartLibpodParams) SetTimeout

func (o *PodStartLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod start libpod params.

func (*PodStartLibpodParams) WithContext deprecated

WithContext adds the context to the pod start libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStartLibpodParams.

func (*PodStartLibpodParams) WithDefaults

func (o *PodStartLibpodParams) WithDefaults() *PodStartLibpodParams

WithDefaults hydrates default values in the pod start libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStartLibpodParams) WithHTTPClient

func (o *PodStartLibpodParams) WithHTTPClient(client *http.Client) *PodStartLibpodParams

WithHTTPClient adds the HTTPClient to the pod start libpod params.

func (*PodStartLibpodParams) WithName

WithName adds the name to the pod start libpod params.

func (*PodStartLibpodParams) WithTimeout

func (o *PodStartLibpodParams) WithTimeout(timeout time.Duration) *PodStartLibpodParams

WithTimeout adds the timeout to the pod start libpod params.

func (*PodStartLibpodParams) WriteToRequest

func (o *PodStartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodStartLibpodReader

type PodStartLibpodReader struct {
	// contains filtered or unexported fields
}

PodStartLibpodReader is a Reader for the PodStartLibpod structure.

func (*PodStartLibpodReader) ReadResponse

func (o *PodStartLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodStatsAllLibpodInternalServerError

type PodStatsAllLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodStatsAllLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStatsAllLibpodInternalServerError

func NewPodStatsAllLibpodInternalServerError() *PodStatsAllLibpodInternalServerError

NewPodStatsAllLibpodInternalServerError creates a PodStatsAllLibpodInternalServerError with default headers values

func (*PodStatsAllLibpodInternalServerError) Code

Code gets the status code for the pod stats all libpod internal server error response

func (*PodStatsAllLibpodInternalServerError) Error

func (*PodStatsAllLibpodInternalServerError) GetPayload

func (*PodStatsAllLibpodInternalServerError) IsClientError

func (o *PodStatsAllLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod stats all libpod internal server error response has a 4xx status code

func (*PodStatsAllLibpodInternalServerError) IsCode

IsCode returns true when this pod stats all libpod internal server error response a status code equal to that given

func (*PodStatsAllLibpodInternalServerError) IsRedirect

IsRedirect returns true when this pod stats all libpod internal server error response has a 3xx status code

func (*PodStatsAllLibpodInternalServerError) IsServerError

func (o *PodStatsAllLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod stats all libpod internal server error response has a 5xx status code

func (*PodStatsAllLibpodInternalServerError) IsSuccess

IsSuccess returns true when this pod stats all libpod internal server error response has a 2xx status code

func (*PodStatsAllLibpodInternalServerError) String

type PodStatsAllLibpodNotFound

type PodStatsAllLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodStatsAllLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStatsAllLibpodNotFound

func NewPodStatsAllLibpodNotFound() *PodStatsAllLibpodNotFound

NewPodStatsAllLibpodNotFound creates a PodStatsAllLibpodNotFound with default headers values

func (*PodStatsAllLibpodNotFound) Code

func (o *PodStatsAllLibpodNotFound) Code() int

Code gets the status code for the pod stats all libpod not found response

func (*PodStatsAllLibpodNotFound) Error

func (o *PodStatsAllLibpodNotFound) Error() string

func (*PodStatsAllLibpodNotFound) GetPayload

func (o *PodStatsAllLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodStatsAllLibpodNotFound) IsClientError

func (o *PodStatsAllLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod stats all libpod not found response has a 4xx status code

func (*PodStatsAllLibpodNotFound) IsCode

func (o *PodStatsAllLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod stats all libpod not found response a status code equal to that given

func (*PodStatsAllLibpodNotFound) IsRedirect

func (o *PodStatsAllLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod stats all libpod not found response has a 3xx status code

func (*PodStatsAllLibpodNotFound) IsServerError

func (o *PodStatsAllLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod stats all libpod not found response has a 5xx status code

func (*PodStatsAllLibpodNotFound) IsSuccess

func (o *PodStatsAllLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod stats all libpod not found response has a 2xx status code

func (*PodStatsAllLibpodNotFound) String

func (o *PodStatsAllLibpodNotFound) String() string

type PodStatsAllLibpodOK

type PodStatsAllLibpodOK struct {
	Payload []*models.PodStatsReport
}

PodStatsAllLibpodOK describes a response with status code 200, with default header values.

Pod Statistics

func NewPodStatsAllLibpodOK

func NewPodStatsAllLibpodOK() *PodStatsAllLibpodOK

NewPodStatsAllLibpodOK creates a PodStatsAllLibpodOK with default headers values

func (*PodStatsAllLibpodOK) Code

func (o *PodStatsAllLibpodOK) Code() int

Code gets the status code for the pod stats all libpod o k response

func (*PodStatsAllLibpodOK) Error

func (o *PodStatsAllLibpodOK) Error() string

func (*PodStatsAllLibpodOK) GetPayload

func (o *PodStatsAllLibpodOK) GetPayload() []*models.PodStatsReport

func (*PodStatsAllLibpodOK) IsClientError

func (o *PodStatsAllLibpodOK) IsClientError() bool

IsClientError returns true when this pod stats all libpod o k response has a 4xx status code

func (*PodStatsAllLibpodOK) IsCode

func (o *PodStatsAllLibpodOK) IsCode(code int) bool

IsCode returns true when this pod stats all libpod o k response a status code equal to that given

func (*PodStatsAllLibpodOK) IsRedirect

func (o *PodStatsAllLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod stats all libpod o k response has a 3xx status code

func (*PodStatsAllLibpodOK) IsServerError

func (o *PodStatsAllLibpodOK) IsServerError() bool

IsServerError returns true when this pod stats all libpod o k response has a 5xx status code

func (*PodStatsAllLibpodOK) IsSuccess

func (o *PodStatsAllLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod stats all libpod o k response has a 2xx status code

func (*PodStatsAllLibpodOK) String

func (o *PodStatsAllLibpodOK) String() string

type PodStatsAllLibpodParams

type PodStatsAllLibpodParams struct {

	// All.
	//
	// Provide statistics for all running pods.
	All *bool

	// Delay.
	//
	// Time in seconds between stats reports
	//
	// Default: 5
	Delay *int64

	// NamesOrIDs.
	//
	// Names or IDs of pods.
	NamesOrIDs []string

	// Stream.
	//
	// Stream the output
	Stream *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodStatsAllLibpodParams contains all the parameters to send to the API endpoint

for the pod stats all libpod operation.

Typically these are written to a http.Request.

func NewPodStatsAllLibpodParams

func NewPodStatsAllLibpodParams() *PodStatsAllLibpodParams

NewPodStatsAllLibpodParams creates a new PodStatsAllLibpodParams 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 NewPodStatsAllLibpodParamsWithContext deprecated

func NewPodStatsAllLibpodParamsWithContext(ctx context.Context) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithContext creates a new PodStatsAllLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.

func NewPodStatsAllLibpodParamsWithHTTPClient

func NewPodStatsAllLibpodParamsWithHTTPClient(client *http.Client) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithHTTPClient creates a new PodStatsAllLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStatsAllLibpodParamsWithTimeout

func NewPodStatsAllLibpodParamsWithTimeout(timeout time.Duration) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithTimeout creates a new PodStatsAllLibpodParams object with the ability to set a timeout on a request.

func (*PodStatsAllLibpodParams) SetAll

func (o *PodStatsAllLibpodParams) SetAll(all *bool)

SetAll adds the all to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) SetContext deprecated

func (o *PodStatsAllLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod stats all libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.

func (*PodStatsAllLibpodParams) SetDefaults

func (o *PodStatsAllLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStatsAllLibpodParams) SetDelay

func (o *PodStatsAllLibpodParams) SetDelay(delay *int64)

SetDelay adds the delay to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) SetHTTPClient

func (o *PodStatsAllLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) SetNamesOrIDs

func (o *PodStatsAllLibpodParams) SetNamesOrIDs(namesOrIDs []string)

SetNamesOrIDs adds the namesOrIds to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) SetStream

func (o *PodStatsAllLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) SetTimeout

func (o *PodStatsAllLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithAll

WithAll adds the all to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithContext deprecated

WithContext adds the context to the pod stats all libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStatsAllLibpodParams.

func (*PodStatsAllLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStatsAllLibpodParams) WithDelay

WithDelay adds the delay to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithHTTPClient

func (o *PodStatsAllLibpodParams) WithHTTPClient(client *http.Client) *PodStatsAllLibpodParams

WithHTTPClient adds the HTTPClient to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithNamesOrIDs

func (o *PodStatsAllLibpodParams) WithNamesOrIDs(namesOrIDs []string) *PodStatsAllLibpodParams

WithNamesOrIDs adds the namesOrIDs to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithStream

func (o *PodStatsAllLibpodParams) WithStream(stream *bool) *PodStatsAllLibpodParams

WithStream adds the stream to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod stats all libpod params.

func (*PodStatsAllLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PodStatsAllLibpodReader

type PodStatsAllLibpodReader struct {
	// contains filtered or unexported fields
}

PodStatsAllLibpodReader is a Reader for the PodStatsAllLibpod structure.

func (*PodStatsAllLibpodReader) ReadResponse

func (o *PodStatsAllLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodStopLibpodBadRequest

type PodStopLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PodStopLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodStopLibpodBadRequest

func NewPodStopLibpodBadRequest() *PodStopLibpodBadRequest

NewPodStopLibpodBadRequest creates a PodStopLibpodBadRequest with default headers values

func (*PodStopLibpodBadRequest) Code

func (o *PodStopLibpodBadRequest) Code() int

Code gets the status code for the pod stop libpod bad request response

func (*PodStopLibpodBadRequest) Error

func (o *PodStopLibpodBadRequest) Error() string

func (*PodStopLibpodBadRequest) GetPayload

func (o *PodStopLibpodBadRequest) GetPayload() *models.ErrorModel

func (*PodStopLibpodBadRequest) IsClientError

func (o *PodStopLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod stop libpod bad request response has a 4xx status code

func (*PodStopLibpodBadRequest) IsCode

func (o *PodStopLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod stop libpod bad request response a status code equal to that given

func (*PodStopLibpodBadRequest) IsRedirect

func (o *PodStopLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod stop libpod bad request response has a 3xx status code

func (*PodStopLibpodBadRequest) IsServerError

func (o *PodStopLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod stop libpod bad request response has a 5xx status code

func (*PodStopLibpodBadRequest) IsSuccess

func (o *PodStopLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod stop libpod bad request response has a 2xx status code

func (*PodStopLibpodBadRequest) String

func (o *PodStopLibpodBadRequest) String() string

type PodStopLibpodConflict

type PodStopLibpodConflict struct {
	Payload *models.PodStopReport
}

PodStopLibpodConflict describes a response with status code 409, with default header values.

Stop pod

func NewPodStopLibpodConflict

func NewPodStopLibpodConflict() *PodStopLibpodConflict

NewPodStopLibpodConflict creates a PodStopLibpodConflict with default headers values

func (*PodStopLibpodConflict) Code

func (o *PodStopLibpodConflict) Code() int

Code gets the status code for the pod stop libpod conflict response

func (*PodStopLibpodConflict) Error

func (o *PodStopLibpodConflict) Error() string

func (*PodStopLibpodConflict) GetPayload

func (o *PodStopLibpodConflict) GetPayload() *models.PodStopReport

func (*PodStopLibpodConflict) IsClientError

func (o *PodStopLibpodConflict) IsClientError() bool

IsClientError returns true when this pod stop libpod conflict response has a 4xx status code

func (*PodStopLibpodConflict) IsCode

func (o *PodStopLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod stop libpod conflict response a status code equal to that given

func (*PodStopLibpodConflict) IsRedirect

func (o *PodStopLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod stop libpod conflict response has a 3xx status code

func (*PodStopLibpodConflict) IsServerError

func (o *PodStopLibpodConflict) IsServerError() bool

IsServerError returns true when this pod stop libpod conflict response has a 5xx status code

func (*PodStopLibpodConflict) IsSuccess

func (o *PodStopLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod stop libpod conflict response has a 2xx status code

func (*PodStopLibpodConflict) String

func (o *PodStopLibpodConflict) String() string

type PodStopLibpodInternalServerError

type PodStopLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodStopLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStopLibpodInternalServerError

func NewPodStopLibpodInternalServerError() *PodStopLibpodInternalServerError

NewPodStopLibpodInternalServerError creates a PodStopLibpodInternalServerError with default headers values

func (*PodStopLibpodInternalServerError) Code

Code gets the status code for the pod stop libpod internal server error response

func (*PodStopLibpodInternalServerError) Error

func (*PodStopLibpodInternalServerError) GetPayload

func (*PodStopLibpodInternalServerError) IsClientError

func (o *PodStopLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod stop libpod internal server error response has a 4xx status code

func (*PodStopLibpodInternalServerError) IsCode

func (o *PodStopLibpodInternalServerError) IsCode(code int) bool

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

func (*PodStopLibpodInternalServerError) IsRedirect

func (o *PodStopLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod stop libpod internal server error response has a 3xx status code

func (*PodStopLibpodInternalServerError) IsServerError

func (o *PodStopLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod stop libpod internal server error response has a 5xx status code

func (*PodStopLibpodInternalServerError) IsSuccess

func (o *PodStopLibpodInternalServerError) IsSuccess() bool

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

func (*PodStopLibpodInternalServerError) String

type PodStopLibpodNotFound

type PodStopLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodStopLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStopLibpodNotFound

func NewPodStopLibpodNotFound() *PodStopLibpodNotFound

NewPodStopLibpodNotFound creates a PodStopLibpodNotFound with default headers values

func (*PodStopLibpodNotFound) Code

func (o *PodStopLibpodNotFound) Code() int

Code gets the status code for the pod stop libpod not found response

func (*PodStopLibpodNotFound) Error

func (o *PodStopLibpodNotFound) Error() string

func (*PodStopLibpodNotFound) GetPayload

func (o *PodStopLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodStopLibpodNotFound) IsClientError

func (o *PodStopLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod stop libpod not found response has a 4xx status code

func (*PodStopLibpodNotFound) IsCode

func (o *PodStopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod stop libpod not found response a status code equal to that given

func (*PodStopLibpodNotFound) IsRedirect

func (o *PodStopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod stop libpod not found response has a 3xx status code

func (*PodStopLibpodNotFound) IsServerError

func (o *PodStopLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod stop libpod not found response has a 5xx status code

func (*PodStopLibpodNotFound) IsSuccess

func (o *PodStopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod stop libpod not found response has a 2xx status code

func (*PodStopLibpodNotFound) String

func (o *PodStopLibpodNotFound) String() string

type PodStopLibpodNotModified

type PodStopLibpodNotModified struct {
	Payload *models.ErrorModel
}

PodStopLibpodNotModified describes a response with status code 304, with default header values.

Pod already stopped

func NewPodStopLibpodNotModified

func NewPodStopLibpodNotModified() *PodStopLibpodNotModified

NewPodStopLibpodNotModified creates a PodStopLibpodNotModified with default headers values

func (*PodStopLibpodNotModified) Code

func (o *PodStopLibpodNotModified) Code() int

Code gets the status code for the pod stop libpod not modified response

func (*PodStopLibpodNotModified) Error

func (o *PodStopLibpodNotModified) Error() string

func (*PodStopLibpodNotModified) GetPayload

func (o *PodStopLibpodNotModified) GetPayload() *models.ErrorModel

func (*PodStopLibpodNotModified) IsClientError

func (o *PodStopLibpodNotModified) IsClientError() bool

IsClientError returns true when this pod stop libpod not modified response has a 4xx status code

func (*PodStopLibpodNotModified) IsCode

func (o *PodStopLibpodNotModified) IsCode(code int) bool

IsCode returns true when this pod stop libpod not modified response a status code equal to that given

func (*PodStopLibpodNotModified) IsRedirect

func (o *PodStopLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this pod stop libpod not modified response has a 3xx status code

func (*PodStopLibpodNotModified) IsServerError

func (o *PodStopLibpodNotModified) IsServerError() bool

IsServerError returns true when this pod stop libpod not modified response has a 5xx status code

func (*PodStopLibpodNotModified) IsSuccess

func (o *PodStopLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this pod stop libpod not modified response has a 2xx status code

func (*PodStopLibpodNotModified) String

func (o *PodStopLibpodNotModified) String() string

type PodStopLibpodOK

type PodStopLibpodOK struct {
	Payload *models.PodStopReport
}

PodStopLibpodOK describes a response with status code 200, with default header values.

Stop pod

func NewPodStopLibpodOK

func NewPodStopLibpodOK() *PodStopLibpodOK

NewPodStopLibpodOK creates a PodStopLibpodOK with default headers values

func (*PodStopLibpodOK) Code

func (o *PodStopLibpodOK) Code() int

Code gets the status code for the pod stop libpod o k response

func (*PodStopLibpodOK) Error

func (o *PodStopLibpodOK) Error() string

func (*PodStopLibpodOK) GetPayload

func (o *PodStopLibpodOK) GetPayload() *models.PodStopReport

func (*PodStopLibpodOK) IsClientError

func (o *PodStopLibpodOK) IsClientError() bool

IsClientError returns true when this pod stop libpod o k response has a 4xx status code

func (*PodStopLibpodOK) IsCode

func (o *PodStopLibpodOK) IsCode(code int) bool

IsCode returns true when this pod stop libpod o k response a status code equal to that given

func (*PodStopLibpodOK) IsRedirect

func (o *PodStopLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod stop libpod o k response has a 3xx status code

func (*PodStopLibpodOK) IsServerError

func (o *PodStopLibpodOK) IsServerError() bool

IsServerError returns true when this pod stop libpod o k response has a 5xx status code

func (*PodStopLibpodOK) IsSuccess

func (o *PodStopLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod stop libpod o k response has a 2xx status code

func (*PodStopLibpodOK) String

func (o *PodStopLibpodOK) String() string

type PodStopLibpodParams

type PodStopLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	// T.
	//
	// timeout
	T *int64

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodStopLibpodParams contains all the parameters to send to the API endpoint

for the pod stop libpod operation.

Typically these are written to a http.Request.

func NewPodStopLibpodParams

func NewPodStopLibpodParams() *PodStopLibpodParams

NewPodStopLibpodParams creates a new PodStopLibpodParams 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 NewPodStopLibpodParamsWithContext deprecated

func NewPodStopLibpodParamsWithContext(ctx context.Context) *PodStopLibpodParams

NewPodStopLibpodParamsWithContext creates a new PodStopLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.

func NewPodStopLibpodParamsWithHTTPClient

func NewPodStopLibpodParamsWithHTTPClient(client *http.Client) *PodStopLibpodParams

NewPodStopLibpodParamsWithHTTPClient creates a new PodStopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStopLibpodParamsWithTimeout

func NewPodStopLibpodParamsWithTimeout(timeout time.Duration) *PodStopLibpodParams

NewPodStopLibpodParamsWithTimeout creates a new PodStopLibpodParams object with the ability to set a timeout on a request.

func (*PodStopLibpodParams) SetContext deprecated

func (o *PodStopLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod stop libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.

func (*PodStopLibpodParams) SetDefaults

func (o *PodStopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStopLibpodParams) SetHTTPClient

func (o *PodStopLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod stop libpod params.

func (*PodStopLibpodParams) SetName

func (o *PodStopLibpodParams) SetName(name string)

SetName adds the name to the pod stop libpod params.

func (*PodStopLibpodParams) SetT

func (o *PodStopLibpodParams) SetT(t *int64)

SetT adds the t to the pod stop libpod params.

func (*PodStopLibpodParams) SetTimeout

func (o *PodStopLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod stop libpod params.

func (*PodStopLibpodParams) WithContext deprecated

WithContext adds the context to the pod stop libpod params.

Deprecated: use the operation call with context to pass the context instead of PodStopLibpodParams.

func (*PodStopLibpodParams) WithDefaults

func (o *PodStopLibpodParams) WithDefaults() *PodStopLibpodParams

WithDefaults hydrates default values in the pod stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStopLibpodParams) WithHTTPClient

func (o *PodStopLibpodParams) WithHTTPClient(client *http.Client) *PodStopLibpodParams

WithHTTPClient adds the HTTPClient to the pod stop libpod params.

func (*PodStopLibpodParams) WithName

func (o *PodStopLibpodParams) WithName(name string) *PodStopLibpodParams

WithName adds the name to the pod stop libpod params.

func (*PodStopLibpodParams) WithT

WithT adds the t to the pod stop libpod params.

func (*PodStopLibpodParams) WithTimeout

func (o *PodStopLibpodParams) WithTimeout(timeout time.Duration) *PodStopLibpodParams

WithTimeout adds the timeout to the pod stop libpod params.

func (*PodStopLibpodParams) WriteToRequest

func (o *PodStopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodStopLibpodReader

type PodStopLibpodReader struct {
	// contains filtered or unexported fields
}

PodStopLibpodReader is a Reader for the PodStopLibpod structure.

func (*PodStopLibpodReader) ReadResponse

func (o *PodStopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodTopLibpodInternalServerError

type PodTopLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodTopLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodTopLibpodInternalServerError

func NewPodTopLibpodInternalServerError() *PodTopLibpodInternalServerError

NewPodTopLibpodInternalServerError creates a PodTopLibpodInternalServerError with default headers values

func (*PodTopLibpodInternalServerError) Code

Code gets the status code for the pod top libpod internal server error response

func (*PodTopLibpodInternalServerError) Error

func (*PodTopLibpodInternalServerError) GetPayload

func (*PodTopLibpodInternalServerError) IsClientError

func (o *PodTopLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod top libpod internal server error response has a 4xx status code

func (*PodTopLibpodInternalServerError) IsCode

func (o *PodTopLibpodInternalServerError) IsCode(code int) bool

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

func (*PodTopLibpodInternalServerError) IsRedirect

func (o *PodTopLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod top libpod internal server error response has a 3xx status code

func (*PodTopLibpodInternalServerError) IsServerError

func (o *PodTopLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod top libpod internal server error response has a 5xx status code

func (*PodTopLibpodInternalServerError) IsSuccess

func (o *PodTopLibpodInternalServerError) IsSuccess() bool

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

func (*PodTopLibpodInternalServerError) String

type PodTopLibpodNotFound

type PodTopLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodTopLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodTopLibpodNotFound

func NewPodTopLibpodNotFound() *PodTopLibpodNotFound

NewPodTopLibpodNotFound creates a PodTopLibpodNotFound with default headers values

func (*PodTopLibpodNotFound) Code

func (o *PodTopLibpodNotFound) Code() int

Code gets the status code for the pod top libpod not found response

func (*PodTopLibpodNotFound) Error

func (o *PodTopLibpodNotFound) Error() string

func (*PodTopLibpodNotFound) GetPayload

func (o *PodTopLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodTopLibpodNotFound) IsClientError

func (o *PodTopLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod top libpod not found response has a 4xx status code

func (*PodTopLibpodNotFound) IsCode

func (o *PodTopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod top libpod not found response a status code equal to that given

func (*PodTopLibpodNotFound) IsRedirect

func (o *PodTopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod top libpod not found response has a 3xx status code

func (*PodTopLibpodNotFound) IsServerError

func (o *PodTopLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod top libpod not found response has a 5xx status code

func (*PodTopLibpodNotFound) IsSuccess

func (o *PodTopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod top libpod not found response has a 2xx status code

func (*PodTopLibpodNotFound) String

func (o *PodTopLibpodNotFound) String() string

type PodTopLibpodOK

type PodTopLibpodOK struct {
	Payload *models.PodTopOKBody
}

PodTopLibpodOK describes a response with status code 200, with default header values.

List processes in pod

func NewPodTopLibpodOK

func NewPodTopLibpodOK() *PodTopLibpodOK

NewPodTopLibpodOK creates a PodTopLibpodOK with default headers values

func (*PodTopLibpodOK) Code

func (o *PodTopLibpodOK) Code() int

Code gets the status code for the pod top libpod o k response

func (*PodTopLibpodOK) Error

func (o *PodTopLibpodOK) Error() string

func (*PodTopLibpodOK) GetPayload

func (o *PodTopLibpodOK) GetPayload() *models.PodTopOKBody

func (*PodTopLibpodOK) IsClientError

func (o *PodTopLibpodOK) IsClientError() bool

IsClientError returns true when this pod top libpod o k response has a 4xx status code

func (*PodTopLibpodOK) IsCode

func (o *PodTopLibpodOK) IsCode(code int) bool

IsCode returns true when this pod top libpod o k response a status code equal to that given

func (*PodTopLibpodOK) IsRedirect

func (o *PodTopLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod top libpod o k response has a 3xx status code

func (*PodTopLibpodOK) IsServerError

func (o *PodTopLibpodOK) IsServerError() bool

IsServerError returns true when this pod top libpod o k response has a 5xx status code

func (*PodTopLibpodOK) IsSuccess

func (o *PodTopLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod top libpod o k response has a 2xx status code

func (*PodTopLibpodOK) String

func (o *PodTopLibpodOK) String() string

type PodTopLibpodParams

type PodTopLibpodParams struct {

	// Delay.
	//
	// if streaming, delay in seconds between updates. Must be >1. (As of version 4.0)
	//
	// Default: 5
	Delay *int64

	// Name.
	//
	// Name of pod to query for processes
	Name string

	// PsArgs.
	//
	// arguments to pass to ps such as aux.
	//
	PsArgs *string

	// Stream.
	//
	// when true, repeatedly stream the latest output (As of version 4.0)
	Stream *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodTopLibpodParams contains all the parameters to send to the API endpoint

for the pod top libpod operation.

Typically these are written to a http.Request.

func NewPodTopLibpodParams

func NewPodTopLibpodParams() *PodTopLibpodParams

NewPodTopLibpodParams creates a new PodTopLibpodParams 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 NewPodTopLibpodParamsWithContext deprecated

func NewPodTopLibpodParamsWithContext(ctx context.Context) *PodTopLibpodParams

NewPodTopLibpodParamsWithContext creates a new PodTopLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.

func NewPodTopLibpodParamsWithHTTPClient

func NewPodTopLibpodParamsWithHTTPClient(client *http.Client) *PodTopLibpodParams

NewPodTopLibpodParamsWithHTTPClient creates a new PodTopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodTopLibpodParamsWithTimeout

func NewPodTopLibpodParamsWithTimeout(timeout time.Duration) *PodTopLibpodParams

NewPodTopLibpodParamsWithTimeout creates a new PodTopLibpodParams object with the ability to set a timeout on a request.

func (*PodTopLibpodParams) SetContext deprecated

func (o *PodTopLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod top libpod params.

Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.

func (*PodTopLibpodParams) SetDefaults

func (o *PodTopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodTopLibpodParams) SetDelay

func (o *PodTopLibpodParams) SetDelay(delay *int64)

SetDelay adds the delay to the pod top libpod params.

func (*PodTopLibpodParams) SetHTTPClient

func (o *PodTopLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod top libpod params.

func (*PodTopLibpodParams) SetName

func (o *PodTopLibpodParams) SetName(name string)

SetName adds the name to the pod top libpod params.

func (*PodTopLibpodParams) SetPsArgs

func (o *PodTopLibpodParams) SetPsArgs(psArgs *string)

SetPsArgs adds the psArgs to the pod top libpod params.

func (*PodTopLibpodParams) SetStream

func (o *PodTopLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the pod top libpod params.

func (*PodTopLibpodParams) SetTimeout

func (o *PodTopLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod top libpod params.

func (*PodTopLibpodParams) WithContext deprecated

WithContext adds the context to the pod top libpod params.

Deprecated: use the operation call with context to pass the context instead of PodTopLibpodParams.

func (*PodTopLibpodParams) WithDefaults

func (o *PodTopLibpodParams) WithDefaults() *PodTopLibpodParams

WithDefaults hydrates default values in the pod top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodTopLibpodParams) WithDelay

func (o *PodTopLibpodParams) WithDelay(delay *int64) *PodTopLibpodParams

WithDelay adds the delay to the pod top libpod params.

func (*PodTopLibpodParams) WithHTTPClient

func (o *PodTopLibpodParams) WithHTTPClient(client *http.Client) *PodTopLibpodParams

WithHTTPClient adds the HTTPClient to the pod top libpod params.

func (*PodTopLibpodParams) WithName

func (o *PodTopLibpodParams) WithName(name string) *PodTopLibpodParams

WithName adds the name to the pod top libpod params.

func (*PodTopLibpodParams) WithPsArgs

func (o *PodTopLibpodParams) WithPsArgs(psArgs *string) *PodTopLibpodParams

WithPsArgs adds the psArgs to the pod top libpod params.

func (*PodTopLibpodParams) WithStream

func (o *PodTopLibpodParams) WithStream(stream *bool) *PodTopLibpodParams

WithStream adds the stream to the pod top libpod params.

func (*PodTopLibpodParams) WithTimeout

func (o *PodTopLibpodParams) WithTimeout(timeout time.Duration) *PodTopLibpodParams

WithTimeout adds the timeout to the pod top libpod params.

func (*PodTopLibpodParams) WriteToRequest

func (o *PodTopLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PodTopLibpodReader

type PodTopLibpodReader struct {
	// contains filtered or unexported fields
}

PodTopLibpodReader is a Reader for the PodTopLibpod structure.

func (*PodTopLibpodReader) ReadResponse

func (o *PodTopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PodUnpauseLibpodConflict

type PodUnpauseLibpodConflict struct {
	Payload *models.PodUnpauseReport
}

PodUnpauseLibpodConflict describes a response with status code 409, with default header values.

Unpause pod

func NewPodUnpauseLibpodConflict

func NewPodUnpauseLibpodConflict() *PodUnpauseLibpodConflict

NewPodUnpauseLibpodConflict creates a PodUnpauseLibpodConflict with default headers values

func (*PodUnpauseLibpodConflict) Code

func (o *PodUnpauseLibpodConflict) Code() int

Code gets the status code for the pod unpause libpod conflict response

func (*PodUnpauseLibpodConflict) Error

func (o *PodUnpauseLibpodConflict) Error() string

func (*PodUnpauseLibpodConflict) GetPayload

func (*PodUnpauseLibpodConflict) IsClientError

func (o *PodUnpauseLibpodConflict) IsClientError() bool

IsClientError returns true when this pod unpause libpod conflict response has a 4xx status code

func (*PodUnpauseLibpodConflict) IsCode

func (o *PodUnpauseLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod unpause libpod conflict response a status code equal to that given

func (*PodUnpauseLibpodConflict) IsRedirect

func (o *PodUnpauseLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod conflict response has a 3xx status code

func (*PodUnpauseLibpodConflict) IsServerError

func (o *PodUnpauseLibpodConflict) IsServerError() bool

IsServerError returns true when this pod unpause libpod conflict response has a 5xx status code

func (*PodUnpauseLibpodConflict) IsSuccess

func (o *PodUnpauseLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod conflict response has a 2xx status code

func (*PodUnpauseLibpodConflict) String

func (o *PodUnpauseLibpodConflict) String() string

type PodUnpauseLibpodInternalServerError

type PodUnpauseLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PodUnpauseLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodUnpauseLibpodInternalServerError

func NewPodUnpauseLibpodInternalServerError() *PodUnpauseLibpodInternalServerError

NewPodUnpauseLibpodInternalServerError creates a PodUnpauseLibpodInternalServerError with default headers values

func (*PodUnpauseLibpodInternalServerError) Code

Code gets the status code for the pod unpause libpod internal server error response

func (*PodUnpauseLibpodInternalServerError) Error

func (*PodUnpauseLibpodInternalServerError) GetPayload

func (*PodUnpauseLibpodInternalServerError) IsClientError

func (o *PodUnpauseLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod unpause libpod internal server error response has a 4xx status code

func (*PodUnpauseLibpodInternalServerError) IsCode

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

func (*PodUnpauseLibpodInternalServerError) IsRedirect

func (o *PodUnpauseLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod internal server error response has a 3xx status code

func (*PodUnpauseLibpodInternalServerError) IsServerError

func (o *PodUnpauseLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod unpause libpod internal server error response has a 5xx status code

func (*PodUnpauseLibpodInternalServerError) IsSuccess

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

func (*PodUnpauseLibpodInternalServerError) String

type PodUnpauseLibpodNotFound

type PodUnpauseLibpodNotFound struct {
	Payload *models.ErrorModel
}

PodUnpauseLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodUnpauseLibpodNotFound

func NewPodUnpauseLibpodNotFound() *PodUnpauseLibpodNotFound

NewPodUnpauseLibpodNotFound creates a PodUnpauseLibpodNotFound with default headers values

func (*PodUnpauseLibpodNotFound) Code

func (o *PodUnpauseLibpodNotFound) Code() int

Code gets the status code for the pod unpause libpod not found response

func (*PodUnpauseLibpodNotFound) Error

func (o *PodUnpauseLibpodNotFound) Error() string

func (*PodUnpauseLibpodNotFound) GetPayload

func (o *PodUnpauseLibpodNotFound) GetPayload() *models.ErrorModel

func (*PodUnpauseLibpodNotFound) IsClientError

func (o *PodUnpauseLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod unpause libpod not found response has a 4xx status code

func (*PodUnpauseLibpodNotFound) IsCode

func (o *PodUnpauseLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod unpause libpod not found response a status code equal to that given

func (*PodUnpauseLibpodNotFound) IsRedirect

func (o *PodUnpauseLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod not found response has a 3xx status code

func (*PodUnpauseLibpodNotFound) IsServerError

func (o *PodUnpauseLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod unpause libpod not found response has a 5xx status code

func (*PodUnpauseLibpodNotFound) IsSuccess

func (o *PodUnpauseLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod not found response has a 2xx status code

func (*PodUnpauseLibpodNotFound) String

func (o *PodUnpauseLibpodNotFound) String() string

type PodUnpauseLibpodOK

type PodUnpauseLibpodOK struct {
	Payload *models.PodUnpauseReport
}

PodUnpauseLibpodOK describes a response with status code 200, with default header values.

Unpause pod

func NewPodUnpauseLibpodOK

func NewPodUnpauseLibpodOK() *PodUnpauseLibpodOK

NewPodUnpauseLibpodOK creates a PodUnpauseLibpodOK with default headers values

func (*PodUnpauseLibpodOK) Code

func (o *PodUnpauseLibpodOK) Code() int

Code gets the status code for the pod unpause libpod o k response

func (*PodUnpauseLibpodOK) Error

func (o *PodUnpauseLibpodOK) Error() string

func (*PodUnpauseLibpodOK) GetPayload

func (o *PodUnpauseLibpodOK) GetPayload() *models.PodUnpauseReport

func (*PodUnpauseLibpodOK) IsClientError

func (o *PodUnpauseLibpodOK) IsClientError() bool

IsClientError returns true when this pod unpause libpod o k response has a 4xx status code

func (*PodUnpauseLibpodOK) IsCode

func (o *PodUnpauseLibpodOK) IsCode(code int) bool

IsCode returns true when this pod unpause libpod o k response a status code equal to that given

func (*PodUnpauseLibpodOK) IsRedirect

func (o *PodUnpauseLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod o k response has a 3xx status code

func (*PodUnpauseLibpodOK) IsServerError

func (o *PodUnpauseLibpodOK) IsServerError() bool

IsServerError returns true when this pod unpause libpod o k response has a 5xx status code

func (*PodUnpauseLibpodOK) IsSuccess

func (o *PodUnpauseLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod o k response has a 2xx status code

func (*PodUnpauseLibpodOK) String

func (o *PodUnpauseLibpodOK) String() string

type PodUnpauseLibpodParams

type PodUnpauseLibpodParams struct {

	// Name.
	//
	// the name or ID of the pod
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PodUnpauseLibpodParams contains all the parameters to send to the API endpoint

for the pod unpause libpod operation.

Typically these are written to a http.Request.

func NewPodUnpauseLibpodParams

func NewPodUnpauseLibpodParams() *PodUnpauseLibpodParams

NewPodUnpauseLibpodParams creates a new PodUnpauseLibpodParams 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 NewPodUnpauseLibpodParamsWithContext deprecated

func NewPodUnpauseLibpodParamsWithContext(ctx context.Context) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithContext creates a new PodUnpauseLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.

func NewPodUnpauseLibpodParamsWithHTTPClient

func NewPodUnpauseLibpodParamsWithHTTPClient(client *http.Client) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithHTTPClient creates a new PodUnpauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodUnpauseLibpodParamsWithTimeout

func NewPodUnpauseLibpodParamsWithTimeout(timeout time.Duration) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithTimeout creates a new PodUnpauseLibpodParams object with the ability to set a timeout on a request.

func (*PodUnpauseLibpodParams) SetContext deprecated

func (o *PodUnpauseLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the pod unpause libpod params.

Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.

func (*PodUnpauseLibpodParams) SetDefaults

func (o *PodUnpauseLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodUnpauseLibpodParams) SetHTTPClient

func (o *PodUnpauseLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) SetName

func (o *PodUnpauseLibpodParams) SetName(name string)

SetName adds the name to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) SetTimeout

func (o *PodUnpauseLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) WithContext deprecated

WithContext adds the context to the pod unpause libpod params.

Deprecated: use the operation call with context to pass the context instead of PodUnpauseLibpodParams.

func (*PodUnpauseLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodUnpauseLibpodParams) WithHTTPClient

func (o *PodUnpauseLibpodParams) WithHTTPClient(client *http.Client) *PodUnpauseLibpodParams

WithHTTPClient adds the HTTPClient to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) WithName

WithName adds the name to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod unpause libpod params.

func (*PodUnpauseLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PodUnpauseLibpodReader

type PodUnpauseLibpodReader struct {
	// contains filtered or unexported fields
}

PodUnpauseLibpodReader is a Reader for the PodUnpauseLibpod structure.

func (*PodUnpauseLibpodReader) ReadResponse

func (o *PodUnpauseLibpodReader) 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
⌂ 换网址