volumes

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationxTar

func WithAcceptApplicationxTar(r *runtime.ClientOperation)

WithAcceptApplicationxTar sets the Accept header to "application/x-tar".

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VolumeCreateLibpod

func (a *Client) VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)

VolumeCreateLibpod creates a volume.

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

func (*Client) VolumeCreateLibpodContext

func (a *Client) VolumeCreateLibpodContext(ctx context.Context, params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)

VolumeCreateLibpodContext creates a volume.

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

func (*Client) VolumeDeleteLibpod

func (a *Client) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)

VolumeDeleteLibpod removes volume.

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

func (*Client) VolumeDeleteLibpodContext

func (a *Client) VolumeDeleteLibpodContext(ctx context.Context, params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)

VolumeDeleteLibpodContext removes volume.

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

func (*Client) VolumeExistsLibpod

func (a *Client) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)

VolumeExistsLibpod volumes exists.

Check if a volume exists.

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

func (*Client) VolumeExistsLibpodContext

func (a *Client) VolumeExistsLibpodContext(ctx context.Context, params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)

VolumeExistsLibpodContext volumes exists.

Check if a volume exists.

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

func (*Client) VolumeExportLibpod

func (a *Client) VolumeExportLibpod(params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)

VolumeExportLibpod exports a volume.

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

func (*Client) VolumeExportLibpodContext

func (a *Client) VolumeExportLibpodContext(ctx context.Context, params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)

VolumeExportLibpodContext exports a volume.

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

func (*Client) VolumeImportLibpod

func (a *Client) VolumeImportLibpod(params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)

VolumeImportLibpod populates a volume by importing provided tar.

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

func (*Client) VolumeImportLibpodContext

func (a *Client) VolumeImportLibpodContext(ctx context.Context, params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)

VolumeImportLibpodContext populates a volume by importing provided tar.

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

func (*Client) VolumeInspectLibpod

func (a *Client) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)

VolumeInspectLibpod inspects volume.

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

func (*Client) VolumeInspectLibpodContext

func (a *Client) VolumeInspectLibpodContext(ctx context.Context, params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)

VolumeInspectLibpodContext inspects volume.

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

func (*Client) VolumeListLibpod

func (a *Client) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)

VolumeListLibpod lists volumes.

Returns a list of volumes.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.VolumeListLibpodContext instead.

func (*Client) VolumeListLibpodContext

func (a *Client) VolumeListLibpodContext(ctx context.Context, params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)

VolumeListLibpodContext lists volumes.

Returns a list of volumes.

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

func (*Client) VolumePruneLibpod

func (a *Client) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)

VolumePruneLibpod prunes volumes.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.VolumePruneLibpodContext instead.

func (*Client) VolumePruneLibpodContext

func (a *Client) VolumePruneLibpodContext(ctx context.Context, params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)

VolumePruneLibpodContext prunes volumes.

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

func (*Client) VolumeRenameLibpod

func (a *Client) VolumeRenameLibpod(params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)

VolumeRenameLibpod renames an existing volume.

Rename a volume when the source volume exists, the new name is valid and unused, the volume is not mounted or used by any container, and the volume uses the local driver. .

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

func (*Client) VolumeRenameLibpodContext

func (a *Client) VolumeRenameLibpodContext(ctx context.Context, params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)

VolumeRenameLibpodContext renames an existing volume.

Rename a volume when the source volume exists, the new name is valid and unused, the volume is not mounted or used by any container, and the volume uses the local driver. .

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func 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 {

	// VolumeCreateLibpod create a volume.
	VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)

	// VolumeCreateLibpodContext create a volume.
	VolumeCreateLibpodContext(ctx context.Context, params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)

	// VolumeDeleteLibpod remove volume.
	VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)

	// VolumeDeleteLibpodContext remove volume.
	VolumeDeleteLibpodContext(ctx context.Context, params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)

	// VolumeExistsLibpod volume exists.
	VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)

	// VolumeExistsLibpodContext volume exists.
	VolumeExistsLibpodContext(ctx context.Context, params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)

	// VolumeExportLibpod export a volume.
	VolumeExportLibpod(params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)

	// VolumeExportLibpodContext export a volume.
	VolumeExportLibpodContext(ctx context.Context, params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)

	// VolumeImportLibpod populate a volume by importing provided tar.
	VolumeImportLibpod(params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)

	// VolumeImportLibpodContext populate a volume by importing provided tar.
	VolumeImportLibpodContext(ctx context.Context, params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)

	// VolumeInspectLibpod inspect volume.
	VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)

	// VolumeInspectLibpodContext inspect volume.
	VolumeInspectLibpodContext(ctx context.Context, params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)

	// VolumeListLibpod list volumes.
	VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)

	// VolumeListLibpodContext list volumes.
	VolumeListLibpodContext(ctx context.Context, params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)

	// VolumePruneLibpod prune volumes.
	VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)

	// VolumePruneLibpodContext prune volumes.
	VolumePruneLibpodContext(ctx context.Context, params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)

	// VolumeRenameLibpod rename an existing volume.
	VolumeRenameLibpod(params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)

	// VolumeRenameLibpodContext rename an existing volume.
	VolumeRenameLibpodContext(ctx context.Context, params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new volumes API client.

func NewClientWithBasicAuth

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

New creates a new volumes 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 volumes 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 VolumeCreateLibpodCreated

type VolumeCreateLibpodCreated struct {
	Payload *models.VolumeConfigResponse
}

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

Volume details

func NewVolumeCreateLibpodCreated

func NewVolumeCreateLibpodCreated() *VolumeCreateLibpodCreated

NewVolumeCreateLibpodCreated creates a VolumeCreateLibpodCreated with default headers values

func (*VolumeCreateLibpodCreated) Code

func (o *VolumeCreateLibpodCreated) Code() int

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

func (*VolumeCreateLibpodCreated) Error

func (o *VolumeCreateLibpodCreated) Error() string

func (*VolumeCreateLibpodCreated) GetPayload

func (*VolumeCreateLibpodCreated) IsClientError

func (o *VolumeCreateLibpodCreated) IsClientError() bool

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

func (*VolumeCreateLibpodCreated) IsCode

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

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

func (*VolumeCreateLibpodCreated) IsRedirect

func (o *VolumeCreateLibpodCreated) IsRedirect() bool

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

func (*VolumeCreateLibpodCreated) IsServerError

func (o *VolumeCreateLibpodCreated) IsServerError() bool

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

func (*VolumeCreateLibpodCreated) IsSuccess

func (o *VolumeCreateLibpodCreated) IsSuccess() bool

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

func (*VolumeCreateLibpodCreated) String

func (o *VolumeCreateLibpodCreated) String() string

type VolumeCreateLibpodInternalServerError

type VolumeCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeCreateLibpodInternalServerError

func NewVolumeCreateLibpodInternalServerError() *VolumeCreateLibpodInternalServerError

NewVolumeCreateLibpodInternalServerError creates a VolumeCreateLibpodInternalServerError with default headers values

func (*VolumeCreateLibpodInternalServerError) Code

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

func (*VolumeCreateLibpodInternalServerError) Error

func (*VolumeCreateLibpodInternalServerError) GetPayload

func (*VolumeCreateLibpodInternalServerError) IsClientError

func (o *VolumeCreateLibpodInternalServerError) IsClientError() bool

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

func (*VolumeCreateLibpodInternalServerError) IsCode

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

func (*VolumeCreateLibpodInternalServerError) IsRedirect

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

func (*VolumeCreateLibpodInternalServerError) IsServerError

func (o *VolumeCreateLibpodInternalServerError) IsServerError() bool

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

func (*VolumeCreateLibpodInternalServerError) IsSuccess

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

func (*VolumeCreateLibpodInternalServerError) String

type VolumeCreateLibpodParams

type VolumeCreateLibpodParams struct {

	// Create.
	//
	// attributes for creating a volume
	Create *models.VolumeCreateOptions

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

VolumeCreateLibpodParams contains all the parameters to send to the API endpoint

for the volume create libpod operation.

Typically these are written to a http.Request.

func NewVolumeCreateLibpodParams

func NewVolumeCreateLibpodParams() *VolumeCreateLibpodParams

NewVolumeCreateLibpodParams creates a new VolumeCreateLibpodParams 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 NewVolumeCreateLibpodParamsWithContext deprecated

func NewVolumeCreateLibpodParamsWithContext(ctx context.Context) *VolumeCreateLibpodParams

NewVolumeCreateLibpodParamsWithContext creates a new VolumeCreateLibpodParams object with the ability to set a context for a request.

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

func NewVolumeCreateLibpodParamsWithHTTPClient

func NewVolumeCreateLibpodParamsWithHTTPClient(client *http.Client) *VolumeCreateLibpodParams

NewVolumeCreateLibpodParamsWithHTTPClient creates a new VolumeCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeCreateLibpodParamsWithTimeout

func NewVolumeCreateLibpodParamsWithTimeout(timeout time.Duration) *VolumeCreateLibpodParams

NewVolumeCreateLibpodParamsWithTimeout creates a new VolumeCreateLibpodParams object with the ability to set a timeout on a request.

func (*VolumeCreateLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume create libpod params.

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

func (*VolumeCreateLibpodParams) SetCreate

func (o *VolumeCreateLibpodParams) SetCreate(create *models.VolumeCreateOptions)

SetCreate adds the create to the volume create libpod params.

func (*VolumeCreateLibpodParams) SetDefaults

func (o *VolumeCreateLibpodParams) SetDefaults()

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

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

func (*VolumeCreateLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume create libpod params.

func (*VolumeCreateLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume create libpod params.

func (*VolumeCreateLibpodParams) WithContext deprecated

WithContext adds the context to the volume create libpod params.

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

func (*VolumeCreateLibpodParams) WithCreate

WithCreate adds the create to the volume create libpod params.

func (*VolumeCreateLibpodParams) WithDefaults

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

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

func (*VolumeCreateLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume create libpod params.

func (*VolumeCreateLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume create libpod params.

func (*VolumeCreateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeCreateLibpodReader

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

VolumeCreateLibpodReader is a Reader for the VolumeCreateLibpod structure.

func (*VolumeCreateLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeDeleteLibpodConflict

type VolumeDeleteLibpodConflict struct {
}

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

Volume is in use and cannot be removed

func NewVolumeDeleteLibpodConflict

func NewVolumeDeleteLibpodConflict() *VolumeDeleteLibpodConflict

NewVolumeDeleteLibpodConflict creates a VolumeDeleteLibpodConflict with default headers values

func (*VolumeDeleteLibpodConflict) Code

func (o *VolumeDeleteLibpodConflict) Code() int

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

func (*VolumeDeleteLibpodConflict) Error

func (*VolumeDeleteLibpodConflict) IsClientError

func (o *VolumeDeleteLibpodConflict) IsClientError() bool

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

func (*VolumeDeleteLibpodConflict) IsCode

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

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

func (*VolumeDeleteLibpodConflict) IsRedirect

func (o *VolumeDeleteLibpodConflict) IsRedirect() bool

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

func (*VolumeDeleteLibpodConflict) IsServerError

func (o *VolumeDeleteLibpodConflict) IsServerError() bool

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

func (*VolumeDeleteLibpodConflict) IsSuccess

func (o *VolumeDeleteLibpodConflict) IsSuccess() bool

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

func (*VolumeDeleteLibpodConflict) String

func (o *VolumeDeleteLibpodConflict) String() string

type VolumeDeleteLibpodInternalServerError

type VolumeDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeDeleteLibpodInternalServerError

func NewVolumeDeleteLibpodInternalServerError() *VolumeDeleteLibpodInternalServerError

NewVolumeDeleteLibpodInternalServerError creates a VolumeDeleteLibpodInternalServerError with default headers values

func (*VolumeDeleteLibpodInternalServerError) Code

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

func (*VolumeDeleteLibpodInternalServerError) Error

func (*VolumeDeleteLibpodInternalServerError) GetPayload

func (*VolumeDeleteLibpodInternalServerError) IsClientError

func (o *VolumeDeleteLibpodInternalServerError) IsClientError() bool

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

func (*VolumeDeleteLibpodInternalServerError) IsCode

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

func (*VolumeDeleteLibpodInternalServerError) IsRedirect

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

func (*VolumeDeleteLibpodInternalServerError) IsServerError

func (o *VolumeDeleteLibpodInternalServerError) IsServerError() bool

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

func (*VolumeDeleteLibpodInternalServerError) IsSuccess

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

func (*VolumeDeleteLibpodInternalServerError) String

type VolumeDeleteLibpodNoContent

type VolumeDeleteLibpodNoContent struct {
}

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

no error

func NewVolumeDeleteLibpodNoContent

func NewVolumeDeleteLibpodNoContent() *VolumeDeleteLibpodNoContent

NewVolumeDeleteLibpodNoContent creates a VolumeDeleteLibpodNoContent with default headers values

func (*VolumeDeleteLibpodNoContent) Code

func (o *VolumeDeleteLibpodNoContent) Code() int

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

func (*VolumeDeleteLibpodNoContent) Error

func (*VolumeDeleteLibpodNoContent) IsClientError

func (o *VolumeDeleteLibpodNoContent) IsClientError() bool

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

func (*VolumeDeleteLibpodNoContent) IsCode

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

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

func (*VolumeDeleteLibpodNoContent) IsRedirect

func (o *VolumeDeleteLibpodNoContent) IsRedirect() bool

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

func (*VolumeDeleteLibpodNoContent) IsServerError

func (o *VolumeDeleteLibpodNoContent) IsServerError() bool

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

func (*VolumeDeleteLibpodNoContent) IsSuccess

func (o *VolumeDeleteLibpodNoContent) IsSuccess() bool

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

func (*VolumeDeleteLibpodNoContent) String

func (o *VolumeDeleteLibpodNoContent) String() string

type VolumeDeleteLibpodNotFound

type VolumeDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeDeleteLibpodNotFound

func NewVolumeDeleteLibpodNotFound() *VolumeDeleteLibpodNotFound

NewVolumeDeleteLibpodNotFound creates a VolumeDeleteLibpodNotFound with default headers values

func (*VolumeDeleteLibpodNotFound) Code

func (o *VolumeDeleteLibpodNotFound) Code() int

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

func (*VolumeDeleteLibpodNotFound) Error

func (*VolumeDeleteLibpodNotFound) GetPayload

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

func (*VolumeDeleteLibpodNotFound) IsClientError

func (o *VolumeDeleteLibpodNotFound) IsClientError() bool

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

func (*VolumeDeleteLibpodNotFound) IsCode

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

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

func (*VolumeDeleteLibpodNotFound) IsRedirect

func (o *VolumeDeleteLibpodNotFound) IsRedirect() bool

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

func (*VolumeDeleteLibpodNotFound) IsServerError

func (o *VolumeDeleteLibpodNotFound) IsServerError() bool

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

func (*VolumeDeleteLibpodNotFound) IsSuccess

func (o *VolumeDeleteLibpodNotFound) IsSuccess() bool

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

func (*VolumeDeleteLibpodNotFound) String

func (o *VolumeDeleteLibpodNotFound) String() string

type VolumeDeleteLibpodParams

type VolumeDeleteLibpodParams struct {

	// Force.
	//
	// force removal
	Force *bool

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

	// Timeout.
	//
	// timeout before forcibly killing any containers using the volume
	Timeout *int64

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

VolumeDeleteLibpodParams contains all the parameters to send to the API endpoint

for the volume delete libpod operation.

Typically these are written to a http.Request.

func NewVolumeDeleteLibpodParams

func NewVolumeDeleteLibpodParams() *VolumeDeleteLibpodParams

NewVolumeDeleteLibpodParams creates a new VolumeDeleteLibpodParams 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 NewVolumeDeleteLibpodParamsWithContext deprecated

func NewVolumeDeleteLibpodParamsWithContext(ctx context.Context) *VolumeDeleteLibpodParams

NewVolumeDeleteLibpodParamsWithContext creates a new VolumeDeleteLibpodParams object with the ability to set a context for a request.

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

func NewVolumeDeleteLibpodParamsWithHTTPClient

func NewVolumeDeleteLibpodParamsWithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams

NewVolumeDeleteLibpodParamsWithHTTPClient creates a new VolumeDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeDeleteLibpodParamsWithTimeout

func NewVolumeDeleteLibpodParamsWithTimeout(timeout time.Duration) *VolumeDeleteLibpodParams

NewVolumeDeleteLibpodParamsWithTimeout creates a new VolumeDeleteLibpodParams object with the ability to set a timeout on a request.

func (*VolumeDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume delete libpod params.

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

func (*VolumeDeleteLibpodParams) SetDefaults

func (o *VolumeDeleteLibpodParams) SetDefaults()

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

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

func (*VolumeDeleteLibpodParams) SetForce

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

SetForce adds the force to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) SetName

func (o *VolumeDeleteLibpodParams) SetName(name string)

SetName adds the name to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the volume delete libpod params.

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

func (*VolumeDeleteLibpodParams) WithDefaults

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

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

func (*VolumeDeleteLibpodParams) WithForce

WithForce adds the force to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WithName

WithName adds the name to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WithRequestTimeout

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

WithRequestTimeout adds the timeout to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the volume delete libpod params.

func (*VolumeDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeDeleteLibpodReader

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

VolumeDeleteLibpodReader is a Reader for the VolumeDeleteLibpod structure.

func (*VolumeDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeExistsLibpodInternalServerError

type VolumeExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeExistsLibpodInternalServerError

func NewVolumeExistsLibpodInternalServerError() *VolumeExistsLibpodInternalServerError

NewVolumeExistsLibpodInternalServerError creates a VolumeExistsLibpodInternalServerError with default headers values

func (*VolumeExistsLibpodInternalServerError) Code

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

func (*VolumeExistsLibpodInternalServerError) Error

func (*VolumeExistsLibpodInternalServerError) GetPayload

func (*VolumeExistsLibpodInternalServerError) IsClientError

func (o *VolumeExistsLibpodInternalServerError) IsClientError() bool

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

func (*VolumeExistsLibpodInternalServerError) IsCode

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

func (*VolumeExistsLibpodInternalServerError) IsRedirect

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

func (*VolumeExistsLibpodInternalServerError) IsServerError

func (o *VolumeExistsLibpodInternalServerError) IsServerError() bool

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

func (*VolumeExistsLibpodInternalServerError) IsSuccess

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

func (*VolumeExistsLibpodInternalServerError) String

type VolumeExistsLibpodNoContent

type VolumeExistsLibpodNoContent struct {
}

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

volume exists

func NewVolumeExistsLibpodNoContent

func NewVolumeExistsLibpodNoContent() *VolumeExistsLibpodNoContent

NewVolumeExistsLibpodNoContent creates a VolumeExistsLibpodNoContent with default headers values

func (*VolumeExistsLibpodNoContent) Code

func (o *VolumeExistsLibpodNoContent) Code() int

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

func (*VolumeExistsLibpodNoContent) Error

func (*VolumeExistsLibpodNoContent) IsClientError

func (o *VolumeExistsLibpodNoContent) IsClientError() bool

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

func (*VolumeExistsLibpodNoContent) IsCode

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

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

func (*VolumeExistsLibpodNoContent) IsRedirect

func (o *VolumeExistsLibpodNoContent) IsRedirect() bool

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

func (*VolumeExistsLibpodNoContent) IsServerError

func (o *VolumeExistsLibpodNoContent) IsServerError() bool

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

func (*VolumeExistsLibpodNoContent) IsSuccess

func (o *VolumeExistsLibpodNoContent) IsSuccess() bool

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

func (*VolumeExistsLibpodNoContent) String

func (o *VolumeExistsLibpodNoContent) String() string

type VolumeExistsLibpodNotFound

type VolumeExistsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeExistsLibpodNotFound

func NewVolumeExistsLibpodNotFound() *VolumeExistsLibpodNotFound

NewVolumeExistsLibpodNotFound creates a VolumeExistsLibpodNotFound with default headers values

func (*VolumeExistsLibpodNotFound) Code

func (o *VolumeExistsLibpodNotFound) Code() int

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

func (*VolumeExistsLibpodNotFound) Error

func (*VolumeExistsLibpodNotFound) GetPayload

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

func (*VolumeExistsLibpodNotFound) IsClientError

func (o *VolumeExistsLibpodNotFound) IsClientError() bool

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

func (*VolumeExistsLibpodNotFound) IsCode

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

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

func (*VolumeExistsLibpodNotFound) IsRedirect

func (o *VolumeExistsLibpodNotFound) IsRedirect() bool

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

func (*VolumeExistsLibpodNotFound) IsServerError

func (o *VolumeExistsLibpodNotFound) IsServerError() bool

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

func (*VolumeExistsLibpodNotFound) IsSuccess

func (o *VolumeExistsLibpodNotFound) IsSuccess() bool

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

func (*VolumeExistsLibpodNotFound) String

func (o *VolumeExistsLibpodNotFound) String() string

type VolumeExistsLibpodParams

type VolumeExistsLibpodParams struct {

	// Name.
	//
	// the name of the volume
	Name string

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

VolumeExistsLibpodParams contains all the parameters to send to the API endpoint

for the volume exists libpod operation.

Typically these are written to a http.Request.

func NewVolumeExistsLibpodParams

func NewVolumeExistsLibpodParams() *VolumeExistsLibpodParams

NewVolumeExistsLibpodParams creates a new VolumeExistsLibpodParams 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 NewVolumeExistsLibpodParamsWithContext deprecated

func NewVolumeExistsLibpodParamsWithContext(ctx context.Context) *VolumeExistsLibpodParams

NewVolumeExistsLibpodParamsWithContext creates a new VolumeExistsLibpodParams object with the ability to set a context for a request.

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

func NewVolumeExistsLibpodParamsWithHTTPClient

func NewVolumeExistsLibpodParamsWithHTTPClient(client *http.Client) *VolumeExistsLibpodParams

NewVolumeExistsLibpodParamsWithHTTPClient creates a new VolumeExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeExistsLibpodParamsWithTimeout

func NewVolumeExistsLibpodParamsWithTimeout(timeout time.Duration) *VolumeExistsLibpodParams

NewVolumeExistsLibpodParamsWithTimeout creates a new VolumeExistsLibpodParams object with the ability to set a timeout on a request.

func (*VolumeExistsLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume exists libpod params.

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

func (*VolumeExistsLibpodParams) SetDefaults

func (o *VolumeExistsLibpodParams) SetDefaults()

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

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

func (*VolumeExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume exists libpod params.

func (*VolumeExistsLibpodParams) SetName

func (o *VolumeExistsLibpodParams) SetName(name string)

SetName adds the name to the volume exists libpod params.

func (*VolumeExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume exists libpod params.

func (*VolumeExistsLibpodParams) WithContext deprecated

WithContext adds the context to the volume exists libpod params.

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

func (*VolumeExistsLibpodParams) WithDefaults

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

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

func (*VolumeExistsLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume exists libpod params.

func (*VolumeExistsLibpodParams) WithName

WithName adds the name to the volume exists libpod params.

func (*VolumeExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume exists libpod params.

func (*VolumeExistsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeExistsLibpodReader

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

VolumeExistsLibpodReader is a Reader for the VolumeExistsLibpod structure.

func (*VolumeExistsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeExportLibpodInternalServerError

type VolumeExportLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeExportLibpodInternalServerError

func NewVolumeExportLibpodInternalServerError() *VolumeExportLibpodInternalServerError

NewVolumeExportLibpodInternalServerError creates a VolumeExportLibpodInternalServerError with default headers values

func (*VolumeExportLibpodInternalServerError) Code

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

func (*VolumeExportLibpodInternalServerError) Error

func (*VolumeExportLibpodInternalServerError) GetPayload

func (*VolumeExportLibpodInternalServerError) IsClientError

func (o *VolumeExportLibpodInternalServerError) IsClientError() bool

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

func (*VolumeExportLibpodInternalServerError) IsCode

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

func (*VolumeExportLibpodInternalServerError) IsRedirect

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

func (*VolumeExportLibpodInternalServerError) IsServerError

func (o *VolumeExportLibpodInternalServerError) IsServerError() bool

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

func (*VolumeExportLibpodInternalServerError) IsSuccess

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

func (*VolumeExportLibpodInternalServerError) String

type VolumeExportLibpodNotFound

type VolumeExportLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeExportLibpodNotFound

func NewVolumeExportLibpodNotFound() *VolumeExportLibpodNotFound

NewVolumeExportLibpodNotFound creates a VolumeExportLibpodNotFound with default headers values

func (*VolumeExportLibpodNotFound) Code

func (o *VolumeExportLibpodNotFound) Code() int

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

func (*VolumeExportLibpodNotFound) Error

func (*VolumeExportLibpodNotFound) GetPayload

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

func (*VolumeExportLibpodNotFound) IsClientError

func (o *VolumeExportLibpodNotFound) IsClientError() bool

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

func (*VolumeExportLibpodNotFound) IsCode

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

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

func (*VolumeExportLibpodNotFound) IsRedirect

func (o *VolumeExportLibpodNotFound) IsRedirect() bool

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

func (*VolumeExportLibpodNotFound) IsServerError

func (o *VolumeExportLibpodNotFound) IsServerError() bool

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

func (*VolumeExportLibpodNotFound) IsSuccess

func (o *VolumeExportLibpodNotFound) IsSuccess() bool

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

func (*VolumeExportLibpodNotFound) String

func (o *VolumeExportLibpodNotFound) String() string

type VolumeExportLibpodOK

type VolumeExportLibpodOK struct {
	Payload io.Writer
}

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

no error

func NewVolumeExportLibpodOK

func NewVolumeExportLibpodOK(writer io.Writer) *VolumeExportLibpodOK

NewVolumeExportLibpodOK creates a VolumeExportLibpodOK with default headers values

func (*VolumeExportLibpodOK) Code

func (o *VolumeExportLibpodOK) Code() int

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

func (*VolumeExportLibpodOK) Error

func (o *VolumeExportLibpodOK) Error() string

func (*VolumeExportLibpodOK) GetPayload

func (o *VolumeExportLibpodOK) GetPayload() io.Writer

func (*VolumeExportLibpodOK) IsClientError

func (o *VolumeExportLibpodOK) IsClientError() bool

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

func (*VolumeExportLibpodOK) IsCode

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

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

func (*VolumeExportLibpodOK) IsRedirect

func (o *VolumeExportLibpodOK) IsRedirect() bool

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

func (*VolumeExportLibpodOK) IsServerError

func (o *VolumeExportLibpodOK) IsServerError() bool

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

func (*VolumeExportLibpodOK) IsSuccess

func (o *VolumeExportLibpodOK) IsSuccess() bool

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

func (*VolumeExportLibpodOK) String

func (o *VolumeExportLibpodOK) String() string

type VolumeExportLibpodParams

type VolumeExportLibpodParams struct {

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

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

VolumeExportLibpodParams contains all the parameters to send to the API endpoint

for the volume export libpod operation.

Typically these are written to a http.Request.

func NewVolumeExportLibpodParams

func NewVolumeExportLibpodParams() *VolumeExportLibpodParams

NewVolumeExportLibpodParams creates a new VolumeExportLibpodParams 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 NewVolumeExportLibpodParamsWithContext deprecated

func NewVolumeExportLibpodParamsWithContext(ctx context.Context) *VolumeExportLibpodParams

NewVolumeExportLibpodParamsWithContext creates a new VolumeExportLibpodParams object with the ability to set a context for a request.

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

func NewVolumeExportLibpodParamsWithHTTPClient

func NewVolumeExportLibpodParamsWithHTTPClient(client *http.Client) *VolumeExportLibpodParams

NewVolumeExportLibpodParamsWithHTTPClient creates a new VolumeExportLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeExportLibpodParamsWithTimeout

func NewVolumeExportLibpodParamsWithTimeout(timeout time.Duration) *VolumeExportLibpodParams

NewVolumeExportLibpodParamsWithTimeout creates a new VolumeExportLibpodParams object with the ability to set a timeout on a request.

func (*VolumeExportLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume export libpod params.

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

func (*VolumeExportLibpodParams) SetDefaults

func (o *VolumeExportLibpodParams) SetDefaults()

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

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

func (*VolumeExportLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume export libpod params.

func (*VolumeExportLibpodParams) SetName

func (o *VolumeExportLibpodParams) SetName(name string)

SetName adds the name to the volume export libpod params.

func (*VolumeExportLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume export libpod params.

func (*VolumeExportLibpodParams) WithContext deprecated

WithContext adds the context to the volume export libpod params.

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

func (*VolumeExportLibpodParams) WithDefaults

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

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

func (*VolumeExportLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume export libpod params.

func (*VolumeExportLibpodParams) WithName

WithName adds the name to the volume export libpod params.

func (*VolumeExportLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume export libpod params.

func (*VolumeExportLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeExportLibpodReader

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

VolumeExportLibpodReader is a Reader for the VolumeExportLibpod structure.

func (*VolumeExportLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeImportLibpodInternalServerError

type VolumeImportLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeImportLibpodInternalServerError

func NewVolumeImportLibpodInternalServerError() *VolumeImportLibpodInternalServerError

NewVolumeImportLibpodInternalServerError creates a VolumeImportLibpodInternalServerError with default headers values

func (*VolumeImportLibpodInternalServerError) Code

Code gets the status code for the volume import libpod internal server error response

func (*VolumeImportLibpodInternalServerError) Error

func (*VolumeImportLibpodInternalServerError) GetPayload

func (*VolumeImportLibpodInternalServerError) IsClientError

func (o *VolumeImportLibpodInternalServerError) IsClientError() bool

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

func (*VolumeImportLibpodInternalServerError) IsCode

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

func (*VolumeImportLibpodInternalServerError) IsRedirect

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

func (*VolumeImportLibpodInternalServerError) IsServerError

func (o *VolumeImportLibpodInternalServerError) IsServerError() bool

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

func (*VolumeImportLibpodInternalServerError) IsSuccess

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

func (*VolumeImportLibpodInternalServerError) String

type VolumeImportLibpodNoContent

type VolumeImportLibpodNoContent struct {
}

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

Successful import

func NewVolumeImportLibpodNoContent

func NewVolumeImportLibpodNoContent() *VolumeImportLibpodNoContent

NewVolumeImportLibpodNoContent creates a VolumeImportLibpodNoContent with default headers values

func (*VolumeImportLibpodNoContent) Code

func (o *VolumeImportLibpodNoContent) Code() int

Code gets the status code for the volume import libpod no content response

func (*VolumeImportLibpodNoContent) Error

func (*VolumeImportLibpodNoContent) IsClientError

func (o *VolumeImportLibpodNoContent) IsClientError() bool

IsClientError returns true when this volume import libpod no content response has a 4xx status code

func (*VolumeImportLibpodNoContent) IsCode

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

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

func (*VolumeImportLibpodNoContent) IsRedirect

func (o *VolumeImportLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this volume import libpod no content response has a 3xx status code

func (*VolumeImportLibpodNoContent) IsServerError

func (o *VolumeImportLibpodNoContent) IsServerError() bool

IsServerError returns true when this volume import libpod no content response has a 5xx status code

func (*VolumeImportLibpodNoContent) IsSuccess

func (o *VolumeImportLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this volume import libpod no content response has a 2xx status code

func (*VolumeImportLibpodNoContent) String

func (o *VolumeImportLibpodNoContent) String() string

type VolumeImportLibpodNotFound

type VolumeImportLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeImportLibpodNotFound

func NewVolumeImportLibpodNotFound() *VolumeImportLibpodNotFound

NewVolumeImportLibpodNotFound creates a VolumeImportLibpodNotFound with default headers values

func (*VolumeImportLibpodNotFound) Code

func (o *VolumeImportLibpodNotFound) Code() int

Code gets the status code for the volume import libpod not found response

func (*VolumeImportLibpodNotFound) Error

func (*VolumeImportLibpodNotFound) GetPayload

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

func (*VolumeImportLibpodNotFound) IsClientError

func (o *VolumeImportLibpodNotFound) IsClientError() bool

IsClientError returns true when this volume import libpod not found response has a 4xx status code

func (*VolumeImportLibpodNotFound) IsCode

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

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

func (*VolumeImportLibpodNotFound) IsRedirect

func (o *VolumeImportLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this volume import libpod not found response has a 3xx status code

func (*VolumeImportLibpodNotFound) IsServerError

func (o *VolumeImportLibpodNotFound) IsServerError() bool

IsServerError returns true when this volume import libpod not found response has a 5xx status code

func (*VolumeImportLibpodNotFound) IsSuccess

func (o *VolumeImportLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this volume import libpod not found response has a 2xx status code

func (*VolumeImportLibpodNotFound) String

func (o *VolumeImportLibpodNotFound) String() string

type VolumeImportLibpodParams

type VolumeImportLibpodParams struct {

	// InputStream.
	//
	// An uncompressed tar archive
	//
	//
	// Format: binary
	InputStream io.ReadCloser

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

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

VolumeImportLibpodParams contains all the parameters to send to the API endpoint

for the volume import libpod operation.

Typically these are written to a http.Request.

func NewVolumeImportLibpodParams

func NewVolumeImportLibpodParams() *VolumeImportLibpodParams

NewVolumeImportLibpodParams creates a new VolumeImportLibpodParams 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 NewVolumeImportLibpodParamsWithContext deprecated

func NewVolumeImportLibpodParamsWithContext(ctx context.Context) *VolumeImportLibpodParams

NewVolumeImportLibpodParamsWithContext creates a new VolumeImportLibpodParams object with the ability to set a context for a request.

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

func NewVolumeImportLibpodParamsWithHTTPClient

func NewVolumeImportLibpodParamsWithHTTPClient(client *http.Client) *VolumeImportLibpodParams

NewVolumeImportLibpodParamsWithHTTPClient creates a new VolumeImportLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeImportLibpodParamsWithTimeout

func NewVolumeImportLibpodParamsWithTimeout(timeout time.Duration) *VolumeImportLibpodParams

NewVolumeImportLibpodParamsWithTimeout creates a new VolumeImportLibpodParams object with the ability to set a timeout on a request.

func (*VolumeImportLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume import libpod params.

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

func (*VolumeImportLibpodParams) SetDefaults

func (o *VolumeImportLibpodParams) SetDefaults()

SetDefaults hydrates default values in the volume import libpod params (not the query body).

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

func (*VolumeImportLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume import libpod params.

func (*VolumeImportLibpodParams) SetInputStream

func (o *VolumeImportLibpodParams) SetInputStream(inputStream io.ReadCloser)

SetInputStream adds the inputStream to the volume import libpod params.

func (*VolumeImportLibpodParams) SetName

func (o *VolumeImportLibpodParams) SetName(name string)

SetName adds the name to the volume import libpod params.

func (*VolumeImportLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume import libpod params.

func (*VolumeImportLibpodParams) WithContext deprecated

WithContext adds the context to the volume import libpod params.

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

func (*VolumeImportLibpodParams) WithDefaults

WithDefaults hydrates default values in the volume import libpod params (not the query body).

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

func (*VolumeImportLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume import libpod params.

func (*VolumeImportLibpodParams) WithInputStream

func (o *VolumeImportLibpodParams) WithInputStream(inputStream io.ReadCloser) *VolumeImportLibpodParams

WithInputStream adds the inputStream to the volume import libpod params.

func (*VolumeImportLibpodParams) WithName

WithName adds the name to the volume import libpod params.

func (*VolumeImportLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume import libpod params.

func (*VolumeImportLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeImportLibpodReader

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

VolumeImportLibpodReader is a Reader for the VolumeImportLibpod structure.

func (*VolumeImportLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeInspectLibpodInternalServerError

type VolumeInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeInspectLibpodInternalServerError

func NewVolumeInspectLibpodInternalServerError() *VolumeInspectLibpodInternalServerError

NewVolumeInspectLibpodInternalServerError creates a VolumeInspectLibpodInternalServerError with default headers values

func (*VolumeInspectLibpodInternalServerError) Code

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

func (*VolumeInspectLibpodInternalServerError) Error

func (*VolumeInspectLibpodInternalServerError) GetPayload

func (*VolumeInspectLibpodInternalServerError) IsClientError

func (o *VolumeInspectLibpodInternalServerError) IsClientError() bool

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

func (*VolumeInspectLibpodInternalServerError) IsCode

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

func (*VolumeInspectLibpodInternalServerError) IsRedirect

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

func (*VolumeInspectLibpodInternalServerError) IsServerError

func (o *VolumeInspectLibpodInternalServerError) IsServerError() bool

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

func (*VolumeInspectLibpodInternalServerError) IsSuccess

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

func (*VolumeInspectLibpodInternalServerError) String

type VolumeInspectLibpodNotFound

type VolumeInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeInspectLibpodNotFound

func NewVolumeInspectLibpodNotFound() *VolumeInspectLibpodNotFound

NewVolumeInspectLibpodNotFound creates a VolumeInspectLibpodNotFound with default headers values

func (*VolumeInspectLibpodNotFound) Code

func (o *VolumeInspectLibpodNotFound) Code() int

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

func (*VolumeInspectLibpodNotFound) Error

func (*VolumeInspectLibpodNotFound) GetPayload

func (*VolumeInspectLibpodNotFound) IsClientError

func (o *VolumeInspectLibpodNotFound) IsClientError() bool

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

func (*VolumeInspectLibpodNotFound) IsCode

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

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

func (*VolumeInspectLibpodNotFound) IsRedirect

func (o *VolumeInspectLibpodNotFound) IsRedirect() bool

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

func (*VolumeInspectLibpodNotFound) IsServerError

func (o *VolumeInspectLibpodNotFound) IsServerError() bool

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

func (*VolumeInspectLibpodNotFound) IsSuccess

func (o *VolumeInspectLibpodNotFound) IsSuccess() bool

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

func (*VolumeInspectLibpodNotFound) String

func (o *VolumeInspectLibpodNotFound) String() string

type VolumeInspectLibpodOK

type VolumeInspectLibpodOK struct {
	Payload *models.VolumeConfigResponse
}

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

Volume details

func NewVolumeInspectLibpodOK

func NewVolumeInspectLibpodOK() *VolumeInspectLibpodOK

NewVolumeInspectLibpodOK creates a VolumeInspectLibpodOK with default headers values

func (*VolumeInspectLibpodOK) Code

func (o *VolumeInspectLibpodOK) Code() int

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

func (*VolumeInspectLibpodOK) Error

func (o *VolumeInspectLibpodOK) Error() string

func (*VolumeInspectLibpodOK) GetPayload

func (*VolumeInspectLibpodOK) IsClientError

func (o *VolumeInspectLibpodOK) IsClientError() bool

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

func (*VolumeInspectLibpodOK) IsCode

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

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

func (*VolumeInspectLibpodOK) IsRedirect

func (o *VolumeInspectLibpodOK) IsRedirect() bool

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

func (*VolumeInspectLibpodOK) IsServerError

func (o *VolumeInspectLibpodOK) IsServerError() bool

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

func (*VolumeInspectLibpodOK) IsSuccess

func (o *VolumeInspectLibpodOK) IsSuccess() bool

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

func (*VolumeInspectLibpodOK) String

func (o *VolumeInspectLibpodOK) String() string

type VolumeInspectLibpodParams

type VolumeInspectLibpodParams struct {

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

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

VolumeInspectLibpodParams contains all the parameters to send to the API endpoint

for the volume inspect libpod operation.

Typically these are written to a http.Request.

func NewVolumeInspectLibpodParams

func NewVolumeInspectLibpodParams() *VolumeInspectLibpodParams

NewVolumeInspectLibpodParams creates a new VolumeInspectLibpodParams 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 NewVolumeInspectLibpodParamsWithContext deprecated

func NewVolumeInspectLibpodParamsWithContext(ctx context.Context) *VolumeInspectLibpodParams

NewVolumeInspectLibpodParamsWithContext creates a new VolumeInspectLibpodParams object with the ability to set a context for a request.

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

func NewVolumeInspectLibpodParamsWithHTTPClient

func NewVolumeInspectLibpodParamsWithHTTPClient(client *http.Client) *VolumeInspectLibpodParams

NewVolumeInspectLibpodParamsWithHTTPClient creates a new VolumeInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeInspectLibpodParamsWithTimeout

func NewVolumeInspectLibpodParamsWithTimeout(timeout time.Duration) *VolumeInspectLibpodParams

NewVolumeInspectLibpodParamsWithTimeout creates a new VolumeInspectLibpodParams object with the ability to set a timeout on a request.

func (*VolumeInspectLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume inspect libpod params.

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

func (*VolumeInspectLibpodParams) SetDefaults

func (o *VolumeInspectLibpodParams) SetDefaults()

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

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

func (*VolumeInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) SetName

func (o *VolumeInspectLibpodParams) SetName(name string)

SetName adds the name to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) WithContext deprecated

WithContext adds the context to the volume inspect libpod params.

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

func (*VolumeInspectLibpodParams) WithDefaults

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

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

func (*VolumeInspectLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) WithName

WithName adds the name to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume inspect libpod params.

func (*VolumeInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeInspectLibpodReader

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

VolumeInspectLibpodReader is a Reader for the VolumeInspectLibpod structure.

func (*VolumeInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeListLibpodInternalServerError

type VolumeListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeListLibpodInternalServerError

func NewVolumeListLibpodInternalServerError() *VolumeListLibpodInternalServerError

NewVolumeListLibpodInternalServerError creates a VolumeListLibpodInternalServerError with default headers values

func (*VolumeListLibpodInternalServerError) Code

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

func (*VolumeListLibpodInternalServerError) Error

func (*VolumeListLibpodInternalServerError) GetPayload

func (*VolumeListLibpodInternalServerError) IsClientError

func (o *VolumeListLibpodInternalServerError) IsClientError() bool

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

func (*VolumeListLibpodInternalServerError) IsCode

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

func (*VolumeListLibpodInternalServerError) IsRedirect

func (o *VolumeListLibpodInternalServerError) IsRedirect() bool

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

func (*VolumeListLibpodInternalServerError) IsServerError

func (o *VolumeListLibpodInternalServerError) IsServerError() bool

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

func (*VolumeListLibpodInternalServerError) IsSuccess

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

func (*VolumeListLibpodInternalServerError) String

type VolumeListLibpodOK

type VolumeListLibpodOK struct {
	Payload []*models.VolumeConfigResponse
}

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

Volume list

func NewVolumeListLibpodOK

func NewVolumeListLibpodOK() *VolumeListLibpodOK

NewVolumeListLibpodOK creates a VolumeListLibpodOK with default headers values

func (*VolumeListLibpodOK) Code

func (o *VolumeListLibpodOK) Code() int

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

func (*VolumeListLibpodOK) Error

func (o *VolumeListLibpodOK) Error() string

func (*VolumeListLibpodOK) GetPayload

func (o *VolumeListLibpodOK) GetPayload() []*models.VolumeConfigResponse

func (*VolumeListLibpodOK) IsClientError

func (o *VolumeListLibpodOK) IsClientError() bool

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

func (*VolumeListLibpodOK) IsCode

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

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

func (*VolumeListLibpodOK) IsRedirect

func (o *VolumeListLibpodOK) IsRedirect() bool

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

func (*VolumeListLibpodOK) IsServerError

func (o *VolumeListLibpodOK) IsServerError() bool

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

func (*VolumeListLibpodOK) IsSuccess

func (o *VolumeListLibpodOK) IsSuccess() bool

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

func (*VolumeListLibpodOK) String

func (o *VolumeListLibpodOK) String() string

type VolumeListLibpodParams

type VolumeListLibpodParams struct {

	// Filters.
	//
	// JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters:
	//   - driver=<volume-driver-name> Matches volumes based on their driver.
	//   - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
	//   - name=<volume-name> Matches all of volume name.
	//   - opt=<driver-option> Matches a storage driver options
	//   - `until=<timestamp>` List volumes 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
}

VolumeListLibpodParams contains all the parameters to send to the API endpoint

for the volume list libpod operation.

Typically these are written to a http.Request.

func NewVolumeListLibpodParams

func NewVolumeListLibpodParams() *VolumeListLibpodParams

NewVolumeListLibpodParams creates a new VolumeListLibpodParams 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 NewVolumeListLibpodParamsWithContext deprecated

func NewVolumeListLibpodParamsWithContext(ctx context.Context) *VolumeListLibpodParams

NewVolumeListLibpodParamsWithContext creates a new VolumeListLibpodParams object with the ability to set a context for a request.

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

func NewVolumeListLibpodParamsWithHTTPClient

func NewVolumeListLibpodParamsWithHTTPClient(client *http.Client) *VolumeListLibpodParams

NewVolumeListLibpodParamsWithHTTPClient creates a new VolumeListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeListLibpodParamsWithTimeout

func NewVolumeListLibpodParamsWithTimeout(timeout time.Duration) *VolumeListLibpodParams

NewVolumeListLibpodParamsWithTimeout creates a new VolumeListLibpodParams object with the ability to set a timeout on a request.

func (*VolumeListLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume list libpod params.

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

func (*VolumeListLibpodParams) SetDefaults

func (o *VolumeListLibpodParams) SetDefaults()

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

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

func (*VolumeListLibpodParams) SetFilters

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

SetFilters adds the filters to the volume list libpod params.

func (*VolumeListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume list libpod params.

func (*VolumeListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume list libpod params.

func (*VolumeListLibpodParams) WithContext deprecated

WithContext adds the context to the volume list libpod params.

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

func (*VolumeListLibpodParams) WithDefaults

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

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

func (*VolumeListLibpodParams) WithFilters

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

WithFilters adds the filters to the volume list libpod params.

func (*VolumeListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume list libpod params.

func (*VolumeListLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume list libpod params.

func (*VolumeListLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeListLibpodReader

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

VolumeListLibpodReader is a Reader for the VolumeListLibpod structure.

func (*VolumeListLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumePruneLibpodInternalServerError

type VolumePruneLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumePruneLibpodInternalServerError

func NewVolumePruneLibpodInternalServerError() *VolumePruneLibpodInternalServerError

NewVolumePruneLibpodInternalServerError creates a VolumePruneLibpodInternalServerError with default headers values

func (*VolumePruneLibpodInternalServerError) Code

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

func (*VolumePruneLibpodInternalServerError) Error

func (*VolumePruneLibpodInternalServerError) GetPayload

func (*VolumePruneLibpodInternalServerError) IsClientError

func (o *VolumePruneLibpodInternalServerError) IsClientError() bool

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

func (*VolumePruneLibpodInternalServerError) IsCode

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

func (*VolumePruneLibpodInternalServerError) IsRedirect

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

func (*VolumePruneLibpodInternalServerError) IsServerError

func (o *VolumePruneLibpodInternalServerError) IsServerError() bool

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

func (*VolumePruneLibpodInternalServerError) IsSuccess

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

func (*VolumePruneLibpodInternalServerError) String

type VolumePruneLibpodOK

type VolumePruneLibpodOK struct {
	Payload []*models.ReportsPruneReport
}

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

Volume Prune

func NewVolumePruneLibpodOK

func NewVolumePruneLibpodOK() *VolumePruneLibpodOK

NewVolumePruneLibpodOK creates a VolumePruneLibpodOK with default headers values

func (*VolumePruneLibpodOK) Code

func (o *VolumePruneLibpodOK) Code() int

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

func (*VolumePruneLibpodOK) Error

func (o *VolumePruneLibpodOK) Error() string

func (*VolumePruneLibpodOK) GetPayload

func (o *VolumePruneLibpodOK) GetPayload() []*models.ReportsPruneReport

func (*VolumePruneLibpodOK) IsClientError

func (o *VolumePruneLibpodOK) IsClientError() bool

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

func (*VolumePruneLibpodOK) IsCode

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

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

func (*VolumePruneLibpodOK) IsRedirect

func (o *VolumePruneLibpodOK) IsRedirect() bool

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

func (*VolumePruneLibpodOK) IsServerError

func (o *VolumePruneLibpodOK) IsServerError() bool

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

func (*VolumePruneLibpodOK) IsSuccess

func (o *VolumePruneLibpodOK) IsSuccess() bool

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

func (*VolumePruneLibpodOK) String

func (o *VolumePruneLibpodOK) String() string

type VolumePruneLibpodParams

type VolumePruneLibpodParams struct {

	// Dryrun.
	//
	// Show which volumes would be pruned without removing them.
	Dryrun *bool

	// Filters.
	//
	// JSON encoded value of filters (a map[string][]string) to match volumes against before pruning.
	// Available filters:
	//   - `all` When true, prune all unused volumes; when false or unset, only anonymous unused volumes.
	//   - `anonymous` When true/false, restrict to anonymous or named volumes only.
	//   - `until=<timestamp>` Prune volumes created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
	//   - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune volumes with (or without, in case `label!=...` is used) the specified labels.
	//
	Filters *string

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

VolumePruneLibpodParams contains all the parameters to send to the API endpoint

for the volume prune libpod operation.

Typically these are written to a http.Request.

func NewVolumePruneLibpodParams

func NewVolumePruneLibpodParams() *VolumePruneLibpodParams

NewVolumePruneLibpodParams creates a new VolumePruneLibpodParams 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 NewVolumePruneLibpodParamsWithContext deprecated

func NewVolumePruneLibpodParamsWithContext(ctx context.Context) *VolumePruneLibpodParams

NewVolumePruneLibpodParamsWithContext creates a new VolumePruneLibpodParams object with the ability to set a context for a request.

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

func NewVolumePruneLibpodParamsWithHTTPClient

func NewVolumePruneLibpodParamsWithHTTPClient(client *http.Client) *VolumePruneLibpodParams

NewVolumePruneLibpodParamsWithHTTPClient creates a new VolumePruneLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumePruneLibpodParamsWithTimeout

func NewVolumePruneLibpodParamsWithTimeout(timeout time.Duration) *VolumePruneLibpodParams

NewVolumePruneLibpodParamsWithTimeout creates a new VolumePruneLibpodParams object with the ability to set a timeout on a request.

func (*VolumePruneLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume prune libpod params.

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

func (*VolumePruneLibpodParams) SetDefaults

func (o *VolumePruneLibpodParams) SetDefaults()

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

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

func (*VolumePruneLibpodParams) SetDryrun

func (o *VolumePruneLibpodParams) SetDryrun(dryrun *bool)

SetDryrun adds the dryrun to the volume prune libpod params.

func (*VolumePruneLibpodParams) SetFilters

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

SetFilters adds the filters to the volume prune libpod params.

func (*VolumePruneLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume prune libpod params.

func (*VolumePruneLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume prune libpod params.

func (*VolumePruneLibpodParams) WithContext deprecated

WithContext adds the context to the volume prune libpod params.

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

func (*VolumePruneLibpodParams) WithDefaults

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

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

func (*VolumePruneLibpodParams) WithDryrun

func (o *VolumePruneLibpodParams) WithDryrun(dryrun *bool) *VolumePruneLibpodParams

WithDryrun adds the dryrun to the volume prune libpod params.

func (*VolumePruneLibpodParams) WithFilters

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

WithFilters adds the filters to the volume prune libpod params.

func (*VolumePruneLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume prune libpod params.

func (*VolumePruneLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume prune libpod params.

func (*VolumePruneLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumePruneLibpodReader

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

VolumePruneLibpodReader is a Reader for the VolumePruneLibpod structure.

func (*VolumePruneLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeRenameLibpodBadRequest

type VolumeRenameLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewVolumeRenameLibpodBadRequest

func NewVolumeRenameLibpodBadRequest() *VolumeRenameLibpodBadRequest

NewVolumeRenameLibpodBadRequest creates a VolumeRenameLibpodBadRequest with default headers values

func (*VolumeRenameLibpodBadRequest) Code

Code gets the status code for the volume rename libpod bad request response

func (*VolumeRenameLibpodBadRequest) Error

func (*VolumeRenameLibpodBadRequest) GetPayload

func (*VolumeRenameLibpodBadRequest) IsClientError

func (o *VolumeRenameLibpodBadRequest) IsClientError() bool

IsClientError returns true when this volume rename libpod bad request response has a 4xx status code

func (*VolumeRenameLibpodBadRequest) IsCode

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

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

func (*VolumeRenameLibpodBadRequest) IsRedirect

func (o *VolumeRenameLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this volume rename libpod bad request response has a 3xx status code

func (*VolumeRenameLibpodBadRequest) IsServerError

func (o *VolumeRenameLibpodBadRequest) IsServerError() bool

IsServerError returns true when this volume rename libpod bad request response has a 5xx status code

func (*VolumeRenameLibpodBadRequest) IsSuccess

func (o *VolumeRenameLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this volume rename libpod bad request response has a 2xx status code

func (*VolumeRenameLibpodBadRequest) String

type VolumeRenameLibpodConflict

type VolumeRenameLibpodConflict struct {
}

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

Volume is in use or new name already exists

func NewVolumeRenameLibpodConflict

func NewVolumeRenameLibpodConflict() *VolumeRenameLibpodConflict

NewVolumeRenameLibpodConflict creates a VolumeRenameLibpodConflict with default headers values

func (*VolumeRenameLibpodConflict) Code

func (o *VolumeRenameLibpodConflict) Code() int

Code gets the status code for the volume rename libpod conflict response

func (*VolumeRenameLibpodConflict) Error

func (*VolumeRenameLibpodConflict) IsClientError

func (o *VolumeRenameLibpodConflict) IsClientError() bool

IsClientError returns true when this volume rename libpod conflict response has a 4xx status code

func (*VolumeRenameLibpodConflict) IsCode

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

IsCode returns true when this volume rename libpod conflict response a status code equal to that given

func (*VolumeRenameLibpodConflict) IsRedirect

func (o *VolumeRenameLibpodConflict) IsRedirect() bool

IsRedirect returns true when this volume rename libpod conflict response has a 3xx status code

func (*VolumeRenameLibpodConflict) IsServerError

func (o *VolumeRenameLibpodConflict) IsServerError() bool

IsServerError returns true when this volume rename libpod conflict response has a 5xx status code

func (*VolumeRenameLibpodConflict) IsSuccess

func (o *VolumeRenameLibpodConflict) IsSuccess() bool

IsSuccess returns true when this volume rename libpod conflict response has a 2xx status code

func (*VolumeRenameLibpodConflict) String

func (o *VolumeRenameLibpodConflict) String() string

type VolumeRenameLibpodInternalServerError

type VolumeRenameLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewVolumeRenameLibpodInternalServerError

func NewVolumeRenameLibpodInternalServerError() *VolumeRenameLibpodInternalServerError

NewVolumeRenameLibpodInternalServerError creates a VolumeRenameLibpodInternalServerError with default headers values

func (*VolumeRenameLibpodInternalServerError) Code

Code gets the status code for the volume rename libpod internal server error response

func (*VolumeRenameLibpodInternalServerError) Error

func (*VolumeRenameLibpodInternalServerError) GetPayload

func (*VolumeRenameLibpodInternalServerError) IsClientError

func (o *VolumeRenameLibpodInternalServerError) IsClientError() bool

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

func (*VolumeRenameLibpodInternalServerError) IsCode

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

func (*VolumeRenameLibpodInternalServerError) IsRedirect

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

func (*VolumeRenameLibpodInternalServerError) IsServerError

func (o *VolumeRenameLibpodInternalServerError) IsServerError() bool

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

func (*VolumeRenameLibpodInternalServerError) IsSuccess

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

func (*VolumeRenameLibpodInternalServerError) String

type VolumeRenameLibpodNoContent

type VolumeRenameLibpodNoContent struct {
}

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

Volume successfully renamed

func NewVolumeRenameLibpodNoContent

func NewVolumeRenameLibpodNoContent() *VolumeRenameLibpodNoContent

NewVolumeRenameLibpodNoContent creates a VolumeRenameLibpodNoContent with default headers values

func (*VolumeRenameLibpodNoContent) Code

func (o *VolumeRenameLibpodNoContent) Code() int

Code gets the status code for the volume rename libpod no content response

func (*VolumeRenameLibpodNoContent) Error

func (*VolumeRenameLibpodNoContent) IsClientError

func (o *VolumeRenameLibpodNoContent) IsClientError() bool

IsClientError returns true when this volume rename libpod no content response has a 4xx status code

func (*VolumeRenameLibpodNoContent) IsCode

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

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

func (*VolumeRenameLibpodNoContent) IsRedirect

func (o *VolumeRenameLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this volume rename libpod no content response has a 3xx status code

func (*VolumeRenameLibpodNoContent) IsServerError

func (o *VolumeRenameLibpodNoContent) IsServerError() bool

IsServerError returns true when this volume rename libpod no content response has a 5xx status code

func (*VolumeRenameLibpodNoContent) IsSuccess

func (o *VolumeRenameLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this volume rename libpod no content response has a 2xx status code

func (*VolumeRenameLibpodNoContent) String

func (o *VolumeRenameLibpodNoContent) String() string

type VolumeRenameLibpodNotFound

type VolumeRenameLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such volume

func NewVolumeRenameLibpodNotFound

func NewVolumeRenameLibpodNotFound() *VolumeRenameLibpodNotFound

NewVolumeRenameLibpodNotFound creates a VolumeRenameLibpodNotFound with default headers values

func (*VolumeRenameLibpodNotFound) Code

func (o *VolumeRenameLibpodNotFound) Code() int

Code gets the status code for the volume rename libpod not found response

func (*VolumeRenameLibpodNotFound) Error

func (*VolumeRenameLibpodNotFound) GetPayload

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

func (*VolumeRenameLibpodNotFound) IsClientError

func (o *VolumeRenameLibpodNotFound) IsClientError() bool

IsClientError returns true when this volume rename libpod not found response has a 4xx status code

func (*VolumeRenameLibpodNotFound) IsCode

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

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

func (*VolumeRenameLibpodNotFound) IsRedirect

func (o *VolumeRenameLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this volume rename libpod not found response has a 3xx status code

func (*VolumeRenameLibpodNotFound) IsServerError

func (o *VolumeRenameLibpodNotFound) IsServerError() bool

IsServerError returns true when this volume rename libpod not found response has a 5xx status code

func (*VolumeRenameLibpodNotFound) IsSuccess

func (o *VolumeRenameLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this volume rename libpod not found response has a 2xx status code

func (*VolumeRenameLibpodNotFound) String

func (o *VolumeRenameLibpodNotFound) String() string

type VolumeRenameLibpodParams

type VolumeRenameLibpodParams struct {

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

	// NewName.
	//
	// new volume name
	NewName string

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

VolumeRenameLibpodParams contains all the parameters to send to the API endpoint

for the volume rename libpod operation.

Typically these are written to a http.Request.

func NewVolumeRenameLibpodParams

func NewVolumeRenameLibpodParams() *VolumeRenameLibpodParams

NewVolumeRenameLibpodParams creates a new VolumeRenameLibpodParams 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 NewVolumeRenameLibpodParamsWithContext deprecated

func NewVolumeRenameLibpodParamsWithContext(ctx context.Context) *VolumeRenameLibpodParams

NewVolumeRenameLibpodParamsWithContext creates a new VolumeRenameLibpodParams object with the ability to set a context for a request.

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

func NewVolumeRenameLibpodParamsWithHTTPClient

func NewVolumeRenameLibpodParamsWithHTTPClient(client *http.Client) *VolumeRenameLibpodParams

NewVolumeRenameLibpodParamsWithHTTPClient creates a new VolumeRenameLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeRenameLibpodParamsWithTimeout

func NewVolumeRenameLibpodParamsWithTimeout(timeout time.Duration) *VolumeRenameLibpodParams

NewVolumeRenameLibpodParamsWithTimeout creates a new VolumeRenameLibpodParams object with the ability to set a timeout on a request.

func (*VolumeRenameLibpodParams) SetContext deprecated

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

SetContext adds the context to the volume rename libpod params.

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

func (*VolumeRenameLibpodParams) SetDefaults

func (o *VolumeRenameLibpodParams) SetDefaults()

SetDefaults hydrates default values in the volume rename libpod params (not the query body).

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

func (*VolumeRenameLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume rename libpod params.

func (*VolumeRenameLibpodParams) SetName

func (o *VolumeRenameLibpodParams) SetName(name string)

SetName adds the name to the volume rename libpod params.

func (*VolumeRenameLibpodParams) SetNewName

func (o *VolumeRenameLibpodParams) SetNewName(newName string)

SetNewName adds the newName to the volume rename libpod params.

func (*VolumeRenameLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the volume rename libpod params.

func (*VolumeRenameLibpodParams) WithContext deprecated

WithContext adds the context to the volume rename libpod params.

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

func (*VolumeRenameLibpodParams) WithDefaults

WithDefaults hydrates default values in the volume rename libpod params (not the query body).

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

func (*VolumeRenameLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the volume rename libpod params.

func (*VolumeRenameLibpodParams) WithName

WithName adds the name to the volume rename libpod params.

func (*VolumeRenameLibpodParams) WithNewName

func (o *VolumeRenameLibpodParams) WithNewName(newName string) *VolumeRenameLibpodParams

WithNewName adds the newName to the volume rename libpod params.

func (*VolumeRenameLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume rename libpod params.

func (*VolumeRenameLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type VolumeRenameLibpodReader

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

VolumeRenameLibpodReader is a Reader for the VolumeRenameLibpod structure.

func (*VolumeRenameLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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