manifests

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxTar

func WithContentTypeApplicationxTar(r *runtime.ClientOperation)

WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".

Types

type Client

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

Client for manifests API.

func (*Client) ManifestAddLibpod deprecated

func (a *Client) ManifestAddLibpod(params *ManifestAddLibpodParams, opts ...ClientOption) (*ManifestAddLibpodOK, error)

ManifestAddLibpod adds image.

Add an image to a manifest list

Deprecated: As of 4.0.0 use ManifestModifyLibpod instead .

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

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

func (*Client) ManifestAddLibpodContext deprecated

func (a *Client) ManifestAddLibpodContext(ctx context.Context, params *ManifestAddLibpodParams, opts ...ClientOption) (*ManifestAddLibpodOK, error)

ManifestAddLibpodContext adds image.

Add an image to a manifest list

Deprecated: As of 4.0.0 use ManifestModifyLibpod instead .

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

func (*Client) ManifestCreateLibpod

func (a *Client) ManifestCreateLibpod(params *ManifestCreateLibpodParams, opts ...ClientOption) (*ManifestCreateLibpodCreated, error)

ManifestCreateLibpod creates.

Create a manifest list.

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

func (*Client) ManifestCreateLibpodContext

func (a *Client) ManifestCreateLibpodContext(ctx context.Context, params *ManifestCreateLibpodParams, opts ...ClientOption) (*ManifestCreateLibpodCreated, error)

ManifestCreateLibpodContext creates.

Create a manifest list.

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

func (*Client) ManifestDeleteLibpod

func (a *Client) ManifestDeleteLibpod(params *ManifestDeleteLibpodParams, opts ...ClientOption) (*ManifestDeleteLibpodOK, error)

ManifestDeleteLibpod deletes manifest list.

Delete named manifest list

As of v4.0.0 .

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

func (*Client) ManifestDeleteLibpodContext

func (a *Client) ManifestDeleteLibpodContext(ctx context.Context, params *ManifestDeleteLibpodParams, opts ...ClientOption) (*ManifestDeleteLibpodOK, error)

ManifestDeleteLibpodContext deletes manifest list.

Delete named manifest list

As of v4.0.0 .

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

func (*Client) ManifestExistsLibpod

func (a *Client) ManifestExistsLibpod(params *ManifestExistsLibpodParams, opts ...ClientOption) (*ManifestExistsLibpodNoContent, error)

ManifestExistsLibpod exists.

Check if manifest list exists

Note: There is no contract that the manifest list will exist for a follow-on operation .

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

func (*Client) ManifestExistsLibpodContext

func (a *Client) ManifestExistsLibpodContext(ctx context.Context, params *ManifestExistsLibpodParams, opts ...ClientOption) (*ManifestExistsLibpodNoContent, error)

ManifestExistsLibpodContext exists.

Check if manifest list exists

Note: There is no contract that the manifest list will exist for a follow-on operation .

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

func (*Client) ManifestInspectLibpod

func (a *Client) ManifestInspectLibpod(params *ManifestInspectLibpodParams, opts ...ClientOption) (*ManifestInspectLibpodOK, error)

ManifestInspectLibpod inspects.

Display attributes of given manifest list.

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

func (*Client) ManifestInspectLibpodContext

func (a *Client) ManifestInspectLibpodContext(ctx context.Context, params *ManifestInspectLibpodParams, opts ...ClientOption) (*ManifestInspectLibpodOK, error)

ManifestInspectLibpodContext inspects.

Display attributes of given manifest list.

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

func (*Client) ManifestModifyLibpod

func (a *Client) ManifestModifyLibpod(params *ManifestModifyLibpodParams, opts ...ClientOption) (*ManifestModifyLibpodOK, error)

ManifestModifyLibpod modifies manifest list.

Add/Remove an image(s) to a manifest list

Note: operations are not atomic when multiple Images are provided.

As of v4.0.0 .

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

func (*Client) ManifestModifyLibpodContext

func (a *Client) ManifestModifyLibpodContext(ctx context.Context, params *ManifestModifyLibpodParams, opts ...ClientOption) (*ManifestModifyLibpodOK, error)

ManifestModifyLibpodContext modifies manifest list.

Add/Remove an image(s) to a manifest list

Note: operations are not atomic when multiple Images are provided.

As of v4.0.0 .

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

func (*Client) ManifestPushLibpod

func (a *Client) ManifestPushLibpod(params *ManifestPushLibpodParams, opts ...ClientOption) (*ManifestPushLibpodOK, error)

ManifestPushLibpod pushes manifest list to registry.

Push a manifest list or image index to the named registry

As of v4.0.0 .

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

func (*Client) ManifestPushLibpodContext

func (a *Client) ManifestPushLibpodContext(ctx context.Context, params *ManifestPushLibpodParams, opts ...ClientOption) (*ManifestPushLibpodOK, error)

ManifestPushLibpodContext pushes manifest list to registry.

Push a manifest list or image index to the named registry

As of v4.0.0 .

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

func (*Client) ManifestPushV3Libpod deprecated

func (a *Client) ManifestPushV3Libpod(params *ManifestPushV3LibpodParams, opts ...ClientOption) (*ManifestPushV3LibpodOK, error)

ManifestPushV3Libpod pushes manifest to registry.

Push a manifest list or image index to a registry

Deprecated: As of 4.0.0 use ManifestPushLibpod instead .

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

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

func (*Client) ManifestPushV3LibpodContext deprecated

func (a *Client) ManifestPushV3LibpodContext(ctx context.Context, params *ManifestPushV3LibpodParams, opts ...ClientOption) (*ManifestPushV3LibpodOK, error)

ManifestPushV3LibpodContext pushes manifest to registry.

Push a manifest list or image index to a registry

Deprecated: As of 4.0.0 use ManifestPushLibpod instead .

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

type ClientService interface {

	// ManifestAddLibpod add image.
	ManifestAddLibpod(params *ManifestAddLibpodParams, opts ...ClientOption) (*ManifestAddLibpodOK, error)

	// ManifestAddLibpodContext add image.
	ManifestAddLibpodContext(ctx context.Context, params *ManifestAddLibpodParams, opts ...ClientOption) (*ManifestAddLibpodOK, error)

	// ManifestCreateLibpod create.
	ManifestCreateLibpod(params *ManifestCreateLibpodParams, opts ...ClientOption) (*ManifestCreateLibpodCreated, error)

	// ManifestCreateLibpodContext create.
	ManifestCreateLibpodContext(ctx context.Context, params *ManifestCreateLibpodParams, opts ...ClientOption) (*ManifestCreateLibpodCreated, error)

	// ManifestDeleteLibpod delete manifest list.
	ManifestDeleteLibpod(params *ManifestDeleteLibpodParams, opts ...ClientOption) (*ManifestDeleteLibpodOK, error)

	// ManifestDeleteLibpodContext delete manifest list.
	ManifestDeleteLibpodContext(ctx context.Context, params *ManifestDeleteLibpodParams, opts ...ClientOption) (*ManifestDeleteLibpodOK, error)

	// ManifestExistsLibpod exists.
	ManifestExistsLibpod(params *ManifestExistsLibpodParams, opts ...ClientOption) (*ManifestExistsLibpodNoContent, error)

	// ManifestExistsLibpodContext exists.
	ManifestExistsLibpodContext(ctx context.Context, params *ManifestExistsLibpodParams, opts ...ClientOption) (*ManifestExistsLibpodNoContent, error)

	// ManifestInspectLibpod inspect.
	ManifestInspectLibpod(params *ManifestInspectLibpodParams, opts ...ClientOption) (*ManifestInspectLibpodOK, error)

	// ManifestInspectLibpodContext inspect.
	ManifestInspectLibpodContext(ctx context.Context, params *ManifestInspectLibpodParams, opts ...ClientOption) (*ManifestInspectLibpodOK, error)

	// ManifestModifyLibpod modify manifest list.
	ManifestModifyLibpod(params *ManifestModifyLibpodParams, opts ...ClientOption) (*ManifestModifyLibpodOK, error)

	// ManifestModifyLibpodContext modify manifest list.
	ManifestModifyLibpodContext(ctx context.Context, params *ManifestModifyLibpodParams, opts ...ClientOption) (*ManifestModifyLibpodOK, error)

	// ManifestPushLibpod push manifest list to registry.
	ManifestPushLibpod(params *ManifestPushLibpodParams, opts ...ClientOption) (*ManifestPushLibpodOK, error)

	// ManifestPushLibpodContext push manifest list to registry.
	ManifestPushLibpodContext(ctx context.Context, params *ManifestPushLibpodParams, opts ...ClientOption) (*ManifestPushLibpodOK, error)

	// ManifestPushV3Libpod push manifest to registry.
	ManifestPushV3Libpod(params *ManifestPushV3LibpodParams, opts ...ClientOption) (*ManifestPushV3LibpodOK, error)

	// ManifestPushV3LibpodContext push manifest to registry.
	ManifestPushV3LibpodContext(ctx context.Context, params *ManifestPushV3LibpodParams, opts ...ClientOption) (*ManifestPushV3LibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new manifests API client.

func NewClientWithBasicAuth

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

New creates a new manifests 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 manifests 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 ManifestAddLibpodConflict

type ManifestAddLibpodConflict struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewManifestAddLibpodConflict

func NewManifestAddLibpodConflict() *ManifestAddLibpodConflict

NewManifestAddLibpodConflict creates a ManifestAddLibpodConflict with default headers values

func (*ManifestAddLibpodConflict) Code

func (o *ManifestAddLibpodConflict) Code() int

Code gets the status code for the manifest add libpod conflict response

func (*ManifestAddLibpodConflict) Error

func (o *ManifestAddLibpodConflict) Error() string

func (*ManifestAddLibpodConflict) GetPayload

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

func (*ManifestAddLibpodConflict) IsClientError

func (o *ManifestAddLibpodConflict) IsClientError() bool

IsClientError returns true when this manifest add libpod conflict response has a 4xx status code

func (*ManifestAddLibpodConflict) IsCode

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

IsCode returns true when this manifest add libpod conflict response a status code equal to that given

func (*ManifestAddLibpodConflict) IsRedirect

func (o *ManifestAddLibpodConflict) IsRedirect() bool

IsRedirect returns true when this manifest add libpod conflict response has a 3xx status code

func (*ManifestAddLibpodConflict) IsServerError

func (o *ManifestAddLibpodConflict) IsServerError() bool

IsServerError returns true when this manifest add libpod conflict response has a 5xx status code

func (*ManifestAddLibpodConflict) IsSuccess

func (o *ManifestAddLibpodConflict) IsSuccess() bool

IsSuccess returns true when this manifest add libpod conflict response has a 2xx status code

func (*ManifestAddLibpodConflict) String

func (o *ManifestAddLibpodConflict) String() string

type ManifestAddLibpodInternalServerError

type ManifestAddLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestAddLibpodInternalServerError

func NewManifestAddLibpodInternalServerError() *ManifestAddLibpodInternalServerError

NewManifestAddLibpodInternalServerError creates a ManifestAddLibpodInternalServerError with default headers values

func (*ManifestAddLibpodInternalServerError) Code

Code gets the status code for the manifest add libpod internal server error response

func (*ManifestAddLibpodInternalServerError) Error

func (*ManifestAddLibpodInternalServerError) GetPayload

func (*ManifestAddLibpodInternalServerError) IsClientError

func (o *ManifestAddLibpodInternalServerError) IsClientError() bool

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

func (*ManifestAddLibpodInternalServerError) IsCode

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

func (*ManifestAddLibpodInternalServerError) IsRedirect

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

func (*ManifestAddLibpodInternalServerError) IsServerError

func (o *ManifestAddLibpodInternalServerError) IsServerError() bool

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

func (*ManifestAddLibpodInternalServerError) IsSuccess

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

func (*ManifestAddLibpodInternalServerError) String

type ManifestAddLibpodNotFound

type ManifestAddLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestAddLibpodNotFound

func NewManifestAddLibpodNotFound() *ManifestAddLibpodNotFound

NewManifestAddLibpodNotFound creates a ManifestAddLibpodNotFound with default headers values

func (*ManifestAddLibpodNotFound) Code

func (o *ManifestAddLibpodNotFound) Code() int

Code gets the status code for the manifest add libpod not found response

func (*ManifestAddLibpodNotFound) Error

func (o *ManifestAddLibpodNotFound) Error() string

func (*ManifestAddLibpodNotFound) GetPayload

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

func (*ManifestAddLibpodNotFound) IsClientError

func (o *ManifestAddLibpodNotFound) IsClientError() bool

IsClientError returns true when this manifest add libpod not found response has a 4xx status code

func (*ManifestAddLibpodNotFound) IsCode

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

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

func (*ManifestAddLibpodNotFound) IsRedirect

func (o *ManifestAddLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this manifest add libpod not found response has a 3xx status code

func (*ManifestAddLibpodNotFound) IsServerError

func (o *ManifestAddLibpodNotFound) IsServerError() bool

IsServerError returns true when this manifest add libpod not found response has a 5xx status code

func (*ManifestAddLibpodNotFound) IsSuccess

func (o *ManifestAddLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this manifest add libpod not found response has a 2xx status code

func (*ManifestAddLibpodNotFound) String

func (o *ManifestAddLibpodNotFound) String() string

type ManifestAddLibpodOK

type ManifestAddLibpodOK struct {
	Payload *models.IDResponse
}

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

ManifestAddLibpodOK manifest add libpod o k

func NewManifestAddLibpodOK

func NewManifestAddLibpodOK() *ManifestAddLibpodOK

NewManifestAddLibpodOK creates a ManifestAddLibpodOK with default headers values

func (*ManifestAddLibpodOK) Code

func (o *ManifestAddLibpodOK) Code() int

Code gets the status code for the manifest add libpod o k response

func (*ManifestAddLibpodOK) Error

func (o *ManifestAddLibpodOK) Error() string

func (*ManifestAddLibpodOK) GetPayload

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

func (*ManifestAddLibpodOK) IsClientError

func (o *ManifestAddLibpodOK) IsClientError() bool

IsClientError returns true when this manifest add libpod o k response has a 4xx status code

func (*ManifestAddLibpodOK) IsCode

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

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

func (*ManifestAddLibpodOK) IsRedirect

func (o *ManifestAddLibpodOK) IsRedirect() bool

IsRedirect returns true when this manifest add libpod o k response has a 3xx status code

func (*ManifestAddLibpodOK) IsServerError

func (o *ManifestAddLibpodOK) IsServerError() bool

IsServerError returns true when this manifest add libpod o k response has a 5xx status code

func (*ManifestAddLibpodOK) IsSuccess

func (o *ManifestAddLibpodOK) IsSuccess() bool

IsSuccess returns true when this manifest add libpod o k response has a 2xx status code

func (*ManifestAddLibpodOK) String

func (o *ManifestAddLibpodOK) String() string

type ManifestAddLibpodParams

type ManifestAddLibpodParams struct {

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

	// Options.
	//
	// options for creating a manifest
	Options *models.ManifestAddOptions

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

ManifestAddLibpodParams contains all the parameters to send to the API endpoint

for the manifest add libpod operation.

Typically these are written to a http.Request.

func NewManifestAddLibpodParams

func NewManifestAddLibpodParams() *ManifestAddLibpodParams

NewManifestAddLibpodParams creates a new ManifestAddLibpodParams 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 NewManifestAddLibpodParamsWithContext deprecated

func NewManifestAddLibpodParamsWithContext(ctx context.Context) *ManifestAddLibpodParams

NewManifestAddLibpodParamsWithContext creates a new ManifestAddLibpodParams object with the ability to set a context for a request.

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

func NewManifestAddLibpodParamsWithHTTPClient

func NewManifestAddLibpodParamsWithHTTPClient(client *http.Client) *ManifestAddLibpodParams

NewManifestAddLibpodParamsWithHTTPClient creates a new ManifestAddLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestAddLibpodParamsWithTimeout

func NewManifestAddLibpodParamsWithTimeout(timeout time.Duration) *ManifestAddLibpodParams

NewManifestAddLibpodParamsWithTimeout creates a new ManifestAddLibpodParams object with the ability to set a timeout on a request.

func (*ManifestAddLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest add libpod params.

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

func (*ManifestAddLibpodParams) SetDefaults

func (o *ManifestAddLibpodParams) SetDefaults()

SetDefaults hydrates default values in the manifest add libpod params (not the query body).

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

func (*ManifestAddLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest add libpod params.

func (*ManifestAddLibpodParams) SetName

func (o *ManifestAddLibpodParams) SetName(name string)

SetName adds the name to the manifest add libpod params.

func (*ManifestAddLibpodParams) SetOptions

func (o *ManifestAddLibpodParams) SetOptions(options *models.ManifestAddOptions)

SetOptions adds the options to the manifest add libpod params.

func (*ManifestAddLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest add libpod params.

func (*ManifestAddLibpodParams) WithContext deprecated

WithContext adds the context to the manifest add libpod params.

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

func (*ManifestAddLibpodParams) WithDefaults

WithDefaults hydrates default values in the manifest add libpod params (not the query body).

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

func (*ManifestAddLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the manifest add libpod params.

func (*ManifestAddLibpodParams) WithName

WithName adds the name to the manifest add libpod params.

func (*ManifestAddLibpodParams) WithOptions

WithOptions adds the options to the manifest add libpod params.

func (*ManifestAddLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest add libpod params.

func (*ManifestAddLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestAddLibpodReader

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

ManifestAddLibpodReader is a Reader for the ManifestAddLibpod structure.

func (*ManifestAddLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestCreateLibpodBadRequest

type ManifestCreateLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewManifestCreateLibpodBadRequest

func NewManifestCreateLibpodBadRequest() *ManifestCreateLibpodBadRequest

NewManifestCreateLibpodBadRequest creates a ManifestCreateLibpodBadRequest with default headers values

func (*ManifestCreateLibpodBadRequest) Code

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

func (*ManifestCreateLibpodBadRequest) Error

func (*ManifestCreateLibpodBadRequest) GetPayload

func (*ManifestCreateLibpodBadRequest) IsClientError

func (o *ManifestCreateLibpodBadRequest) IsClientError() bool

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

func (*ManifestCreateLibpodBadRequest) IsCode

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

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

func (*ManifestCreateLibpodBadRequest) IsRedirect

func (o *ManifestCreateLibpodBadRequest) IsRedirect() bool

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

func (*ManifestCreateLibpodBadRequest) IsServerError

func (o *ManifestCreateLibpodBadRequest) IsServerError() bool

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

func (*ManifestCreateLibpodBadRequest) IsSuccess

func (o *ManifestCreateLibpodBadRequest) IsSuccess() bool

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

func (*ManifestCreateLibpodBadRequest) String

type ManifestCreateLibpodCreated

type ManifestCreateLibpodCreated struct {
	Payload *models.IDResponse
}

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

ManifestCreateLibpodCreated manifest create libpod created

func NewManifestCreateLibpodCreated

func NewManifestCreateLibpodCreated() *ManifestCreateLibpodCreated

NewManifestCreateLibpodCreated creates a ManifestCreateLibpodCreated with default headers values

func (*ManifestCreateLibpodCreated) Code

func (o *ManifestCreateLibpodCreated) Code() int

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

func (*ManifestCreateLibpodCreated) Error

func (*ManifestCreateLibpodCreated) GetPayload

func (*ManifestCreateLibpodCreated) IsClientError

func (o *ManifestCreateLibpodCreated) IsClientError() bool

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

func (*ManifestCreateLibpodCreated) IsCode

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

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

func (*ManifestCreateLibpodCreated) IsRedirect

func (o *ManifestCreateLibpodCreated) IsRedirect() bool

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

func (*ManifestCreateLibpodCreated) IsServerError

func (o *ManifestCreateLibpodCreated) IsServerError() bool

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

func (*ManifestCreateLibpodCreated) IsSuccess

func (o *ManifestCreateLibpodCreated) IsSuccess() bool

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

func (*ManifestCreateLibpodCreated) String

func (o *ManifestCreateLibpodCreated) String() string

type ManifestCreateLibpodInternalServerError

type ManifestCreateLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestCreateLibpodInternalServerError

func NewManifestCreateLibpodInternalServerError() *ManifestCreateLibpodInternalServerError

NewManifestCreateLibpodInternalServerError creates a ManifestCreateLibpodInternalServerError with default headers values

func (*ManifestCreateLibpodInternalServerError) Code

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

func (*ManifestCreateLibpodInternalServerError) Error

func (*ManifestCreateLibpodInternalServerError) GetPayload

func (*ManifestCreateLibpodInternalServerError) IsClientError

func (o *ManifestCreateLibpodInternalServerError) IsClientError() bool

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

func (*ManifestCreateLibpodInternalServerError) IsCode

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

func (*ManifestCreateLibpodInternalServerError) IsRedirect

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

func (*ManifestCreateLibpodInternalServerError) IsServerError

func (o *ManifestCreateLibpodInternalServerError) IsServerError() bool

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

func (*ManifestCreateLibpodInternalServerError) IsSuccess

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

func (*ManifestCreateLibpodInternalServerError) String

type ManifestCreateLibpodNotFound

type ManifestCreateLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such image

func NewManifestCreateLibpodNotFound

func NewManifestCreateLibpodNotFound() *ManifestCreateLibpodNotFound

NewManifestCreateLibpodNotFound creates a ManifestCreateLibpodNotFound with default headers values

func (*ManifestCreateLibpodNotFound) Code

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

func (*ManifestCreateLibpodNotFound) Error

func (*ManifestCreateLibpodNotFound) GetPayload

func (*ManifestCreateLibpodNotFound) IsClientError

func (o *ManifestCreateLibpodNotFound) IsClientError() bool

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

func (*ManifestCreateLibpodNotFound) IsCode

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

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

func (*ManifestCreateLibpodNotFound) IsRedirect

func (o *ManifestCreateLibpodNotFound) IsRedirect() bool

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

func (*ManifestCreateLibpodNotFound) IsServerError

func (o *ManifestCreateLibpodNotFound) IsServerError() bool

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

func (*ManifestCreateLibpodNotFound) IsSuccess

func (o *ManifestCreateLibpodNotFound) IsSuccess() bool

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

func (*ManifestCreateLibpodNotFound) String

type ManifestCreateLibpodParams

type ManifestCreateLibpodParams struct {

	// All.
	//
	// add all contents if given list
	All *bool

	// Amend.
	//
	// modify an existing list if one with the desired name already exists
	Amend *bool

	// Images.
	//
	// One or more names of an image or a manifest list. Repeat parameter as needed.
	//
	// Support for multiple images, as of version 4.0.0
	// Alias of `image` is support for compatibility with < 4.0.0
	// Response status code is 200 with < 4.0.0 for compatibility
	//
	Images *string

	// Name.
	//
	// manifest list or index name to create
	Name string

	// Options.
	//
	// options for new manifest
	Options *models.ManifestModifyOptions

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

ManifestCreateLibpodParams contains all the parameters to send to the API endpoint

for the manifest create libpod operation.

Typically these are written to a http.Request.

func NewManifestCreateLibpodParams

func NewManifestCreateLibpodParams() *ManifestCreateLibpodParams

NewManifestCreateLibpodParams creates a new ManifestCreateLibpodParams 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 NewManifestCreateLibpodParamsWithContext deprecated

func NewManifestCreateLibpodParamsWithContext(ctx context.Context) *ManifestCreateLibpodParams

NewManifestCreateLibpodParamsWithContext creates a new ManifestCreateLibpodParams object with the ability to set a context for a request.

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

func NewManifestCreateLibpodParamsWithHTTPClient

func NewManifestCreateLibpodParamsWithHTTPClient(client *http.Client) *ManifestCreateLibpodParams

NewManifestCreateLibpodParamsWithHTTPClient creates a new ManifestCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestCreateLibpodParamsWithTimeout

func NewManifestCreateLibpodParamsWithTimeout(timeout time.Duration) *ManifestCreateLibpodParams

NewManifestCreateLibpodParamsWithTimeout creates a new ManifestCreateLibpodParams object with the ability to set a timeout on a request.

func (*ManifestCreateLibpodParams) SetAll

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

SetAll adds the all to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetAmend

func (o *ManifestCreateLibpodParams) SetAmend(amend *bool)

SetAmend adds the amend to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest create libpod params.

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

func (*ManifestCreateLibpodParams) SetDefaults

func (o *ManifestCreateLibpodParams) SetDefaults()

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

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

func (*ManifestCreateLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetImages

func (o *ManifestCreateLibpodParams) SetImages(images *string)

SetImages adds the images to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetName

func (o *ManifestCreateLibpodParams) SetName(name string)

SetName adds the name to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetOptions

SetOptions adds the options to the manifest create libpod params.

func (*ManifestCreateLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithAll

WithAll adds the all to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithAmend

WithAmend adds the amend to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithContext deprecated

WithContext adds the context to the manifest create libpod params.

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

func (*ManifestCreateLibpodParams) WithDefaults

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

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

func (*ManifestCreateLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithImages

WithImages adds the images to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithName

WithName adds the name to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithOptions

WithOptions adds the options to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest create libpod params.

func (*ManifestCreateLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestCreateLibpodReader

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

ManifestCreateLibpodReader is a Reader for the ManifestCreateLibpod structure.

func (*ManifestCreateLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestDeleteLibpodInternalServerError

type ManifestDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestDeleteLibpodInternalServerError

func NewManifestDeleteLibpodInternalServerError() *ManifestDeleteLibpodInternalServerError

NewManifestDeleteLibpodInternalServerError creates a ManifestDeleteLibpodInternalServerError with default headers values

func (*ManifestDeleteLibpodInternalServerError) Code

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

func (*ManifestDeleteLibpodInternalServerError) Error

func (*ManifestDeleteLibpodInternalServerError) GetPayload

func (*ManifestDeleteLibpodInternalServerError) IsClientError

func (o *ManifestDeleteLibpodInternalServerError) IsClientError() bool

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

func (*ManifestDeleteLibpodInternalServerError) IsCode

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

func (*ManifestDeleteLibpodInternalServerError) IsRedirect

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

func (*ManifestDeleteLibpodInternalServerError) IsServerError

func (o *ManifestDeleteLibpodInternalServerError) IsServerError() bool

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

func (*ManifestDeleteLibpodInternalServerError) IsSuccess

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

func (*ManifestDeleteLibpodInternalServerError) String

type ManifestDeleteLibpodNotFound

type ManifestDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestDeleteLibpodNotFound

func NewManifestDeleteLibpodNotFound() *ManifestDeleteLibpodNotFound

NewManifestDeleteLibpodNotFound creates a ManifestDeleteLibpodNotFound with default headers values

func (*ManifestDeleteLibpodNotFound) Code

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

func (*ManifestDeleteLibpodNotFound) Error

func (*ManifestDeleteLibpodNotFound) GetPayload

func (*ManifestDeleteLibpodNotFound) IsClientError

func (o *ManifestDeleteLibpodNotFound) IsClientError() bool

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

func (*ManifestDeleteLibpodNotFound) IsCode

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

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

func (*ManifestDeleteLibpodNotFound) IsRedirect

func (o *ManifestDeleteLibpodNotFound) IsRedirect() bool

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

func (*ManifestDeleteLibpodNotFound) IsServerError

func (o *ManifestDeleteLibpodNotFound) IsServerError() bool

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

func (*ManifestDeleteLibpodNotFound) IsSuccess

func (o *ManifestDeleteLibpodNotFound) IsSuccess() bool

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

func (*ManifestDeleteLibpodNotFound) String

type ManifestDeleteLibpodOK

type ManifestDeleteLibpodOK struct {
	Payload *models.LibpodImagesRemoveReport
}

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

Image Remove

func NewManifestDeleteLibpodOK

func NewManifestDeleteLibpodOK() *ManifestDeleteLibpodOK

NewManifestDeleteLibpodOK creates a ManifestDeleteLibpodOK with default headers values

func (*ManifestDeleteLibpodOK) Code

func (o *ManifestDeleteLibpodOK) Code() int

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

func (*ManifestDeleteLibpodOK) Error

func (o *ManifestDeleteLibpodOK) Error() string

func (*ManifestDeleteLibpodOK) GetPayload

func (*ManifestDeleteLibpodOK) IsClientError

func (o *ManifestDeleteLibpodOK) IsClientError() bool

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

func (*ManifestDeleteLibpodOK) IsCode

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

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

func (*ManifestDeleteLibpodOK) IsRedirect

func (o *ManifestDeleteLibpodOK) IsRedirect() bool

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

func (*ManifestDeleteLibpodOK) IsServerError

func (o *ManifestDeleteLibpodOK) IsServerError() bool

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

func (*ManifestDeleteLibpodOK) IsSuccess

func (o *ManifestDeleteLibpodOK) IsSuccess() bool

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

func (*ManifestDeleteLibpodOK) String

func (o *ManifestDeleteLibpodOK) String() string

type ManifestDeleteLibpodParams

type ManifestDeleteLibpodParams struct {

	// Ignore.
	//
	// Ignore if a specified manifest does not exist and do not throw an error.
	Ignore *bool

	// Name.
	//
	// The name or ID of the  list to be deleted
	Name string

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

ManifestDeleteLibpodParams contains all the parameters to send to the API endpoint

for the manifest delete libpod operation.

Typically these are written to a http.Request.

func NewManifestDeleteLibpodParams

func NewManifestDeleteLibpodParams() *ManifestDeleteLibpodParams

NewManifestDeleteLibpodParams creates a new ManifestDeleteLibpodParams 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 NewManifestDeleteLibpodParamsWithContext deprecated

func NewManifestDeleteLibpodParamsWithContext(ctx context.Context) *ManifestDeleteLibpodParams

NewManifestDeleteLibpodParamsWithContext creates a new ManifestDeleteLibpodParams object with the ability to set a context for a request.

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

func NewManifestDeleteLibpodParamsWithHTTPClient

func NewManifestDeleteLibpodParamsWithHTTPClient(client *http.Client) *ManifestDeleteLibpodParams

NewManifestDeleteLibpodParamsWithHTTPClient creates a new ManifestDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestDeleteLibpodParamsWithTimeout

func NewManifestDeleteLibpodParamsWithTimeout(timeout time.Duration) *ManifestDeleteLibpodParams

NewManifestDeleteLibpodParamsWithTimeout creates a new ManifestDeleteLibpodParams object with the ability to set a timeout on a request.

func (*ManifestDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest delete libpod params.

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

func (*ManifestDeleteLibpodParams) SetDefaults

func (o *ManifestDeleteLibpodParams) SetDefaults()

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

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

func (*ManifestDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) SetIgnore

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

SetIgnore adds the ignore to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) SetName

func (o *ManifestDeleteLibpodParams) SetName(name string)

SetName adds the name to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the manifest delete libpod params.

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

func (*ManifestDeleteLibpodParams) WithDefaults

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

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

func (*ManifestDeleteLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) WithIgnore

WithIgnore adds the ignore to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) WithName

WithName adds the name to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest delete libpod params.

func (*ManifestDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestDeleteLibpodReader

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

ManifestDeleteLibpodReader is a Reader for the ManifestDeleteLibpod structure.

func (*ManifestDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestExistsLibpodInternalServerError

type ManifestExistsLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestExistsLibpodInternalServerError

func NewManifestExistsLibpodInternalServerError() *ManifestExistsLibpodInternalServerError

NewManifestExistsLibpodInternalServerError creates a ManifestExistsLibpodInternalServerError with default headers values

func (*ManifestExistsLibpodInternalServerError) Code

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

func (*ManifestExistsLibpodInternalServerError) Error

func (*ManifestExistsLibpodInternalServerError) GetPayload

func (*ManifestExistsLibpodInternalServerError) IsClientError

func (o *ManifestExistsLibpodInternalServerError) IsClientError() bool

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

func (*ManifestExistsLibpodInternalServerError) IsCode

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

func (*ManifestExistsLibpodInternalServerError) IsRedirect

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

func (*ManifestExistsLibpodInternalServerError) IsServerError

func (o *ManifestExistsLibpodInternalServerError) IsServerError() bool

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

func (*ManifestExistsLibpodInternalServerError) IsSuccess

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

func (*ManifestExistsLibpodInternalServerError) String

type ManifestExistsLibpodNoContent

type ManifestExistsLibpodNoContent struct {
}

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

manifest list exists

func NewManifestExistsLibpodNoContent

func NewManifestExistsLibpodNoContent() *ManifestExistsLibpodNoContent

NewManifestExistsLibpodNoContent creates a ManifestExistsLibpodNoContent with default headers values

func (*ManifestExistsLibpodNoContent) Code

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

func (*ManifestExistsLibpodNoContent) Error

func (*ManifestExistsLibpodNoContent) IsClientError

func (o *ManifestExistsLibpodNoContent) IsClientError() bool

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

func (*ManifestExistsLibpodNoContent) IsCode

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

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

func (*ManifestExistsLibpodNoContent) IsRedirect

func (o *ManifestExistsLibpodNoContent) IsRedirect() bool

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

func (*ManifestExistsLibpodNoContent) IsServerError

func (o *ManifestExistsLibpodNoContent) IsServerError() bool

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

func (*ManifestExistsLibpodNoContent) IsSuccess

func (o *ManifestExistsLibpodNoContent) IsSuccess() bool

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

func (*ManifestExistsLibpodNoContent) String

type ManifestExistsLibpodNotFound

type ManifestExistsLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestExistsLibpodNotFound

func NewManifestExistsLibpodNotFound() *ManifestExistsLibpodNotFound

NewManifestExistsLibpodNotFound creates a ManifestExistsLibpodNotFound with default headers values

func (*ManifestExistsLibpodNotFound) Code

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

func (*ManifestExistsLibpodNotFound) Error

func (*ManifestExistsLibpodNotFound) GetPayload

func (*ManifestExistsLibpodNotFound) IsClientError

func (o *ManifestExistsLibpodNotFound) IsClientError() bool

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

func (*ManifestExistsLibpodNotFound) IsCode

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

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

func (*ManifestExistsLibpodNotFound) IsRedirect

func (o *ManifestExistsLibpodNotFound) IsRedirect() bool

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

func (*ManifestExistsLibpodNotFound) IsServerError

func (o *ManifestExistsLibpodNotFound) IsServerError() bool

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

func (*ManifestExistsLibpodNotFound) IsSuccess

func (o *ManifestExistsLibpodNotFound) IsSuccess() bool

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

func (*ManifestExistsLibpodNotFound) String

type ManifestExistsLibpodParams

type ManifestExistsLibpodParams struct {

	// Name.
	//
	// the name or ID of the manifest list
	Name string

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

ManifestExistsLibpodParams contains all the parameters to send to the API endpoint

for the manifest exists libpod operation.

Typically these are written to a http.Request.

func NewManifestExistsLibpodParams

func NewManifestExistsLibpodParams() *ManifestExistsLibpodParams

NewManifestExistsLibpodParams creates a new ManifestExistsLibpodParams 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 NewManifestExistsLibpodParamsWithContext deprecated

func NewManifestExistsLibpodParamsWithContext(ctx context.Context) *ManifestExistsLibpodParams

NewManifestExistsLibpodParamsWithContext creates a new ManifestExistsLibpodParams object with the ability to set a context for a request.

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

func NewManifestExistsLibpodParamsWithHTTPClient

func NewManifestExistsLibpodParamsWithHTTPClient(client *http.Client) *ManifestExistsLibpodParams

NewManifestExistsLibpodParamsWithHTTPClient creates a new ManifestExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestExistsLibpodParamsWithTimeout

func NewManifestExistsLibpodParamsWithTimeout(timeout time.Duration) *ManifestExistsLibpodParams

NewManifestExistsLibpodParamsWithTimeout creates a new ManifestExistsLibpodParams object with the ability to set a timeout on a request.

func (*ManifestExistsLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest exists libpod params.

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

func (*ManifestExistsLibpodParams) SetDefaults

func (o *ManifestExistsLibpodParams) SetDefaults()

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

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

func (*ManifestExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) SetName

func (o *ManifestExistsLibpodParams) SetName(name string)

SetName adds the name to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) WithContext deprecated

WithContext adds the context to the manifest exists libpod params.

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

func (*ManifestExistsLibpodParams) WithDefaults

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

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

func (*ManifestExistsLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) WithName

WithName adds the name to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest exists libpod params.

func (*ManifestExistsLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestExistsLibpodReader

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

ManifestExistsLibpodReader is a Reader for the ManifestExistsLibpod structure.

func (*ManifestExistsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestInspectLibpodInternalServerError

type ManifestInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestInspectLibpodInternalServerError

func NewManifestInspectLibpodInternalServerError() *ManifestInspectLibpodInternalServerError

NewManifestInspectLibpodInternalServerError creates a ManifestInspectLibpodInternalServerError with default headers values

func (*ManifestInspectLibpodInternalServerError) Code

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

func (*ManifestInspectLibpodInternalServerError) Error

func (*ManifestInspectLibpodInternalServerError) GetPayload

func (*ManifestInspectLibpodInternalServerError) IsClientError

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

func (*ManifestInspectLibpodInternalServerError) IsCode

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

func (*ManifestInspectLibpodInternalServerError) IsRedirect

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

func (*ManifestInspectLibpodInternalServerError) IsServerError

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

func (*ManifestInspectLibpodInternalServerError) IsSuccess

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

func (*ManifestInspectLibpodInternalServerError) String

type ManifestInspectLibpodNotFound

type ManifestInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestInspectLibpodNotFound

func NewManifestInspectLibpodNotFound() *ManifestInspectLibpodNotFound

NewManifestInspectLibpodNotFound creates a ManifestInspectLibpodNotFound with default headers values

func (*ManifestInspectLibpodNotFound) Code

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

func (*ManifestInspectLibpodNotFound) Error

func (*ManifestInspectLibpodNotFound) GetPayload

func (*ManifestInspectLibpodNotFound) IsClientError

func (o *ManifestInspectLibpodNotFound) IsClientError() bool

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

func (*ManifestInspectLibpodNotFound) IsCode

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

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

func (*ManifestInspectLibpodNotFound) IsRedirect

func (o *ManifestInspectLibpodNotFound) IsRedirect() bool

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

func (*ManifestInspectLibpodNotFound) IsServerError

func (o *ManifestInspectLibpodNotFound) IsServerError() bool

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

func (*ManifestInspectLibpodNotFound) IsSuccess

func (o *ManifestInspectLibpodNotFound) IsSuccess() bool

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

func (*ManifestInspectLibpodNotFound) String

type ManifestInspectLibpodOK

type ManifestInspectLibpodOK struct {
	Payload *models.Schema2ListPublic
}

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

Inspect Manifest

func NewManifestInspectLibpodOK

func NewManifestInspectLibpodOK() *ManifestInspectLibpodOK

NewManifestInspectLibpodOK creates a ManifestInspectLibpodOK with default headers values

func (*ManifestInspectLibpodOK) Code

func (o *ManifestInspectLibpodOK) Code() int

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

func (*ManifestInspectLibpodOK) Error

func (o *ManifestInspectLibpodOK) Error() string

func (*ManifestInspectLibpodOK) GetPayload

func (*ManifestInspectLibpodOK) IsClientError

func (o *ManifestInspectLibpodOK) IsClientError() bool

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

func (*ManifestInspectLibpodOK) IsCode

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

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

func (*ManifestInspectLibpodOK) IsRedirect

func (o *ManifestInspectLibpodOK) IsRedirect() bool

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

func (*ManifestInspectLibpodOK) IsServerError

func (o *ManifestInspectLibpodOK) IsServerError() bool

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

func (*ManifestInspectLibpodOK) IsSuccess

func (o *ManifestInspectLibpodOK) IsSuccess() bool

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

func (*ManifestInspectLibpodOK) String

func (o *ManifestInspectLibpodOK) String() string

type ManifestInspectLibpodParams

type ManifestInspectLibpodParams struct {

	// Name.
	//
	// the name or ID of the manifest list
	Name string

	// TLSVerify.
	//
	// Require HTTPS and verify signatures when contacting registries.
	//
	// Default: true
	TLSVerify *bool

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

ManifestInspectLibpodParams contains all the parameters to send to the API endpoint

for the manifest inspect libpod operation.

Typically these are written to a http.Request.

func NewManifestInspectLibpodParams

func NewManifestInspectLibpodParams() *ManifestInspectLibpodParams

NewManifestInspectLibpodParams creates a new ManifestInspectLibpodParams 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 NewManifestInspectLibpodParamsWithContext deprecated

func NewManifestInspectLibpodParamsWithContext(ctx context.Context) *ManifestInspectLibpodParams

NewManifestInspectLibpodParamsWithContext creates a new ManifestInspectLibpodParams object with the ability to set a context for a request.

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

func NewManifestInspectLibpodParamsWithHTTPClient

func NewManifestInspectLibpodParamsWithHTTPClient(client *http.Client) *ManifestInspectLibpodParams

NewManifestInspectLibpodParamsWithHTTPClient creates a new ManifestInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestInspectLibpodParamsWithTimeout

func NewManifestInspectLibpodParamsWithTimeout(timeout time.Duration) *ManifestInspectLibpodParams

NewManifestInspectLibpodParamsWithTimeout creates a new ManifestInspectLibpodParams object with the ability to set a timeout on a request.

func (*ManifestInspectLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest inspect libpod params.

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

func (*ManifestInspectLibpodParams) SetDefaults

func (o *ManifestInspectLibpodParams) SetDefaults()

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

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

func (*ManifestInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) SetName

func (o *ManifestInspectLibpodParams) SetName(name string)

SetName adds the name to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) SetTLSVerify

func (o *ManifestInspectLibpodParams) SetTLSVerify(tlsVerify *bool)

SetTLSVerify adds the tlsVerify to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) WithContext deprecated

WithContext adds the context to the manifest inspect libpod params.

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

func (*ManifestInspectLibpodParams) WithDefaults

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

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

func (*ManifestInspectLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) WithName

WithName adds the name to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) WithTLSVerify

func (o *ManifestInspectLibpodParams) WithTLSVerify(tlsVerify *bool) *ManifestInspectLibpodParams

WithTLSVerify adds the tlsVerify to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest inspect libpod params.

func (*ManifestInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestInspectLibpodReader

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

ManifestInspectLibpodReader is a Reader for the ManifestInspectLibpod structure.

func (*ManifestInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestModifyLibpodBadRequest

type ManifestModifyLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewManifestModifyLibpodBadRequest

func NewManifestModifyLibpodBadRequest() *ManifestModifyLibpodBadRequest

NewManifestModifyLibpodBadRequest creates a ManifestModifyLibpodBadRequest with default headers values

func (*ManifestModifyLibpodBadRequest) Code

Code gets the status code for the manifest modify libpod bad request response

func (*ManifestModifyLibpodBadRequest) Error

func (*ManifestModifyLibpodBadRequest) GetPayload

func (*ManifestModifyLibpodBadRequest) IsClientError

func (o *ManifestModifyLibpodBadRequest) IsClientError() bool

IsClientError returns true when this manifest modify libpod bad request response has a 4xx status code

func (*ManifestModifyLibpodBadRequest) IsCode

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

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

func (*ManifestModifyLibpodBadRequest) IsRedirect

func (o *ManifestModifyLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this manifest modify libpod bad request response has a 3xx status code

func (*ManifestModifyLibpodBadRequest) IsServerError

func (o *ManifestModifyLibpodBadRequest) IsServerError() bool

IsServerError returns true when this manifest modify libpod bad request response has a 5xx status code

func (*ManifestModifyLibpodBadRequest) IsSuccess

func (o *ManifestModifyLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this manifest modify libpod bad request response has a 2xx status code

func (*ManifestModifyLibpodBadRequest) String

type ManifestModifyLibpodConflict

type ManifestModifyLibpodConflict struct {
	Payload *models.ManifestModifyReport
}

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

Operation had partial success, both Images and Errors may have members

func NewManifestModifyLibpodConflict

func NewManifestModifyLibpodConflict() *ManifestModifyLibpodConflict

NewManifestModifyLibpodConflict creates a ManifestModifyLibpodConflict with default headers values

func (*ManifestModifyLibpodConflict) Code

Code gets the status code for the manifest modify libpod conflict response

func (*ManifestModifyLibpodConflict) Error

func (*ManifestModifyLibpodConflict) GetPayload

func (*ManifestModifyLibpodConflict) IsClientError

func (o *ManifestModifyLibpodConflict) IsClientError() bool

IsClientError returns true when this manifest modify libpod conflict response has a 4xx status code

func (*ManifestModifyLibpodConflict) IsCode

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

IsCode returns true when this manifest modify libpod conflict response a status code equal to that given

func (*ManifestModifyLibpodConflict) IsRedirect

func (o *ManifestModifyLibpodConflict) IsRedirect() bool

IsRedirect returns true when this manifest modify libpod conflict response has a 3xx status code

func (*ManifestModifyLibpodConflict) IsServerError

func (o *ManifestModifyLibpodConflict) IsServerError() bool

IsServerError returns true when this manifest modify libpod conflict response has a 5xx status code

func (*ManifestModifyLibpodConflict) IsSuccess

func (o *ManifestModifyLibpodConflict) IsSuccess() bool

IsSuccess returns true when this manifest modify libpod conflict response has a 2xx status code

func (*ManifestModifyLibpodConflict) String

type ManifestModifyLibpodInternalServerError

type ManifestModifyLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestModifyLibpodInternalServerError

func NewManifestModifyLibpodInternalServerError() *ManifestModifyLibpodInternalServerError

NewManifestModifyLibpodInternalServerError creates a ManifestModifyLibpodInternalServerError with default headers values

func (*ManifestModifyLibpodInternalServerError) Code

Code gets the status code for the manifest modify libpod internal server error response

func (*ManifestModifyLibpodInternalServerError) Error

func (*ManifestModifyLibpodInternalServerError) GetPayload

func (*ManifestModifyLibpodInternalServerError) IsClientError

func (o *ManifestModifyLibpodInternalServerError) IsClientError() bool

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

func (*ManifestModifyLibpodInternalServerError) IsCode

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

func (*ManifestModifyLibpodInternalServerError) IsRedirect

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

func (*ManifestModifyLibpodInternalServerError) IsServerError

func (o *ManifestModifyLibpodInternalServerError) IsServerError() bool

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

func (*ManifestModifyLibpodInternalServerError) IsSuccess

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

func (*ManifestModifyLibpodInternalServerError) String

type ManifestModifyLibpodNotFound

type ManifestModifyLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestModifyLibpodNotFound

func NewManifestModifyLibpodNotFound() *ManifestModifyLibpodNotFound

NewManifestModifyLibpodNotFound creates a ManifestModifyLibpodNotFound with default headers values

func (*ManifestModifyLibpodNotFound) Code

Code gets the status code for the manifest modify libpod not found response

func (*ManifestModifyLibpodNotFound) Error

func (*ManifestModifyLibpodNotFound) GetPayload

func (*ManifestModifyLibpodNotFound) IsClientError

func (o *ManifestModifyLibpodNotFound) IsClientError() bool

IsClientError returns true when this manifest modify libpod not found response has a 4xx status code

func (*ManifestModifyLibpodNotFound) IsCode

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

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

func (*ManifestModifyLibpodNotFound) IsRedirect

func (o *ManifestModifyLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this manifest modify libpod not found response has a 3xx status code

func (*ManifestModifyLibpodNotFound) IsServerError

func (o *ManifestModifyLibpodNotFound) IsServerError() bool

IsServerError returns true when this manifest modify libpod not found response has a 5xx status code

func (*ManifestModifyLibpodNotFound) IsSuccess

func (o *ManifestModifyLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this manifest modify libpod not found response has a 2xx status code

func (*ManifestModifyLibpodNotFound) String

type ManifestModifyLibpodOK

type ManifestModifyLibpodOK struct {
	Payload *models.ManifestModifyReport
}

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

ManifestModifyLibpodOK manifest modify libpod o k

func NewManifestModifyLibpodOK

func NewManifestModifyLibpodOK() *ManifestModifyLibpodOK

NewManifestModifyLibpodOK creates a ManifestModifyLibpodOK with default headers values

func (*ManifestModifyLibpodOK) Code

func (o *ManifestModifyLibpodOK) Code() int

Code gets the status code for the manifest modify libpod o k response

func (*ManifestModifyLibpodOK) Error

func (o *ManifestModifyLibpodOK) Error() string

func (*ManifestModifyLibpodOK) GetPayload

func (*ManifestModifyLibpodOK) IsClientError

func (o *ManifestModifyLibpodOK) IsClientError() bool

IsClientError returns true when this manifest modify libpod o k response has a 4xx status code

func (*ManifestModifyLibpodOK) IsCode

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

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

func (*ManifestModifyLibpodOK) IsRedirect

func (o *ManifestModifyLibpodOK) IsRedirect() bool

IsRedirect returns true when this manifest modify libpod o k response has a 3xx status code

func (*ManifestModifyLibpodOK) IsServerError

func (o *ManifestModifyLibpodOK) IsServerError() bool

IsServerError returns true when this manifest modify libpod o k response has a 5xx status code

func (*ManifestModifyLibpodOK) IsSuccess

func (o *ManifestModifyLibpodOK) IsSuccess() bool

IsSuccess returns true when this manifest modify libpod o k response has a 2xx status code

func (*ManifestModifyLibpodOK) String

func (o *ManifestModifyLibpodOK) String() string

type ManifestModifyLibpodParams

type ManifestModifyLibpodParams struct {

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

	// Options.
	//
	// options for mutating a manifest
	Options *models.ManifestModifyOptions

	// TLSVerify.
	//
	// Require HTTPS and verify signatures when contacting registries.
	//
	// Default: true
	TLSVerify *bool

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

ManifestModifyLibpodParams contains all the parameters to send to the API endpoint

for the manifest modify libpod operation.

Typically these are written to a http.Request.

func NewManifestModifyLibpodParams

func NewManifestModifyLibpodParams() *ManifestModifyLibpodParams

NewManifestModifyLibpodParams creates a new ManifestModifyLibpodParams 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 NewManifestModifyLibpodParamsWithContext deprecated

func NewManifestModifyLibpodParamsWithContext(ctx context.Context) *ManifestModifyLibpodParams

NewManifestModifyLibpodParamsWithContext creates a new ManifestModifyLibpodParams object with the ability to set a context for a request.

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

func NewManifestModifyLibpodParamsWithHTTPClient

func NewManifestModifyLibpodParamsWithHTTPClient(client *http.Client) *ManifestModifyLibpodParams

NewManifestModifyLibpodParamsWithHTTPClient creates a new ManifestModifyLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestModifyLibpodParamsWithTimeout

func NewManifestModifyLibpodParamsWithTimeout(timeout time.Duration) *ManifestModifyLibpodParams

NewManifestModifyLibpodParamsWithTimeout creates a new ManifestModifyLibpodParams object with the ability to set a timeout on a request.

func (*ManifestModifyLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest modify libpod params.

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

func (*ManifestModifyLibpodParams) SetDefaults

func (o *ManifestModifyLibpodParams) SetDefaults()

SetDefaults hydrates default values in the manifest modify libpod params (not the query body).

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

func (*ManifestModifyLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) SetName

func (o *ManifestModifyLibpodParams) SetName(name string)

SetName adds the name to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) SetOptions

SetOptions adds the options to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) SetTLSVerify

func (o *ManifestModifyLibpodParams) SetTLSVerify(tlsVerify *bool)

SetTLSVerify adds the tlsVerify to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WithContext deprecated

WithContext adds the context to the manifest modify libpod params.

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

func (*ManifestModifyLibpodParams) WithDefaults

WithDefaults hydrates default values in the manifest modify libpod params (not the query body).

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

func (*ManifestModifyLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WithName

WithName adds the name to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WithOptions

WithOptions adds the options to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WithTLSVerify

func (o *ManifestModifyLibpodParams) WithTLSVerify(tlsVerify *bool) *ManifestModifyLibpodParams

WithTLSVerify adds the tlsVerify to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest modify libpod params.

func (*ManifestModifyLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestModifyLibpodReader

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

ManifestModifyLibpodReader is a Reader for the ManifestModifyLibpod structure.

func (*ManifestModifyLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestPushLibpodBadRequest

type ManifestPushLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewManifestPushLibpodBadRequest

func NewManifestPushLibpodBadRequest() *ManifestPushLibpodBadRequest

NewManifestPushLibpodBadRequest creates a ManifestPushLibpodBadRequest with default headers values

func (*ManifestPushLibpodBadRequest) Code

Code gets the status code for the manifest push libpod bad request response

func (*ManifestPushLibpodBadRequest) Error

func (*ManifestPushLibpodBadRequest) GetPayload

func (*ManifestPushLibpodBadRequest) IsClientError

func (o *ManifestPushLibpodBadRequest) IsClientError() bool

IsClientError returns true when this manifest push libpod bad request response has a 4xx status code

func (*ManifestPushLibpodBadRequest) IsCode

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

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

func (*ManifestPushLibpodBadRequest) IsRedirect

func (o *ManifestPushLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this manifest push libpod bad request response has a 3xx status code

func (*ManifestPushLibpodBadRequest) IsServerError

func (o *ManifestPushLibpodBadRequest) IsServerError() bool

IsServerError returns true when this manifest push libpod bad request response has a 5xx status code

func (*ManifestPushLibpodBadRequest) IsSuccess

func (o *ManifestPushLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this manifest push libpod bad request response has a 2xx status code

func (*ManifestPushLibpodBadRequest) String

type ManifestPushLibpodInternalServerError

type ManifestPushLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestPushLibpodInternalServerError

func NewManifestPushLibpodInternalServerError() *ManifestPushLibpodInternalServerError

NewManifestPushLibpodInternalServerError creates a ManifestPushLibpodInternalServerError with default headers values

func (*ManifestPushLibpodInternalServerError) Code

Code gets the status code for the manifest push libpod internal server error response

func (*ManifestPushLibpodInternalServerError) Error

func (*ManifestPushLibpodInternalServerError) GetPayload

func (*ManifestPushLibpodInternalServerError) IsClientError

func (o *ManifestPushLibpodInternalServerError) IsClientError() bool

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

func (*ManifestPushLibpodInternalServerError) IsCode

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

func (*ManifestPushLibpodInternalServerError) IsRedirect

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

func (*ManifestPushLibpodInternalServerError) IsServerError

func (o *ManifestPushLibpodInternalServerError) IsServerError() bool

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

func (*ManifestPushLibpodInternalServerError) IsSuccess

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

func (*ManifestPushLibpodInternalServerError) String

type ManifestPushLibpodNotFound

type ManifestPushLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestPushLibpodNotFound

func NewManifestPushLibpodNotFound() *ManifestPushLibpodNotFound

NewManifestPushLibpodNotFound creates a ManifestPushLibpodNotFound with default headers values

func (*ManifestPushLibpodNotFound) Code

func (o *ManifestPushLibpodNotFound) Code() int

Code gets the status code for the manifest push libpod not found response

func (*ManifestPushLibpodNotFound) Error

func (*ManifestPushLibpodNotFound) GetPayload

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

func (*ManifestPushLibpodNotFound) IsClientError

func (o *ManifestPushLibpodNotFound) IsClientError() bool

IsClientError returns true when this manifest push libpod not found response has a 4xx status code

func (*ManifestPushLibpodNotFound) IsCode

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

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

func (*ManifestPushLibpodNotFound) IsRedirect

func (o *ManifestPushLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this manifest push libpod not found response has a 3xx status code

func (*ManifestPushLibpodNotFound) IsServerError

func (o *ManifestPushLibpodNotFound) IsServerError() bool

IsServerError returns true when this manifest push libpod not found response has a 5xx status code

func (*ManifestPushLibpodNotFound) IsSuccess

func (o *ManifestPushLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this manifest push libpod not found response has a 2xx status code

func (*ManifestPushLibpodNotFound) String

func (o *ManifestPushLibpodNotFound) String() string

type ManifestPushLibpodOK

type ManifestPushLibpodOK struct {
	Payload *models.IDResponse
}

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

ManifestPushLibpodOK manifest push libpod o k

func NewManifestPushLibpodOK

func NewManifestPushLibpodOK() *ManifestPushLibpodOK

NewManifestPushLibpodOK creates a ManifestPushLibpodOK with default headers values

func (*ManifestPushLibpodOK) Code

func (o *ManifestPushLibpodOK) Code() int

Code gets the status code for the manifest push libpod o k response

func (*ManifestPushLibpodOK) Error

func (o *ManifestPushLibpodOK) Error() string

func (*ManifestPushLibpodOK) GetPayload

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

func (*ManifestPushLibpodOK) IsClientError

func (o *ManifestPushLibpodOK) IsClientError() bool

IsClientError returns true when this manifest push libpod o k response has a 4xx status code

func (*ManifestPushLibpodOK) IsCode

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

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

func (*ManifestPushLibpodOK) IsRedirect

func (o *ManifestPushLibpodOK) IsRedirect() bool

IsRedirect returns true when this manifest push libpod o k response has a 3xx status code

func (*ManifestPushLibpodOK) IsServerError

func (o *ManifestPushLibpodOK) IsServerError() bool

IsServerError returns true when this manifest push libpod o k response has a 5xx status code

func (*ManifestPushLibpodOK) IsSuccess

func (o *ManifestPushLibpodOK) IsSuccess() bool

IsSuccess returns true when this manifest push libpod o k response has a 2xx status code

func (*ManifestPushLibpodOK) String

func (o *ManifestPushLibpodOK) String() string

type ManifestPushLibpodParams

type ManifestPushLibpodParams struct {

	// AddCompression.
	//
	// add existing instances with requested compression algorithms to manifest list
	AddCompression []string

	// All.
	//
	// push all images
	//
	// Default: true
	All *bool

	// Destination.
	//
	// the registry for the manifest list
	Destination string

	// ForceCompressionFormat.
	//
	// Enforce compressing the layers with the specified --compression and do not reuse differently compressed blobs on the registry.
	ForceCompressionFormat *bool

	// Name.
	//
	// the name or ID of the manifest list
	Name string

	// Quiet.
	//
	// silences extra stream data on push
	//
	// Default: true
	Quiet *bool

	// Retry.
	//
	// Number of times to retry push in case of failure.
	Retry *int64

	// RetryDelay.
	//
	// Delay between retries in case of push failures.
	RetryDelay *string

	// TLSVerify.
	//
	// Require HTTPS and verify signatures when contacting registries.
	//
	// Default: true
	TLSVerify *bool

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

ManifestPushLibpodParams contains all the parameters to send to the API endpoint

for the manifest push libpod operation.

Typically these are written to a http.Request.

func NewManifestPushLibpodParams

func NewManifestPushLibpodParams() *ManifestPushLibpodParams

NewManifestPushLibpodParams creates a new ManifestPushLibpodParams 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 NewManifestPushLibpodParamsWithContext deprecated

func NewManifestPushLibpodParamsWithContext(ctx context.Context) *ManifestPushLibpodParams

NewManifestPushLibpodParamsWithContext creates a new ManifestPushLibpodParams object with the ability to set a context for a request.

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

func NewManifestPushLibpodParamsWithHTTPClient

func NewManifestPushLibpodParamsWithHTTPClient(client *http.Client) *ManifestPushLibpodParams

NewManifestPushLibpodParamsWithHTTPClient creates a new ManifestPushLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestPushLibpodParamsWithTimeout

func NewManifestPushLibpodParamsWithTimeout(timeout time.Duration) *ManifestPushLibpodParams

NewManifestPushLibpodParamsWithTimeout creates a new ManifestPushLibpodParams object with the ability to set a timeout on a request.

func (*ManifestPushLibpodParams) SetAddCompression

func (o *ManifestPushLibpodParams) SetAddCompression(addCompression []string)

SetAddCompression adds the addCompression to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetAll

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

SetAll adds the all to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest push libpod params.

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

func (*ManifestPushLibpodParams) SetDefaults

func (o *ManifestPushLibpodParams) SetDefaults()

SetDefaults hydrates default values in the manifest push libpod params (not the query body).

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

func (*ManifestPushLibpodParams) SetDestination

func (o *ManifestPushLibpodParams) SetDestination(destination string)

SetDestination adds the destination to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetForceCompressionFormat

func (o *ManifestPushLibpodParams) SetForceCompressionFormat(forceCompressionFormat *bool)

SetForceCompressionFormat adds the forceCompressionFormat to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetName

func (o *ManifestPushLibpodParams) SetName(name string)

SetName adds the name to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetQuiet

func (o *ManifestPushLibpodParams) SetQuiet(quiet *bool)

SetQuiet adds the quiet to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetRetry

func (o *ManifestPushLibpodParams) SetRetry(retry *int64)

SetRetry adds the retry to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetRetryDelay

func (o *ManifestPushLibpodParams) SetRetryDelay(retryDelay *string)

SetRetryDelay adds the retryDelay to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetTLSVerify

func (o *ManifestPushLibpodParams) SetTLSVerify(tlsVerify *bool)

SetTLSVerify adds the tlsVerify to the manifest push libpod params.

func (*ManifestPushLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithAddCompression

func (o *ManifestPushLibpodParams) WithAddCompression(addCompression []string) *ManifestPushLibpodParams

WithAddCompression adds the addCompression to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithAll

WithAll adds the all to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithContext deprecated

WithContext adds the context to the manifest push libpod params.

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

func (*ManifestPushLibpodParams) WithDefaults

WithDefaults hydrates default values in the manifest push libpod params (not the query body).

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

func (*ManifestPushLibpodParams) WithDestination

func (o *ManifestPushLibpodParams) WithDestination(destination string) *ManifestPushLibpodParams

WithDestination adds the destination to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithForceCompressionFormat

func (o *ManifestPushLibpodParams) WithForceCompressionFormat(forceCompressionFormat *bool) *ManifestPushLibpodParams

WithForceCompressionFormat adds the forceCompressionFormat to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithName

WithName adds the name to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithQuiet

WithQuiet adds the quiet to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithRetry

WithRetry adds the retry to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithRetryDelay

func (o *ManifestPushLibpodParams) WithRetryDelay(retryDelay *string) *ManifestPushLibpodParams

WithRetryDelay adds the retryDelay to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithTLSVerify

func (o *ManifestPushLibpodParams) WithTLSVerify(tlsVerify *bool) *ManifestPushLibpodParams

WithTLSVerify adds the tlsVerify to the manifest push libpod params.

func (*ManifestPushLibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest push libpod params.

func (*ManifestPushLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestPushLibpodReader

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

ManifestPushLibpodReader is a Reader for the ManifestPushLibpod structure.

func (*ManifestPushLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManifestPushV3LibpodBadRequest

type ManifestPushV3LibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewManifestPushV3LibpodBadRequest

func NewManifestPushV3LibpodBadRequest() *ManifestPushV3LibpodBadRequest

NewManifestPushV3LibpodBadRequest creates a ManifestPushV3LibpodBadRequest with default headers values

func (*ManifestPushV3LibpodBadRequest) Code

Code gets the status code for the manifest push v3 libpod bad request response

func (*ManifestPushV3LibpodBadRequest) Error

func (*ManifestPushV3LibpodBadRequest) GetPayload

func (*ManifestPushV3LibpodBadRequest) IsClientError

func (o *ManifestPushV3LibpodBadRequest) IsClientError() bool

IsClientError returns true when this manifest push v3 libpod bad request response has a 4xx status code

func (*ManifestPushV3LibpodBadRequest) IsCode

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

IsCode returns true when this manifest push v3 libpod bad request response a status code equal to that given

func (*ManifestPushV3LibpodBadRequest) IsRedirect

func (o *ManifestPushV3LibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this manifest push v3 libpod bad request response has a 3xx status code

func (*ManifestPushV3LibpodBadRequest) IsServerError

func (o *ManifestPushV3LibpodBadRequest) IsServerError() bool

IsServerError returns true when this manifest push v3 libpod bad request response has a 5xx status code

func (*ManifestPushV3LibpodBadRequest) IsSuccess

func (o *ManifestPushV3LibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this manifest push v3 libpod bad request response has a 2xx status code

func (*ManifestPushV3LibpodBadRequest) String

type ManifestPushV3LibpodInternalServerError

type ManifestPushV3LibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewManifestPushV3LibpodInternalServerError

func NewManifestPushV3LibpodInternalServerError() *ManifestPushV3LibpodInternalServerError

NewManifestPushV3LibpodInternalServerError creates a ManifestPushV3LibpodInternalServerError with default headers values

func (*ManifestPushV3LibpodInternalServerError) Code

Code gets the status code for the manifest push v3 libpod internal server error response

func (*ManifestPushV3LibpodInternalServerError) Error

func (*ManifestPushV3LibpodInternalServerError) GetPayload

func (*ManifestPushV3LibpodInternalServerError) IsClientError

func (o *ManifestPushV3LibpodInternalServerError) IsClientError() bool

IsClientError returns true when this manifest push v3 libpod internal server error response has a 4xx status code

func (*ManifestPushV3LibpodInternalServerError) IsCode

IsCode returns true when this manifest push v3 libpod internal server error response a status code equal to that given

func (*ManifestPushV3LibpodInternalServerError) IsRedirect

IsRedirect returns true when this manifest push v3 libpod internal server error response has a 3xx status code

func (*ManifestPushV3LibpodInternalServerError) IsServerError

func (o *ManifestPushV3LibpodInternalServerError) IsServerError() bool

IsServerError returns true when this manifest push v3 libpod internal server error response has a 5xx status code

func (*ManifestPushV3LibpodInternalServerError) IsSuccess

IsSuccess returns true when this manifest push v3 libpod internal server error response has a 2xx status code

func (*ManifestPushV3LibpodInternalServerError) String

type ManifestPushV3LibpodNotFound

type ManifestPushV3LibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such manifest

func NewManifestPushV3LibpodNotFound

func NewManifestPushV3LibpodNotFound() *ManifestPushV3LibpodNotFound

NewManifestPushV3LibpodNotFound creates a ManifestPushV3LibpodNotFound with default headers values

func (*ManifestPushV3LibpodNotFound) Code

Code gets the status code for the manifest push v3 libpod not found response

func (*ManifestPushV3LibpodNotFound) Error

func (*ManifestPushV3LibpodNotFound) GetPayload

func (*ManifestPushV3LibpodNotFound) IsClientError

func (o *ManifestPushV3LibpodNotFound) IsClientError() bool

IsClientError returns true when this manifest push v3 libpod not found response has a 4xx status code

func (*ManifestPushV3LibpodNotFound) IsCode

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

IsCode returns true when this manifest push v3 libpod not found response a status code equal to that given

func (*ManifestPushV3LibpodNotFound) IsRedirect

func (o *ManifestPushV3LibpodNotFound) IsRedirect() bool

IsRedirect returns true when this manifest push v3 libpod not found response has a 3xx status code

func (*ManifestPushV3LibpodNotFound) IsServerError

func (o *ManifestPushV3LibpodNotFound) IsServerError() bool

IsServerError returns true when this manifest push v3 libpod not found response has a 5xx status code

func (*ManifestPushV3LibpodNotFound) IsSuccess

func (o *ManifestPushV3LibpodNotFound) IsSuccess() bool

IsSuccess returns true when this manifest push v3 libpod not found response has a 2xx status code

func (*ManifestPushV3LibpodNotFound) String

type ManifestPushV3LibpodOK

type ManifestPushV3LibpodOK struct {
	Payload *models.IDResponse
}

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

ManifestPushV3LibpodOK manifest push v3 libpod o k

func NewManifestPushV3LibpodOK

func NewManifestPushV3LibpodOK() *ManifestPushV3LibpodOK

NewManifestPushV3LibpodOK creates a ManifestPushV3LibpodOK with default headers values

func (*ManifestPushV3LibpodOK) Code

func (o *ManifestPushV3LibpodOK) Code() int

Code gets the status code for the manifest push v3 libpod o k response

func (*ManifestPushV3LibpodOK) Error

func (o *ManifestPushV3LibpodOK) Error() string

func (*ManifestPushV3LibpodOK) GetPayload

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

func (*ManifestPushV3LibpodOK) IsClientError

func (o *ManifestPushV3LibpodOK) IsClientError() bool

IsClientError returns true when this manifest push v3 libpod o k response has a 4xx status code

func (*ManifestPushV3LibpodOK) IsCode

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

IsCode returns true when this manifest push v3 libpod o k response a status code equal to that given

func (*ManifestPushV3LibpodOK) IsRedirect

func (o *ManifestPushV3LibpodOK) IsRedirect() bool

IsRedirect returns true when this manifest push v3 libpod o k response has a 3xx status code

func (*ManifestPushV3LibpodOK) IsServerError

func (o *ManifestPushV3LibpodOK) IsServerError() bool

IsServerError returns true when this manifest push v3 libpod o k response has a 5xx status code

func (*ManifestPushV3LibpodOK) IsSuccess

func (o *ManifestPushV3LibpodOK) IsSuccess() bool

IsSuccess returns true when this manifest push v3 libpod o k response has a 2xx status code

func (*ManifestPushV3LibpodOK) String

func (o *ManifestPushV3LibpodOK) String() string

type ManifestPushV3LibpodParams

type ManifestPushV3LibpodParams struct {

	// All.
	//
	// push all images
	All *bool

	// Destination.
	//
	// the destination for the manifest
	Destination string

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

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

ManifestPushV3LibpodParams contains all the parameters to send to the API endpoint

for the manifest push v3 libpod operation.

Typically these are written to a http.Request.

func NewManifestPushV3LibpodParams

func NewManifestPushV3LibpodParams() *ManifestPushV3LibpodParams

NewManifestPushV3LibpodParams creates a new ManifestPushV3LibpodParams 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 NewManifestPushV3LibpodParamsWithContext deprecated

func NewManifestPushV3LibpodParamsWithContext(ctx context.Context) *ManifestPushV3LibpodParams

NewManifestPushV3LibpodParamsWithContext creates a new ManifestPushV3LibpodParams object with the ability to set a context for a request.

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

func NewManifestPushV3LibpodParamsWithHTTPClient

func NewManifestPushV3LibpodParamsWithHTTPClient(client *http.Client) *ManifestPushV3LibpodParams

NewManifestPushV3LibpodParamsWithHTTPClient creates a new ManifestPushV3LibpodParams object with the ability to set a custom HTTPClient for a request.

func NewManifestPushV3LibpodParamsWithTimeout

func NewManifestPushV3LibpodParamsWithTimeout(timeout time.Duration) *ManifestPushV3LibpodParams

NewManifestPushV3LibpodParamsWithTimeout creates a new ManifestPushV3LibpodParams object with the ability to set a timeout on a request.

func (*ManifestPushV3LibpodParams) SetAll

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

SetAll adds the all to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) SetContext deprecated

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

SetContext adds the context to the manifest push v3 libpod params.

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

func (*ManifestPushV3LibpodParams) SetDefaults

func (o *ManifestPushV3LibpodParams) SetDefaults()

SetDefaults hydrates default values in the manifest push v3 libpod params (not the query body).

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

func (*ManifestPushV3LibpodParams) SetDestination

func (o *ManifestPushV3LibpodParams) SetDestination(destination string)

SetDestination adds the destination to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) SetName

func (o *ManifestPushV3LibpodParams) SetName(name string)

SetName adds the name to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) SetTimeout

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

SetTimeout adds the timeout to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WithAll

WithAll adds the all to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WithContext deprecated

WithContext adds the context to the manifest push v3 libpod params.

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

func (*ManifestPushV3LibpodParams) WithDefaults

WithDefaults hydrates default values in the manifest push v3 libpod params (not the query body).

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

func (*ManifestPushV3LibpodParams) WithDestination

func (o *ManifestPushV3LibpodParams) WithDestination(destination string) *ManifestPushV3LibpodParams

WithDestination adds the destination to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WithName

WithName adds the name to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WithTimeout

WithTimeout adds the timeout to the manifest push v3 libpod params.

func (*ManifestPushV3LibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ManifestPushV3LibpodReader

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

ManifestPushV3LibpodReader is a Reader for the ManifestPushV3Libpod structure.

func (*ManifestPushV3LibpodReader) ReadResponse

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