quadlets

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptTextPlain

func WithAcceptTextPlain(r *runtime.ClientOperation)

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

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".

func WithContentTypeMultipartFormData

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type Client

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

Client for quadlets API.

func (*Client) QuadletDeleteAllLibpod

func (a *Client) QuadletDeleteAllLibpod(params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)

QuadletDeleteAllLibpod removes quadlet files batch operation.

Remove one or more quadlet files. Supports removing specific quadlets by name or all quadlets for the current user. Can force removal of running quadlets and control systemd reload behavior. .

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

func (*Client) QuadletDeleteAllLibpodContext

func (a *Client) QuadletDeleteAllLibpodContext(ctx context.Context, params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)

QuadletDeleteAllLibpodContext removes quadlet files batch operation.

Remove one or more quadlet files. Supports removing specific quadlets by name or all quadlets for the current user. Can force removal of running quadlets and control systemd reload behavior. .

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

func (*Client) QuadletDeleteLibpod

func (a *Client) QuadletDeleteLibpod(params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)

QuadletDeleteLibpod removes a quadlet file.

Remove a quadlet file by name. Can force removal of running quadlets and control systemd reload behavior. .

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

func (*Client) QuadletDeleteLibpodContext

func (a *Client) QuadletDeleteLibpodContext(ctx context.Context, params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)

QuadletDeleteLibpodContext removes a quadlet file.

Remove a quadlet file by name. Can force removal of running quadlets and control systemd reload behavior. .

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

func (*Client) QuadletExistsLibpod

func (a *Client) QuadletExistsLibpod(params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)

QuadletExistsLibpod checks if quadlet exists.

Check if a quadlet exists by name.

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

func (*Client) QuadletExistsLibpodContext

func (a *Client) QuadletExistsLibpodContext(ctx context.Context, params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)

QuadletExistsLibpodContext checks if quadlet exists.

Check if a quadlet exists by name.

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

func (*Client) QuadletFileLibpod

func (a *Client) QuadletFileLibpod(params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)

QuadletFileLibpod gets quadlet file.

Get the contents of a Quadlet, displaying the file including all comments.

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

func (*Client) QuadletFileLibpodContext

func (a *Client) QuadletFileLibpodContext(ctx context.Context, params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)

QuadletFileLibpodContext gets quadlet file.

Get the contents of a Quadlet, displaying the file including all comments.

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

func (*Client) QuadletInstallLibpod

func (a *Client) QuadletInstallLibpod(params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)

QuadletInstallLibpod installs quadlet files.

Install one or more files for a quadlet application. Each request should contain a single quadlet file and optionally more files such as containerfile, kube yaml or configuration files. When additional files are passed, the application query parameter should be specified. Supports both tar archives and multipart form data uploads. .

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

func (*Client) QuadletInstallLibpodContext

func (a *Client) QuadletInstallLibpodContext(ctx context.Context, params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)

QuadletInstallLibpodContext installs quadlet files.

Install one or more files for a quadlet application. Each request should contain a single quadlet file and optionally more files such as containerfile, kube yaml or configuration files. When additional files are passed, the application query parameter should be specified. Supports both tar archives and multipart form data uploads. .

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

func (*Client) QuadletListLibpod

func (a *Client) QuadletListLibpod(params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)

QuadletListLibpod lists quadlets.

Return a list of all quadlets..

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

func (*Client) QuadletListLibpodContext

func (a *Client) QuadletListLibpodContext(ctx context.Context, params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)

QuadletListLibpodContext lists quadlets.

Return a list of all quadlets..

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithAccept

func WithAccept(mime string) ClientOption

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

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

type ClientService interface {

	// QuadletDeleteAllLibpod remove quadlet files batch operation.
	QuadletDeleteAllLibpod(params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)

	// QuadletDeleteAllLibpodContext remove quadlet files batch operation.
	QuadletDeleteAllLibpodContext(ctx context.Context, params *QuadletDeleteAllLibpodParams, opts ...ClientOption) (*QuadletDeleteAllLibpodOK, error)

	// QuadletDeleteLibpod remove a quadlet file.
	QuadletDeleteLibpod(params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)

	// QuadletDeleteLibpodContext remove a quadlet file.
	QuadletDeleteLibpodContext(ctx context.Context, params *QuadletDeleteLibpodParams, opts ...ClientOption) (*QuadletDeleteLibpodOK, error)

	// QuadletExistsLibpod check if quadlet exists.
	QuadletExistsLibpod(params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)

	// QuadletExistsLibpodContext check if quadlet exists.
	QuadletExistsLibpodContext(ctx context.Context, params *QuadletExistsLibpodParams, opts ...ClientOption) (*QuadletExistsLibpodNoContent, error)

	// QuadletFileLibpod get quadlet file.
	QuadletFileLibpod(params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)

	// QuadletFileLibpodContext get quadlet file.
	QuadletFileLibpodContext(ctx context.Context, params *QuadletFileLibpodParams, opts ...ClientOption) (*QuadletFileLibpodOK, error)

	// QuadletInstallLibpod install quadlet files.
	QuadletInstallLibpod(params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)

	// QuadletInstallLibpodContext install quadlet files.
	QuadletInstallLibpodContext(ctx context.Context, params *QuadletInstallLibpodParams, opts ...ClientOption) (*QuadletInstallLibpodOK, error)

	// QuadletListLibpod list quadlets.
	QuadletListLibpod(params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)

	// QuadletListLibpodContext list quadlets.
	QuadletListLibpodContext(ctx context.Context, params *QuadletListLibpodParams, opts ...ClientOption) (*QuadletListLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new quadlets API client.

func NewClientWithBasicAuth

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

New creates a new quadlets 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 quadlets 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 QuadletDeleteAllLibpodBadRequest

type QuadletDeleteAllLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewQuadletDeleteAllLibpodBadRequest

func NewQuadletDeleteAllLibpodBadRequest() *QuadletDeleteAllLibpodBadRequest

NewQuadletDeleteAllLibpodBadRequest creates a QuadletDeleteAllLibpodBadRequest with default headers values

func (*QuadletDeleteAllLibpodBadRequest) Code

Code gets the status code for the quadlet delete all libpod bad request response

func (*QuadletDeleteAllLibpodBadRequest) Error

func (*QuadletDeleteAllLibpodBadRequest) GetPayload

func (*QuadletDeleteAllLibpodBadRequest) IsClientError

func (o *QuadletDeleteAllLibpodBadRequest) IsClientError() bool

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

func (*QuadletDeleteAllLibpodBadRequest) IsCode

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

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

func (*QuadletDeleteAllLibpodBadRequest) IsRedirect

func (o *QuadletDeleteAllLibpodBadRequest) IsRedirect() bool

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

func (*QuadletDeleteAllLibpodBadRequest) IsServerError

func (o *QuadletDeleteAllLibpodBadRequest) IsServerError() bool

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

func (*QuadletDeleteAllLibpodBadRequest) IsSuccess

func (o *QuadletDeleteAllLibpodBadRequest) IsSuccess() bool

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

func (*QuadletDeleteAllLibpodBadRequest) String

type QuadletDeleteAllLibpodInternalServerError

type QuadletDeleteAllLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletDeleteAllLibpodInternalServerError

func NewQuadletDeleteAllLibpodInternalServerError() *QuadletDeleteAllLibpodInternalServerError

NewQuadletDeleteAllLibpodInternalServerError creates a QuadletDeleteAllLibpodInternalServerError with default headers values

func (*QuadletDeleteAllLibpodInternalServerError) Code

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

func (*QuadletDeleteAllLibpodInternalServerError) Error

func (*QuadletDeleteAllLibpodInternalServerError) GetPayload

func (*QuadletDeleteAllLibpodInternalServerError) IsClientError

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

func (*QuadletDeleteAllLibpodInternalServerError) IsCode

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

func (*QuadletDeleteAllLibpodInternalServerError) IsRedirect

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

func (*QuadletDeleteAllLibpodInternalServerError) IsServerError

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

func (*QuadletDeleteAllLibpodInternalServerError) IsSuccess

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

func (*QuadletDeleteAllLibpodInternalServerError) String

type QuadletDeleteAllLibpodOK

type QuadletDeleteAllLibpodOK struct {
	Payload *models.QuadletRemoveReport
}

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

Quadlet remove

func NewQuadletDeleteAllLibpodOK

func NewQuadletDeleteAllLibpodOK() *QuadletDeleteAllLibpodOK

NewQuadletDeleteAllLibpodOK creates a QuadletDeleteAllLibpodOK with default headers values

func (*QuadletDeleteAllLibpodOK) Code

func (o *QuadletDeleteAllLibpodOK) Code() int

Code gets the status code for the quadlet delete all libpod o k response

func (*QuadletDeleteAllLibpodOK) Error

func (o *QuadletDeleteAllLibpodOK) Error() string

func (*QuadletDeleteAllLibpodOK) GetPayload

func (*QuadletDeleteAllLibpodOK) IsClientError

func (o *QuadletDeleteAllLibpodOK) IsClientError() bool

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

func (*QuadletDeleteAllLibpodOK) IsCode

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

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

func (*QuadletDeleteAllLibpodOK) IsRedirect

func (o *QuadletDeleteAllLibpodOK) IsRedirect() bool

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

func (*QuadletDeleteAllLibpodOK) IsServerError

func (o *QuadletDeleteAllLibpodOK) IsServerError() bool

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

func (*QuadletDeleteAllLibpodOK) IsSuccess

func (o *QuadletDeleteAllLibpodOK) IsSuccess() bool

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

func (*QuadletDeleteAllLibpodOK) String

func (o *QuadletDeleteAllLibpodOK) String() string

type QuadletDeleteAllLibpodParams

type QuadletDeleteAllLibpodParams struct {

	// All.
	//
	// Remove all quadlets for the current user
	All *bool

	// Force.
	//
	// Remove running quadlets by stopping them first
	Force *bool

	// Ignore.
	//
	// Do not error for quadlets that do not exist
	Ignore *bool

	// Quadlets.
	//
	// Names of quadlets to remove (e.g., "myapp.container"). Required unless all=true
	Quadlets []string

	// ReloadSystemd.
	//
	// Reload systemd after removing quadlets
	//
	// Default: true
	ReloadSystemd *bool

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

QuadletDeleteAllLibpodParams contains all the parameters to send to the API endpoint

for the quadlet delete all libpod operation.

Typically these are written to a http.Request.

func NewQuadletDeleteAllLibpodParams

func NewQuadletDeleteAllLibpodParams() *QuadletDeleteAllLibpodParams

NewQuadletDeleteAllLibpodParams creates a new QuadletDeleteAllLibpodParams 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 NewQuadletDeleteAllLibpodParamsWithContext deprecated

func NewQuadletDeleteAllLibpodParamsWithContext(ctx context.Context) *QuadletDeleteAllLibpodParams

NewQuadletDeleteAllLibpodParamsWithContext creates a new QuadletDeleteAllLibpodParams object with the ability to set a context for a request.

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

func NewQuadletDeleteAllLibpodParamsWithHTTPClient

func NewQuadletDeleteAllLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteAllLibpodParams

NewQuadletDeleteAllLibpodParamsWithHTTPClient creates a new QuadletDeleteAllLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletDeleteAllLibpodParamsWithTimeout

func NewQuadletDeleteAllLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteAllLibpodParams

NewQuadletDeleteAllLibpodParamsWithTimeout creates a new QuadletDeleteAllLibpodParams object with the ability to set a timeout on a request.

func (*QuadletDeleteAllLibpodParams) SetAll

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

SetAll adds the all to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet delete all libpod params.

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

func (*QuadletDeleteAllLibpodParams) SetDefaults

func (o *QuadletDeleteAllLibpodParams) SetDefaults()

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

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

func (*QuadletDeleteAllLibpodParams) SetForce

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

SetForce adds the force to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetIgnore

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

SetIgnore adds the ignore to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetQuadlets

func (o *QuadletDeleteAllLibpodParams) SetQuadlets(quadlets []string)

SetQuadlets adds the quadlets to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetReloadSystemd

func (o *QuadletDeleteAllLibpodParams) SetReloadSystemd(reloadSystemd *bool)

SetReloadSystemd adds the reloadSystemd to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithAll

WithAll adds the all to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet delete all libpod params.

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

func (*QuadletDeleteAllLibpodParams) WithDefaults

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

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

func (*QuadletDeleteAllLibpodParams) WithForce

WithForce adds the force to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithIgnore

WithIgnore adds the ignore to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithQuadlets

WithQuadlets adds the quadlets to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithReloadSystemd

func (o *QuadletDeleteAllLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteAllLibpodParams

WithReloadSystemd adds the reloadSystemd to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet delete all libpod params.

func (*QuadletDeleteAllLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletDeleteAllLibpodReader

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

QuadletDeleteAllLibpodReader is a Reader for the QuadletDeleteAllLibpod structure.

func (*QuadletDeleteAllLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuadletDeleteLibpodBadRequest

type QuadletDeleteLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewQuadletDeleteLibpodBadRequest

func NewQuadletDeleteLibpodBadRequest() *QuadletDeleteLibpodBadRequest

NewQuadletDeleteLibpodBadRequest creates a QuadletDeleteLibpodBadRequest with default headers values

func (*QuadletDeleteLibpodBadRequest) Code

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

func (*QuadletDeleteLibpodBadRequest) Error

func (*QuadletDeleteLibpodBadRequest) GetPayload

func (*QuadletDeleteLibpodBadRequest) IsClientError

func (o *QuadletDeleteLibpodBadRequest) IsClientError() bool

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

func (*QuadletDeleteLibpodBadRequest) IsCode

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

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

func (*QuadletDeleteLibpodBadRequest) IsRedirect

func (o *QuadletDeleteLibpodBadRequest) IsRedirect() bool

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

func (*QuadletDeleteLibpodBadRequest) IsServerError

func (o *QuadletDeleteLibpodBadRequest) IsServerError() bool

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

func (*QuadletDeleteLibpodBadRequest) IsSuccess

func (o *QuadletDeleteLibpodBadRequest) IsSuccess() bool

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

func (*QuadletDeleteLibpodBadRequest) String

type QuadletDeleteLibpodInternalServerError

type QuadletDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletDeleteLibpodInternalServerError

func NewQuadletDeleteLibpodInternalServerError() *QuadletDeleteLibpodInternalServerError

NewQuadletDeleteLibpodInternalServerError creates a QuadletDeleteLibpodInternalServerError with default headers values

func (*QuadletDeleteLibpodInternalServerError) Code

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

func (*QuadletDeleteLibpodInternalServerError) Error

func (*QuadletDeleteLibpodInternalServerError) GetPayload

func (*QuadletDeleteLibpodInternalServerError) IsClientError

func (o *QuadletDeleteLibpodInternalServerError) IsClientError() bool

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

func (*QuadletDeleteLibpodInternalServerError) IsCode

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

func (*QuadletDeleteLibpodInternalServerError) IsRedirect

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

func (*QuadletDeleteLibpodInternalServerError) IsServerError

func (o *QuadletDeleteLibpodInternalServerError) IsServerError() bool

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

func (*QuadletDeleteLibpodInternalServerError) IsSuccess

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

func (*QuadletDeleteLibpodInternalServerError) String

type QuadletDeleteLibpodNotFound

type QuadletDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such quadlet

func NewQuadletDeleteLibpodNotFound

func NewQuadletDeleteLibpodNotFound() *QuadletDeleteLibpodNotFound

NewQuadletDeleteLibpodNotFound creates a QuadletDeleteLibpodNotFound with default headers values

func (*QuadletDeleteLibpodNotFound) Code

func (o *QuadletDeleteLibpodNotFound) Code() int

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

func (*QuadletDeleteLibpodNotFound) Error

func (*QuadletDeleteLibpodNotFound) GetPayload

func (*QuadletDeleteLibpodNotFound) IsClientError

func (o *QuadletDeleteLibpodNotFound) IsClientError() bool

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

func (*QuadletDeleteLibpodNotFound) IsCode

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

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

func (*QuadletDeleteLibpodNotFound) IsRedirect

func (o *QuadletDeleteLibpodNotFound) IsRedirect() bool

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

func (*QuadletDeleteLibpodNotFound) IsServerError

func (o *QuadletDeleteLibpodNotFound) IsServerError() bool

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

func (*QuadletDeleteLibpodNotFound) IsSuccess

func (o *QuadletDeleteLibpodNotFound) IsSuccess() bool

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

func (*QuadletDeleteLibpodNotFound) String

func (o *QuadletDeleteLibpodNotFound) String() string

type QuadletDeleteLibpodOK

type QuadletDeleteLibpodOK struct {
	Payload *models.QuadletRemoveReport
}

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

Quadlet remove

func NewQuadletDeleteLibpodOK

func NewQuadletDeleteLibpodOK() *QuadletDeleteLibpodOK

NewQuadletDeleteLibpodOK creates a QuadletDeleteLibpodOK with default headers values

func (*QuadletDeleteLibpodOK) Code

func (o *QuadletDeleteLibpodOK) Code() int

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

func (*QuadletDeleteLibpodOK) Error

func (o *QuadletDeleteLibpodOK) Error() string

func (*QuadletDeleteLibpodOK) GetPayload

func (*QuadletDeleteLibpodOK) IsClientError

func (o *QuadletDeleteLibpodOK) IsClientError() bool

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

func (*QuadletDeleteLibpodOK) IsCode

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

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

func (*QuadletDeleteLibpodOK) IsRedirect

func (o *QuadletDeleteLibpodOK) IsRedirect() bool

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

func (*QuadletDeleteLibpodOK) IsServerError

func (o *QuadletDeleteLibpodOK) IsServerError() bool

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

func (*QuadletDeleteLibpodOK) IsSuccess

func (o *QuadletDeleteLibpodOK) IsSuccess() bool

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

func (*QuadletDeleteLibpodOK) String

func (o *QuadletDeleteLibpodOK) String() string

type QuadletDeleteLibpodParams

type QuadletDeleteLibpodParams struct {

	// Force.
	//
	// Remove running quadlets (in case of uninstantiated template quadlets, stop its instances).
	Force *bool

	// Ignore.
	//
	// Do not error if the quadlet does not exist
	Ignore *bool

	// Name.
	//
	// the name of the quadlet with extension (e.g., "myapp.container")
	Name string

	// ReloadSystemd.
	//
	// Reload systemd after removing the quadlet
	//
	// Default: true
	ReloadSystemd *bool

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

QuadletDeleteLibpodParams contains all the parameters to send to the API endpoint

for the quadlet delete libpod operation.

Typically these are written to a http.Request.

func NewQuadletDeleteLibpodParams

func NewQuadletDeleteLibpodParams() *QuadletDeleteLibpodParams

NewQuadletDeleteLibpodParams creates a new QuadletDeleteLibpodParams 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 NewQuadletDeleteLibpodParamsWithContext deprecated

func NewQuadletDeleteLibpodParamsWithContext(ctx context.Context) *QuadletDeleteLibpodParams

NewQuadletDeleteLibpodParamsWithContext creates a new QuadletDeleteLibpodParams object with the ability to set a context for a request.

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

func NewQuadletDeleteLibpodParamsWithHTTPClient

func NewQuadletDeleteLibpodParamsWithHTTPClient(client *http.Client) *QuadletDeleteLibpodParams

NewQuadletDeleteLibpodParamsWithHTTPClient creates a new QuadletDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletDeleteLibpodParamsWithTimeout

func NewQuadletDeleteLibpodParamsWithTimeout(timeout time.Duration) *QuadletDeleteLibpodParams

NewQuadletDeleteLibpodParamsWithTimeout creates a new QuadletDeleteLibpodParams object with the ability to set a timeout on a request.

func (*QuadletDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet delete libpod params.

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

func (*QuadletDeleteLibpodParams) SetDefaults

func (o *QuadletDeleteLibpodParams) SetDefaults()

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

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

func (*QuadletDeleteLibpodParams) SetForce

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

SetForce adds the force to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) SetIgnore

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

SetIgnore adds the ignore to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) SetName

func (o *QuadletDeleteLibpodParams) SetName(name string)

SetName adds the name to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) SetReloadSystemd

func (o *QuadletDeleteLibpodParams) SetReloadSystemd(reloadSystemd *bool)

SetReloadSystemd adds the reloadSystemd to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet delete libpod params.

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

func (*QuadletDeleteLibpodParams) WithDefaults

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

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

func (*QuadletDeleteLibpodParams) WithForce

WithForce adds the force to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithIgnore

WithIgnore adds the ignore to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithName

WithName adds the name to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithReloadSystemd

func (o *QuadletDeleteLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletDeleteLibpodParams

WithReloadSystemd adds the reloadSystemd to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet delete libpod params.

func (*QuadletDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletDeleteLibpodReader

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

QuadletDeleteLibpodReader is a Reader for the QuadletDeleteLibpod structure.

func (*QuadletDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuadletExistsLibpodInternalServerError

type QuadletExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletExistsLibpodInternalServerError

func NewQuadletExistsLibpodInternalServerError() *QuadletExistsLibpodInternalServerError

NewQuadletExistsLibpodInternalServerError creates a QuadletExistsLibpodInternalServerError with default headers values

func (*QuadletExistsLibpodInternalServerError) Code

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

func (*QuadletExistsLibpodInternalServerError) Error

func (*QuadletExistsLibpodInternalServerError) GetPayload

func (*QuadletExistsLibpodInternalServerError) IsClientError

func (o *QuadletExistsLibpodInternalServerError) IsClientError() bool

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

func (*QuadletExistsLibpodInternalServerError) IsCode

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

func (*QuadletExistsLibpodInternalServerError) IsRedirect

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

func (*QuadletExistsLibpodInternalServerError) IsServerError

func (o *QuadletExistsLibpodInternalServerError) IsServerError() bool

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

func (*QuadletExistsLibpodInternalServerError) IsSuccess

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

func (*QuadletExistsLibpodInternalServerError) String

type QuadletExistsLibpodNoContent

type QuadletExistsLibpodNoContent struct {
}

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

quadlet exists

func NewQuadletExistsLibpodNoContent

func NewQuadletExistsLibpodNoContent() *QuadletExistsLibpodNoContent

NewQuadletExistsLibpodNoContent creates a QuadletExistsLibpodNoContent with default headers values

func (*QuadletExistsLibpodNoContent) Code

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

func (*QuadletExistsLibpodNoContent) Error

func (*QuadletExistsLibpodNoContent) IsClientError

func (o *QuadletExistsLibpodNoContent) IsClientError() bool

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

func (*QuadletExistsLibpodNoContent) IsCode

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

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

func (*QuadletExistsLibpodNoContent) IsRedirect

func (o *QuadletExistsLibpodNoContent) IsRedirect() bool

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

func (*QuadletExistsLibpodNoContent) IsServerError

func (o *QuadletExistsLibpodNoContent) IsServerError() bool

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

func (*QuadletExistsLibpodNoContent) IsSuccess

func (o *QuadletExistsLibpodNoContent) IsSuccess() bool

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

func (*QuadletExistsLibpodNoContent) String

type QuadletExistsLibpodNotFound

type QuadletExistsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such quadlet

func NewQuadletExistsLibpodNotFound

func NewQuadletExistsLibpodNotFound() *QuadletExistsLibpodNotFound

NewQuadletExistsLibpodNotFound creates a QuadletExistsLibpodNotFound with default headers values

func (*QuadletExistsLibpodNotFound) Code

func (o *QuadletExistsLibpodNotFound) Code() int

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

func (*QuadletExistsLibpodNotFound) Error

func (*QuadletExistsLibpodNotFound) GetPayload

func (*QuadletExistsLibpodNotFound) IsClientError

func (o *QuadletExistsLibpodNotFound) IsClientError() bool

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

func (*QuadletExistsLibpodNotFound) IsCode

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

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

func (*QuadletExistsLibpodNotFound) IsRedirect

func (o *QuadletExistsLibpodNotFound) IsRedirect() bool

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

func (*QuadletExistsLibpodNotFound) IsServerError

func (o *QuadletExistsLibpodNotFound) IsServerError() bool

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

func (*QuadletExistsLibpodNotFound) IsSuccess

func (o *QuadletExistsLibpodNotFound) IsSuccess() bool

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

func (*QuadletExistsLibpodNotFound) String

func (o *QuadletExistsLibpodNotFound) String() string

type QuadletExistsLibpodParams

type QuadletExistsLibpodParams struct {

	// Name.
	//
	// the name of the quadlet with extension (e.g., "myapp.container")
	Name string

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

QuadletExistsLibpodParams contains all the parameters to send to the API endpoint

for the quadlet exists libpod operation.

Typically these are written to a http.Request.

func NewQuadletExistsLibpodParams

func NewQuadletExistsLibpodParams() *QuadletExistsLibpodParams

NewQuadletExistsLibpodParams creates a new QuadletExistsLibpodParams 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 NewQuadletExistsLibpodParamsWithContext deprecated

func NewQuadletExistsLibpodParamsWithContext(ctx context.Context) *QuadletExistsLibpodParams

NewQuadletExistsLibpodParamsWithContext creates a new QuadletExistsLibpodParams object with the ability to set a context for a request.

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

func NewQuadletExistsLibpodParamsWithHTTPClient

func NewQuadletExistsLibpodParamsWithHTTPClient(client *http.Client) *QuadletExistsLibpodParams

NewQuadletExistsLibpodParamsWithHTTPClient creates a new QuadletExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletExistsLibpodParamsWithTimeout

func NewQuadletExistsLibpodParamsWithTimeout(timeout time.Duration) *QuadletExistsLibpodParams

NewQuadletExistsLibpodParamsWithTimeout creates a new QuadletExistsLibpodParams object with the ability to set a timeout on a request.

func (*QuadletExistsLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet exists libpod params.

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

func (*QuadletExistsLibpodParams) SetDefaults

func (o *QuadletExistsLibpodParams) SetDefaults()

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

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

func (*QuadletExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) SetName

func (o *QuadletExistsLibpodParams) SetName(name string)

SetName adds the name to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet exists libpod params.

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

func (*QuadletExistsLibpodParams) WithDefaults

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

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

func (*QuadletExistsLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) WithName

WithName adds the name to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet exists libpod params.

func (*QuadletExistsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletExistsLibpodReader

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

QuadletExistsLibpodReader is a Reader for the QuadletExistsLibpod structure.

func (*QuadletExistsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuadletFileLibpodInternalServerError

type QuadletFileLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletFileLibpodInternalServerError

func NewQuadletFileLibpodInternalServerError() *QuadletFileLibpodInternalServerError

NewQuadletFileLibpodInternalServerError creates a QuadletFileLibpodInternalServerError with default headers values

func (*QuadletFileLibpodInternalServerError) Code

Code gets the status code for the quadlet file libpod internal server error response

func (*QuadletFileLibpodInternalServerError) Error

func (*QuadletFileLibpodInternalServerError) GetPayload

func (*QuadletFileLibpodInternalServerError) IsClientError

func (o *QuadletFileLibpodInternalServerError) IsClientError() bool

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

func (*QuadletFileLibpodInternalServerError) IsCode

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

func (*QuadletFileLibpodInternalServerError) IsRedirect

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

func (*QuadletFileLibpodInternalServerError) IsServerError

func (o *QuadletFileLibpodInternalServerError) IsServerError() bool

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

func (*QuadletFileLibpodInternalServerError) IsSuccess

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

func (*QuadletFileLibpodInternalServerError) String

type QuadletFileLibpodNotFound

type QuadletFileLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such quadlet

func NewQuadletFileLibpodNotFound

func NewQuadletFileLibpodNotFound() *QuadletFileLibpodNotFound

NewQuadletFileLibpodNotFound creates a QuadletFileLibpodNotFound with default headers values

func (*QuadletFileLibpodNotFound) Code

func (o *QuadletFileLibpodNotFound) Code() int

Code gets the status code for the quadlet file libpod not found response

func (*QuadletFileLibpodNotFound) Error

func (o *QuadletFileLibpodNotFound) Error() string

func (*QuadletFileLibpodNotFound) GetPayload

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

func (*QuadletFileLibpodNotFound) IsClientError

func (o *QuadletFileLibpodNotFound) IsClientError() bool

IsClientError returns true when this quadlet file libpod not found response has a 4xx status code

func (*QuadletFileLibpodNotFound) IsCode

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

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

func (*QuadletFileLibpodNotFound) IsRedirect

func (o *QuadletFileLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this quadlet file libpod not found response has a 3xx status code

func (*QuadletFileLibpodNotFound) IsServerError

func (o *QuadletFileLibpodNotFound) IsServerError() bool

IsServerError returns true when this quadlet file libpod not found response has a 5xx status code

func (*QuadletFileLibpodNotFound) IsSuccess

func (o *QuadletFileLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this quadlet file libpod not found response has a 2xx status code

func (*QuadletFileLibpodNotFound) String

func (o *QuadletFileLibpodNotFound) String() string

type QuadletFileLibpodOK

type QuadletFileLibpodOK struct {
	Payload string
}

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

Quadlet file

func NewQuadletFileLibpodOK

func NewQuadletFileLibpodOK() *QuadletFileLibpodOK

NewQuadletFileLibpodOK creates a QuadletFileLibpodOK with default headers values

func (*QuadletFileLibpodOK) Code

func (o *QuadletFileLibpodOK) Code() int

Code gets the status code for the quadlet file libpod o k response

func (*QuadletFileLibpodOK) Error

func (o *QuadletFileLibpodOK) Error() string

func (*QuadletFileLibpodOK) GetPayload

func (o *QuadletFileLibpodOK) GetPayload() string

func (*QuadletFileLibpodOK) IsClientError

func (o *QuadletFileLibpodOK) IsClientError() bool

IsClientError returns true when this quadlet file libpod o k response has a 4xx status code

func (*QuadletFileLibpodOK) IsCode

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

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

func (*QuadletFileLibpodOK) IsRedirect

func (o *QuadletFileLibpodOK) IsRedirect() bool

IsRedirect returns true when this quadlet file libpod o k response has a 3xx status code

func (*QuadletFileLibpodOK) IsServerError

func (o *QuadletFileLibpodOK) IsServerError() bool

IsServerError returns true when this quadlet file libpod o k response has a 5xx status code

func (*QuadletFileLibpodOK) IsSuccess

func (o *QuadletFileLibpodOK) IsSuccess() bool

IsSuccess returns true when this quadlet file libpod o k response has a 2xx status code

func (*QuadletFileLibpodOK) String

func (o *QuadletFileLibpodOK) String() string

type QuadletFileLibpodParams

type QuadletFileLibpodParams struct {

	// Name.
	//
	// the name of the quadlet with extension (e.g., "myapp.container")
	Name string

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

QuadletFileLibpodParams contains all the parameters to send to the API endpoint

for the quadlet file libpod operation.

Typically these are written to a http.Request.

func NewQuadletFileLibpodParams

func NewQuadletFileLibpodParams() *QuadletFileLibpodParams

NewQuadletFileLibpodParams creates a new QuadletFileLibpodParams 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 NewQuadletFileLibpodParamsWithContext deprecated

func NewQuadletFileLibpodParamsWithContext(ctx context.Context) *QuadletFileLibpodParams

NewQuadletFileLibpodParamsWithContext creates a new QuadletFileLibpodParams object with the ability to set a context for a request.

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

func NewQuadletFileLibpodParamsWithHTTPClient

func NewQuadletFileLibpodParamsWithHTTPClient(client *http.Client) *QuadletFileLibpodParams

NewQuadletFileLibpodParamsWithHTTPClient creates a new QuadletFileLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletFileLibpodParamsWithTimeout

func NewQuadletFileLibpodParamsWithTimeout(timeout time.Duration) *QuadletFileLibpodParams

NewQuadletFileLibpodParamsWithTimeout creates a new QuadletFileLibpodParams object with the ability to set a timeout on a request.

func (*QuadletFileLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet file libpod params.

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

func (*QuadletFileLibpodParams) SetDefaults

func (o *QuadletFileLibpodParams) SetDefaults()

SetDefaults hydrates default values in the quadlet file libpod params (not the query body).

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

func (*QuadletFileLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet file libpod params.

func (*QuadletFileLibpodParams) SetName

func (o *QuadletFileLibpodParams) SetName(name string)

SetName adds the name to the quadlet file libpod params.

func (*QuadletFileLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet file libpod params.

func (*QuadletFileLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet file libpod params.

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

func (*QuadletFileLibpodParams) WithDefaults

WithDefaults hydrates default values in the quadlet file libpod params (not the query body).

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

func (*QuadletFileLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the quadlet file libpod params.

func (*QuadletFileLibpodParams) WithName

WithName adds the name to the quadlet file libpod params.

func (*QuadletFileLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet file libpod params.

func (*QuadletFileLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletFileLibpodReader

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

QuadletFileLibpodReader is a Reader for the QuadletFileLibpod structure.

func (*QuadletFileLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuadletInstallLibpodBadRequest

type QuadletInstallLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewQuadletInstallLibpodBadRequest

func NewQuadletInstallLibpodBadRequest() *QuadletInstallLibpodBadRequest

NewQuadletInstallLibpodBadRequest creates a QuadletInstallLibpodBadRequest with default headers values

func (*QuadletInstallLibpodBadRequest) Code

Code gets the status code for the quadlet install libpod bad request response

func (*QuadletInstallLibpodBadRequest) Error

func (*QuadletInstallLibpodBadRequest) GetPayload

func (*QuadletInstallLibpodBadRequest) IsClientError

func (o *QuadletInstallLibpodBadRequest) IsClientError() bool

IsClientError returns true when this quadlet install libpod bad request response has a 4xx status code

func (*QuadletInstallLibpodBadRequest) IsCode

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

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

func (*QuadletInstallLibpodBadRequest) IsRedirect

func (o *QuadletInstallLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this quadlet install libpod bad request response has a 3xx status code

func (*QuadletInstallLibpodBadRequest) IsServerError

func (o *QuadletInstallLibpodBadRequest) IsServerError() bool

IsServerError returns true when this quadlet install libpod bad request response has a 5xx status code

func (*QuadletInstallLibpodBadRequest) IsSuccess

func (o *QuadletInstallLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this quadlet install libpod bad request response has a 2xx status code

func (*QuadletInstallLibpodBadRequest) String

type QuadletInstallLibpodInternalServerError

type QuadletInstallLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletInstallLibpodInternalServerError

func NewQuadletInstallLibpodInternalServerError() *QuadletInstallLibpodInternalServerError

NewQuadletInstallLibpodInternalServerError creates a QuadletInstallLibpodInternalServerError with default headers values

func (*QuadletInstallLibpodInternalServerError) Code

Code gets the status code for the quadlet install libpod internal server error response

func (*QuadletInstallLibpodInternalServerError) Error

func (*QuadletInstallLibpodInternalServerError) GetPayload

func (*QuadletInstallLibpodInternalServerError) IsClientError

func (o *QuadletInstallLibpodInternalServerError) IsClientError() bool

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

func (*QuadletInstallLibpodInternalServerError) IsCode

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

func (*QuadletInstallLibpodInternalServerError) IsRedirect

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

func (*QuadletInstallLibpodInternalServerError) IsServerError

func (o *QuadletInstallLibpodInternalServerError) IsServerError() bool

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

func (*QuadletInstallLibpodInternalServerError) IsSuccess

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

func (*QuadletInstallLibpodInternalServerError) String

type QuadletInstallLibpodOK

type QuadletInstallLibpodOK struct {
	Payload *QuadletInstallLibpodOKBody
}

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

Quadlet installation report

func NewQuadletInstallLibpodOK

func NewQuadletInstallLibpodOK() *QuadletInstallLibpodOK

NewQuadletInstallLibpodOK creates a QuadletInstallLibpodOK with default headers values

func (*QuadletInstallLibpodOK) Code

func (o *QuadletInstallLibpodOK) Code() int

Code gets the status code for the quadlet install libpod o k response

func (*QuadletInstallLibpodOK) Error

func (o *QuadletInstallLibpodOK) Error() string

func (*QuadletInstallLibpodOK) GetPayload

func (*QuadletInstallLibpodOK) IsClientError

func (o *QuadletInstallLibpodOK) IsClientError() bool

IsClientError returns true when this quadlet install libpod o k response has a 4xx status code

func (*QuadletInstallLibpodOK) IsCode

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

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

func (*QuadletInstallLibpodOK) IsRedirect

func (o *QuadletInstallLibpodOK) IsRedirect() bool

IsRedirect returns true when this quadlet install libpod o k response has a 3xx status code

func (*QuadletInstallLibpodOK) IsServerError

func (o *QuadletInstallLibpodOK) IsServerError() bool

IsServerError returns true when this quadlet install libpod o k response has a 5xx status code

func (*QuadletInstallLibpodOK) IsSuccess

func (o *QuadletInstallLibpodOK) IsSuccess() bool

IsSuccess returns true when this quadlet install libpod o k response has a 2xx status code

func (*QuadletInstallLibpodOK) String

func (o *QuadletInstallLibpodOK) String() string

type QuadletInstallLibpodOKBody

type QuadletInstallLibpodOKBody struct {

	// Map of source path to installed path for successfully installed quadlets
	InstalledQuadlets map[string]string `json:"InstalledQuadlets,omitempty"`

	// Map of source path to error message for failed installations
	QuadletErrors map[string]string `json:"QuadletErrors,omitempty"`
}

QuadletInstallLibpodOKBody quadlet install libpod o k body

swagger:model QuadletInstallLibpodOKBody

func (*QuadletInstallLibpodOKBody) ContextValidate

ContextValidate validates this quadlet install libpod o k body based on context it is used

func (*QuadletInstallLibpodOKBody) MarshalBinary

func (o *QuadletInstallLibpodOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QuadletInstallLibpodOKBody) UnmarshalBinary

func (o *QuadletInstallLibpodOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QuadletInstallLibpodOKBody) Validate

Validate validates this quadlet install libpod o k body

type QuadletInstallLibpodParams

type QuadletInstallLibpodParams struct {

	// Application.
	//
	// Group quadlet and associated files in a directory with the application name.
	// Required when additional files are passed.
	//
	Application *string

	// ReloadSystemd.
	//
	// Reload systemd after installing quadlets
	//
	// Default: true
	ReloadSystemd *bool

	// Replace.
	//
	// Replace the installation files even if the files already exists
	Replace *bool

	// Request.
	//
	// Quadlet files to install. Can be provided as:
	// - application/x-tar: A tar archive containing one quadlet file and optionally additional files
	// - multipart/form-data: One quadlet file as form data and optionally additional files
	//
	//
	// Format: binary
	Request io.ReadCloser

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

QuadletInstallLibpodParams contains all the parameters to send to the API endpoint

for the quadlet install libpod operation.

Typically these are written to a http.Request.

func NewQuadletInstallLibpodParams

func NewQuadletInstallLibpodParams() *QuadletInstallLibpodParams

NewQuadletInstallLibpodParams creates a new QuadletInstallLibpodParams 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 NewQuadletInstallLibpodParamsWithContext deprecated

func NewQuadletInstallLibpodParamsWithContext(ctx context.Context) *QuadletInstallLibpodParams

NewQuadletInstallLibpodParamsWithContext creates a new QuadletInstallLibpodParams object with the ability to set a context for a request.

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

func NewQuadletInstallLibpodParamsWithHTTPClient

func NewQuadletInstallLibpodParamsWithHTTPClient(client *http.Client) *QuadletInstallLibpodParams

NewQuadletInstallLibpodParamsWithHTTPClient creates a new QuadletInstallLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletInstallLibpodParamsWithTimeout

func NewQuadletInstallLibpodParamsWithTimeout(timeout time.Duration) *QuadletInstallLibpodParams

NewQuadletInstallLibpodParamsWithTimeout creates a new QuadletInstallLibpodParams object with the ability to set a timeout on a request.

func (*QuadletInstallLibpodParams) SetApplication

func (o *QuadletInstallLibpodParams) SetApplication(application *string)

SetApplication adds the application to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet install libpod params.

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

func (*QuadletInstallLibpodParams) SetDefaults

func (o *QuadletInstallLibpodParams) SetDefaults()

SetDefaults hydrates default values in the quadlet install libpod params (not the query body).

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

func (*QuadletInstallLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) SetReloadSystemd

func (o *QuadletInstallLibpodParams) SetReloadSystemd(reloadSystemd *bool)

SetReloadSystemd adds the reloadSystemd to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) SetReplace

func (o *QuadletInstallLibpodParams) SetReplace(replace *bool)

SetReplace adds the replace to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) SetRequest

func (o *QuadletInstallLibpodParams) SetRequest(request io.ReadCloser)

SetRequest adds the request to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithApplication

func (o *QuadletInstallLibpodParams) WithApplication(application *string) *QuadletInstallLibpodParams

WithApplication adds the application to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet install libpod params.

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

func (*QuadletInstallLibpodParams) WithDefaults

WithDefaults hydrates default values in the quadlet install libpod params (not the query body).

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

func (*QuadletInstallLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithReloadSystemd

func (o *QuadletInstallLibpodParams) WithReloadSystemd(reloadSystemd *bool) *QuadletInstallLibpodParams

WithReloadSystemd adds the reloadSystemd to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithReplace

WithReplace adds the replace to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithRequest

WithRequest adds the request to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet install libpod params.

func (*QuadletInstallLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletInstallLibpodReader

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

QuadletInstallLibpodReader is a Reader for the QuadletInstallLibpod structure.

func (*QuadletInstallLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuadletListLibpodInternalServerError

type QuadletListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewQuadletListLibpodInternalServerError

func NewQuadletListLibpodInternalServerError() *QuadletListLibpodInternalServerError

NewQuadletListLibpodInternalServerError creates a QuadletListLibpodInternalServerError with default headers values

func (*QuadletListLibpodInternalServerError) Code

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

func (*QuadletListLibpodInternalServerError) Error

func (*QuadletListLibpodInternalServerError) GetPayload

func (*QuadletListLibpodInternalServerError) IsClientError

func (o *QuadletListLibpodInternalServerError) IsClientError() bool

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

func (*QuadletListLibpodInternalServerError) IsCode

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

func (*QuadletListLibpodInternalServerError) IsRedirect

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

func (*QuadletListLibpodInternalServerError) IsServerError

func (o *QuadletListLibpodInternalServerError) IsServerError() bool

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

func (*QuadletListLibpodInternalServerError) IsSuccess

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

func (*QuadletListLibpodInternalServerError) String

type QuadletListLibpodOK

type QuadletListLibpodOK struct {
	Payload []*models.ListQuadlet
}

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

Quadlet list

func NewQuadletListLibpodOK

func NewQuadletListLibpodOK() *QuadletListLibpodOK

NewQuadletListLibpodOK creates a QuadletListLibpodOK with default headers values

func (*QuadletListLibpodOK) Code

func (o *QuadletListLibpodOK) Code() int

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

func (*QuadletListLibpodOK) Error

func (o *QuadletListLibpodOK) Error() string

func (*QuadletListLibpodOK) GetPayload

func (o *QuadletListLibpodOK) GetPayload() []*models.ListQuadlet

func (*QuadletListLibpodOK) IsClientError

func (o *QuadletListLibpodOK) IsClientError() bool

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

func (*QuadletListLibpodOK) IsCode

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

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

func (*QuadletListLibpodOK) IsRedirect

func (o *QuadletListLibpodOK) IsRedirect() bool

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

func (*QuadletListLibpodOK) IsServerError

func (o *QuadletListLibpodOK) IsServerError() bool

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

func (*QuadletListLibpodOK) IsSuccess

func (o *QuadletListLibpodOK) IsSuccess() bool

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

func (*QuadletListLibpodOK) String

func (o *QuadletListLibpodOK) String() string

type QuadletListLibpodParams

type QuadletListLibpodParams struct {

	// Filters.
	//
	// JSON encoded value of the filters (a map[string][]string).
	// Supported filters:
	//   - name=<quadlet-name> Filter by quadlet name
	//   - pod=<pod-quadlet> Filter by Pod= value (container quadlets only)
	//
	Filters *string

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

QuadletListLibpodParams contains all the parameters to send to the API endpoint

for the quadlet list libpod operation.

Typically these are written to a http.Request.

func NewQuadletListLibpodParams

func NewQuadletListLibpodParams() *QuadletListLibpodParams

NewQuadletListLibpodParams creates a new QuadletListLibpodParams 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 NewQuadletListLibpodParamsWithContext deprecated

func NewQuadletListLibpodParamsWithContext(ctx context.Context) *QuadletListLibpodParams

NewQuadletListLibpodParamsWithContext creates a new QuadletListLibpodParams object with the ability to set a context for a request.

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

func NewQuadletListLibpodParamsWithHTTPClient

func NewQuadletListLibpodParamsWithHTTPClient(client *http.Client) *QuadletListLibpodParams

NewQuadletListLibpodParamsWithHTTPClient creates a new QuadletListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewQuadletListLibpodParamsWithTimeout

func NewQuadletListLibpodParamsWithTimeout(timeout time.Duration) *QuadletListLibpodParams

NewQuadletListLibpodParamsWithTimeout creates a new QuadletListLibpodParams object with the ability to set a timeout on a request.

func (*QuadletListLibpodParams) SetContext deprecated

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

SetContext adds the context to the quadlet list libpod params.

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

func (*QuadletListLibpodParams) SetDefaults

func (o *QuadletListLibpodParams) SetDefaults()

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

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

func (*QuadletListLibpodParams) SetFilters

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

SetFilters adds the filters to the quadlet list libpod params.

func (*QuadletListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the quadlet list libpod params.

func (*QuadletListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the quadlet list libpod params.

func (*QuadletListLibpodParams) WithContext deprecated

WithContext adds the context to the quadlet list libpod params.

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

func (*QuadletListLibpodParams) WithDefaults

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

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

func (*QuadletListLibpodParams) WithFilters

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

WithFilters adds the filters to the quadlet list libpod params.

func (*QuadletListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the quadlet list libpod params.

func (*QuadletListLibpodParams) WithTimeout

WithTimeout adds the timeout to the quadlet list libpod params.

func (*QuadletListLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type QuadletListLibpodReader

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

QuadletListLibpodReader is a Reader for the QuadletListLibpod structure.

func (*QuadletListLibpodReader) ReadResponse

func (o *QuadletListLibpodReader) 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
⌂ 换网址