containers

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationOctetStream

func WithAcceptApplicationOctetStream(r *runtime.ClientOperation)

WithAcceptApplicationOctetStream sets the Accept header to "application/octet-stream".

func WithAcceptTextPlain

func WithAcceptTextPlain(r *runtime.ClientOperation)

WithAcceptTextPlain sets the Accept header to "text/plain".

func WithAcceptTextVndYaml

func WithAcceptTextVndYaml(r *runtime.ClientOperation)

WithAcceptTextVndYaml sets the Accept header to "text/vnd.yaml".

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 containers API.

func (*Client) ContainerAttachLibpod

func (a *Client) ContainerAttachLibpod(params *ContainerAttachLibpodParams, opts ...ClientOption) error

ContainerAttachLibpod attaches to a container.

Attach to a container to read its output or send it input. You can attach to the same container multiple times and you can reattach to containers that have been detached.

### Hijacking

This endpoint hijacks the HTTP connection to transport `stdin`, `stdout`, and `stderr` on the same socket.

This is the response from the service for an attach request:

``` HTTP/1.1 200 OK Content-Type: application/vnd.docker.raw-stream

[STREAM] ```

After the headers and two new lines, the TCP connection can now be used for raw, bidirectional communication between the client and server.

To inform potential proxies about connection hijacking, the client can also optionally send connection upgrade headers.

For example, the client sends this request to upgrade the connection:

``` POST /v4.6.0/libpod/containers/16253994b7c4/attach?stream=1&stdout=1 HTTP/1.1 Upgrade: tcp Connection: Upgrade ```

The service will respond with a `101 UPGRADED` response, and will similarly follow with the raw stream:

``` HTTP/1.1 101 UPGRADED Content-Type: application/vnd.docker.raw-stream Connection: Upgrade Upgrade: tcp

[STREAM] ```

### Stream format

When the TTY setting is disabled for the container, the HTTP Content-Type header is set to application/vnd.docker.multiplexed-stream (starting with v4.7.0, previously application/vnd.docker.raw-stream was always used) and the stream over the hijacked connected is multiplexed to separate out `stdout` and `stderr`. The stream consists of a series of frames, each containing a header and a payload.

The header contains the information about the output stream type and the size of the payload. It is encoded on the first eight bytes like this:

```go header := [8]byte{STREAM_TYPE, 0, 0, 0, SIZE1, SIZE2, SIZE3, SIZE4} ```

`STREAM_TYPE` can be:

- 0: `stdin` (is written on `stdout`) - 1: `stdout` - 2: `stderr`

`SIZE1, SIZE2, SIZE3, SIZE4` are the four bytes of the `uint32` size encoded as big endian.

Following the header is the payload, which contains the specified number of bytes as written in the size.

The simplest way to implement this protocol is the following:

1. Read 8 bytes. 2. Choose `stdout` or `stderr` depending on the first byte. 3. Extract the frame size from the last four bytes. 4. Read the extracted size and output it on the correct output. 5. Goto 1.

### Stream format when using a TTY

When the TTY setting is enabled for the container, the stream is not multiplexed. The data exchanged over the hijacked connection is simply the raw data from the process PTY and client's `stdin`. .

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

func (*Client) ContainerAttachLibpodContext

func (a *Client) ContainerAttachLibpodContext(ctx context.Context, params *ContainerAttachLibpodParams, opts ...ClientOption) error

ContainerAttachLibpodContext attaches to a container.

Attach to a container to read its output or send it input. You can attach to the same container multiple times and you can reattach to containers that have been detached.

### Hijacking

This endpoint hijacks the HTTP connection to transport `stdin`, `stdout`, and `stderr` on the same socket.

This is the response from the service for an attach request:

``` HTTP/1.1 200 OK Content-Type: application/vnd.docker.raw-stream

[STREAM] ```

After the headers and two new lines, the TCP connection can now be used for raw, bidirectional communication between the client and server.

To inform potential proxies about connection hijacking, the client can also optionally send connection upgrade headers.

For example, the client sends this request to upgrade the connection:

``` POST /v4.6.0/libpod/containers/16253994b7c4/attach?stream=1&stdout=1 HTTP/1.1 Upgrade: tcp Connection: Upgrade ```

The service will respond with a `101 UPGRADED` response, and will similarly follow with the raw stream:

``` HTTP/1.1 101 UPGRADED Content-Type: application/vnd.docker.raw-stream Connection: Upgrade Upgrade: tcp

[STREAM] ```

### Stream format

When the TTY setting is disabled for the container, the HTTP Content-Type header is set to application/vnd.docker.multiplexed-stream (starting with v4.7.0, previously application/vnd.docker.raw-stream was always used) and the stream over the hijacked connected is multiplexed to separate out `stdout` and `stderr`. The stream consists of a series of frames, each containing a header and a payload.

The header contains the information about the output stream type and the size of the payload. It is encoded on the first eight bytes like this:

```go header := [8]byte{STREAM_TYPE, 0, 0, 0, SIZE1, SIZE2, SIZE3, SIZE4} ```

`STREAM_TYPE` can be:

- 0: `stdin` (is written on `stdout`) - 1: `stdout` - 2: `stderr`

`SIZE1, SIZE2, SIZE3, SIZE4` are the four bytes of the `uint32` size encoded as big endian.

Following the header is the payload, which contains the specified number of bytes as written in the size.

The simplest way to implement this protocol is the following:

1. Read 8 bytes. 2. Choose `stdout` or `stderr` depending on the first byte. 3. Extract the frame size from the last four bytes. 4. Read the extracted size and output it on the correct output. 5. Goto 1.

### Stream format when using a TTY

When the TTY setting is enabled for the container, the stream is not multiplexed. The data exchanged over the hijacked connection is simply the raw data from the process PTY and client's `stdin`. .

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

func (*Client) ContainerChangesLibpod

func (a *Client) ContainerChangesLibpod(params *ContainerChangesLibpodParams, opts ...ClientOption) (*ContainerChangesLibpodOK, error)

ContainerChangesLibpod reports on changes to container s filesystem adds deletes or modifications.

Returns which files in a container's filesystem have been added, deleted, or modified. The Kind of modification can be one of:

0: Modified 1: Added 2: Deleted .

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

func (*Client) ContainerChangesLibpodContext

func (a *Client) ContainerChangesLibpodContext(ctx context.Context, params *ContainerChangesLibpodParams, opts ...ClientOption) (*ContainerChangesLibpodOK, error)

ContainerChangesLibpodContext reports on changes to container s filesystem adds deletes or modifications.

Returns which files in a container's filesystem have been added, deleted, or modified. The Kind of modification can be one of:

0: Modified 1: Added 2: Deleted .

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

func (*Client) ContainerCheckpointLibpod

func (a *Client) ContainerCheckpointLibpod(params *ContainerCheckpointLibpodParams, opts ...ClientOption) (*ContainerCheckpointLibpodOK, error)

ContainerCheckpointLibpod checkpoints a container.

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

func (*Client) ContainerCheckpointLibpodContext

func (a *Client) ContainerCheckpointLibpodContext(ctx context.Context, params *ContainerCheckpointLibpodParams, opts ...ClientOption) (*ContainerCheckpointLibpodOK, error)

ContainerCheckpointLibpodContext checkpoints a container.

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

func (*Client) ContainerCreateLibpod

func (a *Client) ContainerCreateLibpod(params *ContainerCreateLibpodParams, opts ...ClientOption) (*ContainerCreateLibpodCreated, error)

ContainerCreateLibpod creates a container.

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

func (*Client) ContainerCreateLibpodContext

func (a *Client) ContainerCreateLibpodContext(ctx context.Context, params *ContainerCreateLibpodParams, opts ...ClientOption) (*ContainerCreateLibpodCreated, error)

ContainerCreateLibpodContext creates a container.

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

func (*Client) ContainerDeleteLibpod

ContainerDeleteLibpod deletes container.

Delete container.

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

func (*Client) ContainerDeleteLibpodContext

ContainerDeleteLibpodContext deletes container.

Delete container.

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

func (*Client) ContainerExistsLibpod

func (a *Client) ContainerExistsLibpod(params *ContainerExistsLibpodParams, opts ...ClientOption) (*ContainerExistsLibpodNoContent, error)

ContainerExistsLibpod checks if container exists.

Quick way to determine if a container 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.ContainerExistsLibpodContext instead.

func (*Client) ContainerExistsLibpodContext

func (a *Client) ContainerExistsLibpodContext(ctx context.Context, params *ContainerExistsLibpodParams, opts ...ClientOption) (*ContainerExistsLibpodNoContent, error)

ContainerExistsLibpodContext checks if container exists.

Quick way to determine if a container exists by name or ID.

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

func (*Client) ContainerExportLibpod

func (a *Client) ContainerExportLibpod(params *ContainerExportLibpodParams, opts ...ClientOption) (*ContainerExportLibpodOK, error)

ContainerExportLibpod exports a container.

Export the contents of a container as a tarball..

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

func (*Client) ContainerExportLibpodContext

func (a *Client) ContainerExportLibpodContext(ctx context.Context, params *ContainerExportLibpodParams, opts ...ClientOption) (*ContainerExportLibpodOK, error)

ContainerExportLibpodContext exports a container.

Export the contents of a container as a tarball..

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

func (*Client) ContainerHealthcheckLibpod

func (a *Client) ContainerHealthcheckLibpod(params *ContainerHealthcheckLibpodParams, opts ...ClientOption) (*ContainerHealthcheckLibpodOK, error)

ContainerHealthcheckLibpod runs a container s healthcheck.

Execute the defined healthcheck and return information about the results.

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

func (*Client) ContainerHealthcheckLibpodContext

func (a *Client) ContainerHealthcheckLibpodContext(ctx context.Context, params *ContainerHealthcheckLibpodParams, opts ...ClientOption) (*ContainerHealthcheckLibpodOK, error)

ContainerHealthcheckLibpodContext runs a container s healthcheck.

Execute the defined healthcheck and return information about the results.

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

func (*Client) ContainerInitLibpod

func (a *Client) ContainerInitLibpod(params *ContainerInitLibpodParams, opts ...ClientOption) (*ContainerInitLibpodNoContent, error)

ContainerInitLibpod initializes a container.

Performs all tasks necessary for initializing the container but does not start the container..

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

func (*Client) ContainerInitLibpodContext

func (a *Client) ContainerInitLibpodContext(ctx context.Context, params *ContainerInitLibpodParams, opts ...ClientOption) (*ContainerInitLibpodNoContent, error)

ContainerInitLibpodContext initializes a container.

Performs all tasks necessary for initializing the container but does not start the container..

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

func (*Client) ContainerInspectLibpod

func (a *Client) ContainerInspectLibpod(params *ContainerInspectLibpodParams, opts ...ClientOption) (*ContainerInspectLibpodOK, error)

ContainerInspectLibpod inspects container.

Return low-level information about a container..

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

func (*Client) ContainerInspectLibpodContext

func (a *Client) ContainerInspectLibpodContext(ctx context.Context, params *ContainerInspectLibpodParams, opts ...ClientOption) (*ContainerInspectLibpodOK, error)

ContainerInspectLibpodContext inspects container.

Return low-level information about a container..

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

func (*Client) ContainerKillLibpod

func (a *Client) ContainerKillLibpod(params *ContainerKillLibpodParams, opts ...ClientOption) (*ContainerKillLibpodNoContent, error)

ContainerKillLibpod kills container.

send a signal to a container, defaults to killing the container.

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

func (*Client) ContainerKillLibpodContext

func (a *Client) ContainerKillLibpodContext(ctx context.Context, params *ContainerKillLibpodParams, opts ...ClientOption) (*ContainerKillLibpodNoContent, error)

ContainerKillLibpodContext kills container.

send a signal to a container, defaults to killing the container.

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

func (*Client) ContainerListLibpod

func (a *Client) ContainerListLibpod(params *ContainerListLibpodParams, opts ...ClientOption) (*ContainerListLibpodOK, error)

ContainerListLibpod lists containers.

Returns a list of containers.

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

func (*Client) ContainerListLibpodContext

func (a *Client) ContainerListLibpodContext(ctx context.Context, params *ContainerListLibpodParams, opts ...ClientOption) (*ContainerListLibpodOK, error)

ContainerListLibpodContext lists containers.

Returns a list of containers.

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

func (*Client) ContainerLogsLibpod

func (a *Client) ContainerLogsLibpod(params *ContainerLogsLibpodParams, opts ...ClientOption) (*ContainerLogsLibpodOK, error)

ContainerLogsLibpod gets container logs.

Get stdout and stderr logs from a container.

The stream format is the same as described in the attach endpoint. .

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

func (*Client) ContainerLogsLibpodContext

func (a *Client) ContainerLogsLibpodContext(ctx context.Context, params *ContainerLogsLibpodParams, opts ...ClientOption) (*ContainerLogsLibpodOK, error)

ContainerLogsLibpodContext gets container logs.

Get stdout and stderr logs from a container.

The stream format is the same as described in the attach endpoint. .

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

func (*Client) ContainerMountLibpod

func (a *Client) ContainerMountLibpod(params *ContainerMountLibpodParams, opts ...ClientOption) (*ContainerMountLibpodOK, error)

ContainerMountLibpod mounts a container.

Mount a container to the filesystem.

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

func (*Client) ContainerMountLibpodContext

func (a *Client) ContainerMountLibpodContext(ctx context.Context, params *ContainerMountLibpodParams, opts ...ClientOption) (*ContainerMountLibpodOK, error)

ContainerMountLibpodContext mounts a container.

Mount a container to the filesystem.

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

func (*Client) ContainerPauseLibpod

func (a *Client) ContainerPauseLibpod(params *ContainerPauseLibpodParams, opts ...ClientOption) (*ContainerPauseLibpodNoContent, error)

ContainerPauseLibpod pauses a container.

Use the cgroups freezer to suspend all processes in a container..

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

func (*Client) ContainerPauseLibpodContext

func (a *Client) ContainerPauseLibpodContext(ctx context.Context, params *ContainerPauseLibpodParams, opts ...ClientOption) (*ContainerPauseLibpodNoContent, error)

ContainerPauseLibpodContext pauses a container.

Use the cgroups freezer to suspend all processes in a container..

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

func (*Client) ContainerPruneLibpod

func (a *Client) ContainerPruneLibpod(params *ContainerPruneLibpodParams, opts ...ClientOption) (*ContainerPruneLibpodOK, error)

ContainerPruneLibpod deletes stopped containers.

Remove containers not in use.

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

func (*Client) ContainerPruneLibpodContext

func (a *Client) ContainerPruneLibpodContext(ctx context.Context, params *ContainerPruneLibpodParams, opts ...ClientOption) (*ContainerPruneLibpodOK, error)

ContainerPruneLibpodContext deletes stopped containers.

Remove containers not in use.

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

func (*Client) ContainerRenameLibpod

func (a *Client) ContainerRenameLibpod(params *ContainerRenameLibpodParams, opts ...ClientOption) (*ContainerRenameLibpodNoContent, error)

ContainerRenameLibpod renames an existing container.

Change the name of an existing container..

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

func (*Client) ContainerRenameLibpodContext

func (a *Client) ContainerRenameLibpodContext(ctx context.Context, params *ContainerRenameLibpodParams, opts ...ClientOption) (*ContainerRenameLibpodNoContent, error)

ContainerRenameLibpodContext renames an existing container.

Change the name of an existing container..

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

func (*Client) ContainerResizeLibpod

func (a *Client) ContainerResizeLibpod(params *ContainerResizeLibpodParams, opts ...ClientOption) (*ContainerResizeLibpodOK, error)

ContainerResizeLibpod resizes a container s t t y.

Resize the terminal attached to a container (for use with Attach)..

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

func (*Client) ContainerResizeLibpodContext

func (a *Client) ContainerResizeLibpodContext(ctx context.Context, params *ContainerResizeLibpodParams, opts ...ClientOption) (*ContainerResizeLibpodOK, error)

ContainerResizeLibpodContext resizes a container s t t y.

Resize the terminal attached to a container (for use with Attach)..

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

func (*Client) ContainerRestartLibpod

func (a *Client) ContainerRestartLibpod(params *ContainerRestartLibpodParams, opts ...ClientOption) (*ContainerRestartLibpodNoContent, error)

ContainerRestartLibpod restarts a container.

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

func (*Client) ContainerRestartLibpodContext

func (a *Client) ContainerRestartLibpodContext(ctx context.Context, params *ContainerRestartLibpodParams, opts ...ClientOption) (*ContainerRestartLibpodNoContent, error)

ContainerRestartLibpodContext restarts a container.

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

func (*Client) ContainerRestoreLibpod

func (a *Client) ContainerRestoreLibpod(params *ContainerRestoreLibpodParams, opts ...ClientOption) (*ContainerRestoreLibpodOK, error)

ContainerRestoreLibpod restores a container.

Restore a container from a checkpoint..

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

func (*Client) ContainerRestoreLibpodContext

func (a *Client) ContainerRestoreLibpodContext(ctx context.Context, params *ContainerRestoreLibpodParams, opts ...ClientOption) (*ContainerRestoreLibpodOK, error)

ContainerRestoreLibpodContext restores a container.

Restore a container from a checkpoint..

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

func (*Client) ContainerShowMountedLibpod

func (a *Client) ContainerShowMountedLibpod(params *ContainerShowMountedLibpodParams, opts ...ClientOption) (*ContainerShowMountedLibpodOK, error)

ContainerShowMountedLibpod shows mounted containers.

Lists all mounted containers mount points.

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

func (*Client) ContainerShowMountedLibpodContext

func (a *Client) ContainerShowMountedLibpodContext(ctx context.Context, params *ContainerShowMountedLibpodParams, opts ...ClientOption) (*ContainerShowMountedLibpodOK, error)

ContainerShowMountedLibpodContext shows mounted containers.

Lists all mounted containers mount points.

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

func (*Client) ContainerStartLibpod

func (a *Client) ContainerStartLibpod(params *ContainerStartLibpodParams, opts ...ClientOption) (*ContainerStartLibpodNoContent, error)

ContainerStartLibpod starts a container.

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

func (*Client) ContainerStartLibpodContext

func (a *Client) ContainerStartLibpodContext(ctx context.Context, params *ContainerStartLibpodParams, opts ...ClientOption) (*ContainerStartLibpodNoContent, error)

ContainerStartLibpodContext starts a container.

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

func (*Client) ContainerStatsLibpod

func (a *Client) ContainerStatsLibpod(params *ContainerStatsLibpodParams, opts ...ClientOption) (*ContainerStatsLibpodOK, error)

ContainerStatsLibpod gets stats for a container.

DEPRECATED. This endpoint will be removed with the next major release. Please use /libpod/containers/stats instead..

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

func (*Client) ContainerStatsLibpodContext

func (a *Client) ContainerStatsLibpodContext(ctx context.Context, params *ContainerStatsLibpodParams, opts ...ClientOption) (*ContainerStatsLibpodOK, error)

ContainerStatsLibpodContext gets stats for a container.

DEPRECATED. This endpoint will be removed with the next major release. Please use /libpod/containers/stats instead..

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

func (*Client) ContainerStopLibpod

func (a *Client) ContainerStopLibpod(params *ContainerStopLibpodParams, opts ...ClientOption) (*ContainerStopLibpodNoContent, error)

ContainerStopLibpod stops a container.

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

func (*Client) ContainerStopLibpodContext

func (a *Client) ContainerStopLibpodContext(ctx context.Context, params *ContainerStopLibpodParams, opts ...ClientOption) (*ContainerStopLibpodNoContent, error)

ContainerStopLibpodContext stops a container.

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

func (*Client) ContainerTopLibpod

func (a *Client) ContainerTopLibpod(params *ContainerTopLibpodParams, opts ...ClientOption) (*ContainerTopLibpodOK, error)

ContainerTopLibpod lists processes.

List processes running inside a container.

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

func (*Client) ContainerTopLibpodContext

func (a *Client) ContainerTopLibpodContext(ctx context.Context, params *ContainerTopLibpodParams, opts ...ClientOption) (*ContainerTopLibpodOK, error)

ContainerTopLibpodContext lists processes.

List processes running inside a container.

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

func (*Client) ContainerUnmountLibpod

func (a *Client) ContainerUnmountLibpod(params *ContainerUnmountLibpodParams, opts ...ClientOption) (*ContainerUnmountLibpodNoContent, error)

ContainerUnmountLibpod unmounts a container.

Unmount a container from the filesystem.

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

func (*Client) ContainerUnmountLibpodContext

func (a *Client) ContainerUnmountLibpodContext(ctx context.Context, params *ContainerUnmountLibpodParams, opts ...ClientOption) (*ContainerUnmountLibpodNoContent, error)

ContainerUnmountLibpodContext unmounts a container.

Unmount a container from the filesystem.

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

func (*Client) ContainerUnpauseLibpod

func (a *Client) ContainerUnpauseLibpod(params *ContainerUnpauseLibpodParams, opts ...ClientOption) (*ContainerUnpauseLibpodNoContent, error)

ContainerUnpauseLibpod unpauses container.

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

func (*Client) ContainerUnpauseLibpodContext

func (a *Client) ContainerUnpauseLibpodContext(ctx context.Context, params *ContainerUnpauseLibpodParams, opts ...ClientOption) (*ContainerUnpauseLibpodNoContent, error)

ContainerUnpauseLibpodContext unpauses container.

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

func (*Client) ContainerUpdateLibpod

func (a *Client) ContainerUpdateLibpod(params *ContainerUpdateLibpodParams, opts ...ClientOption) (*ContainerUpdateLibpodCreated, error)

ContainerUpdateLibpod updates the configuration of an existing container allowing changes to resource limits and healthchecks.

Updates the configuration of an existing container, allowing changes to resource limits and healthchecks..

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

func (*Client) ContainerUpdateLibpodContext

func (a *Client) ContainerUpdateLibpodContext(ctx context.Context, params *ContainerUpdateLibpodParams, opts ...ClientOption) (*ContainerUpdateLibpodCreated, error)

ContainerUpdateLibpodContext updates the configuration of an existing container allowing changes to resource limits and healthchecks.

Updates the configuration of an existing container, allowing changes to resource limits and healthchecks..

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

func (*Client) ContainerWaitLibpod

func (a *Client) ContainerWaitLibpod(params *ContainerWaitLibpodParams, opts ...ClientOption) (*ContainerWaitLibpodOK, error)

ContainerWaitLibpod waits on a container.

Wait on a container to meet a given condition.

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

func (*Client) ContainerWaitLibpodContext

func (a *Client) ContainerWaitLibpodContext(ctx context.Context, params *ContainerWaitLibpodParams, opts ...ClientOption) (*ContainerWaitLibpodOK, error)

ContainerWaitLibpodContext waits on a container.

Wait on a container to meet a given condition.

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

func (*Client) ContainersStatsAllLibpod

func (a *Client) ContainersStatsAllLibpod(params *ContainersStatsAllLibpodParams, opts ...ClientOption) (*ContainersStatsAllLibpodOK, error)

ContainersStatsAllLibpod gets stats for one or more containers.

Return a live stream of resource usage statistics of one or more container. If no container is specified, the statistics of all containers are returned..

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

func (*Client) ContainersStatsAllLibpodContext

func (a *Client) ContainersStatsAllLibpodContext(ctx context.Context, params *ContainersStatsAllLibpodParams, opts ...ClientOption) (*ContainersStatsAllLibpodOK, error)

ContainersStatsAllLibpodContext gets stats for one or more containers.

Return a live stream of resource usage statistics of one or more container. If no container is specified, the statistics of all containers are returned..

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

func (*Client) GenerateKubeLibpod

func (a *Client) GenerateKubeLibpod(params *GenerateKubeLibpodParams, writer io.Writer, opts ...ClientOption) (*GenerateKubeLibpodOK, error)

GenerateKubeLibpod generates a kubernetes y a m l file.

Generate Kubernetes YAML based on a pod or container..

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

func (*Client) GenerateKubeLibpodContext

func (a *Client) GenerateKubeLibpodContext(ctx context.Context, params *GenerateKubeLibpodParams, writer io.Writer, opts ...ClientOption) (*GenerateKubeLibpodOK, error)

GenerateKubeLibpodContext generates a kubernetes y a m l file.

Generate Kubernetes YAML based on a pod or container..

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

func (*Client) GenerateSystemdLibpod

func (a *Client) GenerateSystemdLibpod(params *GenerateSystemdLibpodParams, opts ...ClientOption) (*GenerateSystemdLibpodOK, error)

GenerateSystemdLibpod generates systemd units.

Generate Systemd Units based on a pod or container..

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

func (*Client) GenerateSystemdLibpodContext

func (a *Client) GenerateSystemdLibpodContext(ctx context.Context, params *GenerateSystemdLibpodParams, opts ...ClientOption) (*GenerateSystemdLibpodOK, error)

GenerateSystemdLibpodContext generates systemd units.

Generate Systemd Units based on a pod or container..

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

func (*Client) ImageCommitLibpod

func (a *Client) ImageCommitLibpod(params *ImageCommitLibpodParams, opts ...ClientOption) (*ImageCommitLibpodCreated, error)

ImageCommitLibpod commits.

Create a new image from a container.

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

func (*Client) ImageCommitLibpodContext

func (a *Client) ImageCommitLibpodContext(ctx context.Context, params *ImageCommitLibpodParams, opts ...ClientOption) (*ImageCommitLibpodCreated, error)

ImageCommitLibpodContext commits.

Create a new image from a container.

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

func (*Client) KubeApplyLibpod

func (a *Client) KubeApplyLibpod(params *KubeApplyLibpodParams, writer io.Writer, opts ...ClientOption) (*KubeApplyLibpodOK, error)

KubeApplyLibpod applies a podman workload or kubernetes y a m l file.

Deploy a podman container, pod, volume, or Kubernetes yaml to a Kubernetes cluster..

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

func (*Client) KubeApplyLibpodContext

func (a *Client) KubeApplyLibpodContext(ctx context.Context, params *KubeApplyLibpodParams, writer io.Writer, opts ...ClientOption) (*KubeApplyLibpodOK, error)

KubeApplyLibpodContext applies a podman workload or kubernetes y a m l file.

Deploy a podman container, pod, volume, or Kubernetes yaml to a Kubernetes cluster..

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

func (*Client) PlayKubeDownLibpod

func (a *Client) PlayKubeDownLibpod(params *PlayKubeDownLibpodParams, opts ...ClientOption) (*PlayKubeDownLibpodOK, error)

PlayKubeDownLibpod removes resources created from kube play.

Tears down pods, secrets, and volumes defined in a YAML file.

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

func (*Client) PlayKubeDownLibpodContext

func (a *Client) PlayKubeDownLibpodContext(ctx context.Context, params *PlayKubeDownLibpodParams, opts ...ClientOption) (*PlayKubeDownLibpodOK, error)

PlayKubeDownLibpodContext removes resources created from kube play.

Tears down pods, secrets, and volumes defined in a YAML file.

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

func (*Client) PlayKubeLibpod

func (a *Client) PlayKubeLibpod(params *PlayKubeLibpodParams, opts ...ClientOption) (*PlayKubeLibpodOK, error)

PlayKubeLibpod plays a kubernetes y a m l file.

Create and run pods based on a Kubernetes YAML file.

### Content-Type

Then endpoint support two Content-Type

  • `plain/text` for yaml format
  • `application/x-tar` for sending context(s) required for building images

#### Tar format

The tar format must contain a `play.yaml` file at the root that will be used. If the file format requires context to build an image, it uses the image name and check for corresponding folder.

For example, the client sends a tar file with the following structure:

``` └── content.tar

├── play.yaml
└── foobar/
    └── Containerfile

```

The `play.yaml` is the following, the `foobar` image means we are looking for a context with this name. ``` apiVersion: v1 kind: Pod metadata: name: demo-build-remote spec: containers:

  • name: container image: foobar

``` .

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

func (*Client) PlayKubeLibpodContext

func (a *Client) PlayKubeLibpodContext(ctx context.Context, params *PlayKubeLibpodParams, opts ...ClientOption) (*PlayKubeLibpodOK, error)

PlayKubeLibpodContext plays a kubernetes y a m l file.

Create and run pods based on a Kubernetes YAML file.

### Content-Type

Then endpoint support two Content-Type

  • `plain/text` for yaml format
  • `application/x-tar` for sending context(s) required for building images

#### Tar format

The tar format must contain a `play.yaml` file at the root that will be used. If the file format requires context to build an image, it uses the image name and check for corresponding folder.

For example, the client sends a tar file with the following structure:

``` └── content.tar

├── play.yaml
└── foobar/
    └── Containerfile

```

The `play.yaml` is the following, the `foobar` image means we are looking for a context with this name. ``` apiVersion: v1 kind: Pod metadata: name: demo-build-remote spec: containers:

  • name: container image: foobar

``` .

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

func (*Client) PutContainerArchiveLibpod

func (a *Client) PutContainerArchiveLibpod(params *PutContainerArchiveLibpodParams, opts ...ClientOption) (*PutContainerArchiveLibpodOK, error)

PutContainerArchiveLibpod copies files into a container.

Copy a tar archive of files into a container.

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

func (*Client) PutContainerArchiveLibpodContext

func (a *Client) PutContainerArchiveLibpodContext(ctx context.Context, params *PutContainerArchiveLibpodParams, opts ...ClientOption) (*PutContainerArchiveLibpodOK, error)

PutContainerArchiveLibpodContext copies files into a container.

Copy a tar archive of files into a container.

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

type ClientService interface {

	// ContainerAttachLibpod attach to a container.
	ContainerAttachLibpod(params *ContainerAttachLibpodParams, opts ...ClientOption) error

	// ContainerAttachLibpodContext attach to a container.
	ContainerAttachLibpodContext(ctx context.Context, params *ContainerAttachLibpodParams, opts ...ClientOption) error

	// ContainerChangesLibpod report on changes to container s filesystem adds deletes or modifications.
	ContainerChangesLibpod(params *ContainerChangesLibpodParams, opts ...ClientOption) (*ContainerChangesLibpodOK, error)

	// ContainerChangesLibpodContext report on changes to container s filesystem adds deletes or modifications.
	ContainerChangesLibpodContext(ctx context.Context, params *ContainerChangesLibpodParams, opts ...ClientOption) (*ContainerChangesLibpodOK, error)

	// ContainerCheckpointLibpod checkpoint a container.
	ContainerCheckpointLibpod(params *ContainerCheckpointLibpodParams, opts ...ClientOption) (*ContainerCheckpointLibpodOK, error)

	// ContainerCheckpointLibpodContext checkpoint a container.
	ContainerCheckpointLibpodContext(ctx context.Context, params *ContainerCheckpointLibpodParams, opts ...ClientOption) (*ContainerCheckpointLibpodOK, error)

	// ContainerCreateLibpod create a container.
	ContainerCreateLibpod(params *ContainerCreateLibpodParams, opts ...ClientOption) (*ContainerCreateLibpodCreated, error)

	// ContainerCreateLibpodContext create a container.
	ContainerCreateLibpodContext(ctx context.Context, params *ContainerCreateLibpodParams, opts ...ClientOption) (*ContainerCreateLibpodCreated, error)

	// ContainerDeleteLibpod delete container.
	ContainerDeleteLibpod(params *ContainerDeleteLibpodParams, opts ...ClientOption) (*ContainerDeleteLibpodOK, *ContainerDeleteLibpodNoContent, error)

	// ContainerDeleteLibpodContext delete container.
	ContainerDeleteLibpodContext(ctx context.Context, params *ContainerDeleteLibpodParams, opts ...ClientOption) (*ContainerDeleteLibpodOK, *ContainerDeleteLibpodNoContent, error)

	// ContainerExistsLibpod check if container exists.
	ContainerExistsLibpod(params *ContainerExistsLibpodParams, opts ...ClientOption) (*ContainerExistsLibpodNoContent, error)

	// ContainerExistsLibpodContext check if container exists.
	ContainerExistsLibpodContext(ctx context.Context, params *ContainerExistsLibpodParams, opts ...ClientOption) (*ContainerExistsLibpodNoContent, error)

	// ContainerExportLibpod export a container.
	ContainerExportLibpod(params *ContainerExportLibpodParams, opts ...ClientOption) (*ContainerExportLibpodOK, error)

	// ContainerExportLibpodContext export a container.
	ContainerExportLibpodContext(ctx context.Context, params *ContainerExportLibpodParams, opts ...ClientOption) (*ContainerExportLibpodOK, error)

	// ContainerHealthcheckLibpod run a container s healthcheck.
	ContainerHealthcheckLibpod(params *ContainerHealthcheckLibpodParams, opts ...ClientOption) (*ContainerHealthcheckLibpodOK, error)

	// ContainerHealthcheckLibpodContext run a container s healthcheck.
	ContainerHealthcheckLibpodContext(ctx context.Context, params *ContainerHealthcheckLibpodParams, opts ...ClientOption) (*ContainerHealthcheckLibpodOK, error)

	// ContainerInitLibpod initialize a container.
	ContainerInitLibpod(params *ContainerInitLibpodParams, opts ...ClientOption) (*ContainerInitLibpodNoContent, error)

	// ContainerInitLibpodContext initialize a container.
	ContainerInitLibpodContext(ctx context.Context, params *ContainerInitLibpodParams, opts ...ClientOption) (*ContainerInitLibpodNoContent, error)

	// ContainerInspectLibpod inspect container.
	ContainerInspectLibpod(params *ContainerInspectLibpodParams, opts ...ClientOption) (*ContainerInspectLibpodOK, error)

	// ContainerInspectLibpodContext inspect container.
	ContainerInspectLibpodContext(ctx context.Context, params *ContainerInspectLibpodParams, opts ...ClientOption) (*ContainerInspectLibpodOK, error)

	// ContainerKillLibpod kill container.
	ContainerKillLibpod(params *ContainerKillLibpodParams, opts ...ClientOption) (*ContainerKillLibpodNoContent, error)

	// ContainerKillLibpodContext kill container.
	ContainerKillLibpodContext(ctx context.Context, params *ContainerKillLibpodParams, opts ...ClientOption) (*ContainerKillLibpodNoContent, error)

	// ContainerListLibpod list containers.
	ContainerListLibpod(params *ContainerListLibpodParams, opts ...ClientOption) (*ContainerListLibpodOK, error)

	// ContainerListLibpodContext list containers.
	ContainerListLibpodContext(ctx context.Context, params *ContainerListLibpodParams, opts ...ClientOption) (*ContainerListLibpodOK, error)

	// ContainerLogsLibpod get container logs.
	ContainerLogsLibpod(params *ContainerLogsLibpodParams, opts ...ClientOption) (*ContainerLogsLibpodOK, error)

	// ContainerLogsLibpodContext get container logs.
	ContainerLogsLibpodContext(ctx context.Context, params *ContainerLogsLibpodParams, opts ...ClientOption) (*ContainerLogsLibpodOK, error)

	// ContainerMountLibpod mount a container.
	ContainerMountLibpod(params *ContainerMountLibpodParams, opts ...ClientOption) (*ContainerMountLibpodOK, error)

	// ContainerMountLibpodContext mount a container.
	ContainerMountLibpodContext(ctx context.Context, params *ContainerMountLibpodParams, opts ...ClientOption) (*ContainerMountLibpodOK, error)

	// ContainerPauseLibpod pause a container.
	ContainerPauseLibpod(params *ContainerPauseLibpodParams, opts ...ClientOption) (*ContainerPauseLibpodNoContent, error)

	// ContainerPauseLibpodContext pause a container.
	ContainerPauseLibpodContext(ctx context.Context, params *ContainerPauseLibpodParams, opts ...ClientOption) (*ContainerPauseLibpodNoContent, error)

	// ContainerPruneLibpod delete stopped containers.
	ContainerPruneLibpod(params *ContainerPruneLibpodParams, opts ...ClientOption) (*ContainerPruneLibpodOK, error)

	// ContainerPruneLibpodContext delete stopped containers.
	ContainerPruneLibpodContext(ctx context.Context, params *ContainerPruneLibpodParams, opts ...ClientOption) (*ContainerPruneLibpodOK, error)

	// ContainerRenameLibpod rename an existing container.
	ContainerRenameLibpod(params *ContainerRenameLibpodParams, opts ...ClientOption) (*ContainerRenameLibpodNoContent, error)

	// ContainerRenameLibpodContext rename an existing container.
	ContainerRenameLibpodContext(ctx context.Context, params *ContainerRenameLibpodParams, opts ...ClientOption) (*ContainerRenameLibpodNoContent, error)

	// ContainerResizeLibpod resize a container s t t y.
	ContainerResizeLibpod(params *ContainerResizeLibpodParams, opts ...ClientOption) (*ContainerResizeLibpodOK, error)

	// ContainerResizeLibpodContext resize a container s t t y.
	ContainerResizeLibpodContext(ctx context.Context, params *ContainerResizeLibpodParams, opts ...ClientOption) (*ContainerResizeLibpodOK, error)

	// ContainerRestartLibpod restart a container.
	ContainerRestartLibpod(params *ContainerRestartLibpodParams, opts ...ClientOption) (*ContainerRestartLibpodNoContent, error)

	// ContainerRestartLibpodContext restart a container.
	ContainerRestartLibpodContext(ctx context.Context, params *ContainerRestartLibpodParams, opts ...ClientOption) (*ContainerRestartLibpodNoContent, error)

	// ContainerRestoreLibpod restore a container.
	ContainerRestoreLibpod(params *ContainerRestoreLibpodParams, opts ...ClientOption) (*ContainerRestoreLibpodOK, error)

	// ContainerRestoreLibpodContext restore a container.
	ContainerRestoreLibpodContext(ctx context.Context, params *ContainerRestoreLibpodParams, opts ...ClientOption) (*ContainerRestoreLibpodOK, error)

	// ContainerShowMountedLibpod show mounted containers.
	ContainerShowMountedLibpod(params *ContainerShowMountedLibpodParams, opts ...ClientOption) (*ContainerShowMountedLibpodOK, error)

	// ContainerShowMountedLibpodContext show mounted containers.
	ContainerShowMountedLibpodContext(ctx context.Context, params *ContainerShowMountedLibpodParams, opts ...ClientOption) (*ContainerShowMountedLibpodOK, error)

	// ContainerStartLibpod start a container.
	ContainerStartLibpod(params *ContainerStartLibpodParams, opts ...ClientOption) (*ContainerStartLibpodNoContent, error)

	// ContainerStartLibpodContext start a container.
	ContainerStartLibpodContext(ctx context.Context, params *ContainerStartLibpodParams, opts ...ClientOption) (*ContainerStartLibpodNoContent, error)

	// ContainerStatsLibpod get stats for a container.
	ContainerStatsLibpod(params *ContainerStatsLibpodParams, opts ...ClientOption) (*ContainerStatsLibpodOK, error)

	// ContainerStatsLibpodContext get stats for a container.
	ContainerStatsLibpodContext(ctx context.Context, params *ContainerStatsLibpodParams, opts ...ClientOption) (*ContainerStatsLibpodOK, error)

	// ContainerStopLibpod stop a container.
	ContainerStopLibpod(params *ContainerStopLibpodParams, opts ...ClientOption) (*ContainerStopLibpodNoContent, error)

	// ContainerStopLibpodContext stop a container.
	ContainerStopLibpodContext(ctx context.Context, params *ContainerStopLibpodParams, opts ...ClientOption) (*ContainerStopLibpodNoContent, error)

	// ContainerTopLibpod list processes.
	ContainerTopLibpod(params *ContainerTopLibpodParams, opts ...ClientOption) (*ContainerTopLibpodOK, error)

	// ContainerTopLibpodContext list processes.
	ContainerTopLibpodContext(ctx context.Context, params *ContainerTopLibpodParams, opts ...ClientOption) (*ContainerTopLibpodOK, error)

	// ContainerUnmountLibpod unmount a container.
	ContainerUnmountLibpod(params *ContainerUnmountLibpodParams, opts ...ClientOption) (*ContainerUnmountLibpodNoContent, error)

	// ContainerUnmountLibpodContext unmount a container.
	ContainerUnmountLibpodContext(ctx context.Context, params *ContainerUnmountLibpodParams, opts ...ClientOption) (*ContainerUnmountLibpodNoContent, error)

	// ContainerUnpauseLibpod unpause container.
	ContainerUnpauseLibpod(params *ContainerUnpauseLibpodParams, opts ...ClientOption) (*ContainerUnpauseLibpodNoContent, error)

	// ContainerUnpauseLibpodContext unpause container.
	ContainerUnpauseLibpodContext(ctx context.Context, params *ContainerUnpauseLibpodParams, opts ...ClientOption) (*ContainerUnpauseLibpodNoContent, error)

	// ContainerUpdateLibpod updates the configuration of an existing container allowing changes to resource limits and healthchecks.
	ContainerUpdateLibpod(params *ContainerUpdateLibpodParams, opts ...ClientOption) (*ContainerUpdateLibpodCreated, error)

	// ContainerUpdateLibpodContext updates the configuration of an existing container allowing changes to resource limits and healthchecks.
	ContainerUpdateLibpodContext(ctx context.Context, params *ContainerUpdateLibpodParams, opts ...ClientOption) (*ContainerUpdateLibpodCreated, error)

	// ContainerWaitLibpod wait on a container.
	ContainerWaitLibpod(params *ContainerWaitLibpodParams, opts ...ClientOption) (*ContainerWaitLibpodOK, error)

	// ContainerWaitLibpodContext wait on a container.
	ContainerWaitLibpodContext(ctx context.Context, params *ContainerWaitLibpodParams, opts ...ClientOption) (*ContainerWaitLibpodOK, error)

	// ContainersStatsAllLibpod get stats for one or more containers.
	ContainersStatsAllLibpod(params *ContainersStatsAllLibpodParams, opts ...ClientOption) (*ContainersStatsAllLibpodOK, error)

	// ContainersStatsAllLibpodContext get stats for one or more containers.
	ContainersStatsAllLibpodContext(ctx context.Context, params *ContainersStatsAllLibpodParams, opts ...ClientOption) (*ContainersStatsAllLibpodOK, error)

	// GenerateKubeLibpod generate a kubernetes y a m l file.
	GenerateKubeLibpod(params *GenerateKubeLibpodParams, writer io.Writer, opts ...ClientOption) (*GenerateKubeLibpodOK, error)

	// GenerateKubeLibpodContext generate a kubernetes y a m l file.
	GenerateKubeLibpodContext(ctx context.Context, params *GenerateKubeLibpodParams, writer io.Writer, opts ...ClientOption) (*GenerateKubeLibpodOK, error)

	// GenerateSystemdLibpod generate systemd units.
	GenerateSystemdLibpod(params *GenerateSystemdLibpodParams, opts ...ClientOption) (*GenerateSystemdLibpodOK, error)

	// GenerateSystemdLibpodContext generate systemd units.
	GenerateSystemdLibpodContext(ctx context.Context, params *GenerateSystemdLibpodParams, opts ...ClientOption) (*GenerateSystemdLibpodOK, error)

	// ImageCommitLibpod commit.
	ImageCommitLibpod(params *ImageCommitLibpodParams, opts ...ClientOption) (*ImageCommitLibpodCreated, error)

	// ImageCommitLibpodContext commit.
	ImageCommitLibpodContext(ctx context.Context, params *ImageCommitLibpodParams, opts ...ClientOption) (*ImageCommitLibpodCreated, error)

	// KubeApplyLibpod apply a podman workload or kubernetes y a m l file.
	KubeApplyLibpod(params *KubeApplyLibpodParams, writer io.Writer, opts ...ClientOption) (*KubeApplyLibpodOK, error)

	// KubeApplyLibpodContext apply a podman workload or kubernetes y a m l file.
	KubeApplyLibpodContext(ctx context.Context, params *KubeApplyLibpodParams, writer io.Writer, opts ...ClientOption) (*KubeApplyLibpodOK, error)

	// PlayKubeDownLibpod remove resources created from kube play.
	PlayKubeDownLibpod(params *PlayKubeDownLibpodParams, opts ...ClientOption) (*PlayKubeDownLibpodOK, error)

	// PlayKubeDownLibpodContext remove resources created from kube play.
	PlayKubeDownLibpodContext(ctx context.Context, params *PlayKubeDownLibpodParams, opts ...ClientOption) (*PlayKubeDownLibpodOK, error)

	// PlayKubeLibpod play a kubernetes y a m l file.
	PlayKubeLibpod(params *PlayKubeLibpodParams, opts ...ClientOption) (*PlayKubeLibpodOK, error)

	// PlayKubeLibpodContext play a kubernetes y a m l file.
	PlayKubeLibpodContext(ctx context.Context, params *PlayKubeLibpodParams, opts ...ClientOption) (*PlayKubeLibpodOK, error)

	// PutContainerArchiveLibpod copy files into a container.
	PutContainerArchiveLibpod(params *PutContainerArchiveLibpodParams, opts ...ClientOption) (*PutContainerArchiveLibpodOK, error)

	// PutContainerArchiveLibpodContext copy files into a container.
	PutContainerArchiveLibpodContext(ctx context.Context, params *PutContainerArchiveLibpodParams, opts ...ClientOption) (*PutContainerArchiveLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new containers API client.

func NewClientWithBasicAuth

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

New creates a new containers 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 containers 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 ContainerAttachLibpodBadRequest

type ContainerAttachLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewContainerAttachLibpodBadRequest

func NewContainerAttachLibpodBadRequest() *ContainerAttachLibpodBadRequest

NewContainerAttachLibpodBadRequest creates a ContainerAttachLibpodBadRequest with default headers values

func (*ContainerAttachLibpodBadRequest) Code

Code gets the status code for the container attach libpod bad request response

func (*ContainerAttachLibpodBadRequest) Error

func (*ContainerAttachLibpodBadRequest) GetPayload

func (*ContainerAttachLibpodBadRequest) IsClientError

func (o *ContainerAttachLibpodBadRequest) IsClientError() bool

IsClientError returns true when this container attach libpod bad request response has a 4xx status code

func (*ContainerAttachLibpodBadRequest) IsCode

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

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

func (*ContainerAttachLibpodBadRequest) IsRedirect

func (o *ContainerAttachLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this container attach libpod bad request response has a 3xx status code

func (*ContainerAttachLibpodBadRequest) IsServerError

func (o *ContainerAttachLibpodBadRequest) IsServerError() bool

IsServerError returns true when this container attach libpod bad request response has a 5xx status code

func (*ContainerAttachLibpodBadRequest) IsSuccess

func (o *ContainerAttachLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this container attach libpod bad request response has a 2xx status code

func (*ContainerAttachLibpodBadRequest) String

type ContainerAttachLibpodInternalServerError

type ContainerAttachLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerAttachLibpodInternalServerError

func NewContainerAttachLibpodInternalServerError() *ContainerAttachLibpodInternalServerError

NewContainerAttachLibpodInternalServerError creates a ContainerAttachLibpodInternalServerError with default headers values

func (*ContainerAttachLibpodInternalServerError) Code

Code gets the status code for the container attach libpod internal server error response

func (*ContainerAttachLibpodInternalServerError) Error

func (*ContainerAttachLibpodInternalServerError) GetPayload

func (*ContainerAttachLibpodInternalServerError) IsClientError

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

func (*ContainerAttachLibpodInternalServerError) IsCode

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

func (*ContainerAttachLibpodInternalServerError) IsRedirect

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

func (*ContainerAttachLibpodInternalServerError) IsServerError

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

func (*ContainerAttachLibpodInternalServerError) IsSuccess

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

func (*ContainerAttachLibpodInternalServerError) String

type ContainerAttachLibpodNotFound

type ContainerAttachLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerAttachLibpodNotFound

func NewContainerAttachLibpodNotFound() *ContainerAttachLibpodNotFound

NewContainerAttachLibpodNotFound creates a ContainerAttachLibpodNotFound with default headers values

func (*ContainerAttachLibpodNotFound) Code

Code gets the status code for the container attach libpod not found response

func (*ContainerAttachLibpodNotFound) Error

func (*ContainerAttachLibpodNotFound) GetPayload

func (*ContainerAttachLibpodNotFound) IsClientError

func (o *ContainerAttachLibpodNotFound) IsClientError() bool

IsClientError returns true when this container attach libpod not found response has a 4xx status code

func (*ContainerAttachLibpodNotFound) IsCode

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

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

func (*ContainerAttachLibpodNotFound) IsRedirect

func (o *ContainerAttachLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container attach libpod not found response has a 3xx status code

func (*ContainerAttachLibpodNotFound) IsServerError

func (o *ContainerAttachLibpodNotFound) IsServerError() bool

IsServerError returns true when this container attach libpod not found response has a 5xx status code

func (*ContainerAttachLibpodNotFound) IsSuccess

func (o *ContainerAttachLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container attach libpod not found response has a 2xx status code

func (*ContainerAttachLibpodNotFound) String

type ContainerAttachLibpodParams

type ContainerAttachLibpodParams struct {

	// DetachKeys.
	//
	// keys to use for detaching from the container
	DetachKeys *string

	// Logs.
	//
	// Stream all logs from the container across the connection. Happens before streaming attach (if requested). At least one of logs or stream must be set
	Logs *bool

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

	// Stderr.
	//
	// Attach to container STDERR
	Stderr *bool

	// Stdin.
	//
	// Attach to container STDIN
	Stdin *bool

	// Stdout.
	//
	// Attach to container STDOUT
	Stdout *bool

	// Stream.
	//
	// Attach to the container. If unset, and logs is set, only the container's logs will be sent. At least one of stream or logs must be set
	//
	// Default: true
	Stream *bool

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

ContainerAttachLibpodParams contains all the parameters to send to the API endpoint

for the container attach libpod operation.

Typically these are written to a http.Request.

func NewContainerAttachLibpodParams

func NewContainerAttachLibpodParams() *ContainerAttachLibpodParams

NewContainerAttachLibpodParams creates a new ContainerAttachLibpodParams 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 NewContainerAttachLibpodParamsWithContext deprecated

func NewContainerAttachLibpodParamsWithContext(ctx context.Context) *ContainerAttachLibpodParams

NewContainerAttachLibpodParamsWithContext creates a new ContainerAttachLibpodParams object with the ability to set a context for a request.

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

func NewContainerAttachLibpodParamsWithHTTPClient

func NewContainerAttachLibpodParamsWithHTTPClient(client *http.Client) *ContainerAttachLibpodParams

NewContainerAttachLibpodParamsWithHTTPClient creates a new ContainerAttachLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerAttachLibpodParamsWithTimeout

func NewContainerAttachLibpodParamsWithTimeout(timeout time.Duration) *ContainerAttachLibpodParams

NewContainerAttachLibpodParamsWithTimeout creates a new ContainerAttachLibpodParams object with the ability to set a timeout on a request.

func (*ContainerAttachLibpodParams) SetContext deprecated

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

SetContext adds the context to the container attach libpod params.

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

func (*ContainerAttachLibpodParams) SetDefaults

func (o *ContainerAttachLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container attach libpod params (not the query body).

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

func (*ContainerAttachLibpodParams) SetDetachKeys

func (o *ContainerAttachLibpodParams) SetDetachKeys(detachKeys *string)

SetDetachKeys adds the detachKeys to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetLogs

func (o *ContainerAttachLibpodParams) SetLogs(logs *bool)

SetLogs adds the logs to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetName

func (o *ContainerAttachLibpodParams) SetName(name string)

SetName adds the name to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetStderr

func (o *ContainerAttachLibpodParams) SetStderr(stderr *bool)

SetStderr adds the stderr to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetStdin

func (o *ContainerAttachLibpodParams) SetStdin(stdin *bool)

SetStdin adds the stdin to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetStdout

func (o *ContainerAttachLibpodParams) SetStdout(stdout *bool)

SetStdout adds the stdout to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetStream

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

SetStream adds the stream to the container attach libpod params.

func (*ContainerAttachLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithContext deprecated

WithContext adds the context to the container attach libpod params.

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

func (*ContainerAttachLibpodParams) WithDefaults

WithDefaults hydrates default values in the container attach libpod params (not the query body).

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

func (*ContainerAttachLibpodParams) WithDetachKeys

func (o *ContainerAttachLibpodParams) WithDetachKeys(detachKeys *string) *ContainerAttachLibpodParams

WithDetachKeys adds the detachKeys to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithLogs

WithLogs adds the logs to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithName

WithName adds the name to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithStderr

WithStderr adds the stderr to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithStdin

WithStdin adds the stdin to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithStdout

WithStdout adds the stdout to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithStream

WithStream adds the stream to the container attach libpod params.

func (*ContainerAttachLibpodParams) WithTimeout

WithTimeout adds the timeout to the container attach libpod params.

func (*ContainerAttachLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerAttachLibpodReader

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

ContainerAttachLibpodReader is a Reader for the ContainerAttachLibpod structure.

func (*ContainerAttachLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerAttachLibpodSwitchingProtocols

type ContainerAttachLibpodSwitchingProtocols struct {
}

ContainerAttachLibpodSwitchingProtocols describes a response with status code 101, with default header values.

No error, connection has been hijacked for transporting streams.

func NewContainerAttachLibpodSwitchingProtocols

func NewContainerAttachLibpodSwitchingProtocols() *ContainerAttachLibpodSwitchingProtocols

NewContainerAttachLibpodSwitchingProtocols creates a ContainerAttachLibpodSwitchingProtocols with default headers values

func (*ContainerAttachLibpodSwitchingProtocols) Code

Code gets the status code for the container attach libpod switching protocols response

func (*ContainerAttachLibpodSwitchingProtocols) Error

func (*ContainerAttachLibpodSwitchingProtocols) IsClientError

func (o *ContainerAttachLibpodSwitchingProtocols) IsClientError() bool

IsClientError returns true when this container attach libpod switching protocols response has a 4xx status code

func (*ContainerAttachLibpodSwitchingProtocols) IsCode

IsCode returns true when this container attach libpod switching protocols response a status code equal to that given

func (*ContainerAttachLibpodSwitchingProtocols) IsRedirect

IsRedirect returns true when this container attach libpod switching protocols response has a 3xx status code

func (*ContainerAttachLibpodSwitchingProtocols) IsServerError

func (o *ContainerAttachLibpodSwitchingProtocols) IsServerError() bool

IsServerError returns true when this container attach libpod switching protocols response has a 5xx status code

func (*ContainerAttachLibpodSwitchingProtocols) IsSuccess

IsSuccess returns true when this container attach libpod switching protocols response has a 2xx status code

func (*ContainerAttachLibpodSwitchingProtocols) String

type ContainerChangesLibpodInternalServerError

type ContainerChangesLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerChangesLibpodInternalServerError

func NewContainerChangesLibpodInternalServerError() *ContainerChangesLibpodInternalServerError

NewContainerChangesLibpodInternalServerError creates a ContainerChangesLibpodInternalServerError with default headers values

func (*ContainerChangesLibpodInternalServerError) Code

Code gets the status code for the container changes libpod internal server error response

func (*ContainerChangesLibpodInternalServerError) Error

func (*ContainerChangesLibpodInternalServerError) GetPayload

func (*ContainerChangesLibpodInternalServerError) IsClientError

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

func (*ContainerChangesLibpodInternalServerError) IsCode

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

func (*ContainerChangesLibpodInternalServerError) IsRedirect

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

func (*ContainerChangesLibpodInternalServerError) IsServerError

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

func (*ContainerChangesLibpodInternalServerError) IsSuccess

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

func (*ContainerChangesLibpodInternalServerError) String

type ContainerChangesLibpodNotFound

type ContainerChangesLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerChangesLibpodNotFound

func NewContainerChangesLibpodNotFound() *ContainerChangesLibpodNotFound

NewContainerChangesLibpodNotFound creates a ContainerChangesLibpodNotFound with default headers values

func (*ContainerChangesLibpodNotFound) Code

Code gets the status code for the container changes libpod not found response

func (*ContainerChangesLibpodNotFound) Error

func (*ContainerChangesLibpodNotFound) GetPayload

func (*ContainerChangesLibpodNotFound) IsClientError

func (o *ContainerChangesLibpodNotFound) IsClientError() bool

IsClientError returns true when this container changes libpod not found response has a 4xx status code

func (*ContainerChangesLibpodNotFound) IsCode

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

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

func (*ContainerChangesLibpodNotFound) IsRedirect

func (o *ContainerChangesLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container changes libpod not found response has a 3xx status code

func (*ContainerChangesLibpodNotFound) IsServerError

func (o *ContainerChangesLibpodNotFound) IsServerError() bool

IsServerError returns true when this container changes libpod not found response has a 5xx status code

func (*ContainerChangesLibpodNotFound) IsSuccess

func (o *ContainerChangesLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container changes libpod not found response has a 2xx status code

func (*ContainerChangesLibpodNotFound) String

type ContainerChangesLibpodOK

type ContainerChangesLibpodOK struct {
}

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

Array of Changes

func NewContainerChangesLibpodOK

func NewContainerChangesLibpodOK() *ContainerChangesLibpodOK

NewContainerChangesLibpodOK creates a ContainerChangesLibpodOK with default headers values

func (*ContainerChangesLibpodOK) Code

func (o *ContainerChangesLibpodOK) Code() int

Code gets the status code for the container changes libpod o k response

func (*ContainerChangesLibpodOK) Error

func (o *ContainerChangesLibpodOK) Error() string

func (*ContainerChangesLibpodOK) IsClientError

func (o *ContainerChangesLibpodOK) IsClientError() bool

IsClientError returns true when this container changes libpod o k response has a 4xx status code

func (*ContainerChangesLibpodOK) IsCode

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

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

func (*ContainerChangesLibpodOK) IsRedirect

func (o *ContainerChangesLibpodOK) IsRedirect() bool

IsRedirect returns true when this container changes libpod o k response has a 3xx status code

func (*ContainerChangesLibpodOK) IsServerError

func (o *ContainerChangesLibpodOK) IsServerError() bool

IsServerError returns true when this container changes libpod o k response has a 5xx status code

func (*ContainerChangesLibpodOK) IsSuccess

func (o *ContainerChangesLibpodOK) IsSuccess() bool

IsSuccess returns true when this container changes libpod o k response has a 2xx status code

func (*ContainerChangesLibpodOK) String

func (o *ContainerChangesLibpodOK) String() string

type ContainerChangesLibpodParams

type ContainerChangesLibpodParams struct {

	// DiffType.
	//
	// select what you want to match, default is all
	DiffType *string

	// Name.
	//
	// the name or id of the container
	Name string

	// Parent.
	//
	// specify a second layer which is used to compare against it instead of the parent layer
	Parent *string

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

ContainerChangesLibpodParams contains all the parameters to send to the API endpoint

for the container changes libpod operation.

Typically these are written to a http.Request.

func NewContainerChangesLibpodParams

func NewContainerChangesLibpodParams() *ContainerChangesLibpodParams

NewContainerChangesLibpodParams creates a new ContainerChangesLibpodParams 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 NewContainerChangesLibpodParamsWithContext deprecated

func NewContainerChangesLibpodParamsWithContext(ctx context.Context) *ContainerChangesLibpodParams

NewContainerChangesLibpodParamsWithContext creates a new ContainerChangesLibpodParams object with the ability to set a context for a request.

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

func NewContainerChangesLibpodParamsWithHTTPClient

func NewContainerChangesLibpodParamsWithHTTPClient(client *http.Client) *ContainerChangesLibpodParams

NewContainerChangesLibpodParamsWithHTTPClient creates a new ContainerChangesLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerChangesLibpodParamsWithTimeout

func NewContainerChangesLibpodParamsWithTimeout(timeout time.Duration) *ContainerChangesLibpodParams

NewContainerChangesLibpodParamsWithTimeout creates a new ContainerChangesLibpodParams object with the ability to set a timeout on a request.

func (*ContainerChangesLibpodParams) SetContext deprecated

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

SetContext adds the context to the container changes libpod params.

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

func (*ContainerChangesLibpodParams) SetDefaults

func (o *ContainerChangesLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container changes libpod params (not the query body).

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

func (*ContainerChangesLibpodParams) SetDiffType

func (o *ContainerChangesLibpodParams) SetDiffType(diffType *string)

SetDiffType adds the diffType to the container changes libpod params.

func (*ContainerChangesLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container changes libpod params.

func (*ContainerChangesLibpodParams) SetName

func (o *ContainerChangesLibpodParams) SetName(name string)

SetName adds the name to the container changes libpod params.

func (*ContainerChangesLibpodParams) SetParent

func (o *ContainerChangesLibpodParams) SetParent(parent *string)

SetParent adds the parent to the container changes libpod params.

func (*ContainerChangesLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container changes libpod params.

func (*ContainerChangesLibpodParams) WithContext deprecated

WithContext adds the context to the container changes libpod params.

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

func (*ContainerChangesLibpodParams) WithDefaults

WithDefaults hydrates default values in the container changes libpod params (not the query body).

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

func (*ContainerChangesLibpodParams) WithDiffType

WithDiffType adds the diffType to the container changes libpod params.

func (*ContainerChangesLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container changes libpod params.

func (*ContainerChangesLibpodParams) WithName

WithName adds the name to the container changes libpod params.

func (*ContainerChangesLibpodParams) WithParent

WithParent adds the parent to the container changes libpod params.

func (*ContainerChangesLibpodParams) WithTimeout

WithTimeout adds the timeout to the container changes libpod params.

func (*ContainerChangesLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerChangesLibpodReader

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

ContainerChangesLibpodReader is a Reader for the ContainerChangesLibpod structure.

func (*ContainerChangesLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerCheckpointLibpodInternalServerError

type ContainerCheckpointLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerCheckpointLibpodInternalServerError

func NewContainerCheckpointLibpodInternalServerError() *ContainerCheckpointLibpodInternalServerError

NewContainerCheckpointLibpodInternalServerError creates a ContainerCheckpointLibpodInternalServerError with default headers values

func (*ContainerCheckpointLibpodInternalServerError) Code

Code gets the status code for the container checkpoint libpod internal server error response

func (*ContainerCheckpointLibpodInternalServerError) Error

func (*ContainerCheckpointLibpodInternalServerError) GetPayload

func (*ContainerCheckpointLibpodInternalServerError) IsClientError

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

func (*ContainerCheckpointLibpodInternalServerError) IsCode

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

func (*ContainerCheckpointLibpodInternalServerError) IsRedirect

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

func (*ContainerCheckpointLibpodInternalServerError) IsServerError

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

func (*ContainerCheckpointLibpodInternalServerError) IsSuccess

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

func (*ContainerCheckpointLibpodInternalServerError) String

type ContainerCheckpointLibpodNotFound

type ContainerCheckpointLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerCheckpointLibpodNotFound

func NewContainerCheckpointLibpodNotFound() *ContainerCheckpointLibpodNotFound

NewContainerCheckpointLibpodNotFound creates a ContainerCheckpointLibpodNotFound with default headers values

func (*ContainerCheckpointLibpodNotFound) Code

Code gets the status code for the container checkpoint libpod not found response

func (*ContainerCheckpointLibpodNotFound) Error

func (*ContainerCheckpointLibpodNotFound) GetPayload

func (*ContainerCheckpointLibpodNotFound) IsClientError

func (o *ContainerCheckpointLibpodNotFound) IsClientError() bool

IsClientError returns true when this container checkpoint libpod not found response has a 4xx status code

func (*ContainerCheckpointLibpodNotFound) IsCode

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

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

func (*ContainerCheckpointLibpodNotFound) IsRedirect

func (o *ContainerCheckpointLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container checkpoint libpod not found response has a 3xx status code

func (*ContainerCheckpointLibpodNotFound) IsServerError

func (o *ContainerCheckpointLibpodNotFound) IsServerError() bool

IsServerError returns true when this container checkpoint libpod not found response has a 5xx status code

func (*ContainerCheckpointLibpodNotFound) IsSuccess

func (o *ContainerCheckpointLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container checkpoint libpod not found response has a 2xx status code

func (*ContainerCheckpointLibpodNotFound) String

type ContainerCheckpointLibpodOK

type ContainerCheckpointLibpodOK struct {
}

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

tarball is returned in body if exported

func NewContainerCheckpointLibpodOK

func NewContainerCheckpointLibpodOK() *ContainerCheckpointLibpodOK

NewContainerCheckpointLibpodOK creates a ContainerCheckpointLibpodOK with default headers values

func (*ContainerCheckpointLibpodOK) Code

func (o *ContainerCheckpointLibpodOK) Code() int

Code gets the status code for the container checkpoint libpod o k response

func (*ContainerCheckpointLibpodOK) Error

func (*ContainerCheckpointLibpodOK) IsClientError

func (o *ContainerCheckpointLibpodOK) IsClientError() bool

IsClientError returns true when this container checkpoint libpod o k response has a 4xx status code

func (*ContainerCheckpointLibpodOK) IsCode

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

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

func (*ContainerCheckpointLibpodOK) IsRedirect

func (o *ContainerCheckpointLibpodOK) IsRedirect() bool

IsRedirect returns true when this container checkpoint libpod o k response has a 3xx status code

func (*ContainerCheckpointLibpodOK) IsServerError

func (o *ContainerCheckpointLibpodOK) IsServerError() bool

IsServerError returns true when this container checkpoint libpod o k response has a 5xx status code

func (*ContainerCheckpointLibpodOK) IsSuccess

func (o *ContainerCheckpointLibpodOK) IsSuccess() bool

IsSuccess returns true when this container checkpoint libpod o k response has a 2xx status code

func (*ContainerCheckpointLibpodOK) String

func (o *ContainerCheckpointLibpodOK) String() string

type ContainerCheckpointLibpodParams

type ContainerCheckpointLibpodParams struct {

	// Export.
	//
	// export the checkpoint image to a tar.gz
	Export *bool

	// FileLocks.
	//
	// checkpoint a container with filelocks
	FileLocks *bool

	// IgnoreRootFS.
	//
	// do not include root file-system changes when exporting. can only be used with export
	IgnoreRootFS *bool

	// IgnoreVolumes.
	//
	// do not include associated volumes. can only be used with export
	IgnoreVolumes *bool

	// Keep.
	//
	// keep all temporary checkpoint files
	Keep *bool

	// LeaveRunning.
	//
	// leave the container running after writing checkpoint to disk
	LeaveRunning *bool

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

	// PreCheckpoint.
	//
	// dump the container's memory information only, leaving the container running. only works on runc 1.0-rc or higher
	PreCheckpoint *bool

	// PrintStats.
	//
	// add checkpoint statistics to the returned CheckpointReport
	PrintStats *bool

	// TCPEstablished.
	//
	// checkpoint a container with established TCP connections
	TCPEstablished *bool

	// WithPrevious.
	//
	// check out the container with previous criu image files in pre-dump. only works on runc 1.0-rc or higher
	WithPrevious *bool

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

ContainerCheckpointLibpodParams contains all the parameters to send to the API endpoint

for the container checkpoint libpod operation.

Typically these are written to a http.Request.

func NewContainerCheckpointLibpodParams

func NewContainerCheckpointLibpodParams() *ContainerCheckpointLibpodParams

NewContainerCheckpointLibpodParams creates a new ContainerCheckpointLibpodParams 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 NewContainerCheckpointLibpodParamsWithContext deprecated

func NewContainerCheckpointLibpodParamsWithContext(ctx context.Context) *ContainerCheckpointLibpodParams

NewContainerCheckpointLibpodParamsWithContext creates a new ContainerCheckpointLibpodParams object with the ability to set a context for a request.

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

func NewContainerCheckpointLibpodParamsWithHTTPClient

func NewContainerCheckpointLibpodParamsWithHTTPClient(client *http.Client) *ContainerCheckpointLibpodParams

NewContainerCheckpointLibpodParamsWithHTTPClient creates a new ContainerCheckpointLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerCheckpointLibpodParamsWithTimeout

func NewContainerCheckpointLibpodParamsWithTimeout(timeout time.Duration) *ContainerCheckpointLibpodParams

NewContainerCheckpointLibpodParamsWithTimeout creates a new ContainerCheckpointLibpodParams object with the ability to set a timeout on a request.

func (*ContainerCheckpointLibpodParams) SetContext deprecated

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

SetContext adds the context to the container checkpoint libpod params.

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

func (*ContainerCheckpointLibpodParams) SetDefaults

func (o *ContainerCheckpointLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container checkpoint libpod params (not the query body).

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

func (*ContainerCheckpointLibpodParams) SetExport

func (o *ContainerCheckpointLibpodParams) SetExport(export *bool)

SetExport adds the export to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetFileLocks

func (o *ContainerCheckpointLibpodParams) SetFileLocks(fileLocks *bool)

SetFileLocks adds the fileLocks to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetIgnoreRootFS

func (o *ContainerCheckpointLibpodParams) SetIgnoreRootFS(ignoreRootFS *bool)

SetIgnoreRootFS adds the ignoreRootFS to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetIgnoreVolumes

func (o *ContainerCheckpointLibpodParams) SetIgnoreVolumes(ignoreVolumes *bool)

SetIgnoreVolumes adds the ignoreVolumes to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetKeep

func (o *ContainerCheckpointLibpodParams) SetKeep(keep *bool)

SetKeep adds the keep to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetLeaveRunning

func (o *ContainerCheckpointLibpodParams) SetLeaveRunning(leaveRunning *bool)

SetLeaveRunning adds the leaveRunning to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetName

func (o *ContainerCheckpointLibpodParams) SetName(name string)

SetName adds the name to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetPreCheckpoint

func (o *ContainerCheckpointLibpodParams) SetPreCheckpoint(preCheckpoint *bool)

SetPreCheckpoint adds the preCheckpoint to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetPrintStats

func (o *ContainerCheckpointLibpodParams) SetPrintStats(printStats *bool)

SetPrintStats adds the printStats to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetTCPEstablished

func (o *ContainerCheckpointLibpodParams) SetTCPEstablished(tcpEstablished *bool)

SetTCPEstablished adds the tcpEstablished to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) SetWithPrevious

func (o *ContainerCheckpointLibpodParams) SetWithPrevious(withPrevious *bool)

SetWithPrevious adds the withPrevious to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithContext deprecated

WithContext adds the context to the container checkpoint libpod params.

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

func (*ContainerCheckpointLibpodParams) WithDefaults

WithDefaults hydrates default values in the container checkpoint libpod params (not the query body).

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

func (*ContainerCheckpointLibpodParams) WithExport

WithExport adds the export to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithFileLocks

WithFileLocks adds the fileLocks to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithIgnoreRootFS

func (o *ContainerCheckpointLibpodParams) WithIgnoreRootFS(ignoreRootFS *bool) *ContainerCheckpointLibpodParams

WithIgnoreRootFS adds the ignoreRootFS to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithIgnoreVolumes

func (o *ContainerCheckpointLibpodParams) WithIgnoreVolumes(ignoreVolumes *bool) *ContainerCheckpointLibpodParams

WithIgnoreVolumes adds the ignoreVolumes to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithKeep

WithKeep adds the keep to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithLeaveRunning

func (o *ContainerCheckpointLibpodParams) WithLeaveRunning(leaveRunning *bool) *ContainerCheckpointLibpodParams

WithLeaveRunning adds the leaveRunning to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithName

WithName adds the name to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithPreCheckpoint

func (o *ContainerCheckpointLibpodParams) WithPreCheckpoint(preCheckpoint *bool) *ContainerCheckpointLibpodParams

WithPreCheckpoint adds the preCheckpoint to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithPrintStats

WithPrintStats adds the printStats to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithTCPEstablished

func (o *ContainerCheckpointLibpodParams) WithTCPEstablished(tcpEstablished *bool) *ContainerCheckpointLibpodParams

WithTCPEstablished adds the tcpEstablished to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithTimeout

WithTimeout adds the timeout to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WithWithPrevious

func (o *ContainerCheckpointLibpodParams) WithWithPrevious(withPrevious *bool) *ContainerCheckpointLibpodParams

WithWithPrevious adds the withPrevious to the container checkpoint libpod params.

func (*ContainerCheckpointLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerCheckpointLibpodReader

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

ContainerCheckpointLibpodReader is a Reader for the ContainerCheckpointLibpod structure.

func (*ContainerCheckpointLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerCreateLibpodBadRequest

type ContainerCreateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewContainerCreateLibpodBadRequest

func NewContainerCreateLibpodBadRequest() *ContainerCreateLibpodBadRequest

NewContainerCreateLibpodBadRequest creates a ContainerCreateLibpodBadRequest with default headers values

func (*ContainerCreateLibpodBadRequest) Code

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

func (*ContainerCreateLibpodBadRequest) Error

func (*ContainerCreateLibpodBadRequest) GetPayload

func (*ContainerCreateLibpodBadRequest) IsClientError

func (o *ContainerCreateLibpodBadRequest) IsClientError() bool

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

func (*ContainerCreateLibpodBadRequest) IsCode

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

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

func (*ContainerCreateLibpodBadRequest) IsRedirect

func (o *ContainerCreateLibpodBadRequest) IsRedirect() bool

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

func (*ContainerCreateLibpodBadRequest) IsServerError

func (o *ContainerCreateLibpodBadRequest) IsServerError() bool

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

func (*ContainerCreateLibpodBadRequest) IsSuccess

func (o *ContainerCreateLibpodBadRequest) IsSuccess() bool

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

func (*ContainerCreateLibpodBadRequest) String

type ContainerCreateLibpodConflict

type ContainerCreateLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerCreateLibpodConflict

func NewContainerCreateLibpodConflict() *ContainerCreateLibpodConflict

NewContainerCreateLibpodConflict creates a ContainerCreateLibpodConflict with default headers values

func (*ContainerCreateLibpodConflict) Code

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

func (*ContainerCreateLibpodConflict) Error

func (*ContainerCreateLibpodConflict) GetPayload

func (*ContainerCreateLibpodConflict) IsClientError

func (o *ContainerCreateLibpodConflict) IsClientError() bool

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

func (*ContainerCreateLibpodConflict) IsCode

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

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

func (*ContainerCreateLibpodConflict) IsRedirect

func (o *ContainerCreateLibpodConflict) IsRedirect() bool

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

func (*ContainerCreateLibpodConflict) IsServerError

func (o *ContainerCreateLibpodConflict) IsServerError() bool

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

func (*ContainerCreateLibpodConflict) IsSuccess

func (o *ContainerCreateLibpodConflict) IsSuccess() bool

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

func (*ContainerCreateLibpodConflict) String

type ContainerCreateLibpodCreated

type ContainerCreateLibpodCreated struct {
	Payload *models.ContainerCreateResponse
}

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

Create container

func NewContainerCreateLibpodCreated

func NewContainerCreateLibpodCreated() *ContainerCreateLibpodCreated

NewContainerCreateLibpodCreated creates a ContainerCreateLibpodCreated with default headers values

func (*ContainerCreateLibpodCreated) Code

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

func (*ContainerCreateLibpodCreated) Error

func (*ContainerCreateLibpodCreated) GetPayload

func (*ContainerCreateLibpodCreated) IsClientError

func (o *ContainerCreateLibpodCreated) IsClientError() bool

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

func (*ContainerCreateLibpodCreated) IsCode

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

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

func (*ContainerCreateLibpodCreated) IsRedirect

func (o *ContainerCreateLibpodCreated) IsRedirect() bool

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

func (*ContainerCreateLibpodCreated) IsServerError

func (o *ContainerCreateLibpodCreated) IsServerError() bool

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

func (*ContainerCreateLibpodCreated) IsSuccess

func (o *ContainerCreateLibpodCreated) IsSuccess() bool

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

func (*ContainerCreateLibpodCreated) String

type ContainerCreateLibpodInternalServerError

type ContainerCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerCreateLibpodInternalServerError

func NewContainerCreateLibpodInternalServerError() *ContainerCreateLibpodInternalServerError

NewContainerCreateLibpodInternalServerError creates a ContainerCreateLibpodInternalServerError with default headers values

func (*ContainerCreateLibpodInternalServerError) Code

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

func (*ContainerCreateLibpodInternalServerError) Error

func (*ContainerCreateLibpodInternalServerError) GetPayload

func (*ContainerCreateLibpodInternalServerError) IsClientError

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

func (*ContainerCreateLibpodInternalServerError) IsCode

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

func (*ContainerCreateLibpodInternalServerError) IsRedirect

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

func (*ContainerCreateLibpodInternalServerError) IsServerError

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

func (*ContainerCreateLibpodInternalServerError) IsSuccess

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

func (*ContainerCreateLibpodInternalServerError) String

type ContainerCreateLibpodNotFound

type ContainerCreateLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerCreateLibpodNotFound

func NewContainerCreateLibpodNotFound() *ContainerCreateLibpodNotFound

NewContainerCreateLibpodNotFound creates a ContainerCreateLibpodNotFound with default headers values

func (*ContainerCreateLibpodNotFound) Code

Code gets the status code for the container create libpod not found response

func (*ContainerCreateLibpodNotFound) Error

func (*ContainerCreateLibpodNotFound) GetPayload

func (*ContainerCreateLibpodNotFound) IsClientError

func (o *ContainerCreateLibpodNotFound) IsClientError() bool

IsClientError returns true when this container create libpod not found response has a 4xx status code

func (*ContainerCreateLibpodNotFound) IsCode

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

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

func (*ContainerCreateLibpodNotFound) IsRedirect

func (o *ContainerCreateLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container create libpod not found response has a 3xx status code

func (*ContainerCreateLibpodNotFound) IsServerError

func (o *ContainerCreateLibpodNotFound) IsServerError() bool

IsServerError returns true when this container create libpod not found response has a 5xx status code

func (*ContainerCreateLibpodNotFound) IsSuccess

func (o *ContainerCreateLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container create libpod not found response has a 2xx status code

func (*ContainerCreateLibpodNotFound) String

type ContainerCreateLibpodParams

type ContainerCreateLibpodParams struct {

	// Create.
	//
	// attributes for creating a container
	Create *models.SpecGenerator

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

ContainerCreateLibpodParams contains all the parameters to send to the API endpoint

for the container create libpod operation.

Typically these are written to a http.Request.

func NewContainerCreateLibpodParams

func NewContainerCreateLibpodParams() *ContainerCreateLibpodParams

NewContainerCreateLibpodParams creates a new ContainerCreateLibpodParams 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 NewContainerCreateLibpodParamsWithContext deprecated

func NewContainerCreateLibpodParamsWithContext(ctx context.Context) *ContainerCreateLibpodParams

NewContainerCreateLibpodParamsWithContext creates a new ContainerCreateLibpodParams object with the ability to set a context for a request.

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

func NewContainerCreateLibpodParamsWithHTTPClient

func NewContainerCreateLibpodParamsWithHTTPClient(client *http.Client) *ContainerCreateLibpodParams

NewContainerCreateLibpodParamsWithHTTPClient creates a new ContainerCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerCreateLibpodParamsWithTimeout

func NewContainerCreateLibpodParamsWithTimeout(timeout time.Duration) *ContainerCreateLibpodParams

NewContainerCreateLibpodParamsWithTimeout creates a new ContainerCreateLibpodParams object with the ability to set a timeout on a request.

func (*ContainerCreateLibpodParams) SetContext deprecated

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

SetContext adds the context to the container create libpod params.

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

func (*ContainerCreateLibpodParams) SetCreate

func (o *ContainerCreateLibpodParams) SetCreate(create *models.SpecGenerator)

SetCreate adds the create to the container create libpod params.

func (*ContainerCreateLibpodParams) SetDefaults

func (o *ContainerCreateLibpodParams) SetDefaults()

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

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

func (*ContainerCreateLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container create libpod params.

func (*ContainerCreateLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container create libpod params.

func (*ContainerCreateLibpodParams) WithContext deprecated

WithContext adds the context to the container create libpod params.

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

func (*ContainerCreateLibpodParams) WithCreate

WithCreate adds the create to the container create libpod params.

func (*ContainerCreateLibpodParams) WithDefaults

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

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

func (*ContainerCreateLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container create libpod params.

func (*ContainerCreateLibpodParams) WithTimeout

WithTimeout adds the timeout to the container create libpod params.

func (*ContainerCreateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerCreateLibpodReader

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

ContainerCreateLibpodReader is a Reader for the ContainerCreateLibpod structure.

func (*ContainerCreateLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerDeleteLibpodBadRequest

type ContainerDeleteLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewContainerDeleteLibpodBadRequest

func NewContainerDeleteLibpodBadRequest() *ContainerDeleteLibpodBadRequest

NewContainerDeleteLibpodBadRequest creates a ContainerDeleteLibpodBadRequest with default headers values

func (*ContainerDeleteLibpodBadRequest) Code

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

func (*ContainerDeleteLibpodBadRequest) Error

func (*ContainerDeleteLibpodBadRequest) GetPayload

func (*ContainerDeleteLibpodBadRequest) IsClientError

func (o *ContainerDeleteLibpodBadRequest) IsClientError() bool

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

func (*ContainerDeleteLibpodBadRequest) IsCode

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

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

func (*ContainerDeleteLibpodBadRequest) IsRedirect

func (o *ContainerDeleteLibpodBadRequest) IsRedirect() bool

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

func (*ContainerDeleteLibpodBadRequest) IsServerError

func (o *ContainerDeleteLibpodBadRequest) IsServerError() bool

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

func (*ContainerDeleteLibpodBadRequest) IsSuccess

func (o *ContainerDeleteLibpodBadRequest) IsSuccess() bool

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

func (*ContainerDeleteLibpodBadRequest) String

type ContainerDeleteLibpodConflict

type ContainerDeleteLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerDeleteLibpodConflict

func NewContainerDeleteLibpodConflict() *ContainerDeleteLibpodConflict

NewContainerDeleteLibpodConflict creates a ContainerDeleteLibpodConflict with default headers values

func (*ContainerDeleteLibpodConflict) Code

Code gets the status code for the container delete libpod conflict response

func (*ContainerDeleteLibpodConflict) Error

func (*ContainerDeleteLibpodConflict) GetPayload

func (*ContainerDeleteLibpodConflict) IsClientError

func (o *ContainerDeleteLibpodConflict) IsClientError() bool

IsClientError returns true when this container delete libpod conflict response has a 4xx status code

func (*ContainerDeleteLibpodConflict) IsCode

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

IsCode returns true when this container delete libpod conflict response a status code equal to that given

func (*ContainerDeleteLibpodConflict) IsRedirect

func (o *ContainerDeleteLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container delete libpod conflict response has a 3xx status code

func (*ContainerDeleteLibpodConflict) IsServerError

func (o *ContainerDeleteLibpodConflict) IsServerError() bool

IsServerError returns true when this container delete libpod conflict response has a 5xx status code

func (*ContainerDeleteLibpodConflict) IsSuccess

func (o *ContainerDeleteLibpodConflict) IsSuccess() bool

IsSuccess returns true when this container delete libpod conflict response has a 2xx status code

func (*ContainerDeleteLibpodConflict) String

type ContainerDeleteLibpodInternalServerError

type ContainerDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerDeleteLibpodInternalServerError

func NewContainerDeleteLibpodInternalServerError() *ContainerDeleteLibpodInternalServerError

NewContainerDeleteLibpodInternalServerError creates a ContainerDeleteLibpodInternalServerError with default headers values

func (*ContainerDeleteLibpodInternalServerError) Code

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

func (*ContainerDeleteLibpodInternalServerError) Error

func (*ContainerDeleteLibpodInternalServerError) GetPayload

func (*ContainerDeleteLibpodInternalServerError) IsClientError

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

func (*ContainerDeleteLibpodInternalServerError) IsCode

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

func (*ContainerDeleteLibpodInternalServerError) IsRedirect

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

func (*ContainerDeleteLibpodInternalServerError) IsServerError

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

func (*ContainerDeleteLibpodInternalServerError) IsSuccess

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

func (*ContainerDeleteLibpodInternalServerError) String

type ContainerDeleteLibpodNoContent

type ContainerDeleteLibpodNoContent struct {
}

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

no error

func NewContainerDeleteLibpodNoContent

func NewContainerDeleteLibpodNoContent() *ContainerDeleteLibpodNoContent

NewContainerDeleteLibpodNoContent creates a ContainerDeleteLibpodNoContent with default headers values

func (*ContainerDeleteLibpodNoContent) Code

Code gets the status code for the container delete libpod no content response

func (*ContainerDeleteLibpodNoContent) Error

func (*ContainerDeleteLibpodNoContent) IsClientError

func (o *ContainerDeleteLibpodNoContent) IsClientError() bool

IsClientError returns true when this container delete libpod no content response has a 4xx status code

func (*ContainerDeleteLibpodNoContent) IsCode

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

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

func (*ContainerDeleteLibpodNoContent) IsRedirect

func (o *ContainerDeleteLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container delete libpod no content response has a 3xx status code

func (*ContainerDeleteLibpodNoContent) IsServerError

func (o *ContainerDeleteLibpodNoContent) IsServerError() bool

IsServerError returns true when this container delete libpod no content response has a 5xx status code

func (*ContainerDeleteLibpodNoContent) IsSuccess

func (o *ContainerDeleteLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container delete libpod no content response has a 2xx status code

func (*ContainerDeleteLibpodNoContent) String

type ContainerDeleteLibpodNotFound

type ContainerDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerDeleteLibpodNotFound

func NewContainerDeleteLibpodNotFound() *ContainerDeleteLibpodNotFound

NewContainerDeleteLibpodNotFound creates a ContainerDeleteLibpodNotFound with default headers values

func (*ContainerDeleteLibpodNotFound) Code

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

func (*ContainerDeleteLibpodNotFound) Error

func (*ContainerDeleteLibpodNotFound) GetPayload

func (*ContainerDeleteLibpodNotFound) IsClientError

func (o *ContainerDeleteLibpodNotFound) IsClientError() bool

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

func (*ContainerDeleteLibpodNotFound) IsCode

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

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

func (*ContainerDeleteLibpodNotFound) IsRedirect

func (o *ContainerDeleteLibpodNotFound) IsRedirect() bool

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

func (*ContainerDeleteLibpodNotFound) IsServerError

func (o *ContainerDeleteLibpodNotFound) IsServerError() bool

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

func (*ContainerDeleteLibpodNotFound) IsSuccess

func (o *ContainerDeleteLibpodNotFound) IsSuccess() bool

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

func (*ContainerDeleteLibpodNotFound) String

type ContainerDeleteLibpodOK

type ContainerDeleteLibpodOK struct {
	Payload []*models.LibpodContainersRmReport
}

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

Remove Containers

func NewContainerDeleteLibpodOK

func NewContainerDeleteLibpodOK() *ContainerDeleteLibpodOK

NewContainerDeleteLibpodOK creates a ContainerDeleteLibpodOK with default headers values

func (*ContainerDeleteLibpodOK) Code

func (o *ContainerDeleteLibpodOK) Code() int

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

func (*ContainerDeleteLibpodOK) Error

func (o *ContainerDeleteLibpodOK) Error() string

func (*ContainerDeleteLibpodOK) GetPayload

func (*ContainerDeleteLibpodOK) IsClientError

func (o *ContainerDeleteLibpodOK) IsClientError() bool

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

func (*ContainerDeleteLibpodOK) IsCode

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

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

func (*ContainerDeleteLibpodOK) IsRedirect

func (o *ContainerDeleteLibpodOK) IsRedirect() bool

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

func (*ContainerDeleteLibpodOK) IsServerError

func (o *ContainerDeleteLibpodOK) IsServerError() bool

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

func (*ContainerDeleteLibpodOK) IsSuccess

func (o *ContainerDeleteLibpodOK) IsSuccess() bool

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

func (*ContainerDeleteLibpodOK) String

func (o *ContainerDeleteLibpodOK) String() string

type ContainerDeleteLibpodParams

type ContainerDeleteLibpodParams struct {

	// Depend.
	//
	// additionally remove containers that depend on the container to be removed
	Depend *bool

	// Force.
	//
	// force stop container if running
	Force *bool

	// Ignore.
	//
	// ignore errors when the container to be removed does not existxo
	Ignore *bool

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

	// Timeout.
	//
	// number of seconds to wait before killing container when force removing
	//
	// Default: 10
	Timeout *int64

	// V.
	//
	// delete volumes
	V *bool

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

ContainerDeleteLibpodParams contains all the parameters to send to the API endpoint

for the container delete libpod operation.

Typically these are written to a http.Request.

func NewContainerDeleteLibpodParams

func NewContainerDeleteLibpodParams() *ContainerDeleteLibpodParams

NewContainerDeleteLibpodParams creates a new ContainerDeleteLibpodParams 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 NewContainerDeleteLibpodParamsWithContext deprecated

func NewContainerDeleteLibpodParamsWithContext(ctx context.Context) *ContainerDeleteLibpodParams

NewContainerDeleteLibpodParamsWithContext creates a new ContainerDeleteLibpodParams object with the ability to set a context for a request.

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

func NewContainerDeleteLibpodParamsWithHTTPClient

func NewContainerDeleteLibpodParamsWithHTTPClient(client *http.Client) *ContainerDeleteLibpodParams

NewContainerDeleteLibpodParamsWithHTTPClient creates a new ContainerDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerDeleteLibpodParamsWithTimeout

func NewContainerDeleteLibpodParamsWithTimeout(timeout time.Duration) *ContainerDeleteLibpodParams

NewContainerDeleteLibpodParamsWithTimeout creates a new ContainerDeleteLibpodParams object with the ability to set a timeout on a request.

func (*ContainerDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the container delete libpod params.

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

func (*ContainerDeleteLibpodParams) SetDefaults

func (o *ContainerDeleteLibpodParams) SetDefaults()

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

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

func (*ContainerDeleteLibpodParams) SetDepend

func (o *ContainerDeleteLibpodParams) SetDepend(depend *bool)

SetDepend adds the depend to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetForce

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

SetForce adds the force to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetIgnore

func (o *ContainerDeleteLibpodParams) SetIgnore(ignore *bool)

SetIgnore adds the ignore to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetName

func (o *ContainerDeleteLibpodParams) SetName(name string)

SetName adds the name to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container delete libpod params.

func (*ContainerDeleteLibpodParams) SetV

func (o *ContainerDeleteLibpodParams) SetV(v *bool)

SetV adds the v to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the container delete libpod params.

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

func (*ContainerDeleteLibpodParams) WithDefaults

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

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

func (*ContainerDeleteLibpodParams) WithDepend

WithDepend adds the depend to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithForce

WithForce adds the force to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithIgnore

WithIgnore adds the ignore to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithName

WithName adds the name to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WithV

WithV adds the v to the container delete libpod params.

func (*ContainerDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerDeleteLibpodReader

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

ContainerDeleteLibpodReader is a Reader for the ContainerDeleteLibpod structure.

func (*ContainerDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerExistsLibpodInternalServerError

type ContainerExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerExistsLibpodInternalServerError

func NewContainerExistsLibpodInternalServerError() *ContainerExistsLibpodInternalServerError

NewContainerExistsLibpodInternalServerError creates a ContainerExistsLibpodInternalServerError with default headers values

func (*ContainerExistsLibpodInternalServerError) Code

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

func (*ContainerExistsLibpodInternalServerError) Error

func (*ContainerExistsLibpodInternalServerError) GetPayload

func (*ContainerExistsLibpodInternalServerError) IsClientError

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

func (*ContainerExistsLibpodInternalServerError) IsCode

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

func (*ContainerExistsLibpodInternalServerError) IsRedirect

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

func (*ContainerExistsLibpodInternalServerError) IsServerError

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

func (*ContainerExistsLibpodInternalServerError) IsSuccess

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

func (*ContainerExistsLibpodInternalServerError) String

type ContainerExistsLibpodNoContent

type ContainerExistsLibpodNoContent struct {
}

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

container exists

func NewContainerExistsLibpodNoContent

func NewContainerExistsLibpodNoContent() *ContainerExistsLibpodNoContent

NewContainerExistsLibpodNoContent creates a ContainerExistsLibpodNoContent with default headers values

func (*ContainerExistsLibpodNoContent) Code

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

func (*ContainerExistsLibpodNoContent) Error

func (*ContainerExistsLibpodNoContent) IsClientError

func (o *ContainerExistsLibpodNoContent) IsClientError() bool

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

func (*ContainerExistsLibpodNoContent) IsCode

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

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

func (*ContainerExistsLibpodNoContent) IsRedirect

func (o *ContainerExistsLibpodNoContent) IsRedirect() bool

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

func (*ContainerExistsLibpodNoContent) IsServerError

func (o *ContainerExistsLibpodNoContent) IsServerError() bool

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

func (*ContainerExistsLibpodNoContent) IsSuccess

func (o *ContainerExistsLibpodNoContent) IsSuccess() bool

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

func (*ContainerExistsLibpodNoContent) String

type ContainerExistsLibpodNotFound

type ContainerExistsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerExistsLibpodNotFound

func NewContainerExistsLibpodNotFound() *ContainerExistsLibpodNotFound

NewContainerExistsLibpodNotFound creates a ContainerExistsLibpodNotFound with default headers values

func (*ContainerExistsLibpodNotFound) Code

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

func (*ContainerExistsLibpodNotFound) Error

func (*ContainerExistsLibpodNotFound) GetPayload

func (*ContainerExistsLibpodNotFound) IsClientError

func (o *ContainerExistsLibpodNotFound) IsClientError() bool

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

func (*ContainerExistsLibpodNotFound) IsCode

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

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

func (*ContainerExistsLibpodNotFound) IsRedirect

func (o *ContainerExistsLibpodNotFound) IsRedirect() bool

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

func (*ContainerExistsLibpodNotFound) IsServerError

func (o *ContainerExistsLibpodNotFound) IsServerError() bool

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

func (*ContainerExistsLibpodNotFound) IsSuccess

func (o *ContainerExistsLibpodNotFound) IsSuccess() bool

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

func (*ContainerExistsLibpodNotFound) String

type ContainerExistsLibpodParams

type ContainerExistsLibpodParams struct {

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

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

ContainerExistsLibpodParams contains all the parameters to send to the API endpoint

for the container exists libpod operation.

Typically these are written to a http.Request.

func NewContainerExistsLibpodParams

func NewContainerExistsLibpodParams() *ContainerExistsLibpodParams

NewContainerExistsLibpodParams creates a new ContainerExistsLibpodParams 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 NewContainerExistsLibpodParamsWithContext deprecated

func NewContainerExistsLibpodParamsWithContext(ctx context.Context) *ContainerExistsLibpodParams

NewContainerExistsLibpodParamsWithContext creates a new ContainerExistsLibpodParams object with the ability to set a context for a request.

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

func NewContainerExistsLibpodParamsWithHTTPClient

func NewContainerExistsLibpodParamsWithHTTPClient(client *http.Client) *ContainerExistsLibpodParams

NewContainerExistsLibpodParamsWithHTTPClient creates a new ContainerExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerExistsLibpodParamsWithTimeout

func NewContainerExistsLibpodParamsWithTimeout(timeout time.Duration) *ContainerExistsLibpodParams

NewContainerExistsLibpodParamsWithTimeout creates a new ContainerExistsLibpodParams object with the ability to set a timeout on a request.

func (*ContainerExistsLibpodParams) SetContext deprecated

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

SetContext adds the context to the container exists libpod params.

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

func (*ContainerExistsLibpodParams) SetDefaults

func (o *ContainerExistsLibpodParams) SetDefaults()

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

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

func (*ContainerExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container exists libpod params.

func (*ContainerExistsLibpodParams) SetName

func (o *ContainerExistsLibpodParams) SetName(name string)

SetName adds the name to the container exists libpod params.

func (*ContainerExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container exists libpod params.

func (*ContainerExistsLibpodParams) WithContext deprecated

WithContext adds the context to the container exists libpod params.

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

func (*ContainerExistsLibpodParams) WithDefaults

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

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

func (*ContainerExistsLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container exists libpod params.

func (*ContainerExistsLibpodParams) WithName

WithName adds the name to the container exists libpod params.

func (*ContainerExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the container exists libpod params.

func (*ContainerExistsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerExistsLibpodReader

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

ContainerExistsLibpodReader is a Reader for the ContainerExistsLibpod structure.

func (*ContainerExistsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerExportLibpodInternalServerError

type ContainerExportLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerExportLibpodInternalServerError

func NewContainerExportLibpodInternalServerError() *ContainerExportLibpodInternalServerError

NewContainerExportLibpodInternalServerError creates a ContainerExportLibpodInternalServerError with default headers values

func (*ContainerExportLibpodInternalServerError) Code

Code gets the status code for the container export libpod internal server error response

func (*ContainerExportLibpodInternalServerError) Error

func (*ContainerExportLibpodInternalServerError) GetPayload

func (*ContainerExportLibpodInternalServerError) IsClientError

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

func (*ContainerExportLibpodInternalServerError) IsCode

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

func (*ContainerExportLibpodInternalServerError) IsRedirect

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

func (*ContainerExportLibpodInternalServerError) IsServerError

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

func (*ContainerExportLibpodInternalServerError) IsSuccess

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

func (*ContainerExportLibpodInternalServerError) String

type ContainerExportLibpodNotFound

type ContainerExportLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerExportLibpodNotFound

func NewContainerExportLibpodNotFound() *ContainerExportLibpodNotFound

NewContainerExportLibpodNotFound creates a ContainerExportLibpodNotFound with default headers values

func (*ContainerExportLibpodNotFound) Code

Code gets the status code for the container export libpod not found response

func (*ContainerExportLibpodNotFound) Error

func (*ContainerExportLibpodNotFound) GetPayload

func (*ContainerExportLibpodNotFound) IsClientError

func (o *ContainerExportLibpodNotFound) IsClientError() bool

IsClientError returns true when this container export libpod not found response has a 4xx status code

func (*ContainerExportLibpodNotFound) IsCode

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

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

func (*ContainerExportLibpodNotFound) IsRedirect

func (o *ContainerExportLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container export libpod not found response has a 3xx status code

func (*ContainerExportLibpodNotFound) IsServerError

func (o *ContainerExportLibpodNotFound) IsServerError() bool

IsServerError returns true when this container export libpod not found response has a 5xx status code

func (*ContainerExportLibpodNotFound) IsSuccess

func (o *ContainerExportLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container export libpod not found response has a 2xx status code

func (*ContainerExportLibpodNotFound) String

type ContainerExportLibpodOK

type ContainerExportLibpodOK struct {
}

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

tarball is returned in body

func NewContainerExportLibpodOK

func NewContainerExportLibpodOK() *ContainerExportLibpodOK

NewContainerExportLibpodOK creates a ContainerExportLibpodOK with default headers values

func (*ContainerExportLibpodOK) Code

func (o *ContainerExportLibpodOK) Code() int

Code gets the status code for the container export libpod o k response

func (*ContainerExportLibpodOK) Error

func (o *ContainerExportLibpodOK) Error() string

func (*ContainerExportLibpodOK) IsClientError

func (o *ContainerExportLibpodOK) IsClientError() bool

IsClientError returns true when this container export libpod o k response has a 4xx status code

func (*ContainerExportLibpodOK) IsCode

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

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

func (*ContainerExportLibpodOK) IsRedirect

func (o *ContainerExportLibpodOK) IsRedirect() bool

IsRedirect returns true when this container export libpod o k response has a 3xx status code

func (*ContainerExportLibpodOK) IsServerError

func (o *ContainerExportLibpodOK) IsServerError() bool

IsServerError returns true when this container export libpod o k response has a 5xx status code

func (*ContainerExportLibpodOK) IsSuccess

func (o *ContainerExportLibpodOK) IsSuccess() bool

IsSuccess returns true when this container export libpod o k response has a 2xx status code

func (*ContainerExportLibpodOK) String

func (o *ContainerExportLibpodOK) String() string

type ContainerExportLibpodParams

type ContainerExportLibpodParams struct {

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

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

ContainerExportLibpodParams contains all the parameters to send to the API endpoint

for the container export libpod operation.

Typically these are written to a http.Request.

func NewContainerExportLibpodParams

func NewContainerExportLibpodParams() *ContainerExportLibpodParams

NewContainerExportLibpodParams creates a new ContainerExportLibpodParams 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 NewContainerExportLibpodParamsWithContext deprecated

func NewContainerExportLibpodParamsWithContext(ctx context.Context) *ContainerExportLibpodParams

NewContainerExportLibpodParamsWithContext creates a new ContainerExportLibpodParams object with the ability to set a context for a request.

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

func NewContainerExportLibpodParamsWithHTTPClient

func NewContainerExportLibpodParamsWithHTTPClient(client *http.Client) *ContainerExportLibpodParams

NewContainerExportLibpodParamsWithHTTPClient creates a new ContainerExportLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerExportLibpodParamsWithTimeout

func NewContainerExportLibpodParamsWithTimeout(timeout time.Duration) *ContainerExportLibpodParams

NewContainerExportLibpodParamsWithTimeout creates a new ContainerExportLibpodParams object with the ability to set a timeout on a request.

func (*ContainerExportLibpodParams) SetContext deprecated

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

SetContext adds the context to the container export libpod params.

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

func (*ContainerExportLibpodParams) SetDefaults

func (o *ContainerExportLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container export libpod params (not the query body).

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

func (*ContainerExportLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container export libpod params.

func (*ContainerExportLibpodParams) SetName

func (o *ContainerExportLibpodParams) SetName(name string)

SetName adds the name to the container export libpod params.

func (*ContainerExportLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container export libpod params.

func (*ContainerExportLibpodParams) WithContext deprecated

WithContext adds the context to the container export libpod params.

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

func (*ContainerExportLibpodParams) WithDefaults

WithDefaults hydrates default values in the container export libpod params (not the query body).

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

func (*ContainerExportLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container export libpod params.

func (*ContainerExportLibpodParams) WithName

WithName adds the name to the container export libpod params.

func (*ContainerExportLibpodParams) WithTimeout

WithTimeout adds the timeout to the container export libpod params.

func (*ContainerExportLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerExportLibpodReader

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

ContainerExportLibpodReader is a Reader for the ContainerExportLibpod structure.

func (*ContainerExportLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerHealthcheckLibpodConflict

type ContainerHealthcheckLibpodConflict struct {
}

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

container has no healthcheck or is not running

func NewContainerHealthcheckLibpodConflict

func NewContainerHealthcheckLibpodConflict() *ContainerHealthcheckLibpodConflict

NewContainerHealthcheckLibpodConflict creates a ContainerHealthcheckLibpodConflict with default headers values

func (*ContainerHealthcheckLibpodConflict) Code

Code gets the status code for the container healthcheck libpod conflict response

func (*ContainerHealthcheckLibpodConflict) Error

func (*ContainerHealthcheckLibpodConflict) IsClientError

func (o *ContainerHealthcheckLibpodConflict) IsClientError() bool

IsClientError returns true when this container healthcheck libpod conflict response has a 4xx status code

func (*ContainerHealthcheckLibpodConflict) IsCode

IsCode returns true when this container healthcheck libpod conflict response a status code equal to that given

func (*ContainerHealthcheckLibpodConflict) IsRedirect

func (o *ContainerHealthcheckLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container healthcheck libpod conflict response has a 3xx status code

func (*ContainerHealthcheckLibpodConflict) IsServerError

func (o *ContainerHealthcheckLibpodConflict) IsServerError() bool

IsServerError returns true when this container healthcheck libpod conflict response has a 5xx status code

func (*ContainerHealthcheckLibpodConflict) IsSuccess

IsSuccess returns true when this container healthcheck libpod conflict response has a 2xx status code

func (*ContainerHealthcheckLibpodConflict) String

type ContainerHealthcheckLibpodInternalServerError

type ContainerHealthcheckLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerHealthcheckLibpodInternalServerError

func NewContainerHealthcheckLibpodInternalServerError() *ContainerHealthcheckLibpodInternalServerError

NewContainerHealthcheckLibpodInternalServerError creates a ContainerHealthcheckLibpodInternalServerError with default headers values

func (*ContainerHealthcheckLibpodInternalServerError) Code

Code gets the status code for the container healthcheck libpod internal server error response

func (*ContainerHealthcheckLibpodInternalServerError) Error

func (*ContainerHealthcheckLibpodInternalServerError) GetPayload

func (*ContainerHealthcheckLibpodInternalServerError) IsClientError

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

func (*ContainerHealthcheckLibpodInternalServerError) IsCode

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

func (*ContainerHealthcheckLibpodInternalServerError) IsRedirect

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

func (*ContainerHealthcheckLibpodInternalServerError) IsServerError

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

func (*ContainerHealthcheckLibpodInternalServerError) IsSuccess

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

func (*ContainerHealthcheckLibpodInternalServerError) String

type ContainerHealthcheckLibpodNotFound

type ContainerHealthcheckLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerHealthcheckLibpodNotFound

func NewContainerHealthcheckLibpodNotFound() *ContainerHealthcheckLibpodNotFound

NewContainerHealthcheckLibpodNotFound creates a ContainerHealthcheckLibpodNotFound with default headers values

func (*ContainerHealthcheckLibpodNotFound) Code

Code gets the status code for the container healthcheck libpod not found response

func (*ContainerHealthcheckLibpodNotFound) Error

func (*ContainerHealthcheckLibpodNotFound) GetPayload

func (*ContainerHealthcheckLibpodNotFound) IsClientError

func (o *ContainerHealthcheckLibpodNotFound) IsClientError() bool

IsClientError returns true when this container healthcheck libpod not found response has a 4xx status code

func (*ContainerHealthcheckLibpodNotFound) IsCode

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

func (*ContainerHealthcheckLibpodNotFound) IsRedirect

func (o *ContainerHealthcheckLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container healthcheck libpod not found response has a 3xx status code

func (*ContainerHealthcheckLibpodNotFound) IsServerError

func (o *ContainerHealthcheckLibpodNotFound) IsServerError() bool

IsServerError returns true when this container healthcheck libpod not found response has a 5xx status code

func (*ContainerHealthcheckLibpodNotFound) IsSuccess

IsSuccess returns true when this container healthcheck libpod not found response has a 2xx status code

func (*ContainerHealthcheckLibpodNotFound) String

type ContainerHealthcheckLibpodOK

type ContainerHealthcheckLibpodOK struct {
	Payload *models.HealthCheckResults
}

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

Healthcheck Results

func NewContainerHealthcheckLibpodOK

func NewContainerHealthcheckLibpodOK() *ContainerHealthcheckLibpodOK

NewContainerHealthcheckLibpodOK creates a ContainerHealthcheckLibpodOK with default headers values

func (*ContainerHealthcheckLibpodOK) Code

Code gets the status code for the container healthcheck libpod o k response

func (*ContainerHealthcheckLibpodOK) Error

func (*ContainerHealthcheckLibpodOK) GetPayload

func (*ContainerHealthcheckLibpodOK) IsClientError

func (o *ContainerHealthcheckLibpodOK) IsClientError() bool

IsClientError returns true when this container healthcheck libpod o k response has a 4xx status code

func (*ContainerHealthcheckLibpodOK) IsCode

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

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

func (*ContainerHealthcheckLibpodOK) IsRedirect

func (o *ContainerHealthcheckLibpodOK) IsRedirect() bool

IsRedirect returns true when this container healthcheck libpod o k response has a 3xx status code

func (*ContainerHealthcheckLibpodOK) IsServerError

func (o *ContainerHealthcheckLibpodOK) IsServerError() bool

IsServerError returns true when this container healthcheck libpod o k response has a 5xx status code

func (*ContainerHealthcheckLibpodOK) IsSuccess

func (o *ContainerHealthcheckLibpodOK) IsSuccess() bool

IsSuccess returns true when this container healthcheck libpod o k response has a 2xx status code

func (*ContainerHealthcheckLibpodOK) String

type ContainerHealthcheckLibpodParams

type ContainerHealthcheckLibpodParams struct {

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

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

ContainerHealthcheckLibpodParams contains all the parameters to send to the API endpoint

for the container healthcheck libpod operation.

Typically these are written to a http.Request.

func NewContainerHealthcheckLibpodParams

func NewContainerHealthcheckLibpodParams() *ContainerHealthcheckLibpodParams

NewContainerHealthcheckLibpodParams creates a new ContainerHealthcheckLibpodParams 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 NewContainerHealthcheckLibpodParamsWithContext deprecated

func NewContainerHealthcheckLibpodParamsWithContext(ctx context.Context) *ContainerHealthcheckLibpodParams

NewContainerHealthcheckLibpodParamsWithContext creates a new ContainerHealthcheckLibpodParams object with the ability to set a context for a request.

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

func NewContainerHealthcheckLibpodParamsWithHTTPClient

func NewContainerHealthcheckLibpodParamsWithHTTPClient(client *http.Client) *ContainerHealthcheckLibpodParams

NewContainerHealthcheckLibpodParamsWithHTTPClient creates a new ContainerHealthcheckLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerHealthcheckLibpodParamsWithTimeout

func NewContainerHealthcheckLibpodParamsWithTimeout(timeout time.Duration) *ContainerHealthcheckLibpodParams

NewContainerHealthcheckLibpodParamsWithTimeout creates a new ContainerHealthcheckLibpodParams object with the ability to set a timeout on a request.

func (*ContainerHealthcheckLibpodParams) SetContext deprecated

SetContext adds the context to the container healthcheck libpod params.

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

func (*ContainerHealthcheckLibpodParams) SetDefaults

func (o *ContainerHealthcheckLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container healthcheck libpod params (not the query body).

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

func (*ContainerHealthcheckLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) SetName

func (o *ContainerHealthcheckLibpodParams) SetName(name string)

SetName adds the name to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) WithContext deprecated

WithContext adds the context to the container healthcheck libpod params.

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

func (*ContainerHealthcheckLibpodParams) WithDefaults

WithDefaults hydrates default values in the container healthcheck libpod params (not the query body).

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

func (*ContainerHealthcheckLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) WithName

WithName adds the name to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) WithTimeout

WithTimeout adds the timeout to the container healthcheck libpod params.

func (*ContainerHealthcheckLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerHealthcheckLibpodReader

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

ContainerHealthcheckLibpodReader is a Reader for the ContainerHealthcheckLibpod structure.

func (*ContainerHealthcheckLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerInitLibpodInternalServerError

type ContainerInitLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerInitLibpodInternalServerError

func NewContainerInitLibpodInternalServerError() *ContainerInitLibpodInternalServerError

NewContainerInitLibpodInternalServerError creates a ContainerInitLibpodInternalServerError with default headers values

func (*ContainerInitLibpodInternalServerError) Code

Code gets the status code for the container init libpod internal server error response

func (*ContainerInitLibpodInternalServerError) Error

func (*ContainerInitLibpodInternalServerError) GetPayload

func (*ContainerInitLibpodInternalServerError) IsClientError

func (o *ContainerInitLibpodInternalServerError) IsClientError() bool

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

func (*ContainerInitLibpodInternalServerError) IsCode

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

func (*ContainerInitLibpodInternalServerError) IsRedirect

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

func (*ContainerInitLibpodInternalServerError) IsServerError

func (o *ContainerInitLibpodInternalServerError) IsServerError() bool

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

func (*ContainerInitLibpodInternalServerError) IsSuccess

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

func (*ContainerInitLibpodInternalServerError) String

type ContainerInitLibpodNoContent

type ContainerInitLibpodNoContent struct {
}

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

no error

func NewContainerInitLibpodNoContent

func NewContainerInitLibpodNoContent() *ContainerInitLibpodNoContent

NewContainerInitLibpodNoContent creates a ContainerInitLibpodNoContent with default headers values

func (*ContainerInitLibpodNoContent) Code

Code gets the status code for the container init libpod no content response

func (*ContainerInitLibpodNoContent) Error

func (*ContainerInitLibpodNoContent) IsClientError

func (o *ContainerInitLibpodNoContent) IsClientError() bool

IsClientError returns true when this container init libpod no content response has a 4xx status code

func (*ContainerInitLibpodNoContent) IsCode

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

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

func (*ContainerInitLibpodNoContent) IsRedirect

func (o *ContainerInitLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container init libpod no content response has a 3xx status code

func (*ContainerInitLibpodNoContent) IsServerError

func (o *ContainerInitLibpodNoContent) IsServerError() bool

IsServerError returns true when this container init libpod no content response has a 5xx status code

func (*ContainerInitLibpodNoContent) IsSuccess

func (o *ContainerInitLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container init libpod no content response has a 2xx status code

func (*ContainerInitLibpodNoContent) String

type ContainerInitLibpodNotFound

type ContainerInitLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerInitLibpodNotFound

func NewContainerInitLibpodNotFound() *ContainerInitLibpodNotFound

NewContainerInitLibpodNotFound creates a ContainerInitLibpodNotFound with default headers values

func (*ContainerInitLibpodNotFound) Code

func (o *ContainerInitLibpodNotFound) Code() int

Code gets the status code for the container init libpod not found response

func (*ContainerInitLibpodNotFound) Error

func (*ContainerInitLibpodNotFound) GetPayload

func (*ContainerInitLibpodNotFound) IsClientError

func (o *ContainerInitLibpodNotFound) IsClientError() bool

IsClientError returns true when this container init libpod not found response has a 4xx status code

func (*ContainerInitLibpodNotFound) IsCode

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

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

func (*ContainerInitLibpodNotFound) IsRedirect

func (o *ContainerInitLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container init libpod not found response has a 3xx status code

func (*ContainerInitLibpodNotFound) IsServerError

func (o *ContainerInitLibpodNotFound) IsServerError() bool

IsServerError returns true when this container init libpod not found response has a 5xx status code

func (*ContainerInitLibpodNotFound) IsSuccess

func (o *ContainerInitLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container init libpod not found response has a 2xx status code

func (*ContainerInitLibpodNotFound) String

func (o *ContainerInitLibpodNotFound) String() string

type ContainerInitLibpodNotModified

type ContainerInitLibpodNotModified struct {
}

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

container already initialized

func NewContainerInitLibpodNotModified

func NewContainerInitLibpodNotModified() *ContainerInitLibpodNotModified

NewContainerInitLibpodNotModified creates a ContainerInitLibpodNotModified with default headers values

func (*ContainerInitLibpodNotModified) Code

Code gets the status code for the container init libpod not modified response

func (*ContainerInitLibpodNotModified) Error

func (*ContainerInitLibpodNotModified) IsClientError

func (o *ContainerInitLibpodNotModified) IsClientError() bool

IsClientError returns true when this container init libpod not modified response has a 4xx status code

func (*ContainerInitLibpodNotModified) IsCode

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

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

func (*ContainerInitLibpodNotModified) IsRedirect

func (o *ContainerInitLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this container init libpod not modified response has a 3xx status code

func (*ContainerInitLibpodNotModified) IsServerError

func (o *ContainerInitLibpodNotModified) IsServerError() bool

IsServerError returns true when this container init libpod not modified response has a 5xx status code

func (*ContainerInitLibpodNotModified) IsSuccess

func (o *ContainerInitLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this container init libpod not modified response has a 2xx status code

func (*ContainerInitLibpodNotModified) String

type ContainerInitLibpodParams

type ContainerInitLibpodParams struct {

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

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

ContainerInitLibpodParams contains all the parameters to send to the API endpoint

for the container init libpod operation.

Typically these are written to a http.Request.

func NewContainerInitLibpodParams

func NewContainerInitLibpodParams() *ContainerInitLibpodParams

NewContainerInitLibpodParams creates a new ContainerInitLibpodParams 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 NewContainerInitLibpodParamsWithContext deprecated

func NewContainerInitLibpodParamsWithContext(ctx context.Context) *ContainerInitLibpodParams

NewContainerInitLibpodParamsWithContext creates a new ContainerInitLibpodParams object with the ability to set a context for a request.

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

func NewContainerInitLibpodParamsWithHTTPClient

func NewContainerInitLibpodParamsWithHTTPClient(client *http.Client) *ContainerInitLibpodParams

NewContainerInitLibpodParamsWithHTTPClient creates a new ContainerInitLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerInitLibpodParamsWithTimeout

func NewContainerInitLibpodParamsWithTimeout(timeout time.Duration) *ContainerInitLibpodParams

NewContainerInitLibpodParamsWithTimeout creates a new ContainerInitLibpodParams object with the ability to set a timeout on a request.

func (*ContainerInitLibpodParams) SetContext deprecated

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

SetContext adds the context to the container init libpod params.

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

func (*ContainerInitLibpodParams) SetDefaults

func (o *ContainerInitLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container init libpod params (not the query body).

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

func (*ContainerInitLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container init libpod params.

func (*ContainerInitLibpodParams) SetName

func (o *ContainerInitLibpodParams) SetName(name string)

SetName adds the name to the container init libpod params.

func (*ContainerInitLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container init libpod params.

func (*ContainerInitLibpodParams) WithContext deprecated

WithContext adds the context to the container init libpod params.

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

func (*ContainerInitLibpodParams) WithDefaults

WithDefaults hydrates default values in the container init libpod params (not the query body).

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

func (*ContainerInitLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container init libpod params.

func (*ContainerInitLibpodParams) WithName

WithName adds the name to the container init libpod params.

func (*ContainerInitLibpodParams) WithTimeout

WithTimeout adds the timeout to the container init libpod params.

func (*ContainerInitLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerInitLibpodReader

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

ContainerInitLibpodReader is a Reader for the ContainerInitLibpod structure.

func (*ContainerInitLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerInspectLibpodInternalServerError

type ContainerInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerInspectLibpodInternalServerError

func NewContainerInspectLibpodInternalServerError() *ContainerInspectLibpodInternalServerError

NewContainerInspectLibpodInternalServerError creates a ContainerInspectLibpodInternalServerError with default headers values

func (*ContainerInspectLibpodInternalServerError) Code

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

func (*ContainerInspectLibpodInternalServerError) Error

func (*ContainerInspectLibpodInternalServerError) GetPayload

func (*ContainerInspectLibpodInternalServerError) IsClientError

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

func (*ContainerInspectLibpodInternalServerError) IsCode

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

func (*ContainerInspectLibpodInternalServerError) IsRedirect

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

func (*ContainerInspectLibpodInternalServerError) IsServerError

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

func (*ContainerInspectLibpodInternalServerError) IsSuccess

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

func (*ContainerInspectLibpodInternalServerError) String

type ContainerInspectLibpodNotFound

type ContainerInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerInspectLibpodNotFound

func NewContainerInspectLibpodNotFound() *ContainerInspectLibpodNotFound

NewContainerInspectLibpodNotFound creates a ContainerInspectLibpodNotFound with default headers values

func (*ContainerInspectLibpodNotFound) Code

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

func (*ContainerInspectLibpodNotFound) Error

func (*ContainerInspectLibpodNotFound) GetPayload

func (*ContainerInspectLibpodNotFound) IsClientError

func (o *ContainerInspectLibpodNotFound) IsClientError() bool

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

func (*ContainerInspectLibpodNotFound) IsCode

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

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

func (*ContainerInspectLibpodNotFound) IsRedirect

func (o *ContainerInspectLibpodNotFound) IsRedirect() bool

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

func (*ContainerInspectLibpodNotFound) IsServerError

func (o *ContainerInspectLibpodNotFound) IsServerError() bool

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

func (*ContainerInspectLibpodNotFound) IsSuccess

func (o *ContainerInspectLibpodNotFound) IsSuccess() bool

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

func (*ContainerInspectLibpodNotFound) String

type ContainerInspectLibpodOK

type ContainerInspectLibpodOK struct {
	Payload *models.InspectContainerData
}

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

Inspect container

func NewContainerInspectLibpodOK

func NewContainerInspectLibpodOK() *ContainerInspectLibpodOK

NewContainerInspectLibpodOK creates a ContainerInspectLibpodOK with default headers values

func (*ContainerInspectLibpodOK) Code

func (o *ContainerInspectLibpodOK) Code() int

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

func (*ContainerInspectLibpodOK) Error

func (o *ContainerInspectLibpodOK) Error() string

func (*ContainerInspectLibpodOK) GetPayload

func (*ContainerInspectLibpodOK) IsClientError

func (o *ContainerInspectLibpodOK) IsClientError() bool

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

func (*ContainerInspectLibpodOK) IsCode

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

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

func (*ContainerInspectLibpodOK) IsRedirect

func (o *ContainerInspectLibpodOK) IsRedirect() bool

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

func (*ContainerInspectLibpodOK) IsServerError

func (o *ContainerInspectLibpodOK) IsServerError() bool

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

func (*ContainerInspectLibpodOK) IsSuccess

func (o *ContainerInspectLibpodOK) IsSuccess() bool

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

func (*ContainerInspectLibpodOK) String

func (o *ContainerInspectLibpodOK) String() string

type ContainerInspectLibpodParams

type ContainerInspectLibpodParams struct {

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

	// Size.
	//
	// display filesystem usage
	Size *bool

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

ContainerInspectLibpodParams contains all the parameters to send to the API endpoint

for the container inspect libpod operation.

Typically these are written to a http.Request.

func NewContainerInspectLibpodParams

func NewContainerInspectLibpodParams() *ContainerInspectLibpodParams

NewContainerInspectLibpodParams creates a new ContainerInspectLibpodParams 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 NewContainerInspectLibpodParamsWithContext deprecated

func NewContainerInspectLibpodParamsWithContext(ctx context.Context) *ContainerInspectLibpodParams

NewContainerInspectLibpodParamsWithContext creates a new ContainerInspectLibpodParams object with the ability to set a context for a request.

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

func NewContainerInspectLibpodParamsWithHTTPClient

func NewContainerInspectLibpodParamsWithHTTPClient(client *http.Client) *ContainerInspectLibpodParams

NewContainerInspectLibpodParamsWithHTTPClient creates a new ContainerInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerInspectLibpodParamsWithTimeout

func NewContainerInspectLibpodParamsWithTimeout(timeout time.Duration) *ContainerInspectLibpodParams

NewContainerInspectLibpodParamsWithTimeout creates a new ContainerInspectLibpodParams object with the ability to set a timeout on a request.

func (*ContainerInspectLibpodParams) SetContext deprecated

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

SetContext adds the context to the container inspect libpod params.

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

func (*ContainerInspectLibpodParams) SetDefaults

func (o *ContainerInspectLibpodParams) SetDefaults()

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

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

func (*ContainerInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container inspect libpod params.

func (*ContainerInspectLibpodParams) SetName

func (o *ContainerInspectLibpodParams) SetName(name string)

SetName adds the name to the container inspect libpod params.

func (*ContainerInspectLibpodParams) SetSize

func (o *ContainerInspectLibpodParams) SetSize(size *bool)

SetSize adds the size to the container inspect libpod params.

func (*ContainerInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container inspect libpod params.

func (*ContainerInspectLibpodParams) WithContext deprecated

WithContext adds the context to the container inspect libpod params.

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

func (*ContainerInspectLibpodParams) WithDefaults

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

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

func (*ContainerInspectLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container inspect libpod params.

func (*ContainerInspectLibpodParams) WithName

WithName adds the name to the container inspect libpod params.

func (*ContainerInspectLibpodParams) WithSize

WithSize adds the size to the container inspect libpod params.

func (*ContainerInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the container inspect libpod params.

func (*ContainerInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerInspectLibpodReader

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

ContainerInspectLibpodReader is a Reader for the ContainerInspectLibpod structure.

func (*ContainerInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerKillLibpodConflict

type ContainerKillLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerKillLibpodConflict

func NewContainerKillLibpodConflict() *ContainerKillLibpodConflict

NewContainerKillLibpodConflict creates a ContainerKillLibpodConflict with default headers values

func (*ContainerKillLibpodConflict) Code

func (o *ContainerKillLibpodConflict) Code() int

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

func (*ContainerKillLibpodConflict) Error

func (*ContainerKillLibpodConflict) GetPayload

func (*ContainerKillLibpodConflict) IsClientError

func (o *ContainerKillLibpodConflict) IsClientError() bool

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

func (*ContainerKillLibpodConflict) IsCode

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

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

func (*ContainerKillLibpodConflict) IsRedirect

func (o *ContainerKillLibpodConflict) IsRedirect() bool

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

func (*ContainerKillLibpodConflict) IsServerError

func (o *ContainerKillLibpodConflict) IsServerError() bool

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

func (*ContainerKillLibpodConflict) IsSuccess

func (o *ContainerKillLibpodConflict) IsSuccess() bool

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

func (*ContainerKillLibpodConflict) String

func (o *ContainerKillLibpodConflict) String() string

type ContainerKillLibpodInternalServerError

type ContainerKillLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerKillLibpodInternalServerError

func NewContainerKillLibpodInternalServerError() *ContainerKillLibpodInternalServerError

NewContainerKillLibpodInternalServerError creates a ContainerKillLibpodInternalServerError with default headers values

func (*ContainerKillLibpodInternalServerError) Code

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

func (*ContainerKillLibpodInternalServerError) Error

func (*ContainerKillLibpodInternalServerError) GetPayload

func (*ContainerKillLibpodInternalServerError) IsClientError

func (o *ContainerKillLibpodInternalServerError) IsClientError() bool

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

func (*ContainerKillLibpodInternalServerError) IsCode

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

func (*ContainerKillLibpodInternalServerError) IsRedirect

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

func (*ContainerKillLibpodInternalServerError) IsServerError

func (o *ContainerKillLibpodInternalServerError) IsServerError() bool

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

func (*ContainerKillLibpodInternalServerError) IsSuccess

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

func (*ContainerKillLibpodInternalServerError) String

type ContainerKillLibpodNoContent

type ContainerKillLibpodNoContent struct {
}

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

no error

func NewContainerKillLibpodNoContent

func NewContainerKillLibpodNoContent() *ContainerKillLibpodNoContent

NewContainerKillLibpodNoContent creates a ContainerKillLibpodNoContent with default headers values

func (*ContainerKillLibpodNoContent) Code

Code gets the status code for the container kill libpod no content response

func (*ContainerKillLibpodNoContent) Error

func (*ContainerKillLibpodNoContent) IsClientError

func (o *ContainerKillLibpodNoContent) IsClientError() bool

IsClientError returns true when this container kill libpod no content response has a 4xx status code

func (*ContainerKillLibpodNoContent) IsCode

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

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

func (*ContainerKillLibpodNoContent) IsRedirect

func (o *ContainerKillLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container kill libpod no content response has a 3xx status code

func (*ContainerKillLibpodNoContent) IsServerError

func (o *ContainerKillLibpodNoContent) IsServerError() bool

IsServerError returns true when this container kill libpod no content response has a 5xx status code

func (*ContainerKillLibpodNoContent) IsSuccess

func (o *ContainerKillLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container kill libpod no content response has a 2xx status code

func (*ContainerKillLibpodNoContent) String

type ContainerKillLibpodNotFound

type ContainerKillLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerKillLibpodNotFound

func NewContainerKillLibpodNotFound() *ContainerKillLibpodNotFound

NewContainerKillLibpodNotFound creates a ContainerKillLibpodNotFound with default headers values

func (*ContainerKillLibpodNotFound) Code

func (o *ContainerKillLibpodNotFound) Code() int

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

func (*ContainerKillLibpodNotFound) Error

func (*ContainerKillLibpodNotFound) GetPayload

func (*ContainerKillLibpodNotFound) IsClientError

func (o *ContainerKillLibpodNotFound) IsClientError() bool

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

func (*ContainerKillLibpodNotFound) IsCode

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

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

func (*ContainerKillLibpodNotFound) IsRedirect

func (o *ContainerKillLibpodNotFound) IsRedirect() bool

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

func (*ContainerKillLibpodNotFound) IsServerError

func (o *ContainerKillLibpodNotFound) IsServerError() bool

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

func (*ContainerKillLibpodNotFound) IsSuccess

func (o *ContainerKillLibpodNotFound) IsSuccess() bool

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

func (*ContainerKillLibpodNotFound) String

func (o *ContainerKillLibpodNotFound) String() string

type ContainerKillLibpodParams

type ContainerKillLibpodParams struct {

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

	// Signal.
	//
	// signal to be sent to container, either by integer or SIG_ name
	//
	// Default: "SIGKILL"
	Signal *string

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

ContainerKillLibpodParams contains all the parameters to send to the API endpoint

for the container kill libpod operation.

Typically these are written to a http.Request.

func NewContainerKillLibpodParams

func NewContainerKillLibpodParams() *ContainerKillLibpodParams

NewContainerKillLibpodParams creates a new ContainerKillLibpodParams 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 NewContainerKillLibpodParamsWithContext deprecated

func NewContainerKillLibpodParamsWithContext(ctx context.Context) *ContainerKillLibpodParams

NewContainerKillLibpodParamsWithContext creates a new ContainerKillLibpodParams object with the ability to set a context for a request.

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

func NewContainerKillLibpodParamsWithHTTPClient

func NewContainerKillLibpodParamsWithHTTPClient(client *http.Client) *ContainerKillLibpodParams

NewContainerKillLibpodParamsWithHTTPClient creates a new ContainerKillLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerKillLibpodParamsWithTimeout

func NewContainerKillLibpodParamsWithTimeout(timeout time.Duration) *ContainerKillLibpodParams

NewContainerKillLibpodParamsWithTimeout creates a new ContainerKillLibpodParams object with the ability to set a timeout on a request.

func (*ContainerKillLibpodParams) SetContext deprecated

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

SetContext adds the context to the container kill libpod params.

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

func (*ContainerKillLibpodParams) SetDefaults

func (o *ContainerKillLibpodParams) SetDefaults()

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

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

func (*ContainerKillLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container kill libpod params.

func (*ContainerKillLibpodParams) SetName

func (o *ContainerKillLibpodParams) SetName(name string)

SetName adds the name to the container kill libpod params.

func (*ContainerKillLibpodParams) SetSignal

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

SetSignal adds the signal to the container kill libpod params.

func (*ContainerKillLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container kill libpod params.

func (*ContainerKillLibpodParams) WithContext deprecated

WithContext adds the context to the container kill libpod params.

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

func (*ContainerKillLibpodParams) WithDefaults

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

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

func (*ContainerKillLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container kill libpod params.

func (*ContainerKillLibpodParams) WithName

WithName adds the name to the container kill libpod params.

func (*ContainerKillLibpodParams) WithSignal

WithSignal adds the signal to the container kill libpod params.

func (*ContainerKillLibpodParams) WithTimeout

WithTimeout adds the timeout to the container kill libpod params.

func (*ContainerKillLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerKillLibpodReader

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

ContainerKillLibpodReader is a Reader for the ContainerKillLibpod structure.

func (*ContainerKillLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerListLibpodBadRequest

type ContainerListLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewContainerListLibpodBadRequest

func NewContainerListLibpodBadRequest() *ContainerListLibpodBadRequest

NewContainerListLibpodBadRequest creates a ContainerListLibpodBadRequest with default headers values

func (*ContainerListLibpodBadRequest) Code

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

func (*ContainerListLibpodBadRequest) Error

func (*ContainerListLibpodBadRequest) GetPayload

func (*ContainerListLibpodBadRequest) IsClientError

func (o *ContainerListLibpodBadRequest) IsClientError() bool

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

func (*ContainerListLibpodBadRequest) IsCode

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

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

func (*ContainerListLibpodBadRequest) IsRedirect

func (o *ContainerListLibpodBadRequest) IsRedirect() bool

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

func (*ContainerListLibpodBadRequest) IsServerError

func (o *ContainerListLibpodBadRequest) IsServerError() bool

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

func (*ContainerListLibpodBadRequest) IsSuccess

func (o *ContainerListLibpodBadRequest) IsSuccess() bool

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

func (*ContainerListLibpodBadRequest) String

type ContainerListLibpodInternalServerError

type ContainerListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerListLibpodInternalServerError

func NewContainerListLibpodInternalServerError() *ContainerListLibpodInternalServerError

NewContainerListLibpodInternalServerError creates a ContainerListLibpodInternalServerError with default headers values

func (*ContainerListLibpodInternalServerError) Code

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

func (*ContainerListLibpodInternalServerError) Error

func (*ContainerListLibpodInternalServerError) GetPayload

func (*ContainerListLibpodInternalServerError) IsClientError

func (o *ContainerListLibpodInternalServerError) IsClientError() bool

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

func (*ContainerListLibpodInternalServerError) IsCode

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

func (*ContainerListLibpodInternalServerError) IsRedirect

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

func (*ContainerListLibpodInternalServerError) IsServerError

func (o *ContainerListLibpodInternalServerError) IsServerError() bool

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

func (*ContainerListLibpodInternalServerError) IsSuccess

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

func (*ContainerListLibpodInternalServerError) String

type ContainerListLibpodOK

type ContainerListLibpodOK struct {
	Payload []*models.ListContainer
}

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

List Containers

func NewContainerListLibpodOK

func NewContainerListLibpodOK() *ContainerListLibpodOK

NewContainerListLibpodOK creates a ContainerListLibpodOK with default headers values

func (*ContainerListLibpodOK) Code

func (o *ContainerListLibpodOK) Code() int

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

func (*ContainerListLibpodOK) Error

func (o *ContainerListLibpodOK) Error() string

func (*ContainerListLibpodOK) GetPayload

func (o *ContainerListLibpodOK) GetPayload() []*models.ListContainer

func (*ContainerListLibpodOK) IsClientError

func (o *ContainerListLibpodOK) IsClientError() bool

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

func (*ContainerListLibpodOK) IsCode

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

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

func (*ContainerListLibpodOK) IsRedirect

func (o *ContainerListLibpodOK) IsRedirect() bool

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

func (*ContainerListLibpodOK) IsServerError

func (o *ContainerListLibpodOK) IsServerError() bool

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

func (*ContainerListLibpodOK) IsSuccess

func (o *ContainerListLibpodOK) IsSuccess() bool

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

func (*ContainerListLibpodOK) String

func (o *ContainerListLibpodOK) String() string

type ContainerListLibpodParams

type ContainerListLibpodParams struct {

	// All.
	//
	// Return all containers. By default, only running containers are shown
	All *bool

	// External.
	//
	// Return containers created by external tools that use container storage.
	External *bool

	// Filters.
	//
	// A JSON encoded value of the filters (a `map[string][]string`) to process on the containers list. Available filters:
	// - `ancestor`=(`<image-name>[:<tag>]`, `<image id>`, or `<image@digest>`)
	// - `annotation`=(`key` or `"key=value"`) of a container annotation
	// - `before`=(`<container id>` or `<container name>`)
	// - `exited=<int>` containers with exit code of `<int>`
	// - `expose`=(`<port>[/<proto>]` or `<startport-endport>/[<proto>]`)
	// - `health`=(`starting`, `healthy`, `unhealthy` or `none`)
	// - `id=<ID>` a container's ID
	// - `is-task`=(`true` or `false`)
	// - `label`=(`key` or `"key=value"`) of a container label
	// - `name=<name>` a container's name
	// - `network`=(`<network id>` or `<network name>`)
	// - `pod`=(`<pod id>` or `<pod name>`)
	// - `publish`=(`<port>[/<proto>]` or `<startport-endport>/[<proto>]`)
	// - `since`=(`<container id>` or `<container name>`)
	// - `status`=(`created`, `restarting`, `running`, `removing`, `paused`, `exited` or `dead`)
	// - `volume`=(`<volume name>` or `<mount point destination>`)
	//
	Filters *string

	// Last.
	//
	// Alias for `limit`. Return this number of most recently created containers.
	Last *int64

	// Limit.
	//
	// Return this number of most recently created containers, including non-running ones.
	Limit *int64

	// Namespace.
	//
	// Include namespace information
	Namespace *bool

	// Pod.
	//
	// Ignored. Previously included details on pod name and ID that are currently included by default.
	Pod *bool

	// Size.
	//
	// Return the size of container as fields SizeRw and SizeRootFs.
	Size *bool

	// Sync.
	//
	// Sync container state with OCI runtime
	Sync *bool

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

ContainerListLibpodParams contains all the parameters to send to the API endpoint

for the container list libpod operation.

Typically these are written to a http.Request.

func NewContainerListLibpodParams

func NewContainerListLibpodParams() *ContainerListLibpodParams

NewContainerListLibpodParams creates a new ContainerListLibpodParams 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 NewContainerListLibpodParamsWithContext deprecated

func NewContainerListLibpodParamsWithContext(ctx context.Context) *ContainerListLibpodParams

NewContainerListLibpodParamsWithContext creates a new ContainerListLibpodParams object with the ability to set a context for a request.

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

func NewContainerListLibpodParamsWithHTTPClient

func NewContainerListLibpodParamsWithHTTPClient(client *http.Client) *ContainerListLibpodParams

NewContainerListLibpodParamsWithHTTPClient creates a new ContainerListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerListLibpodParamsWithTimeout

func NewContainerListLibpodParamsWithTimeout(timeout time.Duration) *ContainerListLibpodParams

NewContainerListLibpodParamsWithTimeout creates a new ContainerListLibpodParams object with the ability to set a timeout on a request.

func (*ContainerListLibpodParams) SetAll

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

SetAll adds the all to the container list libpod params.

func (*ContainerListLibpodParams) SetContext deprecated

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

SetContext adds the context to the container list libpod params.

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

func (*ContainerListLibpodParams) SetDefaults

func (o *ContainerListLibpodParams) SetDefaults()

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

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

func (*ContainerListLibpodParams) SetExternal

func (o *ContainerListLibpodParams) SetExternal(external *bool)

SetExternal adds the external to the container list libpod params.

func (*ContainerListLibpodParams) SetFilters

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

SetFilters adds the filters to the container list libpod params.

func (*ContainerListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container list libpod params.

func (*ContainerListLibpodParams) SetLast

func (o *ContainerListLibpodParams) SetLast(last *int64)

SetLast adds the last to the container list libpod params.

func (*ContainerListLibpodParams) SetLimit

func (o *ContainerListLibpodParams) SetLimit(limit *int64)

SetLimit adds the limit to the container list libpod params.

func (*ContainerListLibpodParams) SetNamespace

func (o *ContainerListLibpodParams) SetNamespace(namespace *bool)

SetNamespace adds the namespace to the container list libpod params.

func (*ContainerListLibpodParams) SetPod

func (o *ContainerListLibpodParams) SetPod(pod *bool)

SetPod adds the pod to the container list libpod params.

func (*ContainerListLibpodParams) SetSize

func (o *ContainerListLibpodParams) SetSize(size *bool)

SetSize adds the size to the container list libpod params.

func (*ContainerListLibpodParams) SetSync

func (o *ContainerListLibpodParams) SetSync(sync *bool)

SetSync adds the sync to the container list libpod params.

func (*ContainerListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container list libpod params.

func (*ContainerListLibpodParams) WithAll

WithAll adds the all to the container list libpod params.

func (*ContainerListLibpodParams) WithContext deprecated

WithContext adds the context to the container list libpod params.

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

func (*ContainerListLibpodParams) WithDefaults

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

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

func (*ContainerListLibpodParams) WithExternal

func (o *ContainerListLibpodParams) WithExternal(external *bool) *ContainerListLibpodParams

WithExternal adds the external to the container list libpod params.

func (*ContainerListLibpodParams) WithFilters

WithFilters adds the filters to the container list libpod params.

func (*ContainerListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container list libpod params.

func (*ContainerListLibpodParams) WithLast

WithLast adds the last to the container list libpod params.

func (*ContainerListLibpodParams) WithLimit

WithLimit adds the limit to the container list libpod params.

func (*ContainerListLibpodParams) WithNamespace

func (o *ContainerListLibpodParams) WithNamespace(namespace *bool) *ContainerListLibpodParams

WithNamespace adds the namespace to the container list libpod params.

func (*ContainerListLibpodParams) WithPod

WithPod adds the pod to the container list libpod params.

func (*ContainerListLibpodParams) WithSize

WithSize adds the size to the container list libpod params.

func (*ContainerListLibpodParams) WithSync

WithSync adds the sync to the container list libpod params.

func (*ContainerListLibpodParams) WithTimeout

WithTimeout adds the timeout to the container list libpod params.

func (*ContainerListLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerListLibpodReader

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

ContainerListLibpodReader is a Reader for the ContainerListLibpod structure.

func (*ContainerListLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerLogsLibpodInternalServerError

type ContainerLogsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerLogsLibpodInternalServerError

func NewContainerLogsLibpodInternalServerError() *ContainerLogsLibpodInternalServerError

NewContainerLogsLibpodInternalServerError creates a ContainerLogsLibpodInternalServerError with default headers values

func (*ContainerLogsLibpodInternalServerError) Code

Code gets the status code for the container logs libpod internal server error response

func (*ContainerLogsLibpodInternalServerError) Error

func (*ContainerLogsLibpodInternalServerError) GetPayload

func (*ContainerLogsLibpodInternalServerError) IsClientError

func (o *ContainerLogsLibpodInternalServerError) IsClientError() bool

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

func (*ContainerLogsLibpodInternalServerError) IsCode

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

func (*ContainerLogsLibpodInternalServerError) IsRedirect

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

func (*ContainerLogsLibpodInternalServerError) IsServerError

func (o *ContainerLogsLibpodInternalServerError) IsServerError() bool

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

func (*ContainerLogsLibpodInternalServerError) IsSuccess

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

func (*ContainerLogsLibpodInternalServerError) String

type ContainerLogsLibpodNotFound

type ContainerLogsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerLogsLibpodNotFound

func NewContainerLogsLibpodNotFound() *ContainerLogsLibpodNotFound

NewContainerLogsLibpodNotFound creates a ContainerLogsLibpodNotFound with default headers values

func (*ContainerLogsLibpodNotFound) Code

func (o *ContainerLogsLibpodNotFound) Code() int

Code gets the status code for the container logs libpod not found response

func (*ContainerLogsLibpodNotFound) Error

func (*ContainerLogsLibpodNotFound) GetPayload

func (*ContainerLogsLibpodNotFound) IsClientError

func (o *ContainerLogsLibpodNotFound) IsClientError() bool

IsClientError returns true when this container logs libpod not found response has a 4xx status code

func (*ContainerLogsLibpodNotFound) IsCode

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

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

func (*ContainerLogsLibpodNotFound) IsRedirect

func (o *ContainerLogsLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container logs libpod not found response has a 3xx status code

func (*ContainerLogsLibpodNotFound) IsServerError

func (o *ContainerLogsLibpodNotFound) IsServerError() bool

IsServerError returns true when this container logs libpod not found response has a 5xx status code

func (*ContainerLogsLibpodNotFound) IsSuccess

func (o *ContainerLogsLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container logs libpod not found response has a 2xx status code

func (*ContainerLogsLibpodNotFound) String

func (o *ContainerLogsLibpodNotFound) String() string

type ContainerLogsLibpodOK

type ContainerLogsLibpodOK struct {
}

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

logs returned as a stream in response body.

func NewContainerLogsLibpodOK

func NewContainerLogsLibpodOK() *ContainerLogsLibpodOK

NewContainerLogsLibpodOK creates a ContainerLogsLibpodOK with default headers values

func (*ContainerLogsLibpodOK) Code

func (o *ContainerLogsLibpodOK) Code() int

Code gets the status code for the container logs libpod o k response

func (*ContainerLogsLibpodOK) Error

func (o *ContainerLogsLibpodOK) Error() string

func (*ContainerLogsLibpodOK) IsClientError

func (o *ContainerLogsLibpodOK) IsClientError() bool

IsClientError returns true when this container logs libpod o k response has a 4xx status code

func (*ContainerLogsLibpodOK) IsCode

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

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

func (*ContainerLogsLibpodOK) IsRedirect

func (o *ContainerLogsLibpodOK) IsRedirect() bool

IsRedirect returns true when this container logs libpod o k response has a 3xx status code

func (*ContainerLogsLibpodOK) IsServerError

func (o *ContainerLogsLibpodOK) IsServerError() bool

IsServerError returns true when this container logs libpod o k response has a 5xx status code

func (*ContainerLogsLibpodOK) IsSuccess

func (o *ContainerLogsLibpodOK) IsSuccess() bool

IsSuccess returns true when this container logs libpod o k response has a 2xx status code

func (*ContainerLogsLibpodOK) String

func (o *ContainerLogsLibpodOK) String() string

type ContainerLogsLibpodParams

type ContainerLogsLibpodParams struct {

	// Follow.
	//
	// Keep connection after returning logs.
	Follow *bool

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

	// Since.
	//
	// Only return logs since this time, as a UNIX timestamp
	Since *string

	// Stderr.
	//
	// Return logs from stderr
	Stderr *bool

	// Stdout.
	//
	// Return logs from stdout
	Stdout *bool

	// Tail.
	//
	// Only return this number of log lines from the end of the logs
	//
	// Default: "all"
	Tail *string

	// Timestamps.
	//
	// Add timestamps to every log line
	Timestamps *bool

	// Until.
	//
	// Only return logs before this time, as a UNIX timestamp
	Until *string

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

ContainerLogsLibpodParams contains all the parameters to send to the API endpoint

for the container logs libpod operation.

Typically these are written to a http.Request.

func NewContainerLogsLibpodParams

func NewContainerLogsLibpodParams() *ContainerLogsLibpodParams

NewContainerLogsLibpodParams creates a new ContainerLogsLibpodParams 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 NewContainerLogsLibpodParamsWithContext deprecated

func NewContainerLogsLibpodParamsWithContext(ctx context.Context) *ContainerLogsLibpodParams

NewContainerLogsLibpodParamsWithContext creates a new ContainerLogsLibpodParams object with the ability to set a context for a request.

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

func NewContainerLogsLibpodParamsWithHTTPClient

func NewContainerLogsLibpodParamsWithHTTPClient(client *http.Client) *ContainerLogsLibpodParams

NewContainerLogsLibpodParamsWithHTTPClient creates a new ContainerLogsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerLogsLibpodParamsWithTimeout

func NewContainerLogsLibpodParamsWithTimeout(timeout time.Duration) *ContainerLogsLibpodParams

NewContainerLogsLibpodParamsWithTimeout creates a new ContainerLogsLibpodParams object with the ability to set a timeout on a request.

func (*ContainerLogsLibpodParams) SetContext deprecated

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

SetContext adds the context to the container logs libpod params.

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

func (*ContainerLogsLibpodParams) SetDefaults

func (o *ContainerLogsLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container logs libpod params (not the query body).

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

func (*ContainerLogsLibpodParams) SetFollow

func (o *ContainerLogsLibpodParams) SetFollow(follow *bool)

SetFollow adds the follow to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetName

func (o *ContainerLogsLibpodParams) SetName(name string)

SetName adds the name to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetSince

func (o *ContainerLogsLibpodParams) SetSince(since *string)

SetSince adds the since to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetStderr

func (o *ContainerLogsLibpodParams) SetStderr(stderr *bool)

SetStderr adds the stderr to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetStdout

func (o *ContainerLogsLibpodParams) SetStdout(stdout *bool)

SetStdout adds the stdout to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetTail

func (o *ContainerLogsLibpodParams) SetTail(tail *string)

SetTail adds the tail to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetTimestamps

func (o *ContainerLogsLibpodParams) SetTimestamps(timestamps *bool)

SetTimestamps adds the timestamps to the container logs libpod params.

func (*ContainerLogsLibpodParams) SetUntil

func (o *ContainerLogsLibpodParams) SetUntil(until *string)

SetUntil adds the until to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithContext deprecated

WithContext adds the context to the container logs libpod params.

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

func (*ContainerLogsLibpodParams) WithDefaults

WithDefaults hydrates default values in the container logs libpod params (not the query body).

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

func (*ContainerLogsLibpodParams) WithFollow

WithFollow adds the follow to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithName

WithName adds the name to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithSince

WithSince adds the since to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithStderr

WithStderr adds the stderr to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithStdout

WithStdout adds the stdout to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithTail

WithTail adds the tail to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithTimeout

WithTimeout adds the timeout to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithTimestamps

func (o *ContainerLogsLibpodParams) WithTimestamps(timestamps *bool) *ContainerLogsLibpodParams

WithTimestamps adds the timestamps to the container logs libpod params.

func (*ContainerLogsLibpodParams) WithUntil

WithUntil adds the until to the container logs libpod params.

func (*ContainerLogsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerLogsLibpodReader

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

ContainerLogsLibpodReader is a Reader for the ContainerLogsLibpod structure.

func (*ContainerLogsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerMountLibpodInternalServerError

type ContainerMountLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerMountLibpodInternalServerError

func NewContainerMountLibpodInternalServerError() *ContainerMountLibpodInternalServerError

NewContainerMountLibpodInternalServerError creates a ContainerMountLibpodInternalServerError with default headers values

func (*ContainerMountLibpodInternalServerError) Code

Code gets the status code for the container mount libpod internal server error response

func (*ContainerMountLibpodInternalServerError) Error

func (*ContainerMountLibpodInternalServerError) GetPayload

func (*ContainerMountLibpodInternalServerError) IsClientError

func (o *ContainerMountLibpodInternalServerError) IsClientError() bool

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

func (*ContainerMountLibpodInternalServerError) IsCode

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

func (*ContainerMountLibpodInternalServerError) IsRedirect

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

func (*ContainerMountLibpodInternalServerError) IsServerError

func (o *ContainerMountLibpodInternalServerError) IsServerError() bool

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

func (*ContainerMountLibpodInternalServerError) IsSuccess

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

func (*ContainerMountLibpodInternalServerError) String

type ContainerMountLibpodNotFound

type ContainerMountLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerMountLibpodNotFound

func NewContainerMountLibpodNotFound() *ContainerMountLibpodNotFound

NewContainerMountLibpodNotFound creates a ContainerMountLibpodNotFound with default headers values

func (*ContainerMountLibpodNotFound) Code

Code gets the status code for the container mount libpod not found response

func (*ContainerMountLibpodNotFound) Error

func (*ContainerMountLibpodNotFound) GetPayload

func (*ContainerMountLibpodNotFound) IsClientError

func (o *ContainerMountLibpodNotFound) IsClientError() bool

IsClientError returns true when this container mount libpod not found response has a 4xx status code

func (*ContainerMountLibpodNotFound) IsCode

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

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

func (*ContainerMountLibpodNotFound) IsRedirect

func (o *ContainerMountLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container mount libpod not found response has a 3xx status code

func (*ContainerMountLibpodNotFound) IsServerError

func (o *ContainerMountLibpodNotFound) IsServerError() bool

IsServerError returns true when this container mount libpod not found response has a 5xx status code

func (*ContainerMountLibpodNotFound) IsSuccess

func (o *ContainerMountLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container mount libpod not found response has a 2xx status code

func (*ContainerMountLibpodNotFound) String

type ContainerMountLibpodOK

type ContainerMountLibpodOK struct {
	Payload string
}

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

mounted container

func NewContainerMountLibpodOK

func NewContainerMountLibpodOK() *ContainerMountLibpodOK

NewContainerMountLibpodOK creates a ContainerMountLibpodOK with default headers values

func (*ContainerMountLibpodOK) Code

func (o *ContainerMountLibpodOK) Code() int

Code gets the status code for the container mount libpod o k response

func (*ContainerMountLibpodOK) Error

func (o *ContainerMountLibpodOK) Error() string

func (*ContainerMountLibpodOK) GetPayload

func (o *ContainerMountLibpodOK) GetPayload() string

func (*ContainerMountLibpodOK) IsClientError

func (o *ContainerMountLibpodOK) IsClientError() bool

IsClientError returns true when this container mount libpod o k response has a 4xx status code

func (*ContainerMountLibpodOK) IsCode

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

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

func (*ContainerMountLibpodOK) IsRedirect

func (o *ContainerMountLibpodOK) IsRedirect() bool

IsRedirect returns true when this container mount libpod o k response has a 3xx status code

func (*ContainerMountLibpodOK) IsServerError

func (o *ContainerMountLibpodOK) IsServerError() bool

IsServerError returns true when this container mount libpod o k response has a 5xx status code

func (*ContainerMountLibpodOK) IsSuccess

func (o *ContainerMountLibpodOK) IsSuccess() bool

IsSuccess returns true when this container mount libpod o k response has a 2xx status code

func (*ContainerMountLibpodOK) String

func (o *ContainerMountLibpodOK) String() string

type ContainerMountLibpodParams

type ContainerMountLibpodParams struct {

	// External.
	//
	// Include external containers that are not managed by Podman.
	External *bool

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

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

ContainerMountLibpodParams contains all the parameters to send to the API endpoint

for the container mount libpod operation.

Typically these are written to a http.Request.

func NewContainerMountLibpodParams

func NewContainerMountLibpodParams() *ContainerMountLibpodParams

NewContainerMountLibpodParams creates a new ContainerMountLibpodParams 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 NewContainerMountLibpodParamsWithContext deprecated

func NewContainerMountLibpodParamsWithContext(ctx context.Context) *ContainerMountLibpodParams

NewContainerMountLibpodParamsWithContext creates a new ContainerMountLibpodParams object with the ability to set a context for a request.

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

func NewContainerMountLibpodParamsWithHTTPClient

func NewContainerMountLibpodParamsWithHTTPClient(client *http.Client) *ContainerMountLibpodParams

NewContainerMountLibpodParamsWithHTTPClient creates a new ContainerMountLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerMountLibpodParamsWithTimeout

func NewContainerMountLibpodParamsWithTimeout(timeout time.Duration) *ContainerMountLibpodParams

NewContainerMountLibpodParamsWithTimeout creates a new ContainerMountLibpodParams object with the ability to set a timeout on a request.

func (*ContainerMountLibpodParams) SetContext deprecated

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

SetContext adds the context to the container mount libpod params.

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

func (*ContainerMountLibpodParams) SetDefaults

func (o *ContainerMountLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container mount libpod params (not the query body).

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

func (*ContainerMountLibpodParams) SetExternal

func (o *ContainerMountLibpodParams) SetExternal(external *bool)

SetExternal adds the external to the container mount libpod params.

func (*ContainerMountLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container mount libpod params.

func (*ContainerMountLibpodParams) SetName

func (o *ContainerMountLibpodParams) SetName(name string)

SetName adds the name to the container mount libpod params.

func (*ContainerMountLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container mount libpod params.

func (*ContainerMountLibpodParams) WithContext deprecated

WithContext adds the context to the container mount libpod params.

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

func (*ContainerMountLibpodParams) WithDefaults

WithDefaults hydrates default values in the container mount libpod params (not the query body).

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

func (*ContainerMountLibpodParams) WithExternal

func (o *ContainerMountLibpodParams) WithExternal(external *bool) *ContainerMountLibpodParams

WithExternal adds the external to the container mount libpod params.

func (*ContainerMountLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container mount libpod params.

func (*ContainerMountLibpodParams) WithName

WithName adds the name to the container mount libpod params.

func (*ContainerMountLibpodParams) WithTimeout

WithTimeout adds the timeout to the container mount libpod params.

func (*ContainerMountLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerMountLibpodReader

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

ContainerMountLibpodReader is a Reader for the ContainerMountLibpod structure.

func (*ContainerMountLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerPauseLibpodInternalServerError

type ContainerPauseLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerPauseLibpodInternalServerError

func NewContainerPauseLibpodInternalServerError() *ContainerPauseLibpodInternalServerError

NewContainerPauseLibpodInternalServerError creates a ContainerPauseLibpodInternalServerError with default headers values

func (*ContainerPauseLibpodInternalServerError) Code

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

func (*ContainerPauseLibpodInternalServerError) Error

func (*ContainerPauseLibpodInternalServerError) GetPayload

func (*ContainerPauseLibpodInternalServerError) IsClientError

func (o *ContainerPauseLibpodInternalServerError) IsClientError() bool

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

func (*ContainerPauseLibpodInternalServerError) IsCode

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

func (*ContainerPauseLibpodInternalServerError) IsRedirect

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

func (*ContainerPauseLibpodInternalServerError) IsServerError

func (o *ContainerPauseLibpodInternalServerError) IsServerError() bool

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

func (*ContainerPauseLibpodInternalServerError) IsSuccess

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

func (*ContainerPauseLibpodInternalServerError) String

type ContainerPauseLibpodNoContent

type ContainerPauseLibpodNoContent struct {
}

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

no error

func NewContainerPauseLibpodNoContent

func NewContainerPauseLibpodNoContent() *ContainerPauseLibpodNoContent

NewContainerPauseLibpodNoContent creates a ContainerPauseLibpodNoContent with default headers values

func (*ContainerPauseLibpodNoContent) Code

Code gets the status code for the container pause libpod no content response

func (*ContainerPauseLibpodNoContent) Error

func (*ContainerPauseLibpodNoContent) IsClientError

func (o *ContainerPauseLibpodNoContent) IsClientError() bool

IsClientError returns true when this container pause libpod no content response has a 4xx status code

func (*ContainerPauseLibpodNoContent) IsCode

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

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

func (*ContainerPauseLibpodNoContent) IsRedirect

func (o *ContainerPauseLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container pause libpod no content response has a 3xx status code

func (*ContainerPauseLibpodNoContent) IsServerError

func (o *ContainerPauseLibpodNoContent) IsServerError() bool

IsServerError returns true when this container pause libpod no content response has a 5xx status code

func (*ContainerPauseLibpodNoContent) IsSuccess

func (o *ContainerPauseLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container pause libpod no content response has a 2xx status code

func (*ContainerPauseLibpodNoContent) String

type ContainerPauseLibpodNotFound

type ContainerPauseLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerPauseLibpodNotFound

func NewContainerPauseLibpodNotFound() *ContainerPauseLibpodNotFound

NewContainerPauseLibpodNotFound creates a ContainerPauseLibpodNotFound with default headers values

func (*ContainerPauseLibpodNotFound) Code

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

func (*ContainerPauseLibpodNotFound) Error

func (*ContainerPauseLibpodNotFound) GetPayload

func (*ContainerPauseLibpodNotFound) IsClientError

func (o *ContainerPauseLibpodNotFound) IsClientError() bool

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

func (*ContainerPauseLibpodNotFound) IsCode

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

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

func (*ContainerPauseLibpodNotFound) IsRedirect

func (o *ContainerPauseLibpodNotFound) IsRedirect() bool

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

func (*ContainerPauseLibpodNotFound) IsServerError

func (o *ContainerPauseLibpodNotFound) IsServerError() bool

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

func (*ContainerPauseLibpodNotFound) IsSuccess

func (o *ContainerPauseLibpodNotFound) IsSuccess() bool

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

func (*ContainerPauseLibpodNotFound) String

type ContainerPauseLibpodParams

type ContainerPauseLibpodParams struct {

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

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

ContainerPauseLibpodParams contains all the parameters to send to the API endpoint

for the container pause libpod operation.

Typically these are written to a http.Request.

func NewContainerPauseLibpodParams

func NewContainerPauseLibpodParams() *ContainerPauseLibpodParams

NewContainerPauseLibpodParams creates a new ContainerPauseLibpodParams 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 NewContainerPauseLibpodParamsWithContext deprecated

func NewContainerPauseLibpodParamsWithContext(ctx context.Context) *ContainerPauseLibpodParams

NewContainerPauseLibpodParamsWithContext creates a new ContainerPauseLibpodParams object with the ability to set a context for a request.

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

func NewContainerPauseLibpodParamsWithHTTPClient

func NewContainerPauseLibpodParamsWithHTTPClient(client *http.Client) *ContainerPauseLibpodParams

NewContainerPauseLibpodParamsWithHTTPClient creates a new ContainerPauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerPauseLibpodParamsWithTimeout

func NewContainerPauseLibpodParamsWithTimeout(timeout time.Duration) *ContainerPauseLibpodParams

NewContainerPauseLibpodParamsWithTimeout creates a new ContainerPauseLibpodParams object with the ability to set a timeout on a request.

func (*ContainerPauseLibpodParams) SetContext deprecated

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

SetContext adds the context to the container pause libpod params.

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

func (*ContainerPauseLibpodParams) SetDefaults

func (o *ContainerPauseLibpodParams) SetDefaults()

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

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

func (*ContainerPauseLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container pause libpod params.

func (*ContainerPauseLibpodParams) SetName

func (o *ContainerPauseLibpodParams) SetName(name string)

SetName adds the name to the container pause libpod params.

func (*ContainerPauseLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container pause libpod params.

func (*ContainerPauseLibpodParams) WithContext deprecated

WithContext adds the context to the container pause libpod params.

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

func (*ContainerPauseLibpodParams) WithDefaults

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

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

func (*ContainerPauseLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container pause libpod params.

func (*ContainerPauseLibpodParams) WithName

WithName adds the name to the container pause libpod params.

func (*ContainerPauseLibpodParams) WithTimeout

WithTimeout adds the timeout to the container pause libpod params.

func (*ContainerPauseLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerPauseLibpodReader

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

ContainerPauseLibpodReader is a Reader for the ContainerPauseLibpod structure.

func (*ContainerPauseLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerPruneLibpodInternalServerError

type ContainerPruneLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerPruneLibpodInternalServerError

func NewContainerPruneLibpodInternalServerError() *ContainerPruneLibpodInternalServerError

NewContainerPruneLibpodInternalServerError creates a ContainerPruneLibpodInternalServerError with default headers values

func (*ContainerPruneLibpodInternalServerError) Code

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

func (*ContainerPruneLibpodInternalServerError) Error

func (*ContainerPruneLibpodInternalServerError) GetPayload

func (*ContainerPruneLibpodInternalServerError) IsClientError

func (o *ContainerPruneLibpodInternalServerError) IsClientError() bool

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

func (*ContainerPruneLibpodInternalServerError) IsCode

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

func (*ContainerPruneLibpodInternalServerError) IsRedirect

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

func (*ContainerPruneLibpodInternalServerError) IsServerError

func (o *ContainerPruneLibpodInternalServerError) IsServerError() bool

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

func (*ContainerPruneLibpodInternalServerError) IsSuccess

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

func (*ContainerPruneLibpodInternalServerError) String

type ContainerPruneLibpodOK

type ContainerPruneLibpodOK struct {
	Payload []*models.ContainersPruneReportLibpod
}

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

Prune Containers

func NewContainerPruneLibpodOK

func NewContainerPruneLibpodOK() *ContainerPruneLibpodOK

NewContainerPruneLibpodOK creates a ContainerPruneLibpodOK with default headers values

func (*ContainerPruneLibpodOK) Code

func (o *ContainerPruneLibpodOK) Code() int

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

func (*ContainerPruneLibpodOK) Error

func (o *ContainerPruneLibpodOK) Error() string

func (*ContainerPruneLibpodOK) GetPayload

func (*ContainerPruneLibpodOK) IsClientError

func (o *ContainerPruneLibpodOK) IsClientError() bool

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

func (*ContainerPruneLibpodOK) IsCode

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

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

func (*ContainerPruneLibpodOK) IsRedirect

func (o *ContainerPruneLibpodOK) IsRedirect() bool

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

func (*ContainerPruneLibpodOK) IsServerError

func (o *ContainerPruneLibpodOK) IsServerError() bool

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

func (*ContainerPruneLibpodOK) IsSuccess

func (o *ContainerPruneLibpodOK) IsSuccess() bool

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

func (*ContainerPruneLibpodOK) String

func (o *ContainerPruneLibpodOK) String() string

type ContainerPruneLibpodParams

type ContainerPruneLibpodParams struct {

	// Filters.
	//
	// Filters to process on the prune list, encoded as JSON (a `map[string][]string`).  Available filters:
	//  - `annotation` (`annotation=<key>`, `annotation=<key>=<value>`, `annotation!=<key>`, or `annotation!=<key>=<value>`) Prune containers with (or without, in case `annotation!=...` is used) the specified annotations.
	//  - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune containers with (or without, in case `label!=...` is used) the specified labels.
	//  - `until=<timestamp>` Prune containers 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.
	//
	Filters *string

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

ContainerPruneLibpodParams contains all the parameters to send to the API endpoint

for the container prune libpod operation.

Typically these are written to a http.Request.

func NewContainerPruneLibpodParams

func NewContainerPruneLibpodParams() *ContainerPruneLibpodParams

NewContainerPruneLibpodParams creates a new ContainerPruneLibpodParams 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 NewContainerPruneLibpodParamsWithContext deprecated

func NewContainerPruneLibpodParamsWithContext(ctx context.Context) *ContainerPruneLibpodParams

NewContainerPruneLibpodParamsWithContext creates a new ContainerPruneLibpodParams object with the ability to set a context for a request.

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

func NewContainerPruneLibpodParamsWithHTTPClient

func NewContainerPruneLibpodParamsWithHTTPClient(client *http.Client) *ContainerPruneLibpodParams

NewContainerPruneLibpodParamsWithHTTPClient creates a new ContainerPruneLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerPruneLibpodParamsWithTimeout

func NewContainerPruneLibpodParamsWithTimeout(timeout time.Duration) *ContainerPruneLibpodParams

NewContainerPruneLibpodParamsWithTimeout creates a new ContainerPruneLibpodParams object with the ability to set a timeout on a request.

func (*ContainerPruneLibpodParams) SetContext deprecated

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

SetContext adds the context to the container prune libpod params.

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

func (*ContainerPruneLibpodParams) SetDefaults

func (o *ContainerPruneLibpodParams) SetDefaults()

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

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

func (*ContainerPruneLibpodParams) SetFilters

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

SetFilters adds the filters to the container prune libpod params.

func (*ContainerPruneLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container prune libpod params.

func (*ContainerPruneLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container prune libpod params.

func (*ContainerPruneLibpodParams) WithContext deprecated

WithContext adds the context to the container prune libpod params.

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

func (*ContainerPruneLibpodParams) WithDefaults

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

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

func (*ContainerPruneLibpodParams) WithFilters

WithFilters adds the filters to the container prune libpod params.

func (*ContainerPruneLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container prune libpod params.

func (*ContainerPruneLibpodParams) WithTimeout

WithTimeout adds the timeout to the container prune libpod params.

func (*ContainerPruneLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerPruneLibpodReader

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

ContainerPruneLibpodReader is a Reader for the ContainerPruneLibpod structure.

func (*ContainerPruneLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerRenameLibpodConflict

type ContainerRenameLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerRenameLibpodConflict

func NewContainerRenameLibpodConflict() *ContainerRenameLibpodConflict

NewContainerRenameLibpodConflict creates a ContainerRenameLibpodConflict with default headers values

func (*ContainerRenameLibpodConflict) Code

Code gets the status code for the container rename libpod conflict response

func (*ContainerRenameLibpodConflict) Error

func (*ContainerRenameLibpodConflict) GetPayload

func (*ContainerRenameLibpodConflict) IsClientError

func (o *ContainerRenameLibpodConflict) IsClientError() bool

IsClientError returns true when this container rename libpod conflict response has a 4xx status code

func (*ContainerRenameLibpodConflict) IsCode

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

IsCode returns true when this container rename libpod conflict response a status code equal to that given

func (*ContainerRenameLibpodConflict) IsRedirect

func (o *ContainerRenameLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container rename libpod conflict response has a 3xx status code

func (*ContainerRenameLibpodConflict) IsServerError

func (o *ContainerRenameLibpodConflict) IsServerError() bool

IsServerError returns true when this container rename libpod conflict response has a 5xx status code

func (*ContainerRenameLibpodConflict) IsSuccess

func (o *ContainerRenameLibpodConflict) IsSuccess() bool

IsSuccess returns true when this container rename libpod conflict response has a 2xx status code

func (*ContainerRenameLibpodConflict) String

type ContainerRenameLibpodInternalServerError

type ContainerRenameLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerRenameLibpodInternalServerError

func NewContainerRenameLibpodInternalServerError() *ContainerRenameLibpodInternalServerError

NewContainerRenameLibpodInternalServerError creates a ContainerRenameLibpodInternalServerError with default headers values

func (*ContainerRenameLibpodInternalServerError) Code

Code gets the status code for the container rename libpod internal server error response

func (*ContainerRenameLibpodInternalServerError) Error

func (*ContainerRenameLibpodInternalServerError) GetPayload

func (*ContainerRenameLibpodInternalServerError) IsClientError

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

func (*ContainerRenameLibpodInternalServerError) IsCode

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

func (*ContainerRenameLibpodInternalServerError) IsRedirect

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

func (*ContainerRenameLibpodInternalServerError) IsServerError

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

func (*ContainerRenameLibpodInternalServerError) IsSuccess

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

func (*ContainerRenameLibpodInternalServerError) String

type ContainerRenameLibpodNoContent

type ContainerRenameLibpodNoContent struct {
}

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

no error

func NewContainerRenameLibpodNoContent

func NewContainerRenameLibpodNoContent() *ContainerRenameLibpodNoContent

NewContainerRenameLibpodNoContent creates a ContainerRenameLibpodNoContent with default headers values

func (*ContainerRenameLibpodNoContent) Code

Code gets the status code for the container rename libpod no content response

func (*ContainerRenameLibpodNoContent) Error

func (*ContainerRenameLibpodNoContent) IsClientError

func (o *ContainerRenameLibpodNoContent) IsClientError() bool

IsClientError returns true when this container rename libpod no content response has a 4xx status code

func (*ContainerRenameLibpodNoContent) IsCode

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

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

func (*ContainerRenameLibpodNoContent) IsRedirect

func (o *ContainerRenameLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container rename libpod no content response has a 3xx status code

func (*ContainerRenameLibpodNoContent) IsServerError

func (o *ContainerRenameLibpodNoContent) IsServerError() bool

IsServerError returns true when this container rename libpod no content response has a 5xx status code

func (*ContainerRenameLibpodNoContent) IsSuccess

func (o *ContainerRenameLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container rename libpod no content response has a 2xx status code

func (*ContainerRenameLibpodNoContent) String

type ContainerRenameLibpodNotFound

type ContainerRenameLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerRenameLibpodNotFound

func NewContainerRenameLibpodNotFound() *ContainerRenameLibpodNotFound

NewContainerRenameLibpodNotFound creates a ContainerRenameLibpodNotFound with default headers values

func (*ContainerRenameLibpodNotFound) Code

Code gets the status code for the container rename libpod not found response

func (*ContainerRenameLibpodNotFound) Error

func (*ContainerRenameLibpodNotFound) GetPayload

func (*ContainerRenameLibpodNotFound) IsClientError

func (o *ContainerRenameLibpodNotFound) IsClientError() bool

IsClientError returns true when this container rename libpod not found response has a 4xx status code

func (*ContainerRenameLibpodNotFound) IsCode

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

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

func (*ContainerRenameLibpodNotFound) IsRedirect

func (o *ContainerRenameLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container rename libpod not found response has a 3xx status code

func (*ContainerRenameLibpodNotFound) IsServerError

func (o *ContainerRenameLibpodNotFound) IsServerError() bool

IsServerError returns true when this container rename libpod not found response has a 5xx status code

func (*ContainerRenameLibpodNotFound) IsSuccess

func (o *ContainerRenameLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container rename libpod not found response has a 2xx status code

func (*ContainerRenameLibpodNotFound) String

type ContainerRenameLibpodParams

type ContainerRenameLibpodParams struct {

	// Name.
	//
	// Full or partial ID or full name of the container to rename
	PathName string

	// Name.
	//
	// New name for the container
	QueryName string

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

ContainerRenameLibpodParams contains all the parameters to send to the API endpoint

for the container rename libpod operation.

Typically these are written to a http.Request.

func NewContainerRenameLibpodParams

func NewContainerRenameLibpodParams() *ContainerRenameLibpodParams

NewContainerRenameLibpodParams creates a new ContainerRenameLibpodParams 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 NewContainerRenameLibpodParamsWithContext deprecated

func NewContainerRenameLibpodParamsWithContext(ctx context.Context) *ContainerRenameLibpodParams

NewContainerRenameLibpodParamsWithContext creates a new ContainerRenameLibpodParams object with the ability to set a context for a request.

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

func NewContainerRenameLibpodParamsWithHTTPClient

func NewContainerRenameLibpodParamsWithHTTPClient(client *http.Client) *ContainerRenameLibpodParams

NewContainerRenameLibpodParamsWithHTTPClient creates a new ContainerRenameLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerRenameLibpodParamsWithTimeout

func NewContainerRenameLibpodParamsWithTimeout(timeout time.Duration) *ContainerRenameLibpodParams

NewContainerRenameLibpodParamsWithTimeout creates a new ContainerRenameLibpodParams object with the ability to set a timeout on a request.

func (*ContainerRenameLibpodParams) SetContext deprecated

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

SetContext adds the context to the container rename libpod params.

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

func (*ContainerRenameLibpodParams) SetDefaults

func (o *ContainerRenameLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container rename libpod params (not the query body).

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

func (*ContainerRenameLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container rename libpod params.

func (*ContainerRenameLibpodParams) SetPathName

func (o *ContainerRenameLibpodParams) SetPathName(name string)

SetPathName adds the name to the container rename libpod params.

func (*ContainerRenameLibpodParams) SetQueryName

func (o *ContainerRenameLibpodParams) SetQueryName(name string)

SetQueryName adds the name to the container rename libpod params.

func (*ContainerRenameLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container rename libpod params.

func (*ContainerRenameLibpodParams) WithContext deprecated

WithContext adds the context to the container rename libpod params.

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

func (*ContainerRenameLibpodParams) WithDefaults

WithDefaults hydrates default values in the container rename libpod params (not the query body).

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

func (*ContainerRenameLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container rename libpod params.

func (*ContainerRenameLibpodParams) WithPathName

WithPathName adds the name to the container rename libpod params.

func (*ContainerRenameLibpodParams) WithQueryName

WithQueryName adds the name to the container rename libpod params.

func (*ContainerRenameLibpodParams) WithTimeout

WithTimeout adds the timeout to the container rename libpod params.

func (*ContainerRenameLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerRenameLibpodReader

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

ContainerRenameLibpodReader is a Reader for the ContainerRenameLibpod structure.

func (*ContainerRenameLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerResizeLibpodConflict

type ContainerResizeLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerResizeLibpodConflict

func NewContainerResizeLibpodConflict() *ContainerResizeLibpodConflict

NewContainerResizeLibpodConflict creates a ContainerResizeLibpodConflict with default headers values

func (*ContainerResizeLibpodConflict) Code

Code gets the status code for the container resize libpod conflict response

func (*ContainerResizeLibpodConflict) Error

func (*ContainerResizeLibpodConflict) GetPayload

func (*ContainerResizeLibpodConflict) IsClientError

func (o *ContainerResizeLibpodConflict) IsClientError() bool

IsClientError returns true when this container resize libpod conflict response has a 4xx status code

func (*ContainerResizeLibpodConflict) IsCode

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

IsCode returns true when this container resize libpod conflict response a status code equal to that given

func (*ContainerResizeLibpodConflict) IsRedirect

func (o *ContainerResizeLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container resize libpod conflict response has a 3xx status code

func (*ContainerResizeLibpodConflict) IsServerError

func (o *ContainerResizeLibpodConflict) IsServerError() bool

IsServerError returns true when this container resize libpod conflict response has a 5xx status code

func (*ContainerResizeLibpodConflict) IsSuccess

func (o *ContainerResizeLibpodConflict) IsSuccess() bool

IsSuccess returns true when this container resize libpod conflict response has a 2xx status code

func (*ContainerResizeLibpodConflict) String

type ContainerResizeLibpodInternalServerError

type ContainerResizeLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerResizeLibpodInternalServerError

func NewContainerResizeLibpodInternalServerError() *ContainerResizeLibpodInternalServerError

NewContainerResizeLibpodInternalServerError creates a ContainerResizeLibpodInternalServerError with default headers values

func (*ContainerResizeLibpodInternalServerError) Code

Code gets the status code for the container resize libpod internal server error response

func (*ContainerResizeLibpodInternalServerError) Error

func (*ContainerResizeLibpodInternalServerError) GetPayload

func (*ContainerResizeLibpodInternalServerError) IsClientError

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

func (*ContainerResizeLibpodInternalServerError) IsCode

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

func (*ContainerResizeLibpodInternalServerError) IsRedirect

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

func (*ContainerResizeLibpodInternalServerError) IsServerError

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

func (*ContainerResizeLibpodInternalServerError) IsSuccess

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

func (*ContainerResizeLibpodInternalServerError) String

type ContainerResizeLibpodNotFound

type ContainerResizeLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerResizeLibpodNotFound

func NewContainerResizeLibpodNotFound() *ContainerResizeLibpodNotFound

NewContainerResizeLibpodNotFound creates a ContainerResizeLibpodNotFound with default headers values

func (*ContainerResizeLibpodNotFound) Code

Code gets the status code for the container resize libpod not found response

func (*ContainerResizeLibpodNotFound) Error

func (*ContainerResizeLibpodNotFound) GetPayload

func (*ContainerResizeLibpodNotFound) IsClientError

func (o *ContainerResizeLibpodNotFound) IsClientError() bool

IsClientError returns true when this container resize libpod not found response has a 4xx status code

func (*ContainerResizeLibpodNotFound) IsCode

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

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

func (*ContainerResizeLibpodNotFound) IsRedirect

func (o *ContainerResizeLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container resize libpod not found response has a 3xx status code

func (*ContainerResizeLibpodNotFound) IsServerError

func (o *ContainerResizeLibpodNotFound) IsServerError() bool

IsServerError returns true when this container resize libpod not found response has a 5xx status code

func (*ContainerResizeLibpodNotFound) IsSuccess

func (o *ContainerResizeLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container resize libpod not found response has a 2xx status code

func (*ContainerResizeLibpodNotFound) String

type ContainerResizeLibpodOK

type ContainerResizeLibpodOK struct {
	Payload any
}

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

Success

func NewContainerResizeLibpodOK

func NewContainerResizeLibpodOK() *ContainerResizeLibpodOK

NewContainerResizeLibpodOK creates a ContainerResizeLibpodOK with default headers values

func (*ContainerResizeLibpodOK) Code

func (o *ContainerResizeLibpodOK) Code() int

Code gets the status code for the container resize libpod o k response

func (*ContainerResizeLibpodOK) Error

func (o *ContainerResizeLibpodOK) Error() string

func (*ContainerResizeLibpodOK) GetPayload

func (o *ContainerResizeLibpodOK) GetPayload() any

func (*ContainerResizeLibpodOK) IsClientError

func (o *ContainerResizeLibpodOK) IsClientError() bool

IsClientError returns true when this container resize libpod o k response has a 4xx status code

func (*ContainerResizeLibpodOK) IsCode

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

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

func (*ContainerResizeLibpodOK) IsRedirect

func (o *ContainerResizeLibpodOK) IsRedirect() bool

IsRedirect returns true when this container resize libpod o k response has a 3xx status code

func (*ContainerResizeLibpodOK) IsServerError

func (o *ContainerResizeLibpodOK) IsServerError() bool

IsServerError returns true when this container resize libpod o k response has a 5xx status code

func (*ContainerResizeLibpodOK) IsSuccess

func (o *ContainerResizeLibpodOK) IsSuccess() bool

IsSuccess returns true when this container resize libpod o k response has a 2xx status code

func (*ContainerResizeLibpodOK) String

func (o *ContainerResizeLibpodOK) String() string

type ContainerResizeLibpodParams

type ContainerResizeLibpodParams struct {

	// H.
	//
	// Height to set for the terminal, in characters
	H *int64

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

	// Running.
	//
	// Ignore containers not running errors
	Running *bool

	// W.
	//
	// Width to set for the terminal, in characters
	W *int64

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

ContainerResizeLibpodParams contains all the parameters to send to the API endpoint

for the container resize libpod operation.

Typically these are written to a http.Request.

func NewContainerResizeLibpodParams

func NewContainerResizeLibpodParams() *ContainerResizeLibpodParams

NewContainerResizeLibpodParams creates a new ContainerResizeLibpodParams 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 NewContainerResizeLibpodParamsWithContext deprecated

func NewContainerResizeLibpodParamsWithContext(ctx context.Context) *ContainerResizeLibpodParams

NewContainerResizeLibpodParamsWithContext creates a new ContainerResizeLibpodParams object with the ability to set a context for a request.

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

func NewContainerResizeLibpodParamsWithHTTPClient

func NewContainerResizeLibpodParamsWithHTTPClient(client *http.Client) *ContainerResizeLibpodParams

NewContainerResizeLibpodParamsWithHTTPClient creates a new ContainerResizeLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerResizeLibpodParamsWithTimeout

func NewContainerResizeLibpodParamsWithTimeout(timeout time.Duration) *ContainerResizeLibpodParams

NewContainerResizeLibpodParamsWithTimeout creates a new ContainerResizeLibpodParams object with the ability to set a timeout on a request.

func (*ContainerResizeLibpodParams) SetContext deprecated

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

SetContext adds the context to the container resize libpod params.

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

func (*ContainerResizeLibpodParams) SetDefaults

func (o *ContainerResizeLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container resize libpod params (not the query body).

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

func (*ContainerResizeLibpodParams) SetH

func (o *ContainerResizeLibpodParams) SetH(h *int64)

SetH adds the h to the container resize libpod params.

func (*ContainerResizeLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container resize libpod params.

func (*ContainerResizeLibpodParams) SetName

func (o *ContainerResizeLibpodParams) SetName(name string)

SetName adds the name to the container resize libpod params.

func (*ContainerResizeLibpodParams) SetRunning

func (o *ContainerResizeLibpodParams) SetRunning(running *bool)

SetRunning adds the running to the container resize libpod params.

func (*ContainerResizeLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container resize libpod params.

func (*ContainerResizeLibpodParams) SetW

func (o *ContainerResizeLibpodParams) SetW(w *int64)

SetW adds the w to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithContext deprecated

WithContext adds the context to the container resize libpod params.

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

func (*ContainerResizeLibpodParams) WithDefaults

WithDefaults hydrates default values in the container resize libpod params (not the query body).

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

func (*ContainerResizeLibpodParams) WithH

WithH adds the h to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithName

WithName adds the name to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithRunning

WithRunning adds the running to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithTimeout

WithTimeout adds the timeout to the container resize libpod params.

func (*ContainerResizeLibpodParams) WithW

WithW adds the w to the container resize libpod params.

func (*ContainerResizeLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerResizeLibpodReader

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

ContainerResizeLibpodReader is a Reader for the ContainerResizeLibpod structure.

func (*ContainerResizeLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerRestartLibpodInternalServerError

type ContainerRestartLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerRestartLibpodInternalServerError

func NewContainerRestartLibpodInternalServerError() *ContainerRestartLibpodInternalServerError

NewContainerRestartLibpodInternalServerError creates a ContainerRestartLibpodInternalServerError with default headers values

func (*ContainerRestartLibpodInternalServerError) Code

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

func (*ContainerRestartLibpodInternalServerError) Error

func (*ContainerRestartLibpodInternalServerError) GetPayload

func (*ContainerRestartLibpodInternalServerError) IsClientError

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

func (*ContainerRestartLibpodInternalServerError) IsCode

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

func (*ContainerRestartLibpodInternalServerError) IsRedirect

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

func (*ContainerRestartLibpodInternalServerError) IsServerError

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

func (*ContainerRestartLibpodInternalServerError) IsSuccess

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

func (*ContainerRestartLibpodInternalServerError) String

type ContainerRestartLibpodNoContent

type ContainerRestartLibpodNoContent struct {
}

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

no error

func NewContainerRestartLibpodNoContent

func NewContainerRestartLibpodNoContent() *ContainerRestartLibpodNoContent

NewContainerRestartLibpodNoContent creates a ContainerRestartLibpodNoContent with default headers values

func (*ContainerRestartLibpodNoContent) Code

Code gets the status code for the container restart libpod no content response

func (*ContainerRestartLibpodNoContent) Error

func (*ContainerRestartLibpodNoContent) IsClientError

func (o *ContainerRestartLibpodNoContent) IsClientError() bool

IsClientError returns true when this container restart libpod no content response has a 4xx status code

func (*ContainerRestartLibpodNoContent) IsCode

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

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

func (*ContainerRestartLibpodNoContent) IsRedirect

func (o *ContainerRestartLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container restart libpod no content response has a 3xx status code

func (*ContainerRestartLibpodNoContent) IsServerError

func (o *ContainerRestartLibpodNoContent) IsServerError() bool

IsServerError returns true when this container restart libpod no content response has a 5xx status code

func (*ContainerRestartLibpodNoContent) IsSuccess

func (o *ContainerRestartLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container restart libpod no content response has a 2xx status code

func (*ContainerRestartLibpodNoContent) String

type ContainerRestartLibpodNotFound

type ContainerRestartLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerRestartLibpodNotFound

func NewContainerRestartLibpodNotFound() *ContainerRestartLibpodNotFound

NewContainerRestartLibpodNotFound creates a ContainerRestartLibpodNotFound with default headers values

func (*ContainerRestartLibpodNotFound) Code

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

func (*ContainerRestartLibpodNotFound) Error

func (*ContainerRestartLibpodNotFound) GetPayload

func (*ContainerRestartLibpodNotFound) IsClientError

func (o *ContainerRestartLibpodNotFound) IsClientError() bool

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

func (*ContainerRestartLibpodNotFound) IsCode

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

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

func (*ContainerRestartLibpodNotFound) IsRedirect

func (o *ContainerRestartLibpodNotFound) IsRedirect() bool

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

func (*ContainerRestartLibpodNotFound) IsServerError

func (o *ContainerRestartLibpodNotFound) IsServerError() bool

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

func (*ContainerRestartLibpodNotFound) IsSuccess

func (o *ContainerRestartLibpodNotFound) IsSuccess() bool

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

func (*ContainerRestartLibpodNotFound) String

type ContainerRestartLibpodParams

type ContainerRestartLibpodParams struct {

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

	// T.
	//
	// number of seconds to wait before killing container (Docker compatibility)
	T *int64

	// Timeout.
	//
	// number of seconds to wait before killing container
	Timeout *int64

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

ContainerRestartLibpodParams contains all the parameters to send to the API endpoint

for the container restart libpod operation.

Typically these are written to a http.Request.

func NewContainerRestartLibpodParams

func NewContainerRestartLibpodParams() *ContainerRestartLibpodParams

NewContainerRestartLibpodParams creates a new ContainerRestartLibpodParams 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 NewContainerRestartLibpodParamsWithContext deprecated

func NewContainerRestartLibpodParamsWithContext(ctx context.Context) *ContainerRestartLibpodParams

NewContainerRestartLibpodParamsWithContext creates a new ContainerRestartLibpodParams object with the ability to set a context for a request.

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

func NewContainerRestartLibpodParamsWithHTTPClient

func NewContainerRestartLibpodParamsWithHTTPClient(client *http.Client) *ContainerRestartLibpodParams

NewContainerRestartLibpodParamsWithHTTPClient creates a new ContainerRestartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerRestartLibpodParamsWithTimeout

func NewContainerRestartLibpodParamsWithTimeout(timeout time.Duration) *ContainerRestartLibpodParams

NewContainerRestartLibpodParamsWithTimeout creates a new ContainerRestartLibpodParams object with the ability to set a timeout on a request.

func (*ContainerRestartLibpodParams) SetContext deprecated

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

SetContext adds the context to the container restart libpod params.

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

func (*ContainerRestartLibpodParams) SetDefaults

func (o *ContainerRestartLibpodParams) SetDefaults()

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

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

func (*ContainerRestartLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container restart libpod params.

func (*ContainerRestartLibpodParams) SetName

func (o *ContainerRestartLibpodParams) SetName(name string)

SetName adds the name to the container restart libpod params.

func (*ContainerRestartLibpodParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the container restart libpod params.

func (*ContainerRestartLibpodParams) SetT

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

SetT adds the t to the container restart libpod params.

func (*ContainerRestartLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container restart libpod params.

func (*ContainerRestartLibpodParams) WithContext deprecated

WithContext adds the context to the container restart libpod params.

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

func (*ContainerRestartLibpodParams) WithDefaults

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

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

func (*ContainerRestartLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container restart libpod params.

func (*ContainerRestartLibpodParams) WithName

WithName adds the name to the container restart libpod params.

func (*ContainerRestartLibpodParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the container restart libpod params.

func (*ContainerRestartLibpodParams) WithT

WithT adds the t to the container restart libpod params.

func (*ContainerRestartLibpodParams) WithTimeout

WithTimeout adds the timeout to the container restart libpod params.

func (*ContainerRestartLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerRestartLibpodReader

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

ContainerRestartLibpodReader is a Reader for the ContainerRestartLibpod structure.

func (*ContainerRestartLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerRestoreLibpodInternalServerError

type ContainerRestoreLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerRestoreLibpodInternalServerError

func NewContainerRestoreLibpodInternalServerError() *ContainerRestoreLibpodInternalServerError

NewContainerRestoreLibpodInternalServerError creates a ContainerRestoreLibpodInternalServerError with default headers values

func (*ContainerRestoreLibpodInternalServerError) Code

Code gets the status code for the container restore libpod internal server error response

func (*ContainerRestoreLibpodInternalServerError) Error

func (*ContainerRestoreLibpodInternalServerError) GetPayload

func (*ContainerRestoreLibpodInternalServerError) IsClientError

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

func (*ContainerRestoreLibpodInternalServerError) IsCode

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

func (*ContainerRestoreLibpodInternalServerError) IsRedirect

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

func (*ContainerRestoreLibpodInternalServerError) IsServerError

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

func (*ContainerRestoreLibpodInternalServerError) IsSuccess

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

func (*ContainerRestoreLibpodInternalServerError) String

type ContainerRestoreLibpodNotFound

type ContainerRestoreLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerRestoreLibpodNotFound

func NewContainerRestoreLibpodNotFound() *ContainerRestoreLibpodNotFound

NewContainerRestoreLibpodNotFound creates a ContainerRestoreLibpodNotFound with default headers values

func (*ContainerRestoreLibpodNotFound) Code

Code gets the status code for the container restore libpod not found response

func (*ContainerRestoreLibpodNotFound) Error

func (*ContainerRestoreLibpodNotFound) GetPayload

func (*ContainerRestoreLibpodNotFound) IsClientError

func (o *ContainerRestoreLibpodNotFound) IsClientError() bool

IsClientError returns true when this container restore libpod not found response has a 4xx status code

func (*ContainerRestoreLibpodNotFound) IsCode

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

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

func (*ContainerRestoreLibpodNotFound) IsRedirect

func (o *ContainerRestoreLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container restore libpod not found response has a 3xx status code

func (*ContainerRestoreLibpodNotFound) IsServerError

func (o *ContainerRestoreLibpodNotFound) IsServerError() bool

IsServerError returns true when this container restore libpod not found response has a 5xx status code

func (*ContainerRestoreLibpodNotFound) IsSuccess

func (o *ContainerRestoreLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container restore libpod not found response has a 2xx status code

func (*ContainerRestoreLibpodNotFound) String

type ContainerRestoreLibpodOK

type ContainerRestoreLibpodOK struct {
}

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

tarball is returned in body if exported

func NewContainerRestoreLibpodOK

func NewContainerRestoreLibpodOK() *ContainerRestoreLibpodOK

NewContainerRestoreLibpodOK creates a ContainerRestoreLibpodOK with default headers values

func (*ContainerRestoreLibpodOK) Code

func (o *ContainerRestoreLibpodOK) Code() int

Code gets the status code for the container restore libpod o k response

func (*ContainerRestoreLibpodOK) Error

func (o *ContainerRestoreLibpodOK) Error() string

func (*ContainerRestoreLibpodOK) IsClientError

func (o *ContainerRestoreLibpodOK) IsClientError() bool

IsClientError returns true when this container restore libpod o k response has a 4xx status code

func (*ContainerRestoreLibpodOK) IsCode

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

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

func (*ContainerRestoreLibpodOK) IsRedirect

func (o *ContainerRestoreLibpodOK) IsRedirect() bool

IsRedirect returns true when this container restore libpod o k response has a 3xx status code

func (*ContainerRestoreLibpodOK) IsServerError

func (o *ContainerRestoreLibpodOK) IsServerError() bool

IsServerError returns true when this container restore libpod o k response has a 5xx status code

func (*ContainerRestoreLibpodOK) IsSuccess

func (o *ContainerRestoreLibpodOK) IsSuccess() bool

IsSuccess returns true when this container restore libpod o k response has a 2xx status code

func (*ContainerRestoreLibpodOK) String

func (o *ContainerRestoreLibpodOK) String() string

type ContainerRestoreLibpodParams

type ContainerRestoreLibpodParams struct {

	// FileLocks.
	//
	// restore a container with file locks
	FileLocks *bool

	// IgnoreRootFS.
	//
	// do not include root file-system changes when exporting. can only be used with import
	IgnoreRootFS *bool

	// IgnoreStaticIP.
	//
	// ignore IP address if set statically
	IgnoreStaticIP *bool

	// IgnoreStaticMAC.
	//
	// ignore MAC address if set statically
	IgnoreStaticMAC *bool

	// IgnoreVolumes.
	//
	// do not restore associated volumes. can only be used with import
	IgnoreVolumes *bool

	// Import.
	//
	// import the restore from a checkpoint tar.gz
	Import *bool

	// Keep.
	//
	// keep all temporary checkpoint files
	Keep *bool

	// Name.
	//
	// the name of the container when restored from a tar. can only be used with import
	QueryName *string

	// Name.
	//
	// the name or id of the container
	PathName string

	// Pod.
	//
	// pod to restore into
	Pod *string

	// PrintStats.
	//
	// add restore statistics to the returned RestoreReport
	PrintStats *bool

	// TCPClose.
	//
	// restore a container but close the TCP connections
	TCPClose *bool

	// TCPEstablished.
	//
	// restore a container with established TCP connections
	TCPEstablished *bool

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

ContainerRestoreLibpodParams contains all the parameters to send to the API endpoint

for the container restore libpod operation.

Typically these are written to a http.Request.

func NewContainerRestoreLibpodParams

func NewContainerRestoreLibpodParams() *ContainerRestoreLibpodParams

NewContainerRestoreLibpodParams creates a new ContainerRestoreLibpodParams 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 NewContainerRestoreLibpodParamsWithContext deprecated

func NewContainerRestoreLibpodParamsWithContext(ctx context.Context) *ContainerRestoreLibpodParams

NewContainerRestoreLibpodParamsWithContext creates a new ContainerRestoreLibpodParams object with the ability to set a context for a request.

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

func NewContainerRestoreLibpodParamsWithHTTPClient

func NewContainerRestoreLibpodParamsWithHTTPClient(client *http.Client) *ContainerRestoreLibpodParams

NewContainerRestoreLibpodParamsWithHTTPClient creates a new ContainerRestoreLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerRestoreLibpodParamsWithTimeout

func NewContainerRestoreLibpodParamsWithTimeout(timeout time.Duration) *ContainerRestoreLibpodParams

NewContainerRestoreLibpodParamsWithTimeout creates a new ContainerRestoreLibpodParams object with the ability to set a timeout on a request.

func (*ContainerRestoreLibpodParams) SetContext deprecated

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

SetContext adds the context to the container restore libpod params.

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

func (*ContainerRestoreLibpodParams) SetDefaults

func (o *ContainerRestoreLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container restore libpod params (not the query body).

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

func (*ContainerRestoreLibpodParams) SetFileLocks

func (o *ContainerRestoreLibpodParams) SetFileLocks(fileLocks *bool)

SetFileLocks adds the fileLocks to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetIgnoreRootFS

func (o *ContainerRestoreLibpodParams) SetIgnoreRootFS(ignoreRootFS *bool)

SetIgnoreRootFS adds the ignoreRootFS to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetIgnoreStaticIP

func (o *ContainerRestoreLibpodParams) SetIgnoreStaticIP(ignoreStaticIP *bool)

SetIgnoreStaticIP adds the ignoreStaticIp to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetIgnoreStaticMAC

func (o *ContainerRestoreLibpodParams) SetIgnoreStaticMAC(ignoreStaticMAC *bool)

SetIgnoreStaticMAC adds the ignoreStaticMAC to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetIgnoreVolumes

func (o *ContainerRestoreLibpodParams) SetIgnoreVolumes(ignoreVolumes *bool)

SetIgnoreVolumes adds the ignoreVolumes to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetImport

func (o *ContainerRestoreLibpodParams) SetImport(importVar *bool)

SetImport adds the import to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetKeep

func (o *ContainerRestoreLibpodParams) SetKeep(keep *bool)

SetKeep adds the keep to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetPathName

func (o *ContainerRestoreLibpodParams) SetPathName(name string)

SetPathName adds the name to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetPod

func (o *ContainerRestoreLibpodParams) SetPod(pod *string)

SetPod adds the pod to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetPrintStats

func (o *ContainerRestoreLibpodParams) SetPrintStats(printStats *bool)

SetPrintStats adds the printStats to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetQueryName

func (o *ContainerRestoreLibpodParams) SetQueryName(name *string)

SetQueryName adds the name to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetTCPClose

func (o *ContainerRestoreLibpodParams) SetTCPClose(tcpClose *bool)

SetTCPClose adds the tcpClose to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetTCPEstablished

func (o *ContainerRestoreLibpodParams) SetTCPEstablished(tcpEstablished *bool)

SetTCPEstablished adds the tcpEstablished to the container restore libpod params.

func (*ContainerRestoreLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithContext deprecated

WithContext adds the context to the container restore libpod params.

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

func (*ContainerRestoreLibpodParams) WithDefaults

WithDefaults hydrates default values in the container restore libpod params (not the query body).

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

func (*ContainerRestoreLibpodParams) WithFileLocks

func (o *ContainerRestoreLibpodParams) WithFileLocks(fileLocks *bool) *ContainerRestoreLibpodParams

WithFileLocks adds the fileLocks to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithIgnoreRootFS

func (o *ContainerRestoreLibpodParams) WithIgnoreRootFS(ignoreRootFS *bool) *ContainerRestoreLibpodParams

WithIgnoreRootFS adds the ignoreRootFS to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithIgnoreStaticIP

func (o *ContainerRestoreLibpodParams) WithIgnoreStaticIP(ignoreStaticIP *bool) *ContainerRestoreLibpodParams

WithIgnoreStaticIP adds the ignoreStaticIP to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithIgnoreStaticMAC

func (o *ContainerRestoreLibpodParams) WithIgnoreStaticMAC(ignoreStaticMAC *bool) *ContainerRestoreLibpodParams

WithIgnoreStaticMAC adds the ignoreStaticMAC to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithIgnoreVolumes

func (o *ContainerRestoreLibpodParams) WithIgnoreVolumes(ignoreVolumes *bool) *ContainerRestoreLibpodParams

WithIgnoreVolumes adds the ignoreVolumes to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithImport

WithImport adds the importVar to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithKeep

WithKeep adds the keep to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithPathName

WithPathName adds the name to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithPod

WithPod adds the pod to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithPrintStats

func (o *ContainerRestoreLibpodParams) WithPrintStats(printStats *bool) *ContainerRestoreLibpodParams

WithPrintStats adds the printStats to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithQueryName

WithQueryName adds the name to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithTCPClose

WithTCPClose adds the tcpClose to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithTCPEstablished

func (o *ContainerRestoreLibpodParams) WithTCPEstablished(tcpEstablished *bool) *ContainerRestoreLibpodParams

WithTCPEstablished adds the tcpEstablished to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WithTimeout

WithTimeout adds the timeout to the container restore libpod params.

func (*ContainerRestoreLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerRestoreLibpodReader

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

ContainerRestoreLibpodReader is a Reader for the ContainerRestoreLibpod structure.

func (*ContainerRestoreLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerShowMountedLibpodInternalServerError

type ContainerShowMountedLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerShowMountedLibpodInternalServerError

func NewContainerShowMountedLibpodInternalServerError() *ContainerShowMountedLibpodInternalServerError

NewContainerShowMountedLibpodInternalServerError creates a ContainerShowMountedLibpodInternalServerError with default headers values

func (*ContainerShowMountedLibpodInternalServerError) Code

Code gets the status code for the container show mounted libpod internal server error response

func (*ContainerShowMountedLibpodInternalServerError) Error

func (*ContainerShowMountedLibpodInternalServerError) GetPayload

func (*ContainerShowMountedLibpodInternalServerError) IsClientError

IsClientError returns true when this container show mounted libpod internal server error response has a 4xx status code

func (*ContainerShowMountedLibpodInternalServerError) IsCode

IsCode returns true when this container show mounted libpod internal server error response a status code equal to that given

func (*ContainerShowMountedLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container show mounted libpod internal server error response has a 3xx status code

func (*ContainerShowMountedLibpodInternalServerError) IsServerError

IsServerError returns true when this container show mounted libpod internal server error response has a 5xx status code

func (*ContainerShowMountedLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container show mounted libpod internal server error response has a 2xx status code

func (*ContainerShowMountedLibpodInternalServerError) String

type ContainerShowMountedLibpodOK

type ContainerShowMountedLibpodOK struct {
	Payload map[string]string
}

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

mounted containers

func NewContainerShowMountedLibpodOK

func NewContainerShowMountedLibpodOK() *ContainerShowMountedLibpodOK

NewContainerShowMountedLibpodOK creates a ContainerShowMountedLibpodOK with default headers values

func (*ContainerShowMountedLibpodOK) Code

Code gets the status code for the container show mounted libpod o k response

func (*ContainerShowMountedLibpodOK) Error

func (*ContainerShowMountedLibpodOK) GetPayload

func (o *ContainerShowMountedLibpodOK) GetPayload() map[string]string

func (*ContainerShowMountedLibpodOK) IsClientError

func (o *ContainerShowMountedLibpodOK) IsClientError() bool

IsClientError returns true when this container show mounted libpod o k response has a 4xx status code

func (*ContainerShowMountedLibpodOK) IsCode

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

IsCode returns true when this container show mounted libpod o k response a status code equal to that given

func (*ContainerShowMountedLibpodOK) IsRedirect

func (o *ContainerShowMountedLibpodOK) IsRedirect() bool

IsRedirect returns true when this container show mounted libpod o k response has a 3xx status code

func (*ContainerShowMountedLibpodOK) IsServerError

func (o *ContainerShowMountedLibpodOK) IsServerError() bool

IsServerError returns true when this container show mounted libpod o k response has a 5xx status code

func (*ContainerShowMountedLibpodOK) IsSuccess

func (o *ContainerShowMountedLibpodOK) IsSuccess() bool

IsSuccess returns true when this container show mounted libpod o k response has a 2xx status code

func (*ContainerShowMountedLibpodOK) String

type ContainerShowMountedLibpodParams

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

ContainerShowMountedLibpodParams contains all the parameters to send to the API endpoint

for the container show mounted libpod operation.

Typically these are written to a http.Request.

func NewContainerShowMountedLibpodParams

func NewContainerShowMountedLibpodParams() *ContainerShowMountedLibpodParams

NewContainerShowMountedLibpodParams creates a new ContainerShowMountedLibpodParams 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 NewContainerShowMountedLibpodParamsWithContext deprecated

func NewContainerShowMountedLibpodParamsWithContext(ctx context.Context) *ContainerShowMountedLibpodParams

NewContainerShowMountedLibpodParamsWithContext creates a new ContainerShowMountedLibpodParams object with the ability to set a context for a request.

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

func NewContainerShowMountedLibpodParamsWithHTTPClient

func NewContainerShowMountedLibpodParamsWithHTTPClient(client *http.Client) *ContainerShowMountedLibpodParams

NewContainerShowMountedLibpodParamsWithHTTPClient creates a new ContainerShowMountedLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerShowMountedLibpodParamsWithTimeout

func NewContainerShowMountedLibpodParamsWithTimeout(timeout time.Duration) *ContainerShowMountedLibpodParams

NewContainerShowMountedLibpodParamsWithTimeout creates a new ContainerShowMountedLibpodParams object with the ability to set a timeout on a request.

func (*ContainerShowMountedLibpodParams) SetContext deprecated

SetContext adds the context to the container show mounted libpod params.

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

func (*ContainerShowMountedLibpodParams) SetDefaults

func (o *ContainerShowMountedLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container show mounted libpod params (not the query body).

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

func (*ContainerShowMountedLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container show mounted libpod params.

func (*ContainerShowMountedLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container show mounted libpod params.

func (*ContainerShowMountedLibpodParams) WithContext deprecated

WithContext adds the context to the container show mounted libpod params.

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

func (*ContainerShowMountedLibpodParams) WithDefaults

WithDefaults hydrates default values in the container show mounted libpod params (not the query body).

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

func (*ContainerShowMountedLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container show mounted libpod params.

func (*ContainerShowMountedLibpodParams) WithTimeout

WithTimeout adds the timeout to the container show mounted libpod params.

func (*ContainerShowMountedLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerShowMountedLibpodReader

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

ContainerShowMountedLibpodReader is a Reader for the ContainerShowMountedLibpod structure.

func (*ContainerShowMountedLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerStartLibpodInternalServerError

type ContainerStartLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerStartLibpodInternalServerError

func NewContainerStartLibpodInternalServerError() *ContainerStartLibpodInternalServerError

NewContainerStartLibpodInternalServerError creates a ContainerStartLibpodInternalServerError with default headers values

func (*ContainerStartLibpodInternalServerError) Code

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

func (*ContainerStartLibpodInternalServerError) Error

func (*ContainerStartLibpodInternalServerError) GetPayload

func (*ContainerStartLibpodInternalServerError) IsClientError

func (o *ContainerStartLibpodInternalServerError) IsClientError() bool

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

func (*ContainerStartLibpodInternalServerError) IsCode

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

func (*ContainerStartLibpodInternalServerError) IsRedirect

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

func (*ContainerStartLibpodInternalServerError) IsServerError

func (o *ContainerStartLibpodInternalServerError) IsServerError() bool

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

func (*ContainerStartLibpodInternalServerError) IsSuccess

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

func (*ContainerStartLibpodInternalServerError) String

type ContainerStartLibpodNoContent

type ContainerStartLibpodNoContent struct {
}

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

no error

func NewContainerStartLibpodNoContent

func NewContainerStartLibpodNoContent() *ContainerStartLibpodNoContent

NewContainerStartLibpodNoContent creates a ContainerStartLibpodNoContent with default headers values

func (*ContainerStartLibpodNoContent) Code

Code gets the status code for the container start libpod no content response

func (*ContainerStartLibpodNoContent) Error

func (*ContainerStartLibpodNoContent) IsClientError

func (o *ContainerStartLibpodNoContent) IsClientError() bool

IsClientError returns true when this container start libpod no content response has a 4xx status code

func (*ContainerStartLibpodNoContent) IsCode

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

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

func (*ContainerStartLibpodNoContent) IsRedirect

func (o *ContainerStartLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container start libpod no content response has a 3xx status code

func (*ContainerStartLibpodNoContent) IsServerError

func (o *ContainerStartLibpodNoContent) IsServerError() bool

IsServerError returns true when this container start libpod no content response has a 5xx status code

func (*ContainerStartLibpodNoContent) IsSuccess

func (o *ContainerStartLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container start libpod no content response has a 2xx status code

func (*ContainerStartLibpodNoContent) String

type ContainerStartLibpodNotFound

type ContainerStartLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerStartLibpodNotFound

func NewContainerStartLibpodNotFound() *ContainerStartLibpodNotFound

NewContainerStartLibpodNotFound creates a ContainerStartLibpodNotFound with default headers values

func (*ContainerStartLibpodNotFound) Code

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

func (*ContainerStartLibpodNotFound) Error

func (*ContainerStartLibpodNotFound) GetPayload

func (*ContainerStartLibpodNotFound) IsClientError

func (o *ContainerStartLibpodNotFound) IsClientError() bool

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

func (*ContainerStartLibpodNotFound) IsCode

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

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

func (*ContainerStartLibpodNotFound) IsRedirect

func (o *ContainerStartLibpodNotFound) IsRedirect() bool

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

func (*ContainerStartLibpodNotFound) IsServerError

func (o *ContainerStartLibpodNotFound) IsServerError() bool

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

func (*ContainerStartLibpodNotFound) IsSuccess

func (o *ContainerStartLibpodNotFound) IsSuccess() bool

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

func (*ContainerStartLibpodNotFound) String

type ContainerStartLibpodNotModified

type ContainerStartLibpodNotModified struct {
	Payload *models.ErrorModel
}

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

Container already started

func NewContainerStartLibpodNotModified

func NewContainerStartLibpodNotModified() *ContainerStartLibpodNotModified

NewContainerStartLibpodNotModified creates a ContainerStartLibpodNotModified with default headers values

func (*ContainerStartLibpodNotModified) Code

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

func (*ContainerStartLibpodNotModified) Error

func (*ContainerStartLibpodNotModified) GetPayload

func (*ContainerStartLibpodNotModified) IsClientError

func (o *ContainerStartLibpodNotModified) IsClientError() bool

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

func (*ContainerStartLibpodNotModified) IsCode

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

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

func (*ContainerStartLibpodNotModified) IsRedirect

func (o *ContainerStartLibpodNotModified) IsRedirect() bool

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

func (*ContainerStartLibpodNotModified) IsServerError

func (o *ContainerStartLibpodNotModified) IsServerError() bool

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

func (*ContainerStartLibpodNotModified) IsSuccess

func (o *ContainerStartLibpodNotModified) IsSuccess() bool

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

func (*ContainerStartLibpodNotModified) String

type ContainerStartLibpodParams

type ContainerStartLibpodParams struct {

	// DetachKeys.
	//
	// Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _.
	//
	// Default: "ctrl-p,ctrl-q"
	DetachKeys *string

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

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

ContainerStartLibpodParams contains all the parameters to send to the API endpoint

for the container start libpod operation.

Typically these are written to a http.Request.

func NewContainerStartLibpodParams

func NewContainerStartLibpodParams() *ContainerStartLibpodParams

NewContainerStartLibpodParams creates a new ContainerStartLibpodParams 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 NewContainerStartLibpodParamsWithContext deprecated

func NewContainerStartLibpodParamsWithContext(ctx context.Context) *ContainerStartLibpodParams

NewContainerStartLibpodParamsWithContext creates a new ContainerStartLibpodParams object with the ability to set a context for a request.

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

func NewContainerStartLibpodParamsWithHTTPClient

func NewContainerStartLibpodParamsWithHTTPClient(client *http.Client) *ContainerStartLibpodParams

NewContainerStartLibpodParamsWithHTTPClient creates a new ContainerStartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerStartLibpodParamsWithTimeout

func NewContainerStartLibpodParamsWithTimeout(timeout time.Duration) *ContainerStartLibpodParams

NewContainerStartLibpodParamsWithTimeout creates a new ContainerStartLibpodParams object with the ability to set a timeout on a request.

func (*ContainerStartLibpodParams) SetContext deprecated

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

SetContext adds the context to the container start libpod params.

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

func (*ContainerStartLibpodParams) SetDefaults

func (o *ContainerStartLibpodParams) SetDefaults()

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

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

func (*ContainerStartLibpodParams) SetDetachKeys

func (o *ContainerStartLibpodParams) SetDetachKeys(detachKeys *string)

SetDetachKeys adds the detachKeys to the container start libpod params.

func (*ContainerStartLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container start libpod params.

func (*ContainerStartLibpodParams) SetName

func (o *ContainerStartLibpodParams) SetName(name string)

SetName adds the name to the container start libpod params.

func (*ContainerStartLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container start libpod params.

func (*ContainerStartLibpodParams) WithContext deprecated

WithContext adds the context to the container start libpod params.

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

func (*ContainerStartLibpodParams) WithDefaults

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

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

func (*ContainerStartLibpodParams) WithDetachKeys

func (o *ContainerStartLibpodParams) WithDetachKeys(detachKeys *string) *ContainerStartLibpodParams

WithDetachKeys adds the detachKeys to the container start libpod params.

func (*ContainerStartLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container start libpod params.

func (*ContainerStartLibpodParams) WithName

WithName adds the name to the container start libpod params.

func (*ContainerStartLibpodParams) WithTimeout

WithTimeout adds the timeout to the container start libpod params.

func (*ContainerStartLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerStartLibpodReader

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

ContainerStartLibpodReader is a Reader for the ContainerStartLibpod structure.

func (*ContainerStartLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerStatsLibpodConflict

type ContainerStatsLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Conflict error in operation

func NewContainerStatsLibpodConflict

func NewContainerStatsLibpodConflict() *ContainerStatsLibpodConflict

NewContainerStatsLibpodConflict creates a ContainerStatsLibpodConflict with default headers values

func (*ContainerStatsLibpodConflict) Code

Code gets the status code for the container stats libpod conflict response

func (*ContainerStatsLibpodConflict) Error

func (*ContainerStatsLibpodConflict) GetPayload

func (*ContainerStatsLibpodConflict) IsClientError

func (o *ContainerStatsLibpodConflict) IsClientError() bool

IsClientError returns true when this container stats libpod conflict response has a 4xx status code

func (*ContainerStatsLibpodConflict) IsCode

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

IsCode returns true when this container stats libpod conflict response a status code equal to that given

func (*ContainerStatsLibpodConflict) IsRedirect

func (o *ContainerStatsLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container stats libpod conflict response has a 3xx status code

func (*ContainerStatsLibpodConflict) IsServerError

func (o *ContainerStatsLibpodConflict) IsServerError() bool

IsServerError returns true when this container stats libpod conflict response has a 5xx status code

func (*ContainerStatsLibpodConflict) IsSuccess

func (o *ContainerStatsLibpodConflict) IsSuccess() bool

IsSuccess returns true when this container stats libpod conflict response has a 2xx status code

func (*ContainerStatsLibpodConflict) String

type ContainerStatsLibpodInternalServerError

type ContainerStatsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerStatsLibpodInternalServerError

func NewContainerStatsLibpodInternalServerError() *ContainerStatsLibpodInternalServerError

NewContainerStatsLibpodInternalServerError creates a ContainerStatsLibpodInternalServerError with default headers values

func (*ContainerStatsLibpodInternalServerError) Code

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

func (*ContainerStatsLibpodInternalServerError) Error

func (*ContainerStatsLibpodInternalServerError) GetPayload

func (*ContainerStatsLibpodInternalServerError) IsClientError

func (o *ContainerStatsLibpodInternalServerError) IsClientError() bool

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

func (*ContainerStatsLibpodInternalServerError) IsCode

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

func (*ContainerStatsLibpodInternalServerError) IsRedirect

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

func (*ContainerStatsLibpodInternalServerError) IsServerError

func (o *ContainerStatsLibpodInternalServerError) IsServerError() bool

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

func (*ContainerStatsLibpodInternalServerError) IsSuccess

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

func (*ContainerStatsLibpodInternalServerError) String

type ContainerStatsLibpodNotFound

type ContainerStatsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such container

func NewContainerStatsLibpodNotFound

func NewContainerStatsLibpodNotFound() *ContainerStatsLibpodNotFound

NewContainerStatsLibpodNotFound creates a ContainerStatsLibpodNotFound with default headers values

func (*ContainerStatsLibpodNotFound) Code

Code gets the status code for the container stats libpod not found response

func (*ContainerStatsLibpodNotFound) Error

func (*ContainerStatsLibpodNotFound) GetPayload

func (*ContainerStatsLibpodNotFound) IsClientError

func (o *ContainerStatsLibpodNotFound) IsClientError() bool

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

func (*ContainerStatsLibpodNotFound) IsCode

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

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

func (*ContainerStatsLibpodNotFound) IsRedirect

func (o *ContainerStatsLibpodNotFound) IsRedirect() bool

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

func (*ContainerStatsLibpodNotFound) IsServerError

func (o *ContainerStatsLibpodNotFound) IsServerError() bool

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

func (*ContainerStatsLibpodNotFound) IsSuccess

func (o *ContainerStatsLibpodNotFound) IsSuccess() bool

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

func (*ContainerStatsLibpodNotFound) String

type ContainerStatsLibpodOK

type ContainerStatsLibpodOK struct {
}

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

no error

func NewContainerStatsLibpodOK

func NewContainerStatsLibpodOK() *ContainerStatsLibpodOK

NewContainerStatsLibpodOK creates a ContainerStatsLibpodOK with default headers values

func (*ContainerStatsLibpodOK) Code

func (o *ContainerStatsLibpodOK) Code() int

Code gets the status code for the container stats libpod o k response

func (*ContainerStatsLibpodOK) Error

func (o *ContainerStatsLibpodOK) Error() string

func (*ContainerStatsLibpodOK) IsClientError

func (o *ContainerStatsLibpodOK) IsClientError() bool

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

func (*ContainerStatsLibpodOK) IsCode

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

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

func (*ContainerStatsLibpodOK) IsRedirect

func (o *ContainerStatsLibpodOK) IsRedirect() bool

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

func (*ContainerStatsLibpodOK) IsServerError

func (o *ContainerStatsLibpodOK) IsServerError() bool

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

func (*ContainerStatsLibpodOK) IsSuccess

func (o *ContainerStatsLibpodOK) IsSuccess() bool

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

func (*ContainerStatsLibpodOK) String

func (o *ContainerStatsLibpodOK) String() string

type ContainerStatsLibpodParams

type ContainerStatsLibpodParams struct {

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

	// Stream.
	//
	// Stream the output
	//
	// Default: true
	Stream *bool

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

ContainerStatsLibpodParams contains all the parameters to send to the API endpoint

for the container stats libpod operation.

Typically these are written to a http.Request.

func NewContainerStatsLibpodParams

func NewContainerStatsLibpodParams() *ContainerStatsLibpodParams

NewContainerStatsLibpodParams creates a new ContainerStatsLibpodParams 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 NewContainerStatsLibpodParamsWithContext deprecated

func NewContainerStatsLibpodParamsWithContext(ctx context.Context) *ContainerStatsLibpodParams

NewContainerStatsLibpodParamsWithContext creates a new ContainerStatsLibpodParams object with the ability to set a context for a request.

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

func NewContainerStatsLibpodParamsWithHTTPClient

func NewContainerStatsLibpodParamsWithHTTPClient(client *http.Client) *ContainerStatsLibpodParams

NewContainerStatsLibpodParamsWithHTTPClient creates a new ContainerStatsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerStatsLibpodParamsWithTimeout

func NewContainerStatsLibpodParamsWithTimeout(timeout time.Duration) *ContainerStatsLibpodParams

NewContainerStatsLibpodParamsWithTimeout creates a new ContainerStatsLibpodParams object with the ability to set a timeout on a request.

func (*ContainerStatsLibpodParams) SetContext deprecated

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

SetContext adds the context to the container stats libpod params.

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

func (*ContainerStatsLibpodParams) SetDefaults

func (o *ContainerStatsLibpodParams) SetDefaults()

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

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

func (*ContainerStatsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container stats libpod params.

func (*ContainerStatsLibpodParams) SetName

func (o *ContainerStatsLibpodParams) SetName(name string)

SetName adds the name to the container stats libpod params.

func (*ContainerStatsLibpodParams) SetStream

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

SetStream adds the stream to the container stats libpod params.

func (*ContainerStatsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container stats libpod params.

func (*ContainerStatsLibpodParams) WithContext deprecated

WithContext adds the context to the container stats libpod params.

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

func (*ContainerStatsLibpodParams) WithDefaults

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

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

func (*ContainerStatsLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container stats libpod params.

func (*ContainerStatsLibpodParams) WithName

WithName adds the name to the container stats libpod params.

func (*ContainerStatsLibpodParams) WithStream

WithStream adds the stream to the container stats libpod params.

func (*ContainerStatsLibpodParams) WithTimeout

WithTimeout adds the timeout to the container stats libpod params.

func (*ContainerStatsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerStatsLibpodReader

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

ContainerStatsLibpodReader is a Reader for the ContainerStatsLibpod structure.

func (*ContainerStatsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerStopLibpodInternalServerError

type ContainerStopLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewContainerStopLibpodInternalServerError

func NewContainerStopLibpodInternalServerError() *ContainerStopLibpodInternalServerError

NewContainerStopLibpodInternalServerError creates a ContainerStopLibpodInternalServerError with default headers values

func (*ContainerStopLibpodInternalServerError) Code

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

func (*ContainerStopLibpodInternalServerError) Error

func (*ContainerStopLibpodInternalServerError) GetPayload

func (*ContainerStopLibpodInternalServerError) IsClientError

func (o *ContainerStopLibpodInternalServerError) IsClientError() bool

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

func (*ContainerStopLibpodInternalServerError) IsCode

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

func (*ContainerStopLibpodInternalServerError) IsRedirect

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

func (*ContainerStopLibpodInternalServerError) IsServerError

func (o *ContainerStopLibpodInternalServerError) IsServerError() bool

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

func (*ContainerStopLibpodInternalServerError) IsSuccess

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

func (*ContainerStopLibpodInternalServerError) String

type ContainerStopLibpodNoContent

type ContainerStopLibpodNoContent struct {
}

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

no error

func NewContainerStopLibpodNoContent

func NewContainerStopLibpodNoContent() *ContainerStopLibpodNoContent

NewContainerStopLibpodNoContent creates a ContainerStopLibpodNoContent with default headers values

func (*ContainerStopLibpodNoContent) Code

Code gets the status code for the container stop libpod no content response

func (*ContainerStopLibpodNoContent) Error

func (*ContainerStopLibpodNoContent) IsClientError

func (o *ContainerStopLibpodNoContent) IsClientError() bool

IsClientError returns true when this container stop libpod no content response has a 4xx status code

func (*ContainerStopLibpodNoContent) IsCode

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

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

func (*ContainerStopLibpodNoContent) IsRedirect

func (o *ContainerStopLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container stop libpod no content response has a 3xx status code

func (*ContainerStopLibpodNoContent) IsServerError

func (o *ContainerStopLibpodNoContent) IsServerError() bool

IsServerError returns true when this container stop libpod no content response has a 5xx status code

func (*ContainerStopLibpodNoContent) IsSuccess

func (o *ContainerStopLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container stop libpod no content response has a 2xx status code

func (*ContainerStopLibpodNoContent) String

type ContainerStopLibpodNotFound

type ContainerStopLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerStopLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerStopLibpodNotFound

func NewContainerStopLibpodNotFound() *ContainerStopLibpodNotFound

NewContainerStopLibpodNotFound creates a ContainerStopLibpodNotFound with default headers values

func (*ContainerStopLibpodNotFound) Code

func (o *ContainerStopLibpodNotFound) Code() int

Code gets the status code for the container stop libpod not found response

func (*ContainerStopLibpodNotFound) Error

func (*ContainerStopLibpodNotFound) GetPayload

func (*ContainerStopLibpodNotFound) IsClientError

func (o *ContainerStopLibpodNotFound) IsClientError() bool

IsClientError returns true when this container stop libpod not found response has a 4xx status code

func (*ContainerStopLibpodNotFound) IsCode

func (o *ContainerStopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container stop libpod not found response a status code equal to that given

func (*ContainerStopLibpodNotFound) IsRedirect

func (o *ContainerStopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container stop libpod not found response has a 3xx status code

func (*ContainerStopLibpodNotFound) IsServerError

func (o *ContainerStopLibpodNotFound) IsServerError() bool

IsServerError returns true when this container stop libpod not found response has a 5xx status code

func (*ContainerStopLibpodNotFound) IsSuccess

func (o *ContainerStopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container stop libpod not found response has a 2xx status code

func (*ContainerStopLibpodNotFound) String

func (o *ContainerStopLibpodNotFound) String() string

type ContainerStopLibpodNotModified

type ContainerStopLibpodNotModified struct {
	Payload *models.ErrorModel
}

ContainerStopLibpodNotModified describes a response with status code 304, with default header values.

Container already stopped

func NewContainerStopLibpodNotModified

func NewContainerStopLibpodNotModified() *ContainerStopLibpodNotModified

NewContainerStopLibpodNotModified creates a ContainerStopLibpodNotModified with default headers values

func (*ContainerStopLibpodNotModified) Code

Code gets the status code for the container stop libpod not modified response

func (*ContainerStopLibpodNotModified) Error

func (*ContainerStopLibpodNotModified) GetPayload

func (*ContainerStopLibpodNotModified) IsClientError

func (o *ContainerStopLibpodNotModified) IsClientError() bool

IsClientError returns true when this container stop libpod not modified response has a 4xx status code

func (*ContainerStopLibpodNotModified) IsCode

func (o *ContainerStopLibpodNotModified) IsCode(code int) bool

IsCode returns true when this container stop libpod not modified response a status code equal to that given

func (*ContainerStopLibpodNotModified) IsRedirect

func (o *ContainerStopLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this container stop libpod not modified response has a 3xx status code

func (*ContainerStopLibpodNotModified) IsServerError

func (o *ContainerStopLibpodNotModified) IsServerError() bool

IsServerError returns true when this container stop libpod not modified response has a 5xx status code

func (*ContainerStopLibpodNotModified) IsSuccess

func (o *ContainerStopLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this container stop libpod not modified response has a 2xx status code

func (*ContainerStopLibpodNotModified) String

type ContainerStopLibpodParams

type ContainerStopLibpodParams struct {

	// Ignore.
	//
	// do not return error if container is already stopped
	Ignore *bool

	// Name.
	//
	// the name or ID of the container
	Name string

	// Timeout.
	//
	// number of seconds to wait before killing container
	//
	// Default: 10
	Timeout *int64

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainerStopLibpodParams contains all the parameters to send to the API endpoint

for the container stop libpod operation.

Typically these are written to a http.Request.

func NewContainerStopLibpodParams

func NewContainerStopLibpodParams() *ContainerStopLibpodParams

NewContainerStopLibpodParams creates a new ContainerStopLibpodParams 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 NewContainerStopLibpodParamsWithContext deprecated

func NewContainerStopLibpodParamsWithContext(ctx context.Context) *ContainerStopLibpodParams

NewContainerStopLibpodParamsWithContext creates a new ContainerStopLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerStopLibpodParams.

func NewContainerStopLibpodParamsWithHTTPClient

func NewContainerStopLibpodParamsWithHTTPClient(client *http.Client) *ContainerStopLibpodParams

NewContainerStopLibpodParamsWithHTTPClient creates a new ContainerStopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerStopLibpodParamsWithTimeout

func NewContainerStopLibpodParamsWithTimeout(timeout time.Duration) *ContainerStopLibpodParams

NewContainerStopLibpodParamsWithTimeout creates a new ContainerStopLibpodParams object with the ability to set a timeout on a request.

func (*ContainerStopLibpodParams) SetContext deprecated

func (o *ContainerStopLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container stop libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerStopLibpodParams.

func (*ContainerStopLibpodParams) SetDefaults

func (o *ContainerStopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerStopLibpodParams) SetHTTPClient

func (o *ContainerStopLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container stop libpod params.

func (*ContainerStopLibpodParams) SetIgnore

func (o *ContainerStopLibpodParams) SetIgnore(ignore *bool)

SetIgnore adds the ignore to the container stop libpod params.

func (*ContainerStopLibpodParams) SetName

func (o *ContainerStopLibpodParams) SetName(name string)

SetName adds the name to the container stop libpod params.

func (*ContainerStopLibpodParams) SetRequestTimeout

func (o *ContainerStopLibpodParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the container stop libpod params.

func (*ContainerStopLibpodParams) SetTimeout

func (o *ContainerStopLibpodParams) SetTimeout(timeout *int64)

SetTimeout adds the timeout to the container stop libpod params.

func (*ContainerStopLibpodParams) WithContext deprecated

WithContext adds the context to the container stop libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerStopLibpodParams.

func (*ContainerStopLibpodParams) WithDefaults

WithDefaults hydrates default values in the container stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerStopLibpodParams) WithHTTPClient

func (o *ContainerStopLibpodParams) WithHTTPClient(client *http.Client) *ContainerStopLibpodParams

WithHTTPClient adds the HTTPClient to the container stop libpod params.

func (*ContainerStopLibpodParams) WithIgnore

WithIgnore adds the ignore to the container stop libpod params.

func (*ContainerStopLibpodParams) WithName

WithName adds the name to the container stop libpod params.

func (*ContainerStopLibpodParams) WithRequestTimeout

func (o *ContainerStopLibpodParams) WithRequestTimeout(timeout time.Duration) *ContainerStopLibpodParams

WithRequestTimeout adds the timeout to the container stop libpod params.

func (*ContainerStopLibpodParams) WithTimeout

func (o *ContainerStopLibpodParams) WithTimeout(timeout *int64) *ContainerStopLibpodParams

WithTimeout adds the timeout to the container stop libpod params.

func (*ContainerStopLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerStopLibpodReader

type ContainerStopLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerStopLibpodReader is a Reader for the ContainerStopLibpod structure.

func (*ContainerStopLibpodReader) ReadResponse

func (o *ContainerStopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainerTopLibpodInternalServerError

type ContainerTopLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainerTopLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainerTopLibpodInternalServerError

func NewContainerTopLibpodInternalServerError() *ContainerTopLibpodInternalServerError

NewContainerTopLibpodInternalServerError creates a ContainerTopLibpodInternalServerError with default headers values

func (*ContainerTopLibpodInternalServerError) Code

Code gets the status code for the container top libpod internal server error response

func (*ContainerTopLibpodInternalServerError) Error

func (*ContainerTopLibpodInternalServerError) GetPayload

func (*ContainerTopLibpodInternalServerError) IsClientError

func (o *ContainerTopLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this container top libpod internal server error response has a 4xx status code

func (*ContainerTopLibpodInternalServerError) IsCode

IsCode returns true when this container top libpod internal server error response a status code equal to that given

func (*ContainerTopLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container top libpod internal server error response has a 3xx status code

func (*ContainerTopLibpodInternalServerError) IsServerError

func (o *ContainerTopLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this container top libpod internal server error response has a 5xx status code

func (*ContainerTopLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container top libpod internal server error response has a 2xx status code

func (*ContainerTopLibpodInternalServerError) String

type ContainerTopLibpodNotFound

type ContainerTopLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerTopLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerTopLibpodNotFound

func NewContainerTopLibpodNotFound() *ContainerTopLibpodNotFound

NewContainerTopLibpodNotFound creates a ContainerTopLibpodNotFound with default headers values

func (*ContainerTopLibpodNotFound) Code

func (o *ContainerTopLibpodNotFound) Code() int

Code gets the status code for the container top libpod not found response

func (*ContainerTopLibpodNotFound) Error

func (*ContainerTopLibpodNotFound) GetPayload

func (o *ContainerTopLibpodNotFound) GetPayload() *models.ErrorModel

func (*ContainerTopLibpodNotFound) IsClientError

func (o *ContainerTopLibpodNotFound) IsClientError() bool

IsClientError returns true when this container top libpod not found response has a 4xx status code

func (*ContainerTopLibpodNotFound) IsCode

func (o *ContainerTopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container top libpod not found response a status code equal to that given

func (*ContainerTopLibpodNotFound) IsRedirect

func (o *ContainerTopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container top libpod not found response has a 3xx status code

func (*ContainerTopLibpodNotFound) IsServerError

func (o *ContainerTopLibpodNotFound) IsServerError() bool

IsServerError returns true when this container top libpod not found response has a 5xx status code

func (*ContainerTopLibpodNotFound) IsSuccess

func (o *ContainerTopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container top libpod not found response has a 2xx status code

func (*ContainerTopLibpodNotFound) String

func (o *ContainerTopLibpodNotFound) String() string

type ContainerTopLibpodOK

type ContainerTopLibpodOK struct {
	Payload *models.ContainerTopOKBody
}

ContainerTopLibpodOK describes a response with status code 200, with default header values.

List processes in container

func NewContainerTopLibpodOK

func NewContainerTopLibpodOK() *ContainerTopLibpodOK

NewContainerTopLibpodOK creates a ContainerTopLibpodOK with default headers values

func (*ContainerTopLibpodOK) Code

func (o *ContainerTopLibpodOK) Code() int

Code gets the status code for the container top libpod o k response

func (*ContainerTopLibpodOK) Error

func (o *ContainerTopLibpodOK) Error() string

func (*ContainerTopLibpodOK) GetPayload

func (*ContainerTopLibpodOK) IsClientError

func (o *ContainerTopLibpodOK) IsClientError() bool

IsClientError returns true when this container top libpod o k response has a 4xx status code

func (*ContainerTopLibpodOK) IsCode

func (o *ContainerTopLibpodOK) IsCode(code int) bool

IsCode returns true when this container top libpod o k response a status code equal to that given

func (*ContainerTopLibpodOK) IsRedirect

func (o *ContainerTopLibpodOK) IsRedirect() bool

IsRedirect returns true when this container top libpod o k response has a 3xx status code

func (*ContainerTopLibpodOK) IsServerError

func (o *ContainerTopLibpodOK) IsServerError() bool

IsServerError returns true when this container top libpod o k response has a 5xx status code

func (*ContainerTopLibpodOK) IsSuccess

func (o *ContainerTopLibpodOK) IsSuccess() bool

IsSuccess returns true when this container top libpod o k response has a 2xx status code

func (*ContainerTopLibpodOK) String

func (o *ContainerTopLibpodOK) String() string

type ContainerTopLibpodParams

type ContainerTopLibpodParams struct {

	// Delay.
	//
	// if streaming, delay in seconds between updates. Must be >1. (As of version 4.0)
	//
	// Default: 5
	Delay *int64

	// Name.
	//
	// Name of container to query for processes (As of version 1.xx)
	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
}

ContainerTopLibpodParams contains all the parameters to send to the API endpoint

for the container top libpod operation.

Typically these are written to a http.Request.

func NewContainerTopLibpodParams

func NewContainerTopLibpodParams() *ContainerTopLibpodParams

NewContainerTopLibpodParams creates a new ContainerTopLibpodParams 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 NewContainerTopLibpodParamsWithContext deprecated

func NewContainerTopLibpodParamsWithContext(ctx context.Context) *ContainerTopLibpodParams

NewContainerTopLibpodParamsWithContext creates a new ContainerTopLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerTopLibpodParams.

func NewContainerTopLibpodParamsWithHTTPClient

func NewContainerTopLibpodParamsWithHTTPClient(client *http.Client) *ContainerTopLibpodParams

NewContainerTopLibpodParamsWithHTTPClient creates a new ContainerTopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerTopLibpodParamsWithTimeout

func NewContainerTopLibpodParamsWithTimeout(timeout time.Duration) *ContainerTopLibpodParams

NewContainerTopLibpodParamsWithTimeout creates a new ContainerTopLibpodParams object with the ability to set a timeout on a request.

func (*ContainerTopLibpodParams) SetContext deprecated

func (o *ContainerTopLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container top libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerTopLibpodParams.

func (*ContainerTopLibpodParams) SetDefaults

func (o *ContainerTopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerTopLibpodParams) SetDelay

func (o *ContainerTopLibpodParams) SetDelay(delay *int64)

SetDelay adds the delay to the container top libpod params.

func (*ContainerTopLibpodParams) SetHTTPClient

func (o *ContainerTopLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container top libpod params.

func (*ContainerTopLibpodParams) SetName

func (o *ContainerTopLibpodParams) SetName(name string)

SetName adds the name to the container top libpod params.

func (*ContainerTopLibpodParams) SetPsArgs

func (o *ContainerTopLibpodParams) SetPsArgs(psArgs []string)

SetPsArgs adds the psArgs to the container top libpod params.

func (*ContainerTopLibpodParams) SetStream

func (o *ContainerTopLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the container top libpod params.

func (*ContainerTopLibpodParams) SetTimeout

func (o *ContainerTopLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the container top libpod params.

func (*ContainerTopLibpodParams) WithContext deprecated

WithContext adds the context to the container top libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerTopLibpodParams.

func (*ContainerTopLibpodParams) WithDefaults

WithDefaults hydrates default values in the container top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerTopLibpodParams) WithDelay

WithDelay adds the delay to the container top libpod params.

func (*ContainerTopLibpodParams) WithHTTPClient

func (o *ContainerTopLibpodParams) WithHTTPClient(client *http.Client) *ContainerTopLibpodParams

WithHTTPClient adds the HTTPClient to the container top libpod params.

func (*ContainerTopLibpodParams) WithName

WithName adds the name to the container top libpod params.

func (*ContainerTopLibpodParams) WithPsArgs

func (o *ContainerTopLibpodParams) WithPsArgs(psArgs []string) *ContainerTopLibpodParams

WithPsArgs adds the psArgs to the container top libpod params.

func (*ContainerTopLibpodParams) WithStream

func (o *ContainerTopLibpodParams) WithStream(stream *bool) *ContainerTopLibpodParams

WithStream adds the stream to the container top libpod params.

func (*ContainerTopLibpodParams) WithTimeout

WithTimeout adds the timeout to the container top libpod params.

func (*ContainerTopLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerTopLibpodReader

type ContainerTopLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerTopLibpodReader is a Reader for the ContainerTopLibpod structure.

func (*ContainerTopLibpodReader) ReadResponse

func (o *ContainerTopLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainerUnmountLibpodInternalServerError

type ContainerUnmountLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainerUnmountLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainerUnmountLibpodInternalServerError

func NewContainerUnmountLibpodInternalServerError() *ContainerUnmountLibpodInternalServerError

NewContainerUnmountLibpodInternalServerError creates a ContainerUnmountLibpodInternalServerError with default headers values

func (*ContainerUnmountLibpodInternalServerError) Code

Code gets the status code for the container unmount libpod internal server error response

func (*ContainerUnmountLibpodInternalServerError) Error

func (*ContainerUnmountLibpodInternalServerError) GetPayload

func (*ContainerUnmountLibpodInternalServerError) IsClientError

IsClientError returns true when this container unmount libpod internal server error response has a 4xx status code

func (*ContainerUnmountLibpodInternalServerError) IsCode

IsCode returns true when this container unmount libpod internal server error response a status code equal to that given

func (*ContainerUnmountLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container unmount libpod internal server error response has a 3xx status code

func (*ContainerUnmountLibpodInternalServerError) IsServerError

IsServerError returns true when this container unmount libpod internal server error response has a 5xx status code

func (*ContainerUnmountLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container unmount libpod internal server error response has a 2xx status code

func (*ContainerUnmountLibpodInternalServerError) String

type ContainerUnmountLibpodNoContent

type ContainerUnmountLibpodNoContent struct {
}

ContainerUnmountLibpodNoContent describes a response with status code 204, with default header values.

ok

func NewContainerUnmountLibpodNoContent

func NewContainerUnmountLibpodNoContent() *ContainerUnmountLibpodNoContent

NewContainerUnmountLibpodNoContent creates a ContainerUnmountLibpodNoContent with default headers values

func (*ContainerUnmountLibpodNoContent) Code

Code gets the status code for the container unmount libpod no content response

func (*ContainerUnmountLibpodNoContent) Error

func (*ContainerUnmountLibpodNoContent) IsClientError

func (o *ContainerUnmountLibpodNoContent) IsClientError() bool

IsClientError returns true when this container unmount libpod no content response has a 4xx status code

func (*ContainerUnmountLibpodNoContent) IsCode

func (o *ContainerUnmountLibpodNoContent) IsCode(code int) bool

IsCode returns true when this container unmount libpod no content response a status code equal to that given

func (*ContainerUnmountLibpodNoContent) IsRedirect

func (o *ContainerUnmountLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container unmount libpod no content response has a 3xx status code

func (*ContainerUnmountLibpodNoContent) IsServerError

func (o *ContainerUnmountLibpodNoContent) IsServerError() bool

IsServerError returns true when this container unmount libpod no content response has a 5xx status code

func (*ContainerUnmountLibpodNoContent) IsSuccess

func (o *ContainerUnmountLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container unmount libpod no content response has a 2xx status code

func (*ContainerUnmountLibpodNoContent) String

type ContainerUnmountLibpodNotFound

type ContainerUnmountLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerUnmountLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerUnmountLibpodNotFound

func NewContainerUnmountLibpodNotFound() *ContainerUnmountLibpodNotFound

NewContainerUnmountLibpodNotFound creates a ContainerUnmountLibpodNotFound with default headers values

func (*ContainerUnmountLibpodNotFound) Code

Code gets the status code for the container unmount libpod not found response

func (*ContainerUnmountLibpodNotFound) Error

func (*ContainerUnmountLibpodNotFound) GetPayload

func (*ContainerUnmountLibpodNotFound) IsClientError

func (o *ContainerUnmountLibpodNotFound) IsClientError() bool

IsClientError returns true when this container unmount libpod not found response has a 4xx status code

func (*ContainerUnmountLibpodNotFound) IsCode

func (o *ContainerUnmountLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container unmount libpod not found response a status code equal to that given

func (*ContainerUnmountLibpodNotFound) IsRedirect

func (o *ContainerUnmountLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container unmount libpod not found response has a 3xx status code

func (*ContainerUnmountLibpodNotFound) IsServerError

func (o *ContainerUnmountLibpodNotFound) IsServerError() bool

IsServerError returns true when this container unmount libpod not found response has a 5xx status code

func (*ContainerUnmountLibpodNotFound) IsSuccess

func (o *ContainerUnmountLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container unmount libpod not found response has a 2xx status code

func (*ContainerUnmountLibpodNotFound) String

type ContainerUnmountLibpodParams

type ContainerUnmountLibpodParams struct {

	// Name.
	//
	// the name or ID of the container
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainerUnmountLibpodParams contains all the parameters to send to the API endpoint

for the container unmount libpod operation.

Typically these are written to a http.Request.

func NewContainerUnmountLibpodParams

func NewContainerUnmountLibpodParams() *ContainerUnmountLibpodParams

NewContainerUnmountLibpodParams creates a new ContainerUnmountLibpodParams 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 NewContainerUnmountLibpodParamsWithContext deprecated

func NewContainerUnmountLibpodParamsWithContext(ctx context.Context) *ContainerUnmountLibpodParams

NewContainerUnmountLibpodParamsWithContext creates a new ContainerUnmountLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerUnmountLibpodParams.

func NewContainerUnmountLibpodParamsWithHTTPClient

func NewContainerUnmountLibpodParamsWithHTTPClient(client *http.Client) *ContainerUnmountLibpodParams

NewContainerUnmountLibpodParamsWithHTTPClient creates a new ContainerUnmountLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerUnmountLibpodParamsWithTimeout

func NewContainerUnmountLibpodParamsWithTimeout(timeout time.Duration) *ContainerUnmountLibpodParams

NewContainerUnmountLibpodParamsWithTimeout creates a new ContainerUnmountLibpodParams object with the ability to set a timeout on a request.

func (*ContainerUnmountLibpodParams) SetContext deprecated

func (o *ContainerUnmountLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container unmount libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUnmountLibpodParams.

func (*ContainerUnmountLibpodParams) SetDefaults

func (o *ContainerUnmountLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container unmount libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUnmountLibpodParams) SetHTTPClient

func (o *ContainerUnmountLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) SetName

func (o *ContainerUnmountLibpodParams) SetName(name string)

SetName adds the name to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) SetTimeout

func (o *ContainerUnmountLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) WithContext deprecated

WithContext adds the context to the container unmount libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUnmountLibpodParams.

func (*ContainerUnmountLibpodParams) WithDefaults

WithDefaults hydrates default values in the container unmount libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUnmountLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) WithName

WithName adds the name to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) WithTimeout

WithTimeout adds the timeout to the container unmount libpod params.

func (*ContainerUnmountLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerUnmountLibpodReader

type ContainerUnmountLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerUnmountLibpodReader is a Reader for the ContainerUnmountLibpod structure.

func (*ContainerUnmountLibpodReader) ReadResponse

func (o *ContainerUnmountLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainerUnpauseLibpodInternalServerError

type ContainerUnpauseLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainerUnpauseLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainerUnpauseLibpodInternalServerError

func NewContainerUnpauseLibpodInternalServerError() *ContainerUnpauseLibpodInternalServerError

NewContainerUnpauseLibpodInternalServerError creates a ContainerUnpauseLibpodInternalServerError with default headers values

func (*ContainerUnpauseLibpodInternalServerError) Code

Code gets the status code for the container unpause libpod internal server error response

func (*ContainerUnpauseLibpodInternalServerError) Error

func (*ContainerUnpauseLibpodInternalServerError) GetPayload

func (*ContainerUnpauseLibpodInternalServerError) IsClientError

IsClientError returns true when this container unpause libpod internal server error response has a 4xx status code

func (*ContainerUnpauseLibpodInternalServerError) IsCode

IsCode returns true when this container unpause libpod internal server error response a status code equal to that given

func (*ContainerUnpauseLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container unpause libpod internal server error response has a 3xx status code

func (*ContainerUnpauseLibpodInternalServerError) IsServerError

IsServerError returns true when this container unpause libpod internal server error response has a 5xx status code

func (*ContainerUnpauseLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container unpause libpod internal server error response has a 2xx status code

func (*ContainerUnpauseLibpodInternalServerError) String

type ContainerUnpauseLibpodNoContent

type ContainerUnpauseLibpodNoContent struct {
}

ContainerUnpauseLibpodNoContent describes a response with status code 204, with default header values.

no error

func NewContainerUnpauseLibpodNoContent

func NewContainerUnpauseLibpodNoContent() *ContainerUnpauseLibpodNoContent

NewContainerUnpauseLibpodNoContent creates a ContainerUnpauseLibpodNoContent with default headers values

func (*ContainerUnpauseLibpodNoContent) Code

Code gets the status code for the container unpause libpod no content response

func (*ContainerUnpauseLibpodNoContent) Error

func (*ContainerUnpauseLibpodNoContent) IsClientError

func (o *ContainerUnpauseLibpodNoContent) IsClientError() bool

IsClientError returns true when this container unpause libpod no content response has a 4xx status code

func (*ContainerUnpauseLibpodNoContent) IsCode

func (o *ContainerUnpauseLibpodNoContent) IsCode(code int) bool

IsCode returns true when this container unpause libpod no content response a status code equal to that given

func (*ContainerUnpauseLibpodNoContent) IsRedirect

func (o *ContainerUnpauseLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this container unpause libpod no content response has a 3xx status code

func (*ContainerUnpauseLibpodNoContent) IsServerError

func (o *ContainerUnpauseLibpodNoContent) IsServerError() bool

IsServerError returns true when this container unpause libpod no content response has a 5xx status code

func (*ContainerUnpauseLibpodNoContent) IsSuccess

func (o *ContainerUnpauseLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this container unpause libpod no content response has a 2xx status code

func (*ContainerUnpauseLibpodNoContent) String

type ContainerUnpauseLibpodNotFound

type ContainerUnpauseLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerUnpauseLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerUnpauseLibpodNotFound

func NewContainerUnpauseLibpodNotFound() *ContainerUnpauseLibpodNotFound

NewContainerUnpauseLibpodNotFound creates a ContainerUnpauseLibpodNotFound with default headers values

func (*ContainerUnpauseLibpodNotFound) Code

Code gets the status code for the container unpause libpod not found response

func (*ContainerUnpauseLibpodNotFound) Error

func (*ContainerUnpauseLibpodNotFound) GetPayload

func (*ContainerUnpauseLibpodNotFound) IsClientError

func (o *ContainerUnpauseLibpodNotFound) IsClientError() bool

IsClientError returns true when this container unpause libpod not found response has a 4xx status code

func (*ContainerUnpauseLibpodNotFound) IsCode

func (o *ContainerUnpauseLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container unpause libpod not found response a status code equal to that given

func (*ContainerUnpauseLibpodNotFound) IsRedirect

func (o *ContainerUnpauseLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container unpause libpod not found response has a 3xx status code

func (*ContainerUnpauseLibpodNotFound) IsServerError

func (o *ContainerUnpauseLibpodNotFound) IsServerError() bool

IsServerError returns true when this container unpause libpod not found response has a 5xx status code

func (*ContainerUnpauseLibpodNotFound) IsSuccess

func (o *ContainerUnpauseLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container unpause libpod not found response has a 2xx status code

func (*ContainerUnpauseLibpodNotFound) String

type ContainerUnpauseLibpodParams

type ContainerUnpauseLibpodParams struct {

	// Name.
	//
	// the name or ID of the container
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainerUnpauseLibpodParams contains all the parameters to send to the API endpoint

for the container unpause libpod operation.

Typically these are written to a http.Request.

func NewContainerUnpauseLibpodParams

func NewContainerUnpauseLibpodParams() *ContainerUnpauseLibpodParams

NewContainerUnpauseLibpodParams creates a new ContainerUnpauseLibpodParams 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 NewContainerUnpauseLibpodParamsWithContext deprecated

func NewContainerUnpauseLibpodParamsWithContext(ctx context.Context) *ContainerUnpauseLibpodParams

NewContainerUnpauseLibpodParamsWithContext creates a new ContainerUnpauseLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerUnpauseLibpodParams.

func NewContainerUnpauseLibpodParamsWithHTTPClient

func NewContainerUnpauseLibpodParamsWithHTTPClient(client *http.Client) *ContainerUnpauseLibpodParams

NewContainerUnpauseLibpodParamsWithHTTPClient creates a new ContainerUnpauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerUnpauseLibpodParamsWithTimeout

func NewContainerUnpauseLibpodParamsWithTimeout(timeout time.Duration) *ContainerUnpauseLibpodParams

NewContainerUnpauseLibpodParamsWithTimeout creates a new ContainerUnpauseLibpodParams object with the ability to set a timeout on a request.

func (*ContainerUnpauseLibpodParams) SetContext deprecated

func (o *ContainerUnpauseLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container unpause libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUnpauseLibpodParams.

func (*ContainerUnpauseLibpodParams) SetDefaults

func (o *ContainerUnpauseLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUnpauseLibpodParams) SetHTTPClient

func (o *ContainerUnpauseLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) SetName

func (o *ContainerUnpauseLibpodParams) SetName(name string)

SetName adds the name to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) SetTimeout

func (o *ContainerUnpauseLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) WithContext deprecated

WithContext adds the context to the container unpause libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUnpauseLibpodParams.

func (*ContainerUnpauseLibpodParams) WithDefaults

WithDefaults hydrates default values in the container unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUnpauseLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) WithName

WithName adds the name to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) WithTimeout

WithTimeout adds the timeout to the container unpause libpod params.

func (*ContainerUnpauseLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerUnpauseLibpodReader

type ContainerUnpauseLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerUnpauseLibpodReader is a Reader for the ContainerUnpauseLibpod structure.

func (*ContainerUnpauseLibpodReader) ReadResponse

func (o *ContainerUnpauseLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainerUpdateLibpodBadRequest

type ContainerUpdateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

ContainerUpdateLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewContainerUpdateLibpodBadRequest

func NewContainerUpdateLibpodBadRequest() *ContainerUpdateLibpodBadRequest

NewContainerUpdateLibpodBadRequest creates a ContainerUpdateLibpodBadRequest with default headers values

func (*ContainerUpdateLibpodBadRequest) Code

Code gets the status code for the container update libpod bad request response

func (*ContainerUpdateLibpodBadRequest) Error

func (*ContainerUpdateLibpodBadRequest) GetPayload

func (*ContainerUpdateLibpodBadRequest) IsClientError

func (o *ContainerUpdateLibpodBadRequest) IsClientError() bool

IsClientError returns true when this container update libpod bad request response has a 4xx status code

func (*ContainerUpdateLibpodBadRequest) IsCode

func (o *ContainerUpdateLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this container update libpod bad request response a status code equal to that given

func (*ContainerUpdateLibpodBadRequest) IsRedirect

func (o *ContainerUpdateLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this container update libpod bad request response has a 3xx status code

func (*ContainerUpdateLibpodBadRequest) IsServerError

func (o *ContainerUpdateLibpodBadRequest) IsServerError() bool

IsServerError returns true when this container update libpod bad request response has a 5xx status code

func (*ContainerUpdateLibpodBadRequest) IsSuccess

func (o *ContainerUpdateLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this container update libpod bad request response has a 2xx status code

func (*ContainerUpdateLibpodBadRequest) String

type ContainerUpdateLibpodCreated

type ContainerUpdateLibpodCreated struct {
	Payload *ContainerUpdateLibpodCreatedBody
}

ContainerUpdateLibpodCreated describes a response with status code 201, with default header values.

Update container

func NewContainerUpdateLibpodCreated

func NewContainerUpdateLibpodCreated() *ContainerUpdateLibpodCreated

NewContainerUpdateLibpodCreated creates a ContainerUpdateLibpodCreated with default headers values

func (*ContainerUpdateLibpodCreated) Code

Code gets the status code for the container update libpod created response

func (*ContainerUpdateLibpodCreated) Error

func (*ContainerUpdateLibpodCreated) GetPayload

func (*ContainerUpdateLibpodCreated) IsClientError

func (o *ContainerUpdateLibpodCreated) IsClientError() bool

IsClientError returns true when this container update libpod created response has a 4xx status code

func (*ContainerUpdateLibpodCreated) IsCode

func (o *ContainerUpdateLibpodCreated) IsCode(code int) bool

IsCode returns true when this container update libpod created response a status code equal to that given

func (*ContainerUpdateLibpodCreated) IsRedirect

func (o *ContainerUpdateLibpodCreated) IsRedirect() bool

IsRedirect returns true when this container update libpod created response has a 3xx status code

func (*ContainerUpdateLibpodCreated) IsServerError

func (o *ContainerUpdateLibpodCreated) IsServerError() bool

IsServerError returns true when this container update libpod created response has a 5xx status code

func (*ContainerUpdateLibpodCreated) IsSuccess

func (o *ContainerUpdateLibpodCreated) IsSuccess() bool

IsSuccess returns true when this container update libpod created response has a 2xx status code

func (*ContainerUpdateLibpodCreated) String

type ContainerUpdateLibpodCreatedBody

type ContainerUpdateLibpodCreatedBody struct {

	// ID
	ID string `json:"ID,omitempty"`
}

ContainerUpdateLibpodCreatedBody container update libpod created body

swagger:model ContainerUpdateLibpodCreatedBody

func (*ContainerUpdateLibpodCreatedBody) ContextValidate

ContextValidate validates this container update libpod created body based on context it is used

func (*ContainerUpdateLibpodCreatedBody) MarshalBinary

func (o *ContainerUpdateLibpodCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerUpdateLibpodCreatedBody) UnmarshalBinary

func (o *ContainerUpdateLibpodCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerUpdateLibpodCreatedBody) Validate

Validate validates this container update libpod created body

type ContainerUpdateLibpodInternalServerError

type ContainerUpdateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainerUpdateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainerUpdateLibpodInternalServerError

func NewContainerUpdateLibpodInternalServerError() *ContainerUpdateLibpodInternalServerError

NewContainerUpdateLibpodInternalServerError creates a ContainerUpdateLibpodInternalServerError with default headers values

func (*ContainerUpdateLibpodInternalServerError) Code

Code gets the status code for the container update libpod internal server error response

func (*ContainerUpdateLibpodInternalServerError) Error

func (*ContainerUpdateLibpodInternalServerError) GetPayload

func (*ContainerUpdateLibpodInternalServerError) IsClientError

IsClientError returns true when this container update libpod internal server error response has a 4xx status code

func (*ContainerUpdateLibpodInternalServerError) IsCode

IsCode returns true when this container update libpod internal server error response a status code equal to that given

func (*ContainerUpdateLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container update libpod internal server error response has a 3xx status code

func (*ContainerUpdateLibpodInternalServerError) IsServerError

IsServerError returns true when this container update libpod internal server error response has a 5xx status code

func (*ContainerUpdateLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container update libpod internal server error response has a 2xx status code

func (*ContainerUpdateLibpodInternalServerError) String

type ContainerUpdateLibpodNotFound

type ContainerUpdateLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerUpdateLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerUpdateLibpodNotFound

func NewContainerUpdateLibpodNotFound() *ContainerUpdateLibpodNotFound

NewContainerUpdateLibpodNotFound creates a ContainerUpdateLibpodNotFound with default headers values

func (*ContainerUpdateLibpodNotFound) Code

Code gets the status code for the container update libpod not found response

func (*ContainerUpdateLibpodNotFound) Error

func (*ContainerUpdateLibpodNotFound) GetPayload

func (*ContainerUpdateLibpodNotFound) IsClientError

func (o *ContainerUpdateLibpodNotFound) IsClientError() bool

IsClientError returns true when this container update libpod not found response has a 4xx status code

func (*ContainerUpdateLibpodNotFound) IsCode

func (o *ContainerUpdateLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container update libpod not found response a status code equal to that given

func (*ContainerUpdateLibpodNotFound) IsRedirect

func (o *ContainerUpdateLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container update libpod not found response has a 3xx status code

func (*ContainerUpdateLibpodNotFound) IsServerError

func (o *ContainerUpdateLibpodNotFound) IsServerError() bool

IsServerError returns true when this container update libpod not found response has a 5xx status code

func (*ContainerUpdateLibpodNotFound) IsSuccess

func (o *ContainerUpdateLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container update libpod not found response has a 2xx status code

func (*ContainerUpdateLibpodNotFound) String

type ContainerUpdateLibpodParams

type ContainerUpdateLibpodParams struct {

	// Config.
	//
	// attributes for updating the container
	Config *models.UpdateEntities

	// Name.
	//
	// Full or partial ID or full name of the container to update
	Name string

	// RestartPolicy.
	//
	// New restart policy for the container.
	RestartPolicy *string

	// RestartRetries.
	//
	// New amount of retries for the container's restart policy. Only allowed if restartPolicy is set to on-failure
	RestartRetries *int64

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainerUpdateLibpodParams contains all the parameters to send to the API endpoint

for the container update libpod operation.

Typically these are written to a http.Request.

func NewContainerUpdateLibpodParams

func NewContainerUpdateLibpodParams() *ContainerUpdateLibpodParams

NewContainerUpdateLibpodParams creates a new ContainerUpdateLibpodParams 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 NewContainerUpdateLibpodParamsWithContext deprecated

func NewContainerUpdateLibpodParamsWithContext(ctx context.Context) *ContainerUpdateLibpodParams

NewContainerUpdateLibpodParamsWithContext creates a new ContainerUpdateLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerUpdateLibpodParams.

func NewContainerUpdateLibpodParamsWithHTTPClient

func NewContainerUpdateLibpodParamsWithHTTPClient(client *http.Client) *ContainerUpdateLibpodParams

NewContainerUpdateLibpodParamsWithHTTPClient creates a new ContainerUpdateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerUpdateLibpodParamsWithTimeout

func NewContainerUpdateLibpodParamsWithTimeout(timeout time.Duration) *ContainerUpdateLibpodParams

NewContainerUpdateLibpodParamsWithTimeout creates a new ContainerUpdateLibpodParams object with the ability to set a timeout on a request.

func (*ContainerUpdateLibpodParams) SetConfig

func (o *ContainerUpdateLibpodParams) SetConfig(config *models.UpdateEntities)

SetConfig adds the config to the container update libpod params.

func (*ContainerUpdateLibpodParams) SetContext deprecated

func (o *ContainerUpdateLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container update libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUpdateLibpodParams.

func (*ContainerUpdateLibpodParams) SetDefaults

func (o *ContainerUpdateLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container update libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUpdateLibpodParams) SetHTTPClient

func (o *ContainerUpdateLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container update libpod params.

func (*ContainerUpdateLibpodParams) SetName

func (o *ContainerUpdateLibpodParams) SetName(name string)

SetName adds the name to the container update libpod params.

func (*ContainerUpdateLibpodParams) SetRestartPolicy

func (o *ContainerUpdateLibpodParams) SetRestartPolicy(restartPolicy *string)

SetRestartPolicy adds the restartPolicy to the container update libpod params.

func (*ContainerUpdateLibpodParams) SetRestartRetries

func (o *ContainerUpdateLibpodParams) SetRestartRetries(restartRetries *int64)

SetRestartRetries adds the restartRetries to the container update libpod params.

func (*ContainerUpdateLibpodParams) SetTimeout

func (o *ContainerUpdateLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithConfig

WithConfig adds the config to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithContext deprecated

WithContext adds the context to the container update libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerUpdateLibpodParams.

func (*ContainerUpdateLibpodParams) WithDefaults

WithDefaults hydrates default values in the container update libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerUpdateLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithName

WithName adds the name to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithRestartPolicy

func (o *ContainerUpdateLibpodParams) WithRestartPolicy(restartPolicy *string) *ContainerUpdateLibpodParams

WithRestartPolicy adds the restartPolicy to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithRestartRetries

func (o *ContainerUpdateLibpodParams) WithRestartRetries(restartRetries *int64) *ContainerUpdateLibpodParams

WithRestartRetries adds the restartRetries to the container update libpod params.

func (*ContainerUpdateLibpodParams) WithTimeout

WithTimeout adds the timeout to the container update libpod params.

func (*ContainerUpdateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerUpdateLibpodReader

type ContainerUpdateLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerUpdateLibpodReader is a Reader for the ContainerUpdateLibpod structure.

func (*ContainerUpdateLibpodReader) ReadResponse

func (o *ContainerUpdateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainerWaitLibpodInternalServerError

type ContainerWaitLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainerWaitLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainerWaitLibpodInternalServerError

func NewContainerWaitLibpodInternalServerError() *ContainerWaitLibpodInternalServerError

NewContainerWaitLibpodInternalServerError creates a ContainerWaitLibpodInternalServerError with default headers values

func (*ContainerWaitLibpodInternalServerError) Code

Code gets the status code for the container wait libpod internal server error response

func (*ContainerWaitLibpodInternalServerError) Error

func (*ContainerWaitLibpodInternalServerError) GetPayload

func (*ContainerWaitLibpodInternalServerError) IsClientError

func (o *ContainerWaitLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this container wait libpod internal server error response has a 4xx status code

func (*ContainerWaitLibpodInternalServerError) IsCode

IsCode returns true when this container wait libpod internal server error response a status code equal to that given

func (*ContainerWaitLibpodInternalServerError) IsRedirect

IsRedirect returns true when this container wait libpod internal server error response has a 3xx status code

func (*ContainerWaitLibpodInternalServerError) IsServerError

func (o *ContainerWaitLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this container wait libpod internal server error response has a 5xx status code

func (*ContainerWaitLibpodInternalServerError) IsSuccess

IsSuccess returns true when this container wait libpod internal server error response has a 2xx status code

func (*ContainerWaitLibpodInternalServerError) String

type ContainerWaitLibpodNotFound

type ContainerWaitLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainerWaitLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainerWaitLibpodNotFound

func NewContainerWaitLibpodNotFound() *ContainerWaitLibpodNotFound

NewContainerWaitLibpodNotFound creates a ContainerWaitLibpodNotFound with default headers values

func (*ContainerWaitLibpodNotFound) Code

func (o *ContainerWaitLibpodNotFound) Code() int

Code gets the status code for the container wait libpod not found response

func (*ContainerWaitLibpodNotFound) Error

func (*ContainerWaitLibpodNotFound) GetPayload

func (*ContainerWaitLibpodNotFound) IsClientError

func (o *ContainerWaitLibpodNotFound) IsClientError() bool

IsClientError returns true when this container wait libpod not found response has a 4xx status code

func (*ContainerWaitLibpodNotFound) IsCode

func (o *ContainerWaitLibpodNotFound) IsCode(code int) bool

IsCode returns true when this container wait libpod not found response a status code equal to that given

func (*ContainerWaitLibpodNotFound) IsRedirect

func (o *ContainerWaitLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container wait libpod not found response has a 3xx status code

func (*ContainerWaitLibpodNotFound) IsServerError

func (o *ContainerWaitLibpodNotFound) IsServerError() bool

IsServerError returns true when this container wait libpod not found response has a 5xx status code

func (*ContainerWaitLibpodNotFound) IsSuccess

func (o *ContainerWaitLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container wait libpod not found response has a 2xx status code

func (*ContainerWaitLibpodNotFound) String

func (o *ContainerWaitLibpodNotFound) String() string

type ContainerWaitLibpodOK

type ContainerWaitLibpodOK struct {
	Payload int32
}

ContainerWaitLibpodOK describes a response with status code 200, with default header values.

Status code

func NewContainerWaitLibpodOK

func NewContainerWaitLibpodOK() *ContainerWaitLibpodOK

NewContainerWaitLibpodOK creates a ContainerWaitLibpodOK with default headers values

func (*ContainerWaitLibpodOK) Code

func (o *ContainerWaitLibpodOK) Code() int

Code gets the status code for the container wait libpod o k response

func (*ContainerWaitLibpodOK) Error

func (o *ContainerWaitLibpodOK) Error() string

func (*ContainerWaitLibpodOK) GetPayload

func (o *ContainerWaitLibpodOK) GetPayload() int32

func (*ContainerWaitLibpodOK) IsClientError

func (o *ContainerWaitLibpodOK) IsClientError() bool

IsClientError returns true when this container wait libpod o k response has a 4xx status code

func (*ContainerWaitLibpodOK) IsCode

func (o *ContainerWaitLibpodOK) IsCode(code int) bool

IsCode returns true when this container wait libpod o k response a status code equal to that given

func (*ContainerWaitLibpodOK) IsRedirect

func (o *ContainerWaitLibpodOK) IsRedirect() bool

IsRedirect returns true when this container wait libpod o k response has a 3xx status code

func (*ContainerWaitLibpodOK) IsServerError

func (o *ContainerWaitLibpodOK) IsServerError() bool

IsServerError returns true when this container wait libpod o k response has a 5xx status code

func (*ContainerWaitLibpodOK) IsSuccess

func (o *ContainerWaitLibpodOK) IsSuccess() bool

IsSuccess returns true when this container wait libpod o k response has a 2xx status code

func (*ContainerWaitLibpodOK) String

func (o *ContainerWaitLibpodOK) String() string

type ContainerWaitLibpodParams

type ContainerWaitLibpodParams struct {

	// Condition.
	//
	// Conditions to wait for. If no condition provided the 'exited' condition is assumed.
	Condition []string

	// Interval.
	//
	// Time Interval to wait before polling for completion.
	//
	// Default: "250ms"
	Interval *string

	// Name.
	//
	// the name or ID of the container
	Name string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainerWaitLibpodParams contains all the parameters to send to the API endpoint

for the container wait libpod operation.

Typically these are written to a http.Request.

func NewContainerWaitLibpodParams

func NewContainerWaitLibpodParams() *ContainerWaitLibpodParams

NewContainerWaitLibpodParams creates a new ContainerWaitLibpodParams 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 NewContainerWaitLibpodParamsWithContext deprecated

func NewContainerWaitLibpodParamsWithContext(ctx context.Context) *ContainerWaitLibpodParams

NewContainerWaitLibpodParamsWithContext creates a new ContainerWaitLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainerWaitLibpodParams.

func NewContainerWaitLibpodParamsWithHTTPClient

func NewContainerWaitLibpodParamsWithHTTPClient(client *http.Client) *ContainerWaitLibpodParams

NewContainerWaitLibpodParamsWithHTTPClient creates a new ContainerWaitLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerWaitLibpodParamsWithTimeout

func NewContainerWaitLibpodParamsWithTimeout(timeout time.Duration) *ContainerWaitLibpodParams

NewContainerWaitLibpodParamsWithTimeout creates a new ContainerWaitLibpodParams object with the ability to set a timeout on a request.

func (*ContainerWaitLibpodParams) SetCondition

func (o *ContainerWaitLibpodParams) SetCondition(condition []string)

SetCondition adds the condition to the container wait libpod params.

func (*ContainerWaitLibpodParams) SetContext deprecated

func (o *ContainerWaitLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the container wait libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerWaitLibpodParams.

func (*ContainerWaitLibpodParams) SetDefaults

func (o *ContainerWaitLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container wait libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerWaitLibpodParams) SetHTTPClient

func (o *ContainerWaitLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the container wait libpod params.

func (*ContainerWaitLibpodParams) SetInterval

func (o *ContainerWaitLibpodParams) SetInterval(interval *string)

SetInterval adds the interval to the container wait libpod params.

func (*ContainerWaitLibpodParams) SetName

func (o *ContainerWaitLibpodParams) SetName(name string)

SetName adds the name to the container wait libpod params.

func (*ContainerWaitLibpodParams) SetTimeout

func (o *ContainerWaitLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the container wait libpod params.

func (*ContainerWaitLibpodParams) WithCondition

func (o *ContainerWaitLibpodParams) WithCondition(condition []string) *ContainerWaitLibpodParams

WithCondition adds the condition to the container wait libpod params.

func (*ContainerWaitLibpodParams) WithContext deprecated

WithContext adds the context to the container wait libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainerWaitLibpodParams.

func (*ContainerWaitLibpodParams) WithDefaults

WithDefaults hydrates default values in the container wait libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainerWaitLibpodParams) WithHTTPClient

func (o *ContainerWaitLibpodParams) WithHTTPClient(client *http.Client) *ContainerWaitLibpodParams

WithHTTPClient adds the HTTPClient to the container wait libpod params.

func (*ContainerWaitLibpodParams) WithInterval

func (o *ContainerWaitLibpodParams) WithInterval(interval *string) *ContainerWaitLibpodParams

WithInterval adds the interval to the container wait libpod params.

func (*ContainerWaitLibpodParams) WithName

WithName adds the name to the container wait libpod params.

func (*ContainerWaitLibpodParams) WithTimeout

WithTimeout adds the timeout to the container wait libpod params.

func (*ContainerWaitLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainerWaitLibpodReader

type ContainerWaitLibpodReader struct {
	// contains filtered or unexported fields
}

ContainerWaitLibpodReader is a Reader for the ContainerWaitLibpod structure.

func (*ContainerWaitLibpodReader) ReadResponse

func (o *ContainerWaitLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ContainersStatsAllLibpodInternalServerError

type ContainersStatsAllLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ContainersStatsAllLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewContainersStatsAllLibpodInternalServerError

func NewContainersStatsAllLibpodInternalServerError() *ContainersStatsAllLibpodInternalServerError

NewContainersStatsAllLibpodInternalServerError creates a ContainersStatsAllLibpodInternalServerError with default headers values

func (*ContainersStatsAllLibpodInternalServerError) Code

Code gets the status code for the containers stats all libpod internal server error response

func (*ContainersStatsAllLibpodInternalServerError) Error

func (*ContainersStatsAllLibpodInternalServerError) GetPayload

func (*ContainersStatsAllLibpodInternalServerError) IsClientError

IsClientError returns true when this containers stats all libpod internal server error response has a 4xx status code

func (*ContainersStatsAllLibpodInternalServerError) IsCode

IsCode returns true when this containers stats all libpod internal server error response a status code equal to that given

func (*ContainersStatsAllLibpodInternalServerError) IsRedirect

IsRedirect returns true when this containers stats all libpod internal server error response has a 3xx status code

func (*ContainersStatsAllLibpodInternalServerError) IsServerError

IsServerError returns true when this containers stats all libpod internal server error response has a 5xx status code

func (*ContainersStatsAllLibpodInternalServerError) IsSuccess

IsSuccess returns true when this containers stats all libpod internal server error response has a 2xx status code

func (*ContainersStatsAllLibpodInternalServerError) String

type ContainersStatsAllLibpodNotFound

type ContainersStatsAllLibpodNotFound struct {
	Payload *models.ErrorModel
}

ContainersStatsAllLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewContainersStatsAllLibpodNotFound

func NewContainersStatsAllLibpodNotFound() *ContainersStatsAllLibpodNotFound

NewContainersStatsAllLibpodNotFound creates a ContainersStatsAllLibpodNotFound with default headers values

func (*ContainersStatsAllLibpodNotFound) Code

Code gets the status code for the containers stats all libpod not found response

func (*ContainersStatsAllLibpodNotFound) Error

func (*ContainersStatsAllLibpodNotFound) GetPayload

func (*ContainersStatsAllLibpodNotFound) IsClientError

func (o *ContainersStatsAllLibpodNotFound) IsClientError() bool

IsClientError returns true when this containers stats all libpod not found response has a 4xx status code

func (*ContainersStatsAllLibpodNotFound) IsCode

func (o *ContainersStatsAllLibpodNotFound) IsCode(code int) bool

IsCode returns true when this containers stats all libpod not found response a status code equal to that given

func (*ContainersStatsAllLibpodNotFound) IsRedirect

func (o *ContainersStatsAllLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this containers stats all libpod not found response has a 3xx status code

func (*ContainersStatsAllLibpodNotFound) IsServerError

func (o *ContainersStatsAllLibpodNotFound) IsServerError() bool

IsServerError returns true when this containers stats all libpod not found response has a 5xx status code

func (*ContainersStatsAllLibpodNotFound) IsSuccess

func (o *ContainersStatsAllLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this containers stats all libpod not found response has a 2xx status code

func (*ContainersStatsAllLibpodNotFound) String

type ContainersStatsAllLibpodOK

type ContainersStatsAllLibpodOK struct {
	Payload *models.ContainerStats
}

ContainersStatsAllLibpodOK describes a response with status code 200, with default header values.

Get stats for one or more containers

func NewContainersStatsAllLibpodOK

func NewContainersStatsAllLibpodOK() *ContainersStatsAllLibpodOK

NewContainersStatsAllLibpodOK creates a ContainersStatsAllLibpodOK with default headers values

func (*ContainersStatsAllLibpodOK) Code

func (o *ContainersStatsAllLibpodOK) Code() int

Code gets the status code for the containers stats all libpod o k response

func (*ContainersStatsAllLibpodOK) Error

func (*ContainersStatsAllLibpodOK) GetPayload

func (*ContainersStatsAllLibpodOK) IsClientError

func (o *ContainersStatsAllLibpodOK) IsClientError() bool

IsClientError returns true when this containers stats all libpod o k response has a 4xx status code

func (*ContainersStatsAllLibpodOK) IsCode

func (o *ContainersStatsAllLibpodOK) IsCode(code int) bool

IsCode returns true when this containers stats all libpod o k response a status code equal to that given

func (*ContainersStatsAllLibpodOK) IsRedirect

func (o *ContainersStatsAllLibpodOK) IsRedirect() bool

IsRedirect returns true when this containers stats all libpod o k response has a 3xx status code

func (*ContainersStatsAllLibpodOK) IsServerError

func (o *ContainersStatsAllLibpodOK) IsServerError() bool

IsServerError returns true when this containers stats all libpod o k response has a 5xx status code

func (*ContainersStatsAllLibpodOK) IsSuccess

func (o *ContainersStatsAllLibpodOK) IsSuccess() bool

IsSuccess returns true when this containers stats all libpod o k response has a 2xx status code

func (*ContainersStatsAllLibpodOK) String

func (o *ContainersStatsAllLibpodOK) String() string

type ContainersStatsAllLibpodParams

type ContainersStatsAllLibpodParams struct {

	// All.
	//
	// Provide statistics for all running containers
	All *bool

	// Containers.
	//
	// names or IDs of containers
	Containers []string

	// Interval.
	//
	// Time in seconds between stats reports
	//
	// Default: 5
	Interval *int64

	// Stream.
	//
	// Stream the output
	//
	// Default: true
	Stream *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContainersStatsAllLibpodParams contains all the parameters to send to the API endpoint

for the containers stats all libpod operation.

Typically these are written to a http.Request.

func NewContainersStatsAllLibpodParams

func NewContainersStatsAllLibpodParams() *ContainersStatsAllLibpodParams

NewContainersStatsAllLibpodParams creates a new ContainersStatsAllLibpodParams 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 NewContainersStatsAllLibpodParamsWithContext deprecated

func NewContainersStatsAllLibpodParamsWithContext(ctx context.Context) *ContainersStatsAllLibpodParams

NewContainersStatsAllLibpodParamsWithContext creates a new ContainersStatsAllLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ContainersStatsAllLibpodParams.

func NewContainersStatsAllLibpodParamsWithHTTPClient

func NewContainersStatsAllLibpodParamsWithHTTPClient(client *http.Client) *ContainersStatsAllLibpodParams

NewContainersStatsAllLibpodParamsWithHTTPClient creates a new ContainersStatsAllLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainersStatsAllLibpodParamsWithTimeout

func NewContainersStatsAllLibpodParamsWithTimeout(timeout time.Duration) *ContainersStatsAllLibpodParams

NewContainersStatsAllLibpodParamsWithTimeout creates a new ContainersStatsAllLibpodParams object with the ability to set a timeout on a request.

func (*ContainersStatsAllLibpodParams) SetAll

func (o *ContainersStatsAllLibpodParams) SetAll(all *bool)

SetAll adds the all to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) SetContainers

func (o *ContainersStatsAllLibpodParams) SetContainers(containers []string)

SetContainers adds the containers to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) SetContext deprecated

func (o *ContainersStatsAllLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the containers stats all libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainersStatsAllLibpodParams.

func (*ContainersStatsAllLibpodParams) SetDefaults

func (o *ContainersStatsAllLibpodParams) SetDefaults()

SetDefaults hydrates default values in the containers stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainersStatsAllLibpodParams) SetHTTPClient

func (o *ContainersStatsAllLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) SetInterval

func (o *ContainersStatsAllLibpodParams) SetInterval(interval *int64)

SetInterval adds the interval to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) SetStream

func (o *ContainersStatsAllLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) SetTimeout

func (o *ContainersStatsAllLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithAll

WithAll adds the all to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithContainers

func (o *ContainersStatsAllLibpodParams) WithContainers(containers []string) *ContainersStatsAllLibpodParams

WithContainers adds the containers to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithContext deprecated

WithContext adds the context to the containers stats all libpod params.

Deprecated: use the operation call with context to pass the context instead of ContainersStatsAllLibpodParams.

func (*ContainersStatsAllLibpodParams) WithDefaults

WithDefaults hydrates default values in the containers stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ContainersStatsAllLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithInterval

WithInterval adds the interval to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithStream

WithStream adds the stream to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WithTimeout

WithTimeout adds the timeout to the containers stats all libpod params.

func (*ContainersStatsAllLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ContainersStatsAllLibpodReader

type ContainersStatsAllLibpodReader struct {
	// contains filtered or unexported fields
}

ContainersStatsAllLibpodReader is a Reader for the ContainersStatsAllLibpod structure.

func (*ContainersStatsAllLibpodReader) ReadResponse

func (o *ContainersStatsAllLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GenerateKubeLibpodInternalServerError

type GenerateKubeLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

GenerateKubeLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGenerateKubeLibpodInternalServerError

func NewGenerateKubeLibpodInternalServerError() *GenerateKubeLibpodInternalServerError

NewGenerateKubeLibpodInternalServerError creates a GenerateKubeLibpodInternalServerError with default headers values

func (*GenerateKubeLibpodInternalServerError) Code

Code gets the status code for the generate kube libpod internal server error response

func (*GenerateKubeLibpodInternalServerError) Error

func (*GenerateKubeLibpodInternalServerError) GetPayload

func (*GenerateKubeLibpodInternalServerError) IsClientError

func (o *GenerateKubeLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this generate kube libpod internal server error response has a 4xx status code

func (*GenerateKubeLibpodInternalServerError) IsCode

IsCode returns true when this generate kube libpod internal server error response a status code equal to that given

func (*GenerateKubeLibpodInternalServerError) IsRedirect

IsRedirect returns true when this generate kube libpod internal server error response has a 3xx status code

func (*GenerateKubeLibpodInternalServerError) IsServerError

func (o *GenerateKubeLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this generate kube libpod internal server error response has a 5xx status code

func (*GenerateKubeLibpodInternalServerError) IsSuccess

IsSuccess returns true when this generate kube libpod internal server error response has a 2xx status code

func (*GenerateKubeLibpodInternalServerError) String

type GenerateKubeLibpodOK

type GenerateKubeLibpodOK struct {
	Payload io.Writer
}

GenerateKubeLibpodOK describes a response with status code 200, with default header values.

Kubernetes YAML file describing pod

func NewGenerateKubeLibpodOK

func NewGenerateKubeLibpodOK(writer io.Writer) *GenerateKubeLibpodOK

NewGenerateKubeLibpodOK creates a GenerateKubeLibpodOK with default headers values

func (*GenerateKubeLibpodOK) Code

func (o *GenerateKubeLibpodOK) Code() int

Code gets the status code for the generate kube libpod o k response

func (*GenerateKubeLibpodOK) Error

func (o *GenerateKubeLibpodOK) Error() string

func (*GenerateKubeLibpodOK) GetPayload

func (o *GenerateKubeLibpodOK) GetPayload() io.Writer

func (*GenerateKubeLibpodOK) IsClientError

func (o *GenerateKubeLibpodOK) IsClientError() bool

IsClientError returns true when this generate kube libpod o k response has a 4xx status code

func (*GenerateKubeLibpodOK) IsCode

func (o *GenerateKubeLibpodOK) IsCode(code int) bool

IsCode returns true when this generate kube libpod o k response a status code equal to that given

func (*GenerateKubeLibpodOK) IsRedirect

func (o *GenerateKubeLibpodOK) IsRedirect() bool

IsRedirect returns true when this generate kube libpod o k response has a 3xx status code

func (*GenerateKubeLibpodOK) IsServerError

func (o *GenerateKubeLibpodOK) IsServerError() bool

IsServerError returns true when this generate kube libpod o k response has a 5xx status code

func (*GenerateKubeLibpodOK) IsSuccess

func (o *GenerateKubeLibpodOK) IsSuccess() bool

IsSuccess returns true when this generate kube libpod o k response has a 2xx status code

func (*GenerateKubeLibpodOK) String

func (o *GenerateKubeLibpodOK) String() string

type GenerateKubeLibpodParams

type GenerateKubeLibpodParams struct {

	// Names.
	//
	// Name or ID of the container or pod.
	Names []string

	// NoTrunc.
	//
	// don't truncate annotations to the Kubernetes maximum length of 63 characters
	NoTrunc *bool

	// PodmanOnly.
	//
	// add podman-only reserved annotations in generated YAML file (cannot be used by Kubernetes)
	PodmanOnly *bool

	// Replicas.
	//
	// Set the replica number for Deployment kind.
	//
	// Format: int32
	Replicas *int32

	// Service.
	//
	// Generate YAML for a Kubernetes service object.
	Service *bool

	// Type.
	//
	// Generate YAML for the given Kubernetes kind.
	//
	// Default: "pod"
	Type *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GenerateKubeLibpodParams contains all the parameters to send to the API endpoint

for the generate kube libpod operation.

Typically these are written to a http.Request.

func NewGenerateKubeLibpodParams

func NewGenerateKubeLibpodParams() *GenerateKubeLibpodParams

NewGenerateKubeLibpodParams creates a new GenerateKubeLibpodParams 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 NewGenerateKubeLibpodParamsWithContext deprecated

func NewGenerateKubeLibpodParamsWithContext(ctx context.Context) *GenerateKubeLibpodParams

NewGenerateKubeLibpodParamsWithContext creates a new GenerateKubeLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GenerateKubeLibpodParams.

func NewGenerateKubeLibpodParamsWithHTTPClient

func NewGenerateKubeLibpodParamsWithHTTPClient(client *http.Client) *GenerateKubeLibpodParams

NewGenerateKubeLibpodParamsWithHTTPClient creates a new GenerateKubeLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateKubeLibpodParamsWithTimeout

func NewGenerateKubeLibpodParamsWithTimeout(timeout time.Duration) *GenerateKubeLibpodParams

NewGenerateKubeLibpodParamsWithTimeout creates a new GenerateKubeLibpodParams object with the ability to set a timeout on a request.

func (*GenerateKubeLibpodParams) SetContext deprecated

func (o *GenerateKubeLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the generate kube libpod params.

Deprecated: use the operation call with context to pass the context instead of GenerateKubeLibpodParams.

func (*GenerateKubeLibpodParams) SetDefaults

func (o *GenerateKubeLibpodParams) SetDefaults()

SetDefaults hydrates default values in the generate kube libpod params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateKubeLibpodParams) SetHTTPClient

func (o *GenerateKubeLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetNames

func (o *GenerateKubeLibpodParams) SetNames(names []string)

SetNames adds the names to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetNoTrunc

func (o *GenerateKubeLibpodParams) SetNoTrunc(noTrunc *bool)

SetNoTrunc adds the noTrunc to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetPodmanOnly

func (o *GenerateKubeLibpodParams) SetPodmanOnly(podmanOnly *bool)

SetPodmanOnly adds the podmanOnly to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetReplicas

func (o *GenerateKubeLibpodParams) SetReplicas(replicas *int32)

SetReplicas adds the replicas to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetService

func (o *GenerateKubeLibpodParams) SetService(service *bool)

SetService adds the service to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetTimeout

func (o *GenerateKubeLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the generate kube libpod params.

func (*GenerateKubeLibpodParams) SetType

func (o *GenerateKubeLibpodParams) SetType(typeVar *string)

SetType adds the type to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithContext deprecated

WithContext adds the context to the generate kube libpod params.

Deprecated: use the operation call with context to pass the context instead of GenerateKubeLibpodParams.

func (*GenerateKubeLibpodParams) WithDefaults

WithDefaults hydrates default values in the generate kube libpod params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateKubeLibpodParams) WithHTTPClient

func (o *GenerateKubeLibpodParams) WithHTTPClient(client *http.Client) *GenerateKubeLibpodParams

WithHTTPClient adds the HTTPClient to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithNames

WithNames adds the names to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithNoTrunc

func (o *GenerateKubeLibpodParams) WithNoTrunc(noTrunc *bool) *GenerateKubeLibpodParams

WithNoTrunc adds the noTrunc to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithPodmanOnly

func (o *GenerateKubeLibpodParams) WithPodmanOnly(podmanOnly *bool) *GenerateKubeLibpodParams

WithPodmanOnly adds the podmanOnly to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithReplicas

func (o *GenerateKubeLibpodParams) WithReplicas(replicas *int32) *GenerateKubeLibpodParams

WithReplicas adds the replicas to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithService

func (o *GenerateKubeLibpodParams) WithService(service *bool) *GenerateKubeLibpodParams

WithService adds the service to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithTimeout

WithTimeout adds the timeout to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WithType

WithType adds the typeVar to the generate kube libpod params.

func (*GenerateKubeLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GenerateKubeLibpodReader

type GenerateKubeLibpodReader struct {
	// contains filtered or unexported fields
}

GenerateKubeLibpodReader is a Reader for the GenerateKubeLibpod structure.

func (*GenerateKubeLibpodReader) ReadResponse

func (o *GenerateKubeLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GenerateSystemdLibpodInternalServerError

type GenerateSystemdLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

GenerateSystemdLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGenerateSystemdLibpodInternalServerError

func NewGenerateSystemdLibpodInternalServerError() *GenerateSystemdLibpodInternalServerError

NewGenerateSystemdLibpodInternalServerError creates a GenerateSystemdLibpodInternalServerError with default headers values

func (*GenerateSystemdLibpodInternalServerError) Code

Code gets the status code for the generate systemd libpod internal server error response

func (*GenerateSystemdLibpodInternalServerError) Error

func (*GenerateSystemdLibpodInternalServerError) GetPayload

func (*GenerateSystemdLibpodInternalServerError) IsClientError

IsClientError returns true when this generate systemd libpod internal server error response has a 4xx status code

func (*GenerateSystemdLibpodInternalServerError) IsCode

IsCode returns true when this generate systemd libpod internal server error response a status code equal to that given

func (*GenerateSystemdLibpodInternalServerError) IsRedirect

IsRedirect returns true when this generate systemd libpod internal server error response has a 3xx status code

func (*GenerateSystemdLibpodInternalServerError) IsServerError

IsServerError returns true when this generate systemd libpod internal server error response has a 5xx status code

func (*GenerateSystemdLibpodInternalServerError) IsSuccess

IsSuccess returns true when this generate systemd libpod internal server error response has a 2xx status code

func (*GenerateSystemdLibpodInternalServerError) String

type GenerateSystemdLibpodOK

type GenerateSystemdLibpodOK struct {
	Payload map[string]string
}

GenerateSystemdLibpodOK describes a response with status code 200, with default header values.

no error

func NewGenerateSystemdLibpodOK

func NewGenerateSystemdLibpodOK() *GenerateSystemdLibpodOK

NewGenerateSystemdLibpodOK creates a GenerateSystemdLibpodOK with default headers values

func (*GenerateSystemdLibpodOK) Code

func (o *GenerateSystemdLibpodOK) Code() int

Code gets the status code for the generate systemd libpod o k response

func (*GenerateSystemdLibpodOK) Error

func (o *GenerateSystemdLibpodOK) Error() string

func (*GenerateSystemdLibpodOK) GetPayload

func (o *GenerateSystemdLibpodOK) GetPayload() map[string]string

func (*GenerateSystemdLibpodOK) IsClientError

func (o *GenerateSystemdLibpodOK) IsClientError() bool

IsClientError returns true when this generate systemd libpod o k response has a 4xx status code

func (*GenerateSystemdLibpodOK) IsCode

func (o *GenerateSystemdLibpodOK) IsCode(code int) bool

IsCode returns true when this generate systemd libpod o k response a status code equal to that given

func (*GenerateSystemdLibpodOK) IsRedirect

func (o *GenerateSystemdLibpodOK) IsRedirect() bool

IsRedirect returns true when this generate systemd libpod o k response has a 3xx status code

func (*GenerateSystemdLibpodOK) IsServerError

func (o *GenerateSystemdLibpodOK) IsServerError() bool

IsServerError returns true when this generate systemd libpod o k response has a 5xx status code

func (*GenerateSystemdLibpodOK) IsSuccess

func (o *GenerateSystemdLibpodOK) IsSuccess() bool

IsSuccess returns true when this generate systemd libpod o k response has a 2xx status code

func (*GenerateSystemdLibpodOK) String

func (o *GenerateSystemdLibpodOK) String() string

type GenerateSystemdLibpodParams

type GenerateSystemdLibpodParams struct {

	// AdditionalEnvVariables.
	//
	// Set environment variables to the systemd unit files.
	AdditionalEnvVariables []string

	// After.
	//
	// Systemd After list for the container or pods.
	After []string

	// ContainerPrefix.
	//
	// Systemd unit name prefix for containers.
	//
	// Default: "container"
	ContainerPrefix *string

	// Name.
	//
	// Name or ID of the container or pod.
	Name string

	// New.
	//
	// Create a new container instead of starting an existing one.
	New *bool

	// NoHeader.
	//
	// Do not generate the header including the Podman version and the timestamp.
	NoHeader *bool

	// PodPrefix.
	//
	// Systemd unit name prefix for pods.
	//
	// Default: "pod"
	PodPrefix *string

	// Requires.
	//
	// Systemd Requires list for the container or pods.
	Requires []string

	// RestartPolicy.
	//
	// Systemd restart-policy.
	//
	// Default: "on-failure"
	RestartPolicy *string

	// RestartSec.
	//
	// Configures the time to sleep before restarting a service.
	RestartSec *int64

	// Separator.
	//
	// Systemd unit name separator between name/id and prefix.
	//
	// Default: "-"
	Separator *string

	// StartTimeout.
	//
	// Start timeout in seconds.
	StartTimeout *int64

	// StopTimeout.
	//
	// Stop timeout in seconds.
	//
	// Default: 10
	StopTimeout *int64

	// TemplateUnitFile.
	//
	// Add template specifier for the systemd unit file names.
	TemplateUnitFile *bool

	// UseName.
	//
	// Use container/pod names instead of IDs.
	UseName *bool

	// Wants.
	//
	// Systemd Wants list for the container or pods.
	Wants []string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GenerateSystemdLibpodParams contains all the parameters to send to the API endpoint

for the generate systemd libpod operation.

Typically these are written to a http.Request.

func NewGenerateSystemdLibpodParams

func NewGenerateSystemdLibpodParams() *GenerateSystemdLibpodParams

NewGenerateSystemdLibpodParams creates a new GenerateSystemdLibpodParams 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 NewGenerateSystemdLibpodParamsWithContext deprecated

func NewGenerateSystemdLibpodParamsWithContext(ctx context.Context) *GenerateSystemdLibpodParams

NewGenerateSystemdLibpodParamsWithContext creates a new GenerateSystemdLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GenerateSystemdLibpodParams.

func NewGenerateSystemdLibpodParamsWithHTTPClient

func NewGenerateSystemdLibpodParamsWithHTTPClient(client *http.Client) *GenerateSystemdLibpodParams

NewGenerateSystemdLibpodParamsWithHTTPClient creates a new GenerateSystemdLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateSystemdLibpodParamsWithTimeout

func NewGenerateSystemdLibpodParamsWithTimeout(timeout time.Duration) *GenerateSystemdLibpodParams

NewGenerateSystemdLibpodParamsWithTimeout creates a new GenerateSystemdLibpodParams object with the ability to set a timeout on a request.

func (*GenerateSystemdLibpodParams) SetAdditionalEnvVariables

func (o *GenerateSystemdLibpodParams) SetAdditionalEnvVariables(additionalEnvVariables []string)

SetAdditionalEnvVariables adds the additionalEnvVariables to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetAfter

func (o *GenerateSystemdLibpodParams) SetAfter(after []string)

SetAfter adds the after to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetContainerPrefix

func (o *GenerateSystemdLibpodParams) SetContainerPrefix(containerPrefix *string)

SetContainerPrefix adds the containerPrefix to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetContext deprecated

func (o *GenerateSystemdLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the generate systemd libpod params.

Deprecated: use the operation call with context to pass the context instead of GenerateSystemdLibpodParams.

func (*GenerateSystemdLibpodParams) SetDefaults

func (o *GenerateSystemdLibpodParams) SetDefaults()

SetDefaults hydrates default values in the generate systemd libpod params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateSystemdLibpodParams) SetHTTPClient

func (o *GenerateSystemdLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetName

func (o *GenerateSystemdLibpodParams) SetName(name string)

SetName adds the name to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetNew

func (o *GenerateSystemdLibpodParams) SetNew(new *bool)

SetNew adds the new to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetNoHeader

func (o *GenerateSystemdLibpodParams) SetNoHeader(noHeader *bool)

SetNoHeader adds the noHeader to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetPodPrefix

func (o *GenerateSystemdLibpodParams) SetPodPrefix(podPrefix *string)

SetPodPrefix adds the podPrefix to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetRequires

func (o *GenerateSystemdLibpodParams) SetRequires(requires []string)

SetRequires adds the requires to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetRestartPolicy

func (o *GenerateSystemdLibpodParams) SetRestartPolicy(restartPolicy *string)

SetRestartPolicy adds the restartPolicy to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetRestartSec

func (o *GenerateSystemdLibpodParams) SetRestartSec(restartSec *int64)

SetRestartSec adds the restartSec to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetSeparator

func (o *GenerateSystemdLibpodParams) SetSeparator(separator *string)

SetSeparator adds the separator to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetStartTimeout

func (o *GenerateSystemdLibpodParams) SetStartTimeout(startTimeout *int64)

SetStartTimeout adds the startTimeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetStopTimeout

func (o *GenerateSystemdLibpodParams) SetStopTimeout(stopTimeout *int64)

SetStopTimeout adds the stopTimeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetTemplateUnitFile

func (o *GenerateSystemdLibpodParams) SetTemplateUnitFile(templateUnitFile *bool)

SetTemplateUnitFile adds the templateUnitFile to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetTimeout

func (o *GenerateSystemdLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetUseName

func (o *GenerateSystemdLibpodParams) SetUseName(useName *bool)

SetUseName adds the useName to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) SetWants

func (o *GenerateSystemdLibpodParams) SetWants(wants []string)

SetWants adds the wants to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithAdditionalEnvVariables

func (o *GenerateSystemdLibpodParams) WithAdditionalEnvVariables(additionalEnvVariables []string) *GenerateSystemdLibpodParams

WithAdditionalEnvVariables adds the additionalEnvVariables to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithAfter

WithAfter adds the after to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithContainerPrefix

func (o *GenerateSystemdLibpodParams) WithContainerPrefix(containerPrefix *string) *GenerateSystemdLibpodParams

WithContainerPrefix adds the containerPrefix to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithContext deprecated

WithContext adds the context to the generate systemd libpod params.

Deprecated: use the operation call with context to pass the context instead of GenerateSystemdLibpodParams.

func (*GenerateSystemdLibpodParams) WithDefaults

WithDefaults hydrates default values in the generate systemd libpod params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateSystemdLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithName

WithName adds the name to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithNew

WithNew adds the new to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithNoHeader

func (o *GenerateSystemdLibpodParams) WithNoHeader(noHeader *bool) *GenerateSystemdLibpodParams

WithNoHeader adds the noHeader to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithPodPrefix

func (o *GenerateSystemdLibpodParams) WithPodPrefix(podPrefix *string) *GenerateSystemdLibpodParams

WithPodPrefix adds the podPrefix to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithRequires

func (o *GenerateSystemdLibpodParams) WithRequires(requires []string) *GenerateSystemdLibpodParams

WithRequires adds the requires to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithRestartPolicy

func (o *GenerateSystemdLibpodParams) WithRestartPolicy(restartPolicy *string) *GenerateSystemdLibpodParams

WithRestartPolicy adds the restartPolicy to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithRestartSec

func (o *GenerateSystemdLibpodParams) WithRestartSec(restartSec *int64) *GenerateSystemdLibpodParams

WithRestartSec adds the restartSec to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithSeparator

func (o *GenerateSystemdLibpodParams) WithSeparator(separator *string) *GenerateSystemdLibpodParams

WithSeparator adds the separator to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithStartTimeout

func (o *GenerateSystemdLibpodParams) WithStartTimeout(startTimeout *int64) *GenerateSystemdLibpodParams

WithStartTimeout adds the startTimeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithStopTimeout

func (o *GenerateSystemdLibpodParams) WithStopTimeout(stopTimeout *int64) *GenerateSystemdLibpodParams

WithStopTimeout adds the stopTimeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithTemplateUnitFile

func (o *GenerateSystemdLibpodParams) WithTemplateUnitFile(templateUnitFile *bool) *GenerateSystemdLibpodParams

WithTemplateUnitFile adds the templateUnitFile to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithTimeout

WithTimeout adds the timeout to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithUseName

WithUseName adds the useName to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WithWants

WithWants adds the wants to the generate systemd libpod params.

func (*GenerateSystemdLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GenerateSystemdLibpodReader

type GenerateSystemdLibpodReader struct {
	// contains filtered or unexported fields
}

GenerateSystemdLibpodReader is a Reader for the GenerateSystemdLibpod structure.

func (*GenerateSystemdLibpodReader) ReadResponse

func (o *GenerateSystemdLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ImageCommitLibpodCreated

type ImageCommitLibpodCreated struct {
}

ImageCommitLibpodCreated describes a response with status code 201, with default header values.

no error

func NewImageCommitLibpodCreated

func NewImageCommitLibpodCreated() *ImageCommitLibpodCreated

NewImageCommitLibpodCreated creates a ImageCommitLibpodCreated with default headers values

func (*ImageCommitLibpodCreated) Code

func (o *ImageCommitLibpodCreated) Code() int

Code gets the status code for the image commit libpod created response

func (*ImageCommitLibpodCreated) Error

func (o *ImageCommitLibpodCreated) Error() string

func (*ImageCommitLibpodCreated) IsClientError

func (o *ImageCommitLibpodCreated) IsClientError() bool

IsClientError returns true when this image commit libpod created response has a 4xx status code

func (*ImageCommitLibpodCreated) IsCode

func (o *ImageCommitLibpodCreated) IsCode(code int) bool

IsCode returns true when this image commit libpod created response a status code equal to that given

func (*ImageCommitLibpodCreated) IsRedirect

func (o *ImageCommitLibpodCreated) IsRedirect() bool

IsRedirect returns true when this image commit libpod created response has a 3xx status code

func (*ImageCommitLibpodCreated) IsServerError

func (o *ImageCommitLibpodCreated) IsServerError() bool

IsServerError returns true when this image commit libpod created response has a 5xx status code

func (*ImageCommitLibpodCreated) IsSuccess

func (o *ImageCommitLibpodCreated) IsSuccess() bool

IsSuccess returns true when this image commit libpod created response has a 2xx status code

func (*ImageCommitLibpodCreated) String

func (o *ImageCommitLibpodCreated) String() string

type ImageCommitLibpodInternalServerError

type ImageCommitLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

ImageCommitLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewImageCommitLibpodInternalServerError

func NewImageCommitLibpodInternalServerError() *ImageCommitLibpodInternalServerError

NewImageCommitLibpodInternalServerError creates a ImageCommitLibpodInternalServerError with default headers values

func (*ImageCommitLibpodInternalServerError) Code

Code gets the status code for the image commit libpod internal server error response

func (*ImageCommitLibpodInternalServerError) Error

func (*ImageCommitLibpodInternalServerError) GetPayload

func (*ImageCommitLibpodInternalServerError) IsClientError

func (o *ImageCommitLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this image commit libpod internal server error response has a 4xx status code

func (*ImageCommitLibpodInternalServerError) IsCode

IsCode returns true when this image commit libpod internal server error response a status code equal to that given

func (*ImageCommitLibpodInternalServerError) IsRedirect

IsRedirect returns true when this image commit libpod internal server error response has a 3xx status code

func (*ImageCommitLibpodInternalServerError) IsServerError

func (o *ImageCommitLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this image commit libpod internal server error response has a 5xx status code

func (*ImageCommitLibpodInternalServerError) IsSuccess

IsSuccess returns true when this image commit libpod internal server error response has a 2xx status code

func (*ImageCommitLibpodInternalServerError) String

type ImageCommitLibpodNotFound

type ImageCommitLibpodNotFound struct {
	Payload *models.ErrorModel
}

ImageCommitLibpodNotFound describes a response with status code 404, with default header values.

No such image

func NewImageCommitLibpodNotFound

func NewImageCommitLibpodNotFound() *ImageCommitLibpodNotFound

NewImageCommitLibpodNotFound creates a ImageCommitLibpodNotFound with default headers values

func (*ImageCommitLibpodNotFound) Code

func (o *ImageCommitLibpodNotFound) Code() int

Code gets the status code for the image commit libpod not found response

func (*ImageCommitLibpodNotFound) Error

func (o *ImageCommitLibpodNotFound) Error() string

func (*ImageCommitLibpodNotFound) GetPayload

func (o *ImageCommitLibpodNotFound) GetPayload() *models.ErrorModel

func (*ImageCommitLibpodNotFound) IsClientError

func (o *ImageCommitLibpodNotFound) IsClientError() bool

IsClientError returns true when this image commit libpod not found response has a 4xx status code

func (*ImageCommitLibpodNotFound) IsCode

func (o *ImageCommitLibpodNotFound) IsCode(code int) bool

IsCode returns true when this image commit libpod not found response a status code equal to that given

func (*ImageCommitLibpodNotFound) IsRedirect

func (o *ImageCommitLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this image commit libpod not found response has a 3xx status code

func (*ImageCommitLibpodNotFound) IsServerError

func (o *ImageCommitLibpodNotFound) IsServerError() bool

IsServerError returns true when this image commit libpod not found response has a 5xx status code

func (*ImageCommitLibpodNotFound) IsSuccess

func (o *ImageCommitLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this image commit libpod not found response has a 2xx status code

func (*ImageCommitLibpodNotFound) String

func (o *ImageCommitLibpodNotFound) String() string

type ImageCommitLibpodParams

type ImageCommitLibpodParams struct {

	// Author.
	//
	// author of the image
	Author *string

	// Changes.
	//
	// instructions to apply while committing in Dockerfile format (i.e. "CMD=/bin/foo")
	Changes []string

	// Comment.
	//
	// commit message
	Comment *string

	// Container.
	//
	// the name or ID of a container
	Container string

	// Format.
	//
	// format of the image manifest and metadata (default "oci")
	Format *string

	// Pause.
	//
	// pause the container before committing it
	Pause *bool

	// Repo.
	//
	// the repository name for the created image
	Repo *string

	// Squash.
	//
	// squash the container before committing it
	Squash *bool

	// Stream.
	//
	// output from commit process
	Stream *bool

	// Tag.
	//
	// tag name for the created image
	Tag *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ImageCommitLibpodParams contains all the parameters to send to the API endpoint

for the image commit libpod operation.

Typically these are written to a http.Request.

func NewImageCommitLibpodParams

func NewImageCommitLibpodParams() *ImageCommitLibpodParams

NewImageCommitLibpodParams creates a new ImageCommitLibpodParams 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 NewImageCommitLibpodParamsWithContext deprecated

func NewImageCommitLibpodParamsWithContext(ctx context.Context) *ImageCommitLibpodParams

NewImageCommitLibpodParamsWithContext creates a new ImageCommitLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ImageCommitLibpodParams.

func NewImageCommitLibpodParamsWithHTTPClient

func NewImageCommitLibpodParamsWithHTTPClient(client *http.Client) *ImageCommitLibpodParams

NewImageCommitLibpodParamsWithHTTPClient creates a new ImageCommitLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewImageCommitLibpodParamsWithTimeout

func NewImageCommitLibpodParamsWithTimeout(timeout time.Duration) *ImageCommitLibpodParams

NewImageCommitLibpodParamsWithTimeout creates a new ImageCommitLibpodParams object with the ability to set a timeout on a request.

func (*ImageCommitLibpodParams) SetAuthor

func (o *ImageCommitLibpodParams) SetAuthor(author *string)

SetAuthor adds the author to the image commit libpod params.

func (*ImageCommitLibpodParams) SetChanges

func (o *ImageCommitLibpodParams) SetChanges(changes []string)

SetChanges adds the changes to the image commit libpod params.

func (*ImageCommitLibpodParams) SetComment

func (o *ImageCommitLibpodParams) SetComment(comment *string)

SetComment adds the comment to the image commit libpod params.

func (*ImageCommitLibpodParams) SetContainer

func (o *ImageCommitLibpodParams) SetContainer(container string)

SetContainer adds the container to the image commit libpod params.

func (*ImageCommitLibpodParams) SetContext deprecated

func (o *ImageCommitLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the image commit libpod params.

Deprecated: use the operation call with context to pass the context instead of ImageCommitLibpodParams.

func (*ImageCommitLibpodParams) SetDefaults

func (o *ImageCommitLibpodParams) SetDefaults()

SetDefaults hydrates default values in the image commit libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ImageCommitLibpodParams) SetFormat

func (o *ImageCommitLibpodParams) SetFormat(format *string)

SetFormat adds the format to the image commit libpod params.

func (*ImageCommitLibpodParams) SetHTTPClient

func (o *ImageCommitLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the image commit libpod params.

func (*ImageCommitLibpodParams) SetPause

func (o *ImageCommitLibpodParams) SetPause(pause *bool)

SetPause adds the pause to the image commit libpod params.

func (*ImageCommitLibpodParams) SetRepo

func (o *ImageCommitLibpodParams) SetRepo(repo *string)

SetRepo adds the repo to the image commit libpod params.

func (*ImageCommitLibpodParams) SetSquash

func (o *ImageCommitLibpodParams) SetSquash(squash *bool)

SetSquash adds the squash to the image commit libpod params.

func (*ImageCommitLibpodParams) SetStream

func (o *ImageCommitLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the image commit libpod params.

func (*ImageCommitLibpodParams) SetTag

func (o *ImageCommitLibpodParams) SetTag(tag *string)

SetTag adds the tag to the image commit libpod params.

func (*ImageCommitLibpodParams) SetTimeout

func (o *ImageCommitLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the image commit libpod params.

func (*ImageCommitLibpodParams) WithAuthor

func (o *ImageCommitLibpodParams) WithAuthor(author *string) *ImageCommitLibpodParams

WithAuthor adds the author to the image commit libpod params.

func (*ImageCommitLibpodParams) WithChanges

func (o *ImageCommitLibpodParams) WithChanges(changes []string) *ImageCommitLibpodParams

WithChanges adds the changes to the image commit libpod params.

func (*ImageCommitLibpodParams) WithComment

func (o *ImageCommitLibpodParams) WithComment(comment *string) *ImageCommitLibpodParams

WithComment adds the comment to the image commit libpod params.

func (*ImageCommitLibpodParams) WithContainer

func (o *ImageCommitLibpodParams) WithContainer(container string) *ImageCommitLibpodParams

WithContainer adds the container to the image commit libpod params.

func (*ImageCommitLibpodParams) WithContext deprecated

WithContext adds the context to the image commit libpod params.

Deprecated: use the operation call with context to pass the context instead of ImageCommitLibpodParams.

func (*ImageCommitLibpodParams) WithDefaults

WithDefaults hydrates default values in the image commit libpod params (not the query body).

All values with no default are reset to their zero value.

func (*ImageCommitLibpodParams) WithFormat

func (o *ImageCommitLibpodParams) WithFormat(format *string) *ImageCommitLibpodParams

WithFormat adds the format to the image commit libpod params.

func (*ImageCommitLibpodParams) WithHTTPClient

func (o *ImageCommitLibpodParams) WithHTTPClient(client *http.Client) *ImageCommitLibpodParams

WithHTTPClient adds the HTTPClient to the image commit libpod params.

func (*ImageCommitLibpodParams) WithPause

WithPause adds the pause to the image commit libpod params.

func (*ImageCommitLibpodParams) WithRepo

WithRepo adds the repo to the image commit libpod params.

func (*ImageCommitLibpodParams) WithSquash

func (o *ImageCommitLibpodParams) WithSquash(squash *bool) *ImageCommitLibpodParams

WithSquash adds the squash to the image commit libpod params.

func (*ImageCommitLibpodParams) WithStream

func (o *ImageCommitLibpodParams) WithStream(stream *bool) *ImageCommitLibpodParams

WithStream adds the stream to the image commit libpod params.

func (*ImageCommitLibpodParams) WithTag

WithTag adds the tag to the image commit libpod params.

func (*ImageCommitLibpodParams) WithTimeout

WithTimeout adds the timeout to the image commit libpod params.

func (*ImageCommitLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ImageCommitLibpodReader

type ImageCommitLibpodReader struct {
	// contains filtered or unexported fields
}

ImageCommitLibpodReader is a Reader for the ImageCommitLibpod structure.

func (*ImageCommitLibpodReader) ReadResponse

func (o *ImageCommitLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type KubeApplyLibpodInternalServerError

type KubeApplyLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

KubeApplyLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewKubeApplyLibpodInternalServerError

func NewKubeApplyLibpodInternalServerError() *KubeApplyLibpodInternalServerError

NewKubeApplyLibpodInternalServerError creates a KubeApplyLibpodInternalServerError with default headers values

func (*KubeApplyLibpodInternalServerError) Code

Code gets the status code for the kube apply libpod internal server error response

func (*KubeApplyLibpodInternalServerError) Error

func (*KubeApplyLibpodInternalServerError) GetPayload

func (*KubeApplyLibpodInternalServerError) IsClientError

func (o *KubeApplyLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this kube apply libpod internal server error response has a 4xx status code

func (*KubeApplyLibpodInternalServerError) IsCode

IsCode returns true when this kube apply libpod internal server error response a status code equal to that given

func (*KubeApplyLibpodInternalServerError) IsRedirect

func (o *KubeApplyLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this kube apply libpod internal server error response has a 3xx status code

func (*KubeApplyLibpodInternalServerError) IsServerError

func (o *KubeApplyLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this kube apply libpod internal server error response has a 5xx status code

func (*KubeApplyLibpodInternalServerError) IsSuccess

IsSuccess returns true when this kube apply libpod internal server error response has a 2xx status code

func (*KubeApplyLibpodInternalServerError) String

type KubeApplyLibpodOK

type KubeApplyLibpodOK struct {
	Payload io.Writer
}

KubeApplyLibpodOK describes a response with status code 200, with default header values.

Kubernetes YAML file successfully deployed to cluster

func NewKubeApplyLibpodOK

func NewKubeApplyLibpodOK(writer io.Writer) *KubeApplyLibpodOK

NewKubeApplyLibpodOK creates a KubeApplyLibpodOK with default headers values

func (*KubeApplyLibpodOK) Code

func (o *KubeApplyLibpodOK) Code() int

Code gets the status code for the kube apply libpod o k response

func (*KubeApplyLibpodOK) Error

func (o *KubeApplyLibpodOK) Error() string

func (*KubeApplyLibpodOK) GetPayload

func (o *KubeApplyLibpodOK) GetPayload() io.Writer

func (*KubeApplyLibpodOK) IsClientError

func (o *KubeApplyLibpodOK) IsClientError() bool

IsClientError returns true when this kube apply libpod o k response has a 4xx status code

func (*KubeApplyLibpodOK) IsCode

func (o *KubeApplyLibpodOK) IsCode(code int) bool

IsCode returns true when this kube apply libpod o k response a status code equal to that given

func (*KubeApplyLibpodOK) IsRedirect

func (o *KubeApplyLibpodOK) IsRedirect() bool

IsRedirect returns true when this kube apply libpod o k response has a 3xx status code

func (*KubeApplyLibpodOK) IsServerError

func (o *KubeApplyLibpodOK) IsServerError() bool

IsServerError returns true when this kube apply libpod o k response has a 5xx status code

func (*KubeApplyLibpodOK) IsSuccess

func (o *KubeApplyLibpodOK) IsSuccess() bool

IsSuccess returns true when this kube apply libpod o k response has a 2xx status code

func (*KubeApplyLibpodOK) String

func (o *KubeApplyLibpodOK) String() string

type KubeApplyLibpodParams

type KubeApplyLibpodParams struct {

	// CaCertFile.
	//
	// Path to the CA cert file for the Kubernetes cluster.
	CaCertFile *string

	// File.
	//
	// Path to the Kubernetes yaml file to deploy.
	File *string

	// KubeConfig.
	//
	// Path to the kubeconfig file for the Kubernetes cluster.
	KubeConfig *string

	// Namespace.
	//
	// The namespace to deploy the workload to on the Kubernetes cluster.
	Namespace *string

	// Request.
	//
	// Kubernetes YAML file.
	Request string

	// Service.
	//
	// Create a service object for the container being deployed.
	Service *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

KubeApplyLibpodParams contains all the parameters to send to the API endpoint

for the kube apply libpod operation.

Typically these are written to a http.Request.

func NewKubeApplyLibpodParams

func NewKubeApplyLibpodParams() *KubeApplyLibpodParams

NewKubeApplyLibpodParams creates a new KubeApplyLibpodParams 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 NewKubeApplyLibpodParamsWithContext deprecated

func NewKubeApplyLibpodParamsWithContext(ctx context.Context) *KubeApplyLibpodParams

NewKubeApplyLibpodParamsWithContext creates a new KubeApplyLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of KubeApplyLibpodParams.

func NewKubeApplyLibpodParamsWithHTTPClient

func NewKubeApplyLibpodParamsWithHTTPClient(client *http.Client) *KubeApplyLibpodParams

NewKubeApplyLibpodParamsWithHTTPClient creates a new KubeApplyLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewKubeApplyLibpodParamsWithTimeout

func NewKubeApplyLibpodParamsWithTimeout(timeout time.Duration) *KubeApplyLibpodParams

NewKubeApplyLibpodParamsWithTimeout creates a new KubeApplyLibpodParams object with the ability to set a timeout on a request.

func (*KubeApplyLibpodParams) SetCaCertFile

func (o *KubeApplyLibpodParams) SetCaCertFile(caCertFile *string)

SetCaCertFile adds the caCertFile to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetContext deprecated

func (o *KubeApplyLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the kube apply libpod params.

Deprecated: use the operation call with context to pass the context instead of KubeApplyLibpodParams.

func (*KubeApplyLibpodParams) SetDefaults

func (o *KubeApplyLibpodParams) SetDefaults()

SetDefaults hydrates default values in the kube apply libpod params (not the query body).

All values with no default are reset to their zero value.

func (*KubeApplyLibpodParams) SetFile

func (o *KubeApplyLibpodParams) SetFile(file *string)

SetFile adds the file to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetHTTPClient

func (o *KubeApplyLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetKubeConfig

func (o *KubeApplyLibpodParams) SetKubeConfig(kubeConfig *string)

SetKubeConfig adds the kubeConfig to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetNamespace

func (o *KubeApplyLibpodParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetRequest

func (o *KubeApplyLibpodParams) SetRequest(request string)

SetRequest adds the request to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetService

func (o *KubeApplyLibpodParams) SetService(service *bool)

SetService adds the service to the kube apply libpod params.

func (*KubeApplyLibpodParams) SetTimeout

func (o *KubeApplyLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithCaCertFile

func (o *KubeApplyLibpodParams) WithCaCertFile(caCertFile *string) *KubeApplyLibpodParams

WithCaCertFile adds the caCertFile to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithContext deprecated

WithContext adds the context to the kube apply libpod params.

Deprecated: use the operation call with context to pass the context instead of KubeApplyLibpodParams.

func (*KubeApplyLibpodParams) WithDefaults

func (o *KubeApplyLibpodParams) WithDefaults() *KubeApplyLibpodParams

WithDefaults hydrates default values in the kube apply libpod params (not the query body).

All values with no default are reset to their zero value.

func (*KubeApplyLibpodParams) WithFile

WithFile adds the file to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithHTTPClient

func (o *KubeApplyLibpodParams) WithHTTPClient(client *http.Client) *KubeApplyLibpodParams

WithHTTPClient adds the HTTPClient to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithKubeConfig

func (o *KubeApplyLibpodParams) WithKubeConfig(kubeConfig *string) *KubeApplyLibpodParams

WithKubeConfig adds the kubeConfig to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithNamespace

func (o *KubeApplyLibpodParams) WithNamespace(namespace *string) *KubeApplyLibpodParams

WithNamespace adds the namespace to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithRequest

func (o *KubeApplyLibpodParams) WithRequest(request string) *KubeApplyLibpodParams

WithRequest adds the request to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithService

func (o *KubeApplyLibpodParams) WithService(service *bool) *KubeApplyLibpodParams

WithService adds the service to the kube apply libpod params.

func (*KubeApplyLibpodParams) WithTimeout

func (o *KubeApplyLibpodParams) WithTimeout(timeout time.Duration) *KubeApplyLibpodParams

WithTimeout adds the timeout to the kube apply libpod params.

func (*KubeApplyLibpodParams) WriteToRequest

func (o *KubeApplyLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type KubeApplyLibpodReader

type KubeApplyLibpodReader struct {
	// contains filtered or unexported fields
}

KubeApplyLibpodReader is a Reader for the KubeApplyLibpod structure.

func (*KubeApplyLibpodReader) ReadResponse

func (o *KubeApplyLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PlayKubeDownLibpodInternalServerError

type PlayKubeDownLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PlayKubeDownLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPlayKubeDownLibpodInternalServerError

func NewPlayKubeDownLibpodInternalServerError() *PlayKubeDownLibpodInternalServerError

NewPlayKubeDownLibpodInternalServerError creates a PlayKubeDownLibpodInternalServerError with default headers values

func (*PlayKubeDownLibpodInternalServerError) Code

Code gets the status code for the play kube down libpod internal server error response

func (*PlayKubeDownLibpodInternalServerError) Error

func (*PlayKubeDownLibpodInternalServerError) GetPayload

func (*PlayKubeDownLibpodInternalServerError) IsClientError

func (o *PlayKubeDownLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this play kube down libpod internal server error response has a 4xx status code

func (*PlayKubeDownLibpodInternalServerError) IsCode

IsCode returns true when this play kube down libpod internal server error response a status code equal to that given

func (*PlayKubeDownLibpodInternalServerError) IsRedirect

IsRedirect returns true when this play kube down libpod internal server error response has a 3xx status code

func (*PlayKubeDownLibpodInternalServerError) IsServerError

func (o *PlayKubeDownLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this play kube down libpod internal server error response has a 5xx status code

func (*PlayKubeDownLibpodInternalServerError) IsSuccess

IsSuccess returns true when this play kube down libpod internal server error response has a 2xx status code

func (*PlayKubeDownLibpodInternalServerError) String

type PlayKubeDownLibpodOK

type PlayKubeDownLibpodOK struct {
	Payload *models.PlayKubeReport
}

PlayKubeDownLibpodOK describes a response with status code 200, with default header values.

PlayKube response

func NewPlayKubeDownLibpodOK

func NewPlayKubeDownLibpodOK() *PlayKubeDownLibpodOK

NewPlayKubeDownLibpodOK creates a PlayKubeDownLibpodOK with default headers values

func (*PlayKubeDownLibpodOK) Code

func (o *PlayKubeDownLibpodOK) Code() int

Code gets the status code for the play kube down libpod o k response

func (*PlayKubeDownLibpodOK) Error

func (o *PlayKubeDownLibpodOK) Error() string

func (*PlayKubeDownLibpodOK) GetPayload

func (o *PlayKubeDownLibpodOK) GetPayload() *models.PlayKubeReport

func (*PlayKubeDownLibpodOK) IsClientError

func (o *PlayKubeDownLibpodOK) IsClientError() bool

IsClientError returns true when this play kube down libpod o k response has a 4xx status code

func (*PlayKubeDownLibpodOK) IsCode

func (o *PlayKubeDownLibpodOK) IsCode(code int) bool

IsCode returns true when this play kube down libpod o k response a status code equal to that given

func (*PlayKubeDownLibpodOK) IsRedirect

func (o *PlayKubeDownLibpodOK) IsRedirect() bool

IsRedirect returns true when this play kube down libpod o k response has a 3xx status code

func (*PlayKubeDownLibpodOK) IsServerError

func (o *PlayKubeDownLibpodOK) IsServerError() bool

IsServerError returns true when this play kube down libpod o k response has a 5xx status code

func (*PlayKubeDownLibpodOK) IsSuccess

func (o *PlayKubeDownLibpodOK) IsSuccess() bool

IsSuccess returns true when this play kube down libpod o k response has a 2xx status code

func (*PlayKubeDownLibpodOK) String

func (o *PlayKubeDownLibpodOK) String() string

type PlayKubeDownLibpodParams

type PlayKubeDownLibpodParams struct {

	// Force.
	//
	// Remove volumes.
	Force *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PlayKubeDownLibpodParams contains all the parameters to send to the API endpoint

for the play kube down libpod operation.

Typically these are written to a http.Request.

func NewPlayKubeDownLibpodParams

func NewPlayKubeDownLibpodParams() *PlayKubeDownLibpodParams

NewPlayKubeDownLibpodParams creates a new PlayKubeDownLibpodParams 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 NewPlayKubeDownLibpodParamsWithContext deprecated

func NewPlayKubeDownLibpodParamsWithContext(ctx context.Context) *PlayKubeDownLibpodParams

NewPlayKubeDownLibpodParamsWithContext creates a new PlayKubeDownLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PlayKubeDownLibpodParams.

func NewPlayKubeDownLibpodParamsWithHTTPClient

func NewPlayKubeDownLibpodParamsWithHTTPClient(client *http.Client) *PlayKubeDownLibpodParams

NewPlayKubeDownLibpodParamsWithHTTPClient creates a new PlayKubeDownLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPlayKubeDownLibpodParamsWithTimeout

func NewPlayKubeDownLibpodParamsWithTimeout(timeout time.Duration) *PlayKubeDownLibpodParams

NewPlayKubeDownLibpodParamsWithTimeout creates a new PlayKubeDownLibpodParams object with the ability to set a timeout on a request.

func (*PlayKubeDownLibpodParams) SetContext deprecated

func (o *PlayKubeDownLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the play kube down libpod params.

Deprecated: use the operation call with context to pass the context instead of PlayKubeDownLibpodParams.

func (*PlayKubeDownLibpodParams) SetDefaults

func (o *PlayKubeDownLibpodParams) SetDefaults()

SetDefaults hydrates default values in the play kube down libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PlayKubeDownLibpodParams) SetForce

func (o *PlayKubeDownLibpodParams) SetForce(force *bool)

SetForce adds the force to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) SetHTTPClient

func (o *PlayKubeDownLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) SetTimeout

func (o *PlayKubeDownLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) WithContext deprecated

WithContext adds the context to the play kube down libpod params.

Deprecated: use the operation call with context to pass the context instead of PlayKubeDownLibpodParams.

func (*PlayKubeDownLibpodParams) WithDefaults

WithDefaults hydrates default values in the play kube down libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PlayKubeDownLibpodParams) WithForce

WithForce adds the force to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) WithHTTPClient

func (o *PlayKubeDownLibpodParams) WithHTTPClient(client *http.Client) *PlayKubeDownLibpodParams

WithHTTPClient adds the HTTPClient to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) WithTimeout

WithTimeout adds the timeout to the play kube down libpod params.

func (*PlayKubeDownLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PlayKubeDownLibpodReader

type PlayKubeDownLibpodReader struct {
	// contains filtered or unexported fields
}

PlayKubeDownLibpodReader is a Reader for the PlayKubeDownLibpod structure.

func (*PlayKubeDownLibpodReader) ReadResponse

func (o *PlayKubeDownLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PlayKubeLibpodInternalServerError

type PlayKubeLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PlayKubeLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPlayKubeLibpodInternalServerError

func NewPlayKubeLibpodInternalServerError() *PlayKubeLibpodInternalServerError

NewPlayKubeLibpodInternalServerError creates a PlayKubeLibpodInternalServerError with default headers values

func (*PlayKubeLibpodInternalServerError) Code

Code gets the status code for the play kube libpod internal server error response

func (*PlayKubeLibpodInternalServerError) Error

func (*PlayKubeLibpodInternalServerError) GetPayload

func (*PlayKubeLibpodInternalServerError) IsClientError

func (o *PlayKubeLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this play kube libpod internal server error response has a 4xx status code

func (*PlayKubeLibpodInternalServerError) IsCode

func (o *PlayKubeLibpodInternalServerError) IsCode(code int) bool

IsCode returns true when this play kube libpod internal server error response a status code equal to that given

func (*PlayKubeLibpodInternalServerError) IsRedirect

func (o *PlayKubeLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this play kube libpod internal server error response has a 3xx status code

func (*PlayKubeLibpodInternalServerError) IsServerError

func (o *PlayKubeLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this play kube libpod internal server error response has a 5xx status code

func (*PlayKubeLibpodInternalServerError) IsSuccess

func (o *PlayKubeLibpodInternalServerError) IsSuccess() bool

IsSuccess returns true when this play kube libpod internal server error response has a 2xx status code

func (*PlayKubeLibpodInternalServerError) String

type PlayKubeLibpodOK

type PlayKubeLibpodOK struct {
	Payload *models.PlayKubeReport
}

PlayKubeLibpodOK describes a response with status code 200, with default header values.

PlayKube response

func NewPlayKubeLibpodOK

func NewPlayKubeLibpodOK() *PlayKubeLibpodOK

NewPlayKubeLibpodOK creates a PlayKubeLibpodOK with default headers values

func (*PlayKubeLibpodOK) Code

func (o *PlayKubeLibpodOK) Code() int

Code gets the status code for the play kube libpod o k response

func (*PlayKubeLibpodOK) Error

func (o *PlayKubeLibpodOK) Error() string

func (*PlayKubeLibpodOK) GetPayload

func (o *PlayKubeLibpodOK) GetPayload() *models.PlayKubeReport

func (*PlayKubeLibpodOK) IsClientError

func (o *PlayKubeLibpodOK) IsClientError() bool

IsClientError returns true when this play kube libpod o k response has a 4xx status code

func (*PlayKubeLibpodOK) IsCode

func (o *PlayKubeLibpodOK) IsCode(code int) bool

IsCode returns true when this play kube libpod o k response a status code equal to that given

func (*PlayKubeLibpodOK) IsRedirect

func (o *PlayKubeLibpodOK) IsRedirect() bool

IsRedirect returns true when this play kube libpod o k response has a 3xx status code

func (*PlayKubeLibpodOK) IsServerError

func (o *PlayKubeLibpodOK) IsServerError() bool

IsServerError returns true when this play kube libpod o k response has a 5xx status code

func (*PlayKubeLibpodOK) IsSuccess

func (o *PlayKubeLibpodOK) IsSuccess() bool

IsSuccess returns true when this play kube libpod o k response has a 2xx status code

func (*PlayKubeLibpodOK) String

func (o *PlayKubeLibpodOK) String() string

type PlayKubeLibpodParams

type PlayKubeLibpodParams struct {

	// ContentType.
	//
	// Default: "plain/text"
	ContentType *string

	// Annotations.
	//
	// JSON encoded value of annotations (a map[string]string).
	Annotations *string

	// Build.
	//
	// Build the images with corresponding context.
	Build *bool

	// LogDriver.
	//
	// Logging driver for the containers in the pod.
	LogDriver *string

	// LogOptions.
	//
	// logging driver options
	LogOptions []string

	// Network.
	//
	// USe the network mode or specify an array of networks.
	Network []string

	// NoHosts.
	//
	// do not setup /etc/hosts file in container
	NoHosts *bool

	// NoTrunc.
	//
	// use annotations that are not truncated to the Kubernetes maximum length of 63 characters
	NoTrunc *bool

	// PublishAllPorts.
	//
	// Whether to publish all ports defined in the K8S YAML file (containerPort, hostPort), if false only hostPort will be published
	PublishAllPorts *bool

	// PublishPorts.
	//
	// publish a container's port, or a range of ports, to the host
	PublishPorts []string

	// Replace.
	//
	// replace existing pods and containers
	Replace *bool

	// Request.
	//
	// Kubernetes YAML file.
	Request string

	// ServiceContainer.
	//
	// Starts a service container before all pods.
	ServiceContainer *bool

	// Start.
	//
	// Start the pod after creating it.
	//
	// Default: true
	Start *bool

	// StaticIPs.
	//
	// Static IPs used for the pods.
	StaticIPs []string

	// StaticMACs.
	//
	// Static MACs used for the pods.
	StaticMACs []string

	// TLSVerify.
	//
	// Require HTTPS and verify signatures when contacting registries.
	//
	// Default: true
	TLSVerify *bool

	// Userns.
	//
	// Set the user namespace mode for the pods.
	Userns *string

	// Wait.
	//
	// Clean up all objects created when a SIGTERM is received or pods exit.
	Wait *bool

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PlayKubeLibpodParams contains all the parameters to send to the API endpoint

for the play kube libpod operation.

Typically these are written to a http.Request.

func NewPlayKubeLibpodParams

func NewPlayKubeLibpodParams() *PlayKubeLibpodParams

NewPlayKubeLibpodParams creates a new PlayKubeLibpodParams 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 NewPlayKubeLibpodParamsWithContext deprecated

func NewPlayKubeLibpodParamsWithContext(ctx context.Context) *PlayKubeLibpodParams

NewPlayKubeLibpodParamsWithContext creates a new PlayKubeLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PlayKubeLibpodParams.

func NewPlayKubeLibpodParamsWithHTTPClient

func NewPlayKubeLibpodParamsWithHTTPClient(client *http.Client) *PlayKubeLibpodParams

NewPlayKubeLibpodParamsWithHTTPClient creates a new PlayKubeLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPlayKubeLibpodParamsWithTimeout

func NewPlayKubeLibpodParamsWithTimeout(timeout time.Duration) *PlayKubeLibpodParams

NewPlayKubeLibpodParamsWithTimeout creates a new PlayKubeLibpodParams object with the ability to set a timeout on a request.

func (*PlayKubeLibpodParams) SetAnnotations

func (o *PlayKubeLibpodParams) SetAnnotations(annotations *string)

SetAnnotations adds the annotations to the play kube libpod params.

func (*PlayKubeLibpodParams) SetBuild

func (o *PlayKubeLibpodParams) SetBuild(build *bool)

SetBuild adds the build to the play kube libpod params.

func (*PlayKubeLibpodParams) SetContentType

func (o *PlayKubeLibpodParams) SetContentType(contentType *string)

SetContentType adds the contentType to the play kube libpod params.

func (*PlayKubeLibpodParams) SetContext deprecated

func (o *PlayKubeLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the play kube libpod params.

Deprecated: use the operation call with context to pass the context instead of PlayKubeLibpodParams.

func (*PlayKubeLibpodParams) SetDefaults

func (o *PlayKubeLibpodParams) SetDefaults()

SetDefaults hydrates default values in the play kube libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PlayKubeLibpodParams) SetHTTPClient

func (o *PlayKubeLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the play kube libpod params.

func (*PlayKubeLibpodParams) SetLogDriver

func (o *PlayKubeLibpodParams) SetLogDriver(logDriver *string)

SetLogDriver adds the logDriver to the play kube libpod params.

func (*PlayKubeLibpodParams) SetLogOptions

func (o *PlayKubeLibpodParams) SetLogOptions(logOptions []string)

SetLogOptions adds the logOptions to the play kube libpod params.

func (*PlayKubeLibpodParams) SetNetwork

func (o *PlayKubeLibpodParams) SetNetwork(network []string)

SetNetwork adds the network to the play kube libpod params.

func (*PlayKubeLibpodParams) SetNoHosts

func (o *PlayKubeLibpodParams) SetNoHosts(noHosts *bool)

SetNoHosts adds the noHosts to the play kube libpod params.

func (*PlayKubeLibpodParams) SetNoTrunc

func (o *PlayKubeLibpodParams) SetNoTrunc(noTrunc *bool)

SetNoTrunc adds the noTrunc to the play kube libpod params.

func (*PlayKubeLibpodParams) SetPublishAllPorts

func (o *PlayKubeLibpodParams) SetPublishAllPorts(publishAllPorts *bool)

SetPublishAllPorts adds the publishAllPorts to the play kube libpod params.

func (*PlayKubeLibpodParams) SetPublishPorts

func (o *PlayKubeLibpodParams) SetPublishPorts(publishPorts []string)

SetPublishPorts adds the publishPorts to the play kube libpod params.

func (*PlayKubeLibpodParams) SetReplace

func (o *PlayKubeLibpodParams) SetReplace(replace *bool)

SetReplace adds the replace to the play kube libpod params.

func (*PlayKubeLibpodParams) SetRequest

func (o *PlayKubeLibpodParams) SetRequest(request string)

SetRequest adds the request to the play kube libpod params.

func (*PlayKubeLibpodParams) SetServiceContainer

func (o *PlayKubeLibpodParams) SetServiceContainer(serviceContainer *bool)

SetServiceContainer adds the serviceContainer to the play kube libpod params.

func (*PlayKubeLibpodParams) SetStart

func (o *PlayKubeLibpodParams) SetStart(start *bool)

SetStart adds the start to the play kube libpod params.

func (*PlayKubeLibpodParams) SetStaticIPs

func (o *PlayKubeLibpodParams) SetStaticIPs(staticIPs []string)

SetStaticIPs adds the staticIps to the play kube libpod params.

func (*PlayKubeLibpodParams) SetStaticMACs

func (o *PlayKubeLibpodParams) SetStaticMACs(staticMACs []string)

SetStaticMACs adds the staticMACs to the play kube libpod params.

func (*PlayKubeLibpodParams) SetTLSVerify

func (o *PlayKubeLibpodParams) SetTLSVerify(tlsVerify *bool)

SetTLSVerify adds the tlsVerify to the play kube libpod params.

func (*PlayKubeLibpodParams) SetTimeout

func (o *PlayKubeLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the play kube libpod params.

func (*PlayKubeLibpodParams) SetUserns

func (o *PlayKubeLibpodParams) SetUserns(userns *string)

SetUserns adds the userns to the play kube libpod params.

func (*PlayKubeLibpodParams) SetWait

func (o *PlayKubeLibpodParams) SetWait(wait *bool)

SetWait adds the wait to the play kube libpod params.

func (*PlayKubeLibpodParams) WithAnnotations

func (o *PlayKubeLibpodParams) WithAnnotations(annotations *string) *PlayKubeLibpodParams

WithAnnotations adds the annotations to the play kube libpod params.

func (*PlayKubeLibpodParams) WithBuild

func (o *PlayKubeLibpodParams) WithBuild(build *bool) *PlayKubeLibpodParams

WithBuild adds the build to the play kube libpod params.

func (*PlayKubeLibpodParams) WithContentType

func (o *PlayKubeLibpodParams) WithContentType(contentType *string) *PlayKubeLibpodParams

WithContentType adds the contentType to the play kube libpod params.

func (*PlayKubeLibpodParams) WithContext deprecated

WithContext adds the context to the play kube libpod params.

Deprecated: use the operation call with context to pass the context instead of PlayKubeLibpodParams.

func (*PlayKubeLibpodParams) WithDefaults

func (o *PlayKubeLibpodParams) WithDefaults() *PlayKubeLibpodParams

WithDefaults hydrates default values in the play kube libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PlayKubeLibpodParams) WithHTTPClient

func (o *PlayKubeLibpodParams) WithHTTPClient(client *http.Client) *PlayKubeLibpodParams

WithHTTPClient adds the HTTPClient to the play kube libpod params.

func (*PlayKubeLibpodParams) WithLogDriver

func (o *PlayKubeLibpodParams) WithLogDriver(logDriver *string) *PlayKubeLibpodParams

WithLogDriver adds the logDriver to the play kube libpod params.

func (*PlayKubeLibpodParams) WithLogOptions

func (o *PlayKubeLibpodParams) WithLogOptions(logOptions []string) *PlayKubeLibpodParams

WithLogOptions adds the logOptions to the play kube libpod params.

func (*PlayKubeLibpodParams) WithNetwork

func (o *PlayKubeLibpodParams) WithNetwork(network []string) *PlayKubeLibpodParams

WithNetwork adds the network to the play kube libpod params.

func (*PlayKubeLibpodParams) WithNoHosts

func (o *PlayKubeLibpodParams) WithNoHosts(noHosts *bool) *PlayKubeLibpodParams

WithNoHosts adds the noHosts to the play kube libpod params.

func (*PlayKubeLibpodParams) WithNoTrunc

func (o *PlayKubeLibpodParams) WithNoTrunc(noTrunc *bool) *PlayKubeLibpodParams

WithNoTrunc adds the noTrunc to the play kube libpod params.

func (*PlayKubeLibpodParams) WithPublishAllPorts

func (o *PlayKubeLibpodParams) WithPublishAllPorts(publishAllPorts *bool) *PlayKubeLibpodParams

WithPublishAllPorts adds the publishAllPorts to the play kube libpod params.

func (*PlayKubeLibpodParams) WithPublishPorts

func (o *PlayKubeLibpodParams) WithPublishPorts(publishPorts []string) *PlayKubeLibpodParams

WithPublishPorts adds the publishPorts to the play kube libpod params.

func (*PlayKubeLibpodParams) WithReplace

func (o *PlayKubeLibpodParams) WithReplace(replace *bool) *PlayKubeLibpodParams

WithReplace adds the replace to the play kube libpod params.

func (*PlayKubeLibpodParams) WithRequest

func (o *PlayKubeLibpodParams) WithRequest(request string) *PlayKubeLibpodParams

WithRequest adds the request to the play kube libpod params.

func (*PlayKubeLibpodParams) WithServiceContainer

func (o *PlayKubeLibpodParams) WithServiceContainer(serviceContainer *bool) *PlayKubeLibpodParams

WithServiceContainer adds the serviceContainer to the play kube libpod params.

func (*PlayKubeLibpodParams) WithStart

func (o *PlayKubeLibpodParams) WithStart(start *bool) *PlayKubeLibpodParams

WithStart adds the start to the play kube libpod params.

func (*PlayKubeLibpodParams) WithStaticIPs

func (o *PlayKubeLibpodParams) WithStaticIPs(staticIPs []string) *PlayKubeLibpodParams

WithStaticIPs adds the staticIPs to the play kube libpod params.

func (*PlayKubeLibpodParams) WithStaticMACs

func (o *PlayKubeLibpodParams) WithStaticMACs(staticMACs []string) *PlayKubeLibpodParams

WithStaticMACs adds the staticMACs to the play kube libpod params.

func (*PlayKubeLibpodParams) WithTLSVerify

func (o *PlayKubeLibpodParams) WithTLSVerify(tlsVerify *bool) *PlayKubeLibpodParams

WithTLSVerify adds the tlsVerify to the play kube libpod params.

func (*PlayKubeLibpodParams) WithTimeout

func (o *PlayKubeLibpodParams) WithTimeout(timeout time.Duration) *PlayKubeLibpodParams

WithTimeout adds the timeout to the play kube libpod params.

func (*PlayKubeLibpodParams) WithUserns

func (o *PlayKubeLibpodParams) WithUserns(userns *string) *PlayKubeLibpodParams

WithUserns adds the userns to the play kube libpod params.

func (*PlayKubeLibpodParams) WithWait

func (o *PlayKubeLibpodParams) WithWait(wait *bool) *PlayKubeLibpodParams

WithWait adds the wait to the play kube libpod params.

func (*PlayKubeLibpodParams) WriteToRequest

func (o *PlayKubeLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type PlayKubeLibpodReader

type PlayKubeLibpodReader struct {
	// contains filtered or unexported fields
}

PlayKubeLibpodReader is a Reader for the PlayKubeLibpod structure.

func (*PlayKubeLibpodReader) ReadResponse

func (o *PlayKubeLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PutContainerArchiveLibpodBadRequest

type PutContainerArchiveLibpodBadRequest struct {
	Payload *models.ErrorModel
}

PutContainerArchiveLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPutContainerArchiveLibpodBadRequest

func NewPutContainerArchiveLibpodBadRequest() *PutContainerArchiveLibpodBadRequest

NewPutContainerArchiveLibpodBadRequest creates a PutContainerArchiveLibpodBadRequest with default headers values

func (*PutContainerArchiveLibpodBadRequest) Code

Code gets the status code for the put container archive libpod bad request response

func (*PutContainerArchiveLibpodBadRequest) Error

func (*PutContainerArchiveLibpodBadRequest) GetPayload

func (*PutContainerArchiveLibpodBadRequest) IsClientError

func (o *PutContainerArchiveLibpodBadRequest) IsClientError() bool

IsClientError returns true when this put container archive libpod bad request response has a 4xx status code

func (*PutContainerArchiveLibpodBadRequest) IsCode

IsCode returns true when this put container archive libpod bad request response a status code equal to that given

func (*PutContainerArchiveLibpodBadRequest) IsRedirect

func (o *PutContainerArchiveLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this put container archive libpod bad request response has a 3xx status code

func (*PutContainerArchiveLibpodBadRequest) IsServerError

func (o *PutContainerArchiveLibpodBadRequest) IsServerError() bool

IsServerError returns true when this put container archive libpod bad request response has a 5xx status code

func (*PutContainerArchiveLibpodBadRequest) IsSuccess

IsSuccess returns true when this put container archive libpod bad request response has a 2xx status code

func (*PutContainerArchiveLibpodBadRequest) String

type PutContainerArchiveLibpodForbidden

type PutContainerArchiveLibpodForbidden struct {
}

PutContainerArchiveLibpodForbidden describes a response with status code 403, with default header values.

the container rootfs is read-only

func NewPutContainerArchiveLibpodForbidden

func NewPutContainerArchiveLibpodForbidden() *PutContainerArchiveLibpodForbidden

NewPutContainerArchiveLibpodForbidden creates a PutContainerArchiveLibpodForbidden with default headers values

func (*PutContainerArchiveLibpodForbidden) Code

Code gets the status code for the put container archive libpod forbidden response

func (*PutContainerArchiveLibpodForbidden) Error

func (*PutContainerArchiveLibpodForbidden) IsClientError

func (o *PutContainerArchiveLibpodForbidden) IsClientError() bool

IsClientError returns true when this put container archive libpod forbidden response has a 4xx status code

func (*PutContainerArchiveLibpodForbidden) IsCode

IsCode returns true when this put container archive libpod forbidden response a status code equal to that given

func (*PutContainerArchiveLibpodForbidden) IsRedirect

func (o *PutContainerArchiveLibpodForbidden) IsRedirect() bool

IsRedirect returns true when this put container archive libpod forbidden response has a 3xx status code

func (*PutContainerArchiveLibpodForbidden) IsServerError

func (o *PutContainerArchiveLibpodForbidden) IsServerError() bool

IsServerError returns true when this put container archive libpod forbidden response has a 5xx status code

func (*PutContainerArchiveLibpodForbidden) IsSuccess

IsSuccess returns true when this put container archive libpod forbidden response has a 2xx status code

func (*PutContainerArchiveLibpodForbidden) String

type PutContainerArchiveLibpodInternalServerError

type PutContainerArchiveLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

PutContainerArchiveLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPutContainerArchiveLibpodInternalServerError

func NewPutContainerArchiveLibpodInternalServerError() *PutContainerArchiveLibpodInternalServerError

NewPutContainerArchiveLibpodInternalServerError creates a PutContainerArchiveLibpodInternalServerError with default headers values

func (*PutContainerArchiveLibpodInternalServerError) Code

Code gets the status code for the put container archive libpod internal server error response

func (*PutContainerArchiveLibpodInternalServerError) Error

func (*PutContainerArchiveLibpodInternalServerError) GetPayload

func (*PutContainerArchiveLibpodInternalServerError) IsClientError

IsClientError returns true when this put container archive libpod internal server error response has a 4xx status code

func (*PutContainerArchiveLibpodInternalServerError) IsCode

IsCode returns true when this put container archive libpod internal server error response a status code equal to that given

func (*PutContainerArchiveLibpodInternalServerError) IsRedirect

IsRedirect returns true when this put container archive libpod internal server error response has a 3xx status code

func (*PutContainerArchiveLibpodInternalServerError) IsServerError

IsServerError returns true when this put container archive libpod internal server error response has a 5xx status code

func (*PutContainerArchiveLibpodInternalServerError) IsSuccess

IsSuccess returns true when this put container archive libpod internal server error response has a 2xx status code

func (*PutContainerArchiveLibpodInternalServerError) String

type PutContainerArchiveLibpodNotFound

type PutContainerArchiveLibpodNotFound struct {
	Payload *models.ErrorModel
}

PutContainerArchiveLibpodNotFound describes a response with status code 404, with default header values.

No such container

func NewPutContainerArchiveLibpodNotFound

func NewPutContainerArchiveLibpodNotFound() *PutContainerArchiveLibpodNotFound

NewPutContainerArchiveLibpodNotFound creates a PutContainerArchiveLibpodNotFound with default headers values

func (*PutContainerArchiveLibpodNotFound) Code

Code gets the status code for the put container archive libpod not found response

func (*PutContainerArchiveLibpodNotFound) Error

func (*PutContainerArchiveLibpodNotFound) GetPayload

func (*PutContainerArchiveLibpodNotFound) IsClientError

func (o *PutContainerArchiveLibpodNotFound) IsClientError() bool

IsClientError returns true when this put container archive libpod not found response has a 4xx status code

func (*PutContainerArchiveLibpodNotFound) IsCode

func (o *PutContainerArchiveLibpodNotFound) IsCode(code int) bool

IsCode returns true when this put container archive libpod not found response a status code equal to that given

func (*PutContainerArchiveLibpodNotFound) IsRedirect

func (o *PutContainerArchiveLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this put container archive libpod not found response has a 3xx status code

func (*PutContainerArchiveLibpodNotFound) IsServerError

func (o *PutContainerArchiveLibpodNotFound) IsServerError() bool

IsServerError returns true when this put container archive libpod not found response has a 5xx status code

func (*PutContainerArchiveLibpodNotFound) IsSuccess

func (o *PutContainerArchiveLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this put container archive libpod not found response has a 2xx status code

func (*PutContainerArchiveLibpodNotFound) String

type PutContainerArchiveLibpodOK

type PutContainerArchiveLibpodOK struct {
}

PutContainerArchiveLibpodOK describes a response with status code 200, with default header values.

no error

func NewPutContainerArchiveLibpodOK

func NewPutContainerArchiveLibpodOK() *PutContainerArchiveLibpodOK

NewPutContainerArchiveLibpodOK creates a PutContainerArchiveLibpodOK with default headers values

func (*PutContainerArchiveLibpodOK) Code

func (o *PutContainerArchiveLibpodOK) Code() int

Code gets the status code for the put container archive libpod o k response

func (*PutContainerArchiveLibpodOK) Error

func (*PutContainerArchiveLibpodOK) IsClientError

func (o *PutContainerArchiveLibpodOK) IsClientError() bool

IsClientError returns true when this put container archive libpod o k response has a 4xx status code

func (*PutContainerArchiveLibpodOK) IsCode

func (o *PutContainerArchiveLibpodOK) IsCode(code int) bool

IsCode returns true when this put container archive libpod o k response a status code equal to that given

func (*PutContainerArchiveLibpodOK) IsRedirect

func (o *PutContainerArchiveLibpodOK) IsRedirect() bool

IsRedirect returns true when this put container archive libpod o k response has a 3xx status code

func (*PutContainerArchiveLibpodOK) IsServerError

func (o *PutContainerArchiveLibpodOK) IsServerError() bool

IsServerError returns true when this put container archive libpod o k response has a 5xx status code

func (*PutContainerArchiveLibpodOK) IsSuccess

func (o *PutContainerArchiveLibpodOK) IsSuccess() bool

IsSuccess returns true when this put container archive libpod o k response has a 2xx status code

func (*PutContainerArchiveLibpodOK) String

func (o *PutContainerArchiveLibpodOK) String() string

type PutContainerArchiveLibpodParams

type PutContainerArchiveLibpodParams struct {

	// Name.
	//
	// container name or id
	Name string

	// Path.
	//
	// Path to a directory in the container to extract
	Path string

	// Pause.
	//
	// pause the container while copying (defaults to true)
	//
	// Default: true
	Pause *bool

	// Request.
	//
	// tarfile of files to copy into the container
	Request string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutContainerArchiveLibpodParams contains all the parameters to send to the API endpoint

for the put container archive libpod operation.

Typically these are written to a http.Request.

func NewPutContainerArchiveLibpodParams

func NewPutContainerArchiveLibpodParams() *PutContainerArchiveLibpodParams

NewPutContainerArchiveLibpodParams creates a new PutContainerArchiveLibpodParams 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 NewPutContainerArchiveLibpodParamsWithContext deprecated

func NewPutContainerArchiveLibpodParamsWithContext(ctx context.Context) *PutContainerArchiveLibpodParams

NewPutContainerArchiveLibpodParamsWithContext creates a new PutContainerArchiveLibpodParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PutContainerArchiveLibpodParams.

func NewPutContainerArchiveLibpodParamsWithHTTPClient

func NewPutContainerArchiveLibpodParamsWithHTTPClient(client *http.Client) *PutContainerArchiveLibpodParams

NewPutContainerArchiveLibpodParamsWithHTTPClient creates a new PutContainerArchiveLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPutContainerArchiveLibpodParamsWithTimeout

func NewPutContainerArchiveLibpodParamsWithTimeout(timeout time.Duration) *PutContainerArchiveLibpodParams

NewPutContainerArchiveLibpodParamsWithTimeout creates a new PutContainerArchiveLibpodParams object with the ability to set a timeout on a request.

func (*PutContainerArchiveLibpodParams) SetContext deprecated

func (o *PutContainerArchiveLibpodParams) SetContext(ctx context.Context)

SetContext adds the context to the put container archive libpod params.

Deprecated: use the operation call with context to pass the context instead of PutContainerArchiveLibpodParams.

func (*PutContainerArchiveLibpodParams) SetDefaults

func (o *PutContainerArchiveLibpodParams) SetDefaults()

SetDefaults hydrates default values in the put container archive libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PutContainerArchiveLibpodParams) SetHTTPClient

func (o *PutContainerArchiveLibpodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) SetName

func (o *PutContainerArchiveLibpodParams) SetName(name string)

SetName adds the name to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) SetPath

func (o *PutContainerArchiveLibpodParams) SetPath(path string)

SetPath adds the path to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) SetPause

func (o *PutContainerArchiveLibpodParams) SetPause(pause *bool)

SetPause adds the pause to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) SetRequest

func (o *PutContainerArchiveLibpodParams) SetRequest(request string)

SetRequest adds the request to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) SetTimeout

func (o *PutContainerArchiveLibpodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithContext deprecated

WithContext adds the context to the put container archive libpod params.

Deprecated: use the operation call with context to pass the context instead of PutContainerArchiveLibpodParams.

func (*PutContainerArchiveLibpodParams) WithDefaults

WithDefaults hydrates default values in the put container archive libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PutContainerArchiveLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithName

WithName adds the name to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithPath

WithPath adds the path to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithPause

WithPause adds the pause to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithRequest

WithRequest adds the request to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WithTimeout

WithTimeout adds the timeout to the put container archive libpod params.

func (*PutContainerArchiveLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PutContainerArchiveLibpodReader

type PutContainerArchiveLibpodReader struct {
	// contains filtered or unexported fields
}

PutContainerArchiveLibpodReader is a Reader for the PutContainerArchiveLibpod structure.

func (*PutContainerArchiveLibpodReader) ReadResponse

func (o *PutContainerArchiveLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址