artifacts

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 WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationxTar

func WithAcceptApplicationxTar(r *runtime.ClientOperation)

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

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationOctetStream

func WithContentTypeApplicationOctetStream(r *runtime.ClientOperation)

WithContentTypeApplicationOctetStream sets the Content-Type header to "application/octet-stream".

func WithContentTypeApplicationxTar

func WithContentTypeApplicationxTar(r *runtime.ClientOperation)

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

Types

type ArtifactAddLibpodBadRequest

type ArtifactAddLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewArtifactAddLibpodBadRequest

func NewArtifactAddLibpodBadRequest() *ArtifactAddLibpodBadRequest

NewArtifactAddLibpodBadRequest creates a ArtifactAddLibpodBadRequest with default headers values

func (*ArtifactAddLibpodBadRequest) Code

func (o *ArtifactAddLibpodBadRequest) Code() int

Code gets the status code for the artifact add libpod bad request response

func (*ArtifactAddLibpodBadRequest) Error

func (*ArtifactAddLibpodBadRequest) GetPayload

func (*ArtifactAddLibpodBadRequest) IsClientError

func (o *ArtifactAddLibpodBadRequest) IsClientError() bool

IsClientError returns true when this artifact add libpod bad request response has a 4xx status code

func (*ArtifactAddLibpodBadRequest) IsCode

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

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

func (*ArtifactAddLibpodBadRequest) IsRedirect

func (o *ArtifactAddLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this artifact add libpod bad request response has a 3xx status code

func (*ArtifactAddLibpodBadRequest) IsServerError

func (o *ArtifactAddLibpodBadRequest) IsServerError() bool

IsServerError returns true when this artifact add libpod bad request response has a 5xx status code

func (*ArtifactAddLibpodBadRequest) IsSuccess

func (o *ArtifactAddLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this artifact add libpod bad request response has a 2xx status code

func (*ArtifactAddLibpodBadRequest) String

func (o *ArtifactAddLibpodBadRequest) String() string

type ArtifactAddLibpodCreated

type ArtifactAddLibpodCreated struct {
	Payload *models.ArtifactAddReport
}

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

Artifact Add

func NewArtifactAddLibpodCreated

func NewArtifactAddLibpodCreated() *ArtifactAddLibpodCreated

NewArtifactAddLibpodCreated creates a ArtifactAddLibpodCreated with default headers values

func (*ArtifactAddLibpodCreated) Code

func (o *ArtifactAddLibpodCreated) Code() int

Code gets the status code for the artifact add libpod created response

func (*ArtifactAddLibpodCreated) Error

func (o *ArtifactAddLibpodCreated) Error() string

func (*ArtifactAddLibpodCreated) GetPayload

func (*ArtifactAddLibpodCreated) IsClientError

func (o *ArtifactAddLibpodCreated) IsClientError() bool

IsClientError returns true when this artifact add libpod created response has a 4xx status code

func (*ArtifactAddLibpodCreated) IsCode

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

IsCode returns true when this artifact add libpod created response a status code equal to that given

func (*ArtifactAddLibpodCreated) IsRedirect

func (o *ArtifactAddLibpodCreated) IsRedirect() bool

IsRedirect returns true when this artifact add libpod created response has a 3xx status code

func (*ArtifactAddLibpodCreated) IsServerError

func (o *ArtifactAddLibpodCreated) IsServerError() bool

IsServerError returns true when this artifact add libpod created response has a 5xx status code

func (*ArtifactAddLibpodCreated) IsSuccess

func (o *ArtifactAddLibpodCreated) IsSuccess() bool

IsSuccess returns true when this artifact add libpod created response has a 2xx status code

func (*ArtifactAddLibpodCreated) String

func (o *ArtifactAddLibpodCreated) String() string

type ArtifactAddLibpodInternalServerError

type ArtifactAddLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactAddLibpodInternalServerError

func NewArtifactAddLibpodInternalServerError() *ArtifactAddLibpodInternalServerError

NewArtifactAddLibpodInternalServerError creates a ArtifactAddLibpodInternalServerError with default headers values

func (*ArtifactAddLibpodInternalServerError) Code

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

func (*ArtifactAddLibpodInternalServerError) Error

func (*ArtifactAddLibpodInternalServerError) GetPayload

func (*ArtifactAddLibpodInternalServerError) IsClientError

func (o *ArtifactAddLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactAddLibpodInternalServerError) IsCode

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

func (*ArtifactAddLibpodInternalServerError) IsRedirect

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

func (*ArtifactAddLibpodInternalServerError) IsServerError

func (o *ArtifactAddLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactAddLibpodInternalServerError) IsSuccess

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

func (*ArtifactAddLibpodInternalServerError) String

type ArtifactAddLibpodNotFound

type ArtifactAddLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactAddLibpodNotFound

func NewArtifactAddLibpodNotFound() *ArtifactAddLibpodNotFound

NewArtifactAddLibpodNotFound creates a ArtifactAddLibpodNotFound with default headers values

func (*ArtifactAddLibpodNotFound) Code

func (o *ArtifactAddLibpodNotFound) Code() int

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

func (*ArtifactAddLibpodNotFound) Error

func (o *ArtifactAddLibpodNotFound) Error() string

func (*ArtifactAddLibpodNotFound) GetPayload

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

func (*ArtifactAddLibpodNotFound) IsClientError

func (o *ArtifactAddLibpodNotFound) IsClientError() bool

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

func (*ArtifactAddLibpodNotFound) IsCode

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

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

func (*ArtifactAddLibpodNotFound) IsRedirect

func (o *ArtifactAddLibpodNotFound) IsRedirect() bool

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

func (*ArtifactAddLibpodNotFound) IsServerError

func (o *ArtifactAddLibpodNotFound) IsServerError() bool

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

func (*ArtifactAddLibpodNotFound) IsSuccess

func (o *ArtifactAddLibpodNotFound) IsSuccess() bool

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

func (*ArtifactAddLibpodNotFound) String

func (o *ArtifactAddLibpodNotFound) String() string

type ArtifactAddLibpodParams

type ArtifactAddLibpodParams struct {

	// Annotations.
	//
	// Array of annotation strings e.g "test=true"
	Annotations []string

	// Append.
	//
	// Append files to an existing artifact
	Append *bool

	// ArtifactMIMEType.
	//
	// Use type to describe an artifact
	ArtifactMIMEType *string

	// FileMIMEType.
	//
	// Optionally set the type of file
	FileMIMEType *string

	// FileName.
	//
	// Path of the file to be added
	FileName string

	// InputStream.
	//
	// Binary stream of the file to add to an artifact
	//
	// Format: binary
	InputStream io.ReadCloser

	// Name.
	//
	// Mandatory reference to the artifact (e.g., quay.io/image/artifact:tag)
	Name string

	// Replace.
	//
	// Replace an existing artifact with the same name
	Replace *bool

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

ArtifactAddLibpodParams contains all the parameters to send to the API endpoint

for the artifact add libpod operation.

Typically these are written to a http.Request.

func NewArtifactAddLibpodParams

func NewArtifactAddLibpodParams() *ArtifactAddLibpodParams

NewArtifactAddLibpodParams creates a new ArtifactAddLibpodParams 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 NewArtifactAddLibpodParamsWithContext deprecated

func NewArtifactAddLibpodParamsWithContext(ctx context.Context) *ArtifactAddLibpodParams

NewArtifactAddLibpodParamsWithContext creates a new ArtifactAddLibpodParams object with the ability to set a context for a request.

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

func NewArtifactAddLibpodParamsWithHTTPClient

func NewArtifactAddLibpodParamsWithHTTPClient(client *http.Client) *ArtifactAddLibpodParams

NewArtifactAddLibpodParamsWithHTTPClient creates a new ArtifactAddLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactAddLibpodParamsWithTimeout

func NewArtifactAddLibpodParamsWithTimeout(timeout time.Duration) *ArtifactAddLibpodParams

NewArtifactAddLibpodParamsWithTimeout creates a new ArtifactAddLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactAddLibpodParams) SetAnnotations

func (o *ArtifactAddLibpodParams) SetAnnotations(annotations []string)

SetAnnotations adds the annotations to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetAppend

func (o *ArtifactAddLibpodParams) SetAppend(append *bool)

SetAppend adds the append to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetArtifactMIMEType

func (o *ArtifactAddLibpodParams) SetArtifactMIMEType(artifactMIMEType *string)

SetArtifactMIMEType adds the artifactMIMEType to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact add libpod params.

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

func (*ArtifactAddLibpodParams) SetDefaults

func (o *ArtifactAddLibpodParams) SetDefaults()

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

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

func (*ArtifactAddLibpodParams) SetFileMIMEType

func (o *ArtifactAddLibpodParams) SetFileMIMEType(fileMIMEType *string)

SetFileMIMEType adds the fileMIMEType to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetFileName

func (o *ArtifactAddLibpodParams) SetFileName(fileName string)

SetFileName adds the fileName to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetInputStream

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

SetInputStream adds the inputStream to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetName

func (o *ArtifactAddLibpodParams) SetName(name string)

SetName adds the name to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetReplace

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

SetReplace adds the replace to the artifact add libpod params.

func (*ArtifactAddLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithAnnotations

func (o *ArtifactAddLibpodParams) WithAnnotations(annotations []string) *ArtifactAddLibpodParams

WithAnnotations adds the annotations to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithAppend

func (o *ArtifactAddLibpodParams) WithAppend(append *bool) *ArtifactAddLibpodParams

WithAppend adds the append to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithArtifactMIMEType

func (o *ArtifactAddLibpodParams) WithArtifactMIMEType(artifactMIMEType *string) *ArtifactAddLibpodParams

WithArtifactMIMEType adds the artifactMIMEType to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithContext deprecated

WithContext adds the context to the artifact add libpod params.

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

func (*ArtifactAddLibpodParams) WithDefaults

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

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

func (*ArtifactAddLibpodParams) WithFileMIMEType

func (o *ArtifactAddLibpodParams) WithFileMIMEType(fileMIMEType *string) *ArtifactAddLibpodParams

WithFileMIMEType adds the fileMIMEType to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithFileName

func (o *ArtifactAddLibpodParams) WithFileName(fileName string) *ArtifactAddLibpodParams

WithFileName adds the fileName to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithInputStream

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

WithInputStream adds the inputStream to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithName

WithName adds the name to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithReplace

func (o *ArtifactAddLibpodParams) WithReplace(replace *bool) *ArtifactAddLibpodParams

WithReplace adds the replace to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact add libpod params.

func (*ArtifactAddLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactAddLibpodReader

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

ArtifactAddLibpodReader is a Reader for the ArtifactAddLibpod structure.

func (*ArtifactAddLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactDeleteAllLibpodInternalServerError

type ArtifactDeleteAllLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactDeleteAllLibpodInternalServerError

func NewArtifactDeleteAllLibpodInternalServerError() *ArtifactDeleteAllLibpodInternalServerError

NewArtifactDeleteAllLibpodInternalServerError creates a ArtifactDeleteAllLibpodInternalServerError with default headers values

func (*ArtifactDeleteAllLibpodInternalServerError) Code

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

func (*ArtifactDeleteAllLibpodInternalServerError) Error

func (*ArtifactDeleteAllLibpodInternalServerError) GetPayload

func (*ArtifactDeleteAllLibpodInternalServerError) IsClientError

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

func (*ArtifactDeleteAllLibpodInternalServerError) IsCode

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

func (*ArtifactDeleteAllLibpodInternalServerError) IsRedirect

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

func (*ArtifactDeleteAllLibpodInternalServerError) IsServerError

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

func (*ArtifactDeleteAllLibpodInternalServerError) IsSuccess

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

func (*ArtifactDeleteAllLibpodInternalServerError) String

type ArtifactDeleteAllLibpodNotFound

type ArtifactDeleteAllLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactDeleteAllLibpodNotFound

func NewArtifactDeleteAllLibpodNotFound() *ArtifactDeleteAllLibpodNotFound

NewArtifactDeleteAllLibpodNotFound creates a ArtifactDeleteAllLibpodNotFound with default headers values

func (*ArtifactDeleteAllLibpodNotFound) Code

Code gets the status code for the artifact delete all libpod not found response

func (*ArtifactDeleteAllLibpodNotFound) Error

func (*ArtifactDeleteAllLibpodNotFound) GetPayload

func (*ArtifactDeleteAllLibpodNotFound) IsClientError

func (o *ArtifactDeleteAllLibpodNotFound) IsClientError() bool

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

func (*ArtifactDeleteAllLibpodNotFound) IsCode

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

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

func (*ArtifactDeleteAllLibpodNotFound) IsRedirect

func (o *ArtifactDeleteAllLibpodNotFound) IsRedirect() bool

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

func (*ArtifactDeleteAllLibpodNotFound) IsServerError

func (o *ArtifactDeleteAllLibpodNotFound) IsServerError() bool

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

func (*ArtifactDeleteAllLibpodNotFound) IsSuccess

func (o *ArtifactDeleteAllLibpodNotFound) IsSuccess() bool

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

func (*ArtifactDeleteAllLibpodNotFound) String

type ArtifactDeleteAllLibpodOK

type ArtifactDeleteAllLibpodOK struct {
	Payload *models.ArtifactRemoveReport
}

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

Artifact Remove

func NewArtifactDeleteAllLibpodOK

func NewArtifactDeleteAllLibpodOK() *ArtifactDeleteAllLibpodOK

NewArtifactDeleteAllLibpodOK creates a ArtifactDeleteAllLibpodOK with default headers values

func (*ArtifactDeleteAllLibpodOK) Code

func (o *ArtifactDeleteAllLibpodOK) Code() int

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

func (*ArtifactDeleteAllLibpodOK) Error

func (o *ArtifactDeleteAllLibpodOK) Error() string

func (*ArtifactDeleteAllLibpodOK) GetPayload

func (*ArtifactDeleteAllLibpodOK) IsClientError

func (o *ArtifactDeleteAllLibpodOK) IsClientError() bool

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

func (*ArtifactDeleteAllLibpodOK) IsCode

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

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

func (*ArtifactDeleteAllLibpodOK) IsRedirect

func (o *ArtifactDeleteAllLibpodOK) IsRedirect() bool

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

func (*ArtifactDeleteAllLibpodOK) IsServerError

func (o *ArtifactDeleteAllLibpodOK) IsServerError() bool

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

func (*ArtifactDeleteAllLibpodOK) IsSuccess

func (o *ArtifactDeleteAllLibpodOK) IsSuccess() bool

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

func (*ArtifactDeleteAllLibpodOK) String

func (o *ArtifactDeleteAllLibpodOK) String() string

type ArtifactDeleteAllLibpodParams

type ArtifactDeleteAllLibpodParams struct {

	// All.
	//
	// Remove all artifacts
	All *bool

	// Artifacts.
	//
	// List of artifact names/IDs to remove
	Artifacts []string

	// Ignore.
	//
	// Ignore errors if artifact does not exist
	Ignore *bool

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

ArtifactDeleteAllLibpodParams contains all the parameters to send to the API endpoint

for the artifact delete all libpod operation.

Typically these are written to a http.Request.

func NewArtifactDeleteAllLibpodParams

func NewArtifactDeleteAllLibpodParams() *ArtifactDeleteAllLibpodParams

NewArtifactDeleteAllLibpodParams creates a new ArtifactDeleteAllLibpodParams 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 NewArtifactDeleteAllLibpodParamsWithContext deprecated

func NewArtifactDeleteAllLibpodParamsWithContext(ctx context.Context) *ArtifactDeleteAllLibpodParams

NewArtifactDeleteAllLibpodParamsWithContext creates a new ArtifactDeleteAllLibpodParams object with the ability to set a context for a request.

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

func NewArtifactDeleteAllLibpodParamsWithHTTPClient

func NewArtifactDeleteAllLibpodParamsWithHTTPClient(client *http.Client) *ArtifactDeleteAllLibpodParams

NewArtifactDeleteAllLibpodParamsWithHTTPClient creates a new ArtifactDeleteAllLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactDeleteAllLibpodParamsWithTimeout

func NewArtifactDeleteAllLibpodParamsWithTimeout(timeout time.Duration) *ArtifactDeleteAllLibpodParams

NewArtifactDeleteAllLibpodParamsWithTimeout creates a new ArtifactDeleteAllLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactDeleteAllLibpodParams) SetAll

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

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

func (*ArtifactDeleteAllLibpodParams) SetArtifacts

func (o *ArtifactDeleteAllLibpodParams) SetArtifacts(artifacts []string)

SetArtifacts adds the artifacts to the artifact delete all libpod params.

func (*ArtifactDeleteAllLibpodParams) SetContext deprecated

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

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

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

func (*ArtifactDeleteAllLibpodParams) SetDefaults

func (o *ArtifactDeleteAllLibpodParams) SetDefaults()

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

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

func (*ArtifactDeleteAllLibpodParams) SetHTTPClient

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

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

func (*ArtifactDeleteAllLibpodParams) SetIgnore

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

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

func (*ArtifactDeleteAllLibpodParams) SetTimeout

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

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

func (*ArtifactDeleteAllLibpodParams) WithAll

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

func (*ArtifactDeleteAllLibpodParams) WithArtifacts

WithArtifacts adds the artifacts to the artifact delete all libpod params.

func (*ArtifactDeleteAllLibpodParams) WithContext deprecated

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

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

func (*ArtifactDeleteAllLibpodParams) WithDefaults

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

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

func (*ArtifactDeleteAllLibpodParams) WithHTTPClient

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

func (*ArtifactDeleteAllLibpodParams) WithIgnore

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

func (*ArtifactDeleteAllLibpodParams) WithTimeout

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

func (*ArtifactDeleteAllLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactDeleteAllLibpodReader

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

ArtifactDeleteAllLibpodReader is a Reader for the ArtifactDeleteAllLibpod structure.

func (*ArtifactDeleteAllLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactDeleteLibpodInternalServerError

type ArtifactDeleteLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactDeleteLibpodInternalServerError

func NewArtifactDeleteLibpodInternalServerError() *ArtifactDeleteLibpodInternalServerError

NewArtifactDeleteLibpodInternalServerError creates a ArtifactDeleteLibpodInternalServerError with default headers values

func (*ArtifactDeleteLibpodInternalServerError) Code

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

func (*ArtifactDeleteLibpodInternalServerError) Error

func (*ArtifactDeleteLibpodInternalServerError) GetPayload

func (*ArtifactDeleteLibpodInternalServerError) IsClientError

func (o *ArtifactDeleteLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactDeleteLibpodInternalServerError) IsCode

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

func (*ArtifactDeleteLibpodInternalServerError) IsRedirect

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

func (*ArtifactDeleteLibpodInternalServerError) IsServerError

func (o *ArtifactDeleteLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactDeleteLibpodInternalServerError) IsSuccess

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

func (*ArtifactDeleteLibpodInternalServerError) String

type ArtifactDeleteLibpodNotFound

type ArtifactDeleteLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactDeleteLibpodNotFound

func NewArtifactDeleteLibpodNotFound() *ArtifactDeleteLibpodNotFound

NewArtifactDeleteLibpodNotFound creates a ArtifactDeleteLibpodNotFound with default headers values

func (*ArtifactDeleteLibpodNotFound) Code

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

func (*ArtifactDeleteLibpodNotFound) Error

func (*ArtifactDeleteLibpodNotFound) GetPayload

func (*ArtifactDeleteLibpodNotFound) IsClientError

func (o *ArtifactDeleteLibpodNotFound) IsClientError() bool

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

func (*ArtifactDeleteLibpodNotFound) IsCode

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

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

func (*ArtifactDeleteLibpodNotFound) IsRedirect

func (o *ArtifactDeleteLibpodNotFound) IsRedirect() bool

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

func (*ArtifactDeleteLibpodNotFound) IsServerError

func (o *ArtifactDeleteLibpodNotFound) IsServerError() bool

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

func (*ArtifactDeleteLibpodNotFound) IsSuccess

func (o *ArtifactDeleteLibpodNotFound) IsSuccess() bool

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

func (*ArtifactDeleteLibpodNotFound) String

type ArtifactDeleteLibpodOK

type ArtifactDeleteLibpodOK struct {
	Payload *models.ArtifactRemoveReport
}

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

Artifact Remove

func NewArtifactDeleteLibpodOK

func NewArtifactDeleteLibpodOK() *ArtifactDeleteLibpodOK

NewArtifactDeleteLibpodOK creates a ArtifactDeleteLibpodOK with default headers values

func (*ArtifactDeleteLibpodOK) Code

func (o *ArtifactDeleteLibpodOK) Code() int

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

func (*ArtifactDeleteLibpodOK) Error

func (o *ArtifactDeleteLibpodOK) Error() string

func (*ArtifactDeleteLibpodOK) GetPayload

func (*ArtifactDeleteLibpodOK) IsClientError

func (o *ArtifactDeleteLibpodOK) IsClientError() bool

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

func (*ArtifactDeleteLibpodOK) IsCode

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

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

func (*ArtifactDeleteLibpodOK) IsRedirect

func (o *ArtifactDeleteLibpodOK) IsRedirect() bool

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

func (*ArtifactDeleteLibpodOK) IsServerError

func (o *ArtifactDeleteLibpodOK) IsServerError() bool

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

func (*ArtifactDeleteLibpodOK) IsSuccess

func (o *ArtifactDeleteLibpodOK) IsSuccess() bool

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

func (*ArtifactDeleteLibpodOK) String

func (o *ArtifactDeleteLibpodOK) String() string

type ArtifactDeleteLibpodParams

type ArtifactDeleteLibpodParams struct {

	// Name.
	//
	// Name or ID of the artifact to remove
	Name string

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

ArtifactDeleteLibpodParams contains all the parameters to send to the API endpoint

for the artifact delete libpod operation.

Typically these are written to a http.Request.

func NewArtifactDeleteLibpodParams

func NewArtifactDeleteLibpodParams() *ArtifactDeleteLibpodParams

NewArtifactDeleteLibpodParams creates a new ArtifactDeleteLibpodParams 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 NewArtifactDeleteLibpodParamsWithContext deprecated

func NewArtifactDeleteLibpodParamsWithContext(ctx context.Context) *ArtifactDeleteLibpodParams

NewArtifactDeleteLibpodParamsWithContext creates a new ArtifactDeleteLibpodParams object with the ability to set a context for a request.

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

func NewArtifactDeleteLibpodParamsWithHTTPClient

func NewArtifactDeleteLibpodParamsWithHTTPClient(client *http.Client) *ArtifactDeleteLibpodParams

NewArtifactDeleteLibpodParamsWithHTTPClient creates a new ArtifactDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactDeleteLibpodParamsWithTimeout

func NewArtifactDeleteLibpodParamsWithTimeout(timeout time.Duration) *ArtifactDeleteLibpodParams

NewArtifactDeleteLibpodParamsWithTimeout creates a new ArtifactDeleteLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactDeleteLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact delete libpod params.

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

func (*ArtifactDeleteLibpodParams) SetDefaults

func (o *ArtifactDeleteLibpodParams) SetDefaults()

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

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

func (*ArtifactDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) SetName

func (o *ArtifactDeleteLibpodParams) SetName(name string)

SetName adds the name to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) WithContext deprecated

WithContext adds the context to the artifact delete libpod params.

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

func (*ArtifactDeleteLibpodParams) WithDefaults

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

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

func (*ArtifactDeleteLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) WithName

WithName adds the name to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact delete libpod params.

func (*ArtifactDeleteLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactDeleteLibpodReader

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

ArtifactDeleteLibpodReader is a Reader for the ArtifactDeleteLibpod structure.

func (*ArtifactDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactExtractLibpodBadRequest

type ArtifactExtractLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewArtifactExtractLibpodBadRequest

func NewArtifactExtractLibpodBadRequest() *ArtifactExtractLibpodBadRequest

NewArtifactExtractLibpodBadRequest creates a ArtifactExtractLibpodBadRequest with default headers values

func (*ArtifactExtractLibpodBadRequest) Code

Code gets the status code for the artifact extract libpod bad request response

func (*ArtifactExtractLibpodBadRequest) Error

func (*ArtifactExtractLibpodBadRequest) GetPayload

func (*ArtifactExtractLibpodBadRequest) IsClientError

func (o *ArtifactExtractLibpodBadRequest) IsClientError() bool

IsClientError returns true when this artifact extract libpod bad request response has a 4xx status code

func (*ArtifactExtractLibpodBadRequest) IsCode

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

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

func (*ArtifactExtractLibpodBadRequest) IsRedirect

func (o *ArtifactExtractLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this artifact extract libpod bad request response has a 3xx status code

func (*ArtifactExtractLibpodBadRequest) IsServerError

func (o *ArtifactExtractLibpodBadRequest) IsServerError() bool

IsServerError returns true when this artifact extract libpod bad request response has a 5xx status code

func (*ArtifactExtractLibpodBadRequest) IsSuccess

func (o *ArtifactExtractLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this artifact extract libpod bad request response has a 2xx status code

func (*ArtifactExtractLibpodBadRequest) String

type ArtifactExtractLibpodInternalServerError

type ArtifactExtractLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactExtractLibpodInternalServerError

func NewArtifactExtractLibpodInternalServerError() *ArtifactExtractLibpodInternalServerError

NewArtifactExtractLibpodInternalServerError creates a ArtifactExtractLibpodInternalServerError with default headers values

func (*ArtifactExtractLibpodInternalServerError) Code

Code gets the status code for the artifact extract libpod internal server error response

func (*ArtifactExtractLibpodInternalServerError) Error

func (*ArtifactExtractLibpodInternalServerError) GetPayload

func (*ArtifactExtractLibpodInternalServerError) IsClientError

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

func (*ArtifactExtractLibpodInternalServerError) IsCode

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

func (*ArtifactExtractLibpodInternalServerError) IsRedirect

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

func (*ArtifactExtractLibpodInternalServerError) IsServerError

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

func (*ArtifactExtractLibpodInternalServerError) IsSuccess

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

func (*ArtifactExtractLibpodInternalServerError) String

type ArtifactExtractLibpodNotFound

type ArtifactExtractLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactExtractLibpodNotFound

func NewArtifactExtractLibpodNotFound() *ArtifactExtractLibpodNotFound

NewArtifactExtractLibpodNotFound creates a ArtifactExtractLibpodNotFound with default headers values

func (*ArtifactExtractLibpodNotFound) Code

Code gets the status code for the artifact extract libpod not found response

func (*ArtifactExtractLibpodNotFound) Error

func (*ArtifactExtractLibpodNotFound) GetPayload

func (*ArtifactExtractLibpodNotFound) IsClientError

func (o *ArtifactExtractLibpodNotFound) IsClientError() bool

IsClientError returns true when this artifact extract libpod not found response has a 4xx status code

func (*ArtifactExtractLibpodNotFound) IsCode

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

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

func (*ArtifactExtractLibpodNotFound) IsRedirect

func (o *ArtifactExtractLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this artifact extract libpod not found response has a 3xx status code

func (*ArtifactExtractLibpodNotFound) IsServerError

func (o *ArtifactExtractLibpodNotFound) IsServerError() bool

IsServerError returns true when this artifact extract libpod not found response has a 5xx status code

func (*ArtifactExtractLibpodNotFound) IsSuccess

func (o *ArtifactExtractLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this artifact extract libpod not found response has a 2xx status code

func (*ArtifactExtractLibpodNotFound) String

type ArtifactExtractLibpodOK

type ArtifactExtractLibpodOK struct {
	Payload io.Writer
}

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

Extract successful

func NewArtifactExtractLibpodOK

func NewArtifactExtractLibpodOK(writer io.Writer) *ArtifactExtractLibpodOK

NewArtifactExtractLibpodOK creates a ArtifactExtractLibpodOK with default headers values

func (*ArtifactExtractLibpodOK) Code

func (o *ArtifactExtractLibpodOK) Code() int

Code gets the status code for the artifact extract libpod o k response

func (*ArtifactExtractLibpodOK) Error

func (o *ArtifactExtractLibpodOK) Error() string

func (*ArtifactExtractLibpodOK) GetPayload

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

func (*ArtifactExtractLibpodOK) IsClientError

func (o *ArtifactExtractLibpodOK) IsClientError() bool

IsClientError returns true when this artifact extract libpod o k response has a 4xx status code

func (*ArtifactExtractLibpodOK) IsCode

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

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

func (*ArtifactExtractLibpodOK) IsRedirect

func (o *ArtifactExtractLibpodOK) IsRedirect() bool

IsRedirect returns true when this artifact extract libpod o k response has a 3xx status code

func (*ArtifactExtractLibpodOK) IsServerError

func (o *ArtifactExtractLibpodOK) IsServerError() bool

IsServerError returns true when this artifact extract libpod o k response has a 5xx status code

func (*ArtifactExtractLibpodOK) IsSuccess

func (o *ArtifactExtractLibpodOK) IsSuccess() bool

IsSuccess returns true when this artifact extract libpod o k response has a 2xx status code

func (*ArtifactExtractLibpodOK) String

func (o *ArtifactExtractLibpodOK) String() string

type ArtifactExtractLibpodParams

type ArtifactExtractLibpodParams struct {

	// Digest.
	//
	// Only extract the file with the given digest
	Digest *string

	// ExcludeTitle.
	//
	// When extracting a single file from an artifact, don't use the files title as the file name in the tar archive
	//
	ExcludeTitle *bool

	// Name.
	//
	// Name or digest of the artifact
	Name string

	// Title.
	//
	// Only extract the file with the given title
	Title *string

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

ArtifactExtractLibpodParams contains all the parameters to send to the API endpoint

for the artifact extract libpod operation.

Typically these are written to a http.Request.

func NewArtifactExtractLibpodParams

func NewArtifactExtractLibpodParams() *ArtifactExtractLibpodParams

NewArtifactExtractLibpodParams creates a new ArtifactExtractLibpodParams 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 NewArtifactExtractLibpodParamsWithContext deprecated

func NewArtifactExtractLibpodParamsWithContext(ctx context.Context) *ArtifactExtractLibpodParams

NewArtifactExtractLibpodParamsWithContext creates a new ArtifactExtractLibpodParams object with the ability to set a context for a request.

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

func NewArtifactExtractLibpodParamsWithHTTPClient

func NewArtifactExtractLibpodParamsWithHTTPClient(client *http.Client) *ArtifactExtractLibpodParams

NewArtifactExtractLibpodParamsWithHTTPClient creates a new ArtifactExtractLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactExtractLibpodParamsWithTimeout

func NewArtifactExtractLibpodParamsWithTimeout(timeout time.Duration) *ArtifactExtractLibpodParams

NewArtifactExtractLibpodParamsWithTimeout creates a new ArtifactExtractLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactExtractLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact extract libpod params.

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

func (*ArtifactExtractLibpodParams) SetDefaults

func (o *ArtifactExtractLibpodParams) SetDefaults()

SetDefaults hydrates default values in the artifact extract libpod params (not the query body).

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

func (*ArtifactExtractLibpodParams) SetDigest

func (o *ArtifactExtractLibpodParams) SetDigest(digest *string)

SetDigest adds the digest to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) SetExcludeTitle

func (o *ArtifactExtractLibpodParams) SetExcludeTitle(excludeTitle *bool)

SetExcludeTitle adds the excludeTitle to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) SetName

func (o *ArtifactExtractLibpodParams) SetName(name string)

SetName adds the name to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) SetTitle

func (o *ArtifactExtractLibpodParams) SetTitle(title *string)

SetTitle adds the title to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithContext deprecated

WithContext adds the context to the artifact extract libpod params.

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

func (*ArtifactExtractLibpodParams) WithDefaults

WithDefaults hydrates default values in the artifact extract libpod params (not the query body).

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

func (*ArtifactExtractLibpodParams) WithDigest

WithDigest adds the digest to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithExcludeTitle

func (o *ArtifactExtractLibpodParams) WithExcludeTitle(excludeTitle *bool) *ArtifactExtractLibpodParams

WithExcludeTitle adds the excludeTitle to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithName

WithName adds the name to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WithTitle

WithTitle adds the title to the artifact extract libpod params.

func (*ArtifactExtractLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactExtractLibpodReader

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

ArtifactExtractLibpodReader is a Reader for the ArtifactExtractLibpod structure.

func (*ArtifactExtractLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactInspectLibpodInternalServerError

type ArtifactInspectLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactInspectLibpodInternalServerError

func NewArtifactInspectLibpodInternalServerError() *ArtifactInspectLibpodInternalServerError

NewArtifactInspectLibpodInternalServerError creates a ArtifactInspectLibpodInternalServerError with default headers values

func (*ArtifactInspectLibpodInternalServerError) Code

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

func (*ArtifactInspectLibpodInternalServerError) Error

func (*ArtifactInspectLibpodInternalServerError) GetPayload

func (*ArtifactInspectLibpodInternalServerError) IsClientError

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

func (*ArtifactInspectLibpodInternalServerError) IsCode

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

func (*ArtifactInspectLibpodInternalServerError) IsRedirect

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

func (*ArtifactInspectLibpodInternalServerError) IsServerError

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

func (*ArtifactInspectLibpodInternalServerError) IsSuccess

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

func (*ArtifactInspectLibpodInternalServerError) String

type ArtifactInspectLibpodNotFound

type ArtifactInspectLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactInspectLibpodNotFound

func NewArtifactInspectLibpodNotFound() *ArtifactInspectLibpodNotFound

NewArtifactInspectLibpodNotFound creates a ArtifactInspectLibpodNotFound with default headers values

func (*ArtifactInspectLibpodNotFound) Code

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

func (*ArtifactInspectLibpodNotFound) Error

func (*ArtifactInspectLibpodNotFound) GetPayload

func (*ArtifactInspectLibpodNotFound) IsClientError

func (o *ArtifactInspectLibpodNotFound) IsClientError() bool

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

func (*ArtifactInspectLibpodNotFound) IsCode

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

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

func (*ArtifactInspectLibpodNotFound) IsRedirect

func (o *ArtifactInspectLibpodNotFound) IsRedirect() bool

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

func (*ArtifactInspectLibpodNotFound) IsServerError

func (o *ArtifactInspectLibpodNotFound) IsServerError() bool

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

func (*ArtifactInspectLibpodNotFound) IsSuccess

func (o *ArtifactInspectLibpodNotFound) IsSuccess() bool

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

func (*ArtifactInspectLibpodNotFound) String

type ArtifactInspectLibpodOK

type ArtifactInspectLibpodOK struct {
	Payload *models.ArtifactInspectReport
}

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

Inspect Artifact

func NewArtifactInspectLibpodOK

func NewArtifactInspectLibpodOK() *ArtifactInspectLibpodOK

NewArtifactInspectLibpodOK creates a ArtifactInspectLibpodOK with default headers values

func (*ArtifactInspectLibpodOK) Code

func (o *ArtifactInspectLibpodOK) Code() int

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

func (*ArtifactInspectLibpodOK) Error

func (o *ArtifactInspectLibpodOK) Error() string

func (*ArtifactInspectLibpodOK) GetPayload

func (*ArtifactInspectLibpodOK) IsClientError

func (o *ArtifactInspectLibpodOK) IsClientError() bool

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

func (*ArtifactInspectLibpodOK) IsCode

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

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

func (*ArtifactInspectLibpodOK) IsRedirect

func (o *ArtifactInspectLibpodOK) IsRedirect() bool

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

func (*ArtifactInspectLibpodOK) IsServerError

func (o *ArtifactInspectLibpodOK) IsServerError() bool

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

func (*ArtifactInspectLibpodOK) IsSuccess

func (o *ArtifactInspectLibpodOK) IsSuccess() bool

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

func (*ArtifactInspectLibpodOK) String

func (o *ArtifactInspectLibpodOK) String() string

type ArtifactInspectLibpodParams

type ArtifactInspectLibpodParams struct {

	// Name.
	//
	// Name or ID of the artifact
	Name string

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

ArtifactInspectLibpodParams contains all the parameters to send to the API endpoint

for the artifact inspect libpod operation.

Typically these are written to a http.Request.

func NewArtifactInspectLibpodParams

func NewArtifactInspectLibpodParams() *ArtifactInspectLibpodParams

NewArtifactInspectLibpodParams creates a new ArtifactInspectLibpodParams 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 NewArtifactInspectLibpodParamsWithContext deprecated

func NewArtifactInspectLibpodParamsWithContext(ctx context.Context) *ArtifactInspectLibpodParams

NewArtifactInspectLibpodParamsWithContext creates a new ArtifactInspectLibpodParams object with the ability to set a context for a request.

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

func NewArtifactInspectLibpodParamsWithHTTPClient

func NewArtifactInspectLibpodParamsWithHTTPClient(client *http.Client) *ArtifactInspectLibpodParams

NewArtifactInspectLibpodParamsWithHTTPClient creates a new ArtifactInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactInspectLibpodParamsWithTimeout

func NewArtifactInspectLibpodParamsWithTimeout(timeout time.Duration) *ArtifactInspectLibpodParams

NewArtifactInspectLibpodParamsWithTimeout creates a new ArtifactInspectLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactInspectLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact inspect libpod params.

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

func (*ArtifactInspectLibpodParams) SetDefaults

func (o *ArtifactInspectLibpodParams) SetDefaults()

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

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

func (*ArtifactInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) SetName

func (o *ArtifactInspectLibpodParams) SetName(name string)

SetName adds the name to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) WithContext deprecated

WithContext adds the context to the artifact inspect libpod params.

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

func (*ArtifactInspectLibpodParams) WithDefaults

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

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

func (*ArtifactInspectLibpodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) WithName

WithName adds the name to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact inspect libpod params.

func (*ArtifactInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactInspectLibpodReader

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

ArtifactInspectLibpodReader is a Reader for the ArtifactInspectLibpod structure.

func (*ArtifactInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactListLibpodInternalServerError

type ArtifactListLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactListLibpodInternalServerError

func NewArtifactListLibpodInternalServerError() *ArtifactListLibpodInternalServerError

NewArtifactListLibpodInternalServerError creates a ArtifactListLibpodInternalServerError with default headers values

func (*ArtifactListLibpodInternalServerError) Code

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

func (*ArtifactListLibpodInternalServerError) Error

func (*ArtifactListLibpodInternalServerError) GetPayload

func (*ArtifactListLibpodInternalServerError) IsClientError

func (o *ArtifactListLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactListLibpodInternalServerError) IsCode

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

func (*ArtifactListLibpodInternalServerError) IsRedirect

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

func (*ArtifactListLibpodInternalServerError) IsServerError

func (o *ArtifactListLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactListLibpodInternalServerError) IsSuccess

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

func (*ArtifactListLibpodInternalServerError) String

type ArtifactListLibpodOK

type ArtifactListLibpodOK struct {
	Payload []*models.ArtifactListReport
}

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

Artifact list

func NewArtifactListLibpodOK

func NewArtifactListLibpodOK() *ArtifactListLibpodOK

NewArtifactListLibpodOK creates a ArtifactListLibpodOK with default headers values

func (*ArtifactListLibpodOK) Code

func (o *ArtifactListLibpodOK) Code() int

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

func (*ArtifactListLibpodOK) Error

func (o *ArtifactListLibpodOK) Error() string

func (*ArtifactListLibpodOK) GetPayload

func (o *ArtifactListLibpodOK) GetPayload() []*models.ArtifactListReport

func (*ArtifactListLibpodOK) IsClientError

func (o *ArtifactListLibpodOK) IsClientError() bool

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

func (*ArtifactListLibpodOK) IsCode

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

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

func (*ArtifactListLibpodOK) IsRedirect

func (o *ArtifactListLibpodOK) IsRedirect() bool

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

func (*ArtifactListLibpodOK) IsServerError

func (o *ArtifactListLibpodOK) IsServerError() bool

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

func (*ArtifactListLibpodOK) IsSuccess

func (o *ArtifactListLibpodOK) IsSuccess() bool

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

func (*ArtifactListLibpodOK) String

func (o *ArtifactListLibpodOK) String() string

type ArtifactListLibpodParams

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

ArtifactListLibpodParams contains all the parameters to send to the API endpoint

for the artifact list libpod operation.

Typically these are written to a http.Request.

func NewArtifactListLibpodParams

func NewArtifactListLibpodParams() *ArtifactListLibpodParams

NewArtifactListLibpodParams creates a new ArtifactListLibpodParams 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 NewArtifactListLibpodParamsWithContext deprecated

func NewArtifactListLibpodParamsWithContext(ctx context.Context) *ArtifactListLibpodParams

NewArtifactListLibpodParamsWithContext creates a new ArtifactListLibpodParams object with the ability to set a context for a request.

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

func NewArtifactListLibpodParamsWithHTTPClient

func NewArtifactListLibpodParamsWithHTTPClient(client *http.Client) *ArtifactListLibpodParams

NewArtifactListLibpodParamsWithHTTPClient creates a new ArtifactListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactListLibpodParamsWithTimeout

func NewArtifactListLibpodParamsWithTimeout(timeout time.Duration) *ArtifactListLibpodParams

NewArtifactListLibpodParamsWithTimeout creates a new ArtifactListLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactListLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact list libpod params.

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

func (*ArtifactListLibpodParams) SetDefaults

func (o *ArtifactListLibpodParams) SetDefaults()

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

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

func (*ArtifactListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact list libpod params.

func (*ArtifactListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact list libpod params.

func (*ArtifactListLibpodParams) WithContext deprecated

WithContext adds the context to the artifact list libpod params.

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

func (*ArtifactListLibpodParams) WithDefaults

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

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

func (*ArtifactListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the artifact list libpod params.

func (*ArtifactListLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact list libpod params.

func (*ArtifactListLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactListLibpodReader

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

ArtifactListLibpodReader is a Reader for the ArtifactListLibpod structure.

func (*ArtifactListLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactLocalLibpodBadRequest

type ArtifactLocalLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewArtifactLocalLibpodBadRequest

func NewArtifactLocalLibpodBadRequest() *ArtifactLocalLibpodBadRequest

NewArtifactLocalLibpodBadRequest creates a ArtifactLocalLibpodBadRequest with default headers values

func (*ArtifactLocalLibpodBadRequest) Code

Code gets the status code for the artifact local libpod bad request response

func (*ArtifactLocalLibpodBadRequest) Error

func (*ArtifactLocalLibpodBadRequest) GetPayload

func (*ArtifactLocalLibpodBadRequest) IsClientError

func (o *ArtifactLocalLibpodBadRequest) IsClientError() bool

IsClientError returns true when this artifact local libpod bad request response has a 4xx status code

func (*ArtifactLocalLibpodBadRequest) IsCode

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

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

func (*ArtifactLocalLibpodBadRequest) IsRedirect

func (o *ArtifactLocalLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this artifact local libpod bad request response has a 3xx status code

func (*ArtifactLocalLibpodBadRequest) IsServerError

func (o *ArtifactLocalLibpodBadRequest) IsServerError() bool

IsServerError returns true when this artifact local libpod bad request response has a 5xx status code

func (*ArtifactLocalLibpodBadRequest) IsSuccess

func (o *ArtifactLocalLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this artifact local libpod bad request response has a 2xx status code

func (*ArtifactLocalLibpodBadRequest) String

type ArtifactLocalLibpodCreated

type ArtifactLocalLibpodCreated struct {
	Payload *models.ArtifactAddReport
}

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

Artifact Add

func NewArtifactLocalLibpodCreated

func NewArtifactLocalLibpodCreated() *ArtifactLocalLibpodCreated

NewArtifactLocalLibpodCreated creates a ArtifactLocalLibpodCreated with default headers values

func (*ArtifactLocalLibpodCreated) Code

func (o *ArtifactLocalLibpodCreated) Code() int

Code gets the status code for the artifact local libpod created response

func (*ArtifactLocalLibpodCreated) Error

func (*ArtifactLocalLibpodCreated) GetPayload

func (*ArtifactLocalLibpodCreated) IsClientError

func (o *ArtifactLocalLibpodCreated) IsClientError() bool

IsClientError returns true when this artifact local libpod created response has a 4xx status code

func (*ArtifactLocalLibpodCreated) IsCode

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

IsCode returns true when this artifact local libpod created response a status code equal to that given

func (*ArtifactLocalLibpodCreated) IsRedirect

func (o *ArtifactLocalLibpodCreated) IsRedirect() bool

IsRedirect returns true when this artifact local libpod created response has a 3xx status code

func (*ArtifactLocalLibpodCreated) IsServerError

func (o *ArtifactLocalLibpodCreated) IsServerError() bool

IsServerError returns true when this artifact local libpod created response has a 5xx status code

func (*ArtifactLocalLibpodCreated) IsSuccess

func (o *ArtifactLocalLibpodCreated) IsSuccess() bool

IsSuccess returns true when this artifact local libpod created response has a 2xx status code

func (*ArtifactLocalLibpodCreated) String

func (o *ArtifactLocalLibpodCreated) String() string

type ArtifactLocalLibpodInternalServerError

type ArtifactLocalLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactLocalLibpodInternalServerError

func NewArtifactLocalLibpodInternalServerError() *ArtifactLocalLibpodInternalServerError

NewArtifactLocalLibpodInternalServerError creates a ArtifactLocalLibpodInternalServerError with default headers values

func (*ArtifactLocalLibpodInternalServerError) Code

Code gets the status code for the artifact local libpod internal server error response

func (*ArtifactLocalLibpodInternalServerError) Error

func (*ArtifactLocalLibpodInternalServerError) GetPayload

func (*ArtifactLocalLibpodInternalServerError) IsClientError

func (o *ArtifactLocalLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactLocalLibpodInternalServerError) IsCode

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

func (*ArtifactLocalLibpodInternalServerError) IsRedirect

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

func (*ArtifactLocalLibpodInternalServerError) IsServerError

func (o *ArtifactLocalLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactLocalLibpodInternalServerError) IsSuccess

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

func (*ArtifactLocalLibpodInternalServerError) String

type ArtifactLocalLibpodNotFound

type ArtifactLocalLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactLocalLibpodNotFound

func NewArtifactLocalLibpodNotFound() *ArtifactLocalLibpodNotFound

NewArtifactLocalLibpodNotFound creates a ArtifactLocalLibpodNotFound with default headers values

func (*ArtifactLocalLibpodNotFound) Code

func (o *ArtifactLocalLibpodNotFound) Code() int

Code gets the status code for the artifact local libpod not found response

func (*ArtifactLocalLibpodNotFound) Error

func (*ArtifactLocalLibpodNotFound) GetPayload

func (*ArtifactLocalLibpodNotFound) IsClientError

func (o *ArtifactLocalLibpodNotFound) IsClientError() bool

IsClientError returns true when this artifact local libpod not found response has a 4xx status code

func (*ArtifactLocalLibpodNotFound) IsCode

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

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

func (*ArtifactLocalLibpodNotFound) IsRedirect

func (o *ArtifactLocalLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this artifact local libpod not found response has a 3xx status code

func (*ArtifactLocalLibpodNotFound) IsServerError

func (o *ArtifactLocalLibpodNotFound) IsServerError() bool

IsServerError returns true when this artifact local libpod not found response has a 5xx status code

func (*ArtifactLocalLibpodNotFound) IsSuccess

func (o *ArtifactLocalLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this artifact local libpod not found response has a 2xx status code

func (*ArtifactLocalLibpodNotFound) String

func (o *ArtifactLocalLibpodNotFound) String() string

type ArtifactLocalLibpodParams

type ArtifactLocalLibpodParams struct {

	// Annotations.
	//
	// Array of annotation strings e.g "test=true"
	Annotations []string

	// Append.
	//
	// Append files to an existing artifact
	Append *bool

	// ArtifactMIMEType.
	//
	// Use type to describe an artifact
	ArtifactMIMEType *string

	// FileMIMEType.
	//
	// Optionally set the MIME type of the file
	FileMIMEType *string

	// FileName.
	//
	// Name/title of the file within the artifact
	FileName string

	// Name.
	//
	// Mandatory reference to the artifact (e.g., quay.io/image/artifact:tag)
	Name string

	// Path.
	//
	// Absolute path to the local file on the server filesystem to be added
	Path string

	// Replace.
	//
	// Replace an existing artifact with the same name
	Replace *bool

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

ArtifactLocalLibpodParams contains all the parameters to send to the API endpoint

for the artifact local libpod operation.

Typically these are written to a http.Request.

func NewArtifactLocalLibpodParams

func NewArtifactLocalLibpodParams() *ArtifactLocalLibpodParams

NewArtifactLocalLibpodParams creates a new ArtifactLocalLibpodParams 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 NewArtifactLocalLibpodParamsWithContext deprecated

func NewArtifactLocalLibpodParamsWithContext(ctx context.Context) *ArtifactLocalLibpodParams

NewArtifactLocalLibpodParamsWithContext creates a new ArtifactLocalLibpodParams object with the ability to set a context for a request.

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

func NewArtifactLocalLibpodParamsWithHTTPClient

func NewArtifactLocalLibpodParamsWithHTTPClient(client *http.Client) *ArtifactLocalLibpodParams

NewArtifactLocalLibpodParamsWithHTTPClient creates a new ArtifactLocalLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactLocalLibpodParamsWithTimeout

func NewArtifactLocalLibpodParamsWithTimeout(timeout time.Duration) *ArtifactLocalLibpodParams

NewArtifactLocalLibpodParamsWithTimeout creates a new ArtifactLocalLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactLocalLibpodParams) SetAnnotations

func (o *ArtifactLocalLibpodParams) SetAnnotations(annotations []string)

SetAnnotations adds the annotations to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetAppend

func (o *ArtifactLocalLibpodParams) SetAppend(append *bool)

SetAppend adds the append to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetArtifactMIMEType

func (o *ArtifactLocalLibpodParams) SetArtifactMIMEType(artifactMIMEType *string)

SetArtifactMIMEType adds the artifactMIMEType to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact local libpod params.

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

func (*ArtifactLocalLibpodParams) SetDefaults

func (o *ArtifactLocalLibpodParams) SetDefaults()

SetDefaults hydrates default values in the artifact local libpod params (not the query body).

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

func (*ArtifactLocalLibpodParams) SetFileMIMEType

func (o *ArtifactLocalLibpodParams) SetFileMIMEType(fileMIMEType *string)

SetFileMIMEType adds the fileMIMEType to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetFileName

func (o *ArtifactLocalLibpodParams) SetFileName(fileName string)

SetFileName adds the fileName to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetName

func (o *ArtifactLocalLibpodParams) SetName(name string)

SetName adds the name to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetPath

func (o *ArtifactLocalLibpodParams) SetPath(path string)

SetPath adds the path to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetReplace

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

SetReplace adds the replace to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithAnnotations

func (o *ArtifactLocalLibpodParams) WithAnnotations(annotations []string) *ArtifactLocalLibpodParams

WithAnnotations adds the annotations to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithAppend

WithAppend adds the append to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithArtifactMIMEType

func (o *ArtifactLocalLibpodParams) WithArtifactMIMEType(artifactMIMEType *string) *ArtifactLocalLibpodParams

WithArtifactMIMEType adds the artifactMIMEType to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithContext deprecated

WithContext adds the context to the artifact local libpod params.

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

func (*ArtifactLocalLibpodParams) WithDefaults

WithDefaults hydrates default values in the artifact local libpod params (not the query body).

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

func (*ArtifactLocalLibpodParams) WithFileMIMEType

func (o *ArtifactLocalLibpodParams) WithFileMIMEType(fileMIMEType *string) *ArtifactLocalLibpodParams

WithFileMIMEType adds the fileMIMEType to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithFileName

func (o *ArtifactLocalLibpodParams) WithFileName(fileName string) *ArtifactLocalLibpodParams

WithFileName adds the fileName to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithName

WithName adds the name to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithPath

WithPath adds the path to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithReplace

func (o *ArtifactLocalLibpodParams) WithReplace(replace *bool) *ArtifactLocalLibpodParams

WithReplace adds the replace to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact local libpod params.

func (*ArtifactLocalLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactLocalLibpodReader

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

ArtifactLocalLibpodReader is a Reader for the ArtifactLocalLibpod structure.

func (*ArtifactLocalLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactPullLibpodBadRequest

type ArtifactPullLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewArtifactPullLibpodBadRequest

func NewArtifactPullLibpodBadRequest() *ArtifactPullLibpodBadRequest

NewArtifactPullLibpodBadRequest creates a ArtifactPullLibpodBadRequest with default headers values

func (*ArtifactPullLibpodBadRequest) Code

Code gets the status code for the artifact pull libpod bad request response

func (*ArtifactPullLibpodBadRequest) Error

func (*ArtifactPullLibpodBadRequest) GetPayload

func (*ArtifactPullLibpodBadRequest) IsClientError

func (o *ArtifactPullLibpodBadRequest) IsClientError() bool

IsClientError returns true when this artifact pull libpod bad request response has a 4xx status code

func (*ArtifactPullLibpodBadRequest) IsCode

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

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

func (*ArtifactPullLibpodBadRequest) IsRedirect

func (o *ArtifactPullLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this artifact pull libpod bad request response has a 3xx status code

func (*ArtifactPullLibpodBadRequest) IsServerError

func (o *ArtifactPullLibpodBadRequest) IsServerError() bool

IsServerError returns true when this artifact pull libpod bad request response has a 5xx status code

func (*ArtifactPullLibpodBadRequest) IsSuccess

func (o *ArtifactPullLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this artifact pull libpod bad request response has a 2xx status code

func (*ArtifactPullLibpodBadRequest) String

type ArtifactPullLibpodInternalServerError

type ArtifactPullLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactPullLibpodInternalServerError

func NewArtifactPullLibpodInternalServerError() *ArtifactPullLibpodInternalServerError

NewArtifactPullLibpodInternalServerError creates a ArtifactPullLibpodInternalServerError with default headers values

func (*ArtifactPullLibpodInternalServerError) Code

Code gets the status code for the artifact pull libpod internal server error response

func (*ArtifactPullLibpodInternalServerError) Error

func (*ArtifactPullLibpodInternalServerError) GetPayload

func (*ArtifactPullLibpodInternalServerError) IsClientError

func (o *ArtifactPullLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactPullLibpodInternalServerError) IsCode

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

func (*ArtifactPullLibpodInternalServerError) IsRedirect

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

func (*ArtifactPullLibpodInternalServerError) IsServerError

func (o *ArtifactPullLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactPullLibpodInternalServerError) IsSuccess

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

func (*ArtifactPullLibpodInternalServerError) String

type ArtifactPullLibpodNotFound

type ArtifactPullLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactPullLibpodNotFound

func NewArtifactPullLibpodNotFound() *ArtifactPullLibpodNotFound

NewArtifactPullLibpodNotFound creates a ArtifactPullLibpodNotFound with default headers values

func (*ArtifactPullLibpodNotFound) Code

func (o *ArtifactPullLibpodNotFound) Code() int

Code gets the status code for the artifact pull libpod not found response

func (*ArtifactPullLibpodNotFound) Error

func (*ArtifactPullLibpodNotFound) GetPayload

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

func (*ArtifactPullLibpodNotFound) IsClientError

func (o *ArtifactPullLibpodNotFound) IsClientError() bool

IsClientError returns true when this artifact pull libpod not found response has a 4xx status code

func (*ArtifactPullLibpodNotFound) IsCode

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

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

func (*ArtifactPullLibpodNotFound) IsRedirect

func (o *ArtifactPullLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this artifact pull libpod not found response has a 3xx status code

func (*ArtifactPullLibpodNotFound) IsServerError

func (o *ArtifactPullLibpodNotFound) IsServerError() bool

IsServerError returns true when this artifact pull libpod not found response has a 5xx status code

func (*ArtifactPullLibpodNotFound) IsSuccess

func (o *ArtifactPullLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this artifact pull libpod not found response has a 2xx status code

func (*ArtifactPullLibpodNotFound) String

func (o *ArtifactPullLibpodNotFound) String() string

type ArtifactPullLibpodOK

type ArtifactPullLibpodOK struct {
	Payload *models.ArtifactPullReport
}

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

Artifact Pull

func NewArtifactPullLibpodOK

func NewArtifactPullLibpodOK() *ArtifactPullLibpodOK

NewArtifactPullLibpodOK creates a ArtifactPullLibpodOK with default headers values

func (*ArtifactPullLibpodOK) Code

func (o *ArtifactPullLibpodOK) Code() int

Code gets the status code for the artifact pull libpod o k response

func (*ArtifactPullLibpodOK) Error

func (o *ArtifactPullLibpodOK) Error() string

func (*ArtifactPullLibpodOK) GetPayload

func (*ArtifactPullLibpodOK) IsClientError

func (o *ArtifactPullLibpodOK) IsClientError() bool

IsClientError returns true when this artifact pull libpod o k response has a 4xx status code

func (*ArtifactPullLibpodOK) IsCode

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

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

func (*ArtifactPullLibpodOK) IsRedirect

func (o *ArtifactPullLibpodOK) IsRedirect() bool

IsRedirect returns true when this artifact pull libpod o k response has a 3xx status code

func (*ArtifactPullLibpodOK) IsServerError

func (o *ArtifactPullLibpodOK) IsServerError() bool

IsServerError returns true when this artifact pull libpod o k response has a 5xx status code

func (*ArtifactPullLibpodOK) IsSuccess

func (o *ArtifactPullLibpodOK) IsSuccess() bool

IsSuccess returns true when this artifact pull libpod o k response has a 2xx status code

func (*ArtifactPullLibpodOK) String

func (o *ArtifactPullLibpodOK) String() string

type ArtifactPullLibpodParams

type ArtifactPullLibpodParams struct {

	// XRegistryAuth.
	//
	// base-64 encoded auth config.
	// Must include the following four values: username, password, email and server address
	// OR simply just an identity token.
	//
	XRegistryAuth *string

	// Name.
	//
	// Mandatory reference to the artifact (e.g., quay.io/image/artifact:tag)
	Name string

	// Retry.
	//
	// Number of times to retry in case of failure when performing pull
	//
	// Default: 3
	Retry *int64

	// RetryDelay.
	//
	// Delay between retries in case of pull failures (e.g., 10s)
	//
	// Default: "1s"
	RetryDelay *string

	// TLSVerify.
	//
	// Require TLS verification
	//
	// Default: true
	TLSVerify *bool

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

ArtifactPullLibpodParams contains all the parameters to send to the API endpoint

for the artifact pull libpod operation.

Typically these are written to a http.Request.

func NewArtifactPullLibpodParams

func NewArtifactPullLibpodParams() *ArtifactPullLibpodParams

NewArtifactPullLibpodParams creates a new ArtifactPullLibpodParams 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 NewArtifactPullLibpodParamsWithContext deprecated

func NewArtifactPullLibpodParamsWithContext(ctx context.Context) *ArtifactPullLibpodParams

NewArtifactPullLibpodParamsWithContext creates a new ArtifactPullLibpodParams object with the ability to set a context for a request.

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

func NewArtifactPullLibpodParamsWithHTTPClient

func NewArtifactPullLibpodParamsWithHTTPClient(client *http.Client) *ArtifactPullLibpodParams

NewArtifactPullLibpodParamsWithHTTPClient creates a new ArtifactPullLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactPullLibpodParamsWithTimeout

func NewArtifactPullLibpodParamsWithTimeout(timeout time.Duration) *ArtifactPullLibpodParams

NewArtifactPullLibpodParamsWithTimeout creates a new ArtifactPullLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactPullLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact pull libpod params.

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

func (*ArtifactPullLibpodParams) SetDefaults

func (o *ArtifactPullLibpodParams) SetDefaults()

SetDefaults hydrates default values in the artifact pull libpod params (not the query body).

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

func (*ArtifactPullLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetName

func (o *ArtifactPullLibpodParams) SetName(name string)

SetName adds the name to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetRetry

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

SetRetry adds the retry to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetRetryDelay

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

SetRetryDelay adds the retryDelay to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetTLSVerify

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

SetTLSVerify adds the tlsVerify to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) SetXRegistryAuth

func (o *ArtifactPullLibpodParams) SetXRegistryAuth(xRegistryAuth *string)

SetXRegistryAuth adds the xRegistryAuth to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithContext deprecated

WithContext adds the context to the artifact pull libpod params.

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

func (*ArtifactPullLibpodParams) WithDefaults

WithDefaults hydrates default values in the artifact pull libpod params (not the query body).

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

func (*ArtifactPullLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithName

WithName adds the name to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithRetry

WithRetry adds the retry to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithRetryDelay

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

WithRetryDelay adds the retryDelay to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithTLSVerify

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

WithTLSVerify adds the tlsVerify to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WithXRegistryAuth

func (o *ArtifactPullLibpodParams) WithXRegistryAuth(xRegistryAuth *string) *ArtifactPullLibpodParams

WithXRegistryAuth adds the xRegistryAuth to the artifact pull libpod params.

func (*ArtifactPullLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactPullLibpodReader

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

ArtifactPullLibpodReader is a Reader for the ArtifactPullLibpod structure.

func (*ArtifactPullLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactPullLibpodUnauthorized

type ArtifactPullLibpodUnauthorized struct {
	Payload *models.ErrorModel
}

ArtifactPullLibpodUnauthorized describes a response with status code 401, with default header values.

error in authentication

func NewArtifactPullLibpodUnauthorized

func NewArtifactPullLibpodUnauthorized() *ArtifactPullLibpodUnauthorized

NewArtifactPullLibpodUnauthorized creates a ArtifactPullLibpodUnauthorized with default headers values

func (*ArtifactPullLibpodUnauthorized) Code

Code gets the status code for the artifact pull libpod unauthorized response

func (*ArtifactPullLibpodUnauthorized) Error

func (*ArtifactPullLibpodUnauthorized) GetPayload

func (*ArtifactPullLibpodUnauthorized) IsClientError

func (o *ArtifactPullLibpodUnauthorized) IsClientError() bool

IsClientError returns true when this artifact pull libpod unauthorized response has a 4xx status code

func (*ArtifactPullLibpodUnauthorized) IsCode

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

IsCode returns true when this artifact pull libpod unauthorized response a status code equal to that given

func (*ArtifactPullLibpodUnauthorized) IsRedirect

func (o *ArtifactPullLibpodUnauthorized) IsRedirect() bool

IsRedirect returns true when this artifact pull libpod unauthorized response has a 3xx status code

func (*ArtifactPullLibpodUnauthorized) IsServerError

func (o *ArtifactPullLibpodUnauthorized) IsServerError() bool

IsServerError returns true when this artifact pull libpod unauthorized response has a 5xx status code

func (*ArtifactPullLibpodUnauthorized) IsSuccess

func (o *ArtifactPullLibpodUnauthorized) IsSuccess() bool

IsSuccess returns true when this artifact pull libpod unauthorized response has a 2xx status code

func (*ArtifactPullLibpodUnauthorized) String

type ArtifactPushLibpodBadRequest

type ArtifactPushLibpodBadRequest struct {
	Payload *models.ErrorModel
}

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

Bad parameter in request

func NewArtifactPushLibpodBadRequest

func NewArtifactPushLibpodBadRequest() *ArtifactPushLibpodBadRequest

NewArtifactPushLibpodBadRequest creates a ArtifactPushLibpodBadRequest with default headers values

func (*ArtifactPushLibpodBadRequest) Code

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

func (*ArtifactPushLibpodBadRequest) Error

func (*ArtifactPushLibpodBadRequest) GetPayload

func (*ArtifactPushLibpodBadRequest) IsClientError

func (o *ArtifactPushLibpodBadRequest) IsClientError() bool

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

func (*ArtifactPushLibpodBadRequest) IsCode

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

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

func (*ArtifactPushLibpodBadRequest) IsRedirect

func (o *ArtifactPushLibpodBadRequest) IsRedirect() bool

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

func (*ArtifactPushLibpodBadRequest) IsServerError

func (o *ArtifactPushLibpodBadRequest) IsServerError() bool

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

func (*ArtifactPushLibpodBadRequest) IsSuccess

func (o *ArtifactPushLibpodBadRequest) IsSuccess() bool

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

func (*ArtifactPushLibpodBadRequest) String

type ArtifactPushLibpodInternalServerError

type ArtifactPushLibpodInternalServerError struct {
	Payload *models.ErrorModel
}

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

Internal server error

func NewArtifactPushLibpodInternalServerError

func NewArtifactPushLibpodInternalServerError() *ArtifactPushLibpodInternalServerError

NewArtifactPushLibpodInternalServerError creates a ArtifactPushLibpodInternalServerError with default headers values

func (*ArtifactPushLibpodInternalServerError) Code

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

func (*ArtifactPushLibpodInternalServerError) Error

func (*ArtifactPushLibpodInternalServerError) GetPayload

func (*ArtifactPushLibpodInternalServerError) IsClientError

func (o *ArtifactPushLibpodInternalServerError) IsClientError() bool

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

func (*ArtifactPushLibpodInternalServerError) IsCode

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

func (*ArtifactPushLibpodInternalServerError) IsRedirect

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

func (*ArtifactPushLibpodInternalServerError) IsServerError

func (o *ArtifactPushLibpodInternalServerError) IsServerError() bool

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

func (*ArtifactPushLibpodInternalServerError) IsSuccess

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

func (*ArtifactPushLibpodInternalServerError) String

type ArtifactPushLibpodNotFound

type ArtifactPushLibpodNotFound struct {
	Payload *models.ErrorModel
}

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

No such artifact

func NewArtifactPushLibpodNotFound

func NewArtifactPushLibpodNotFound() *ArtifactPushLibpodNotFound

NewArtifactPushLibpodNotFound creates a ArtifactPushLibpodNotFound with default headers values

func (*ArtifactPushLibpodNotFound) Code

func (o *ArtifactPushLibpodNotFound) Code() int

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

func (*ArtifactPushLibpodNotFound) Error

func (*ArtifactPushLibpodNotFound) GetPayload

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

func (*ArtifactPushLibpodNotFound) IsClientError

func (o *ArtifactPushLibpodNotFound) IsClientError() bool

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

func (*ArtifactPushLibpodNotFound) IsCode

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

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

func (*ArtifactPushLibpodNotFound) IsRedirect

func (o *ArtifactPushLibpodNotFound) IsRedirect() bool

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

func (*ArtifactPushLibpodNotFound) IsServerError

func (o *ArtifactPushLibpodNotFound) IsServerError() bool

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

func (*ArtifactPushLibpodNotFound) IsSuccess

func (o *ArtifactPushLibpodNotFound) IsSuccess() bool

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

func (*ArtifactPushLibpodNotFound) String

func (o *ArtifactPushLibpodNotFound) String() string

type ArtifactPushLibpodOK

type ArtifactPushLibpodOK struct {
	Payload *models.ArtifactPushReport
}

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

Artifact Push

func NewArtifactPushLibpodOK

func NewArtifactPushLibpodOK() *ArtifactPushLibpodOK

NewArtifactPushLibpodOK creates a ArtifactPushLibpodOK with default headers values

func (*ArtifactPushLibpodOK) Code

func (o *ArtifactPushLibpodOK) Code() int

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

func (*ArtifactPushLibpodOK) Error

func (o *ArtifactPushLibpodOK) Error() string

func (*ArtifactPushLibpodOK) GetPayload

func (*ArtifactPushLibpodOK) IsClientError

func (o *ArtifactPushLibpodOK) IsClientError() bool

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

func (*ArtifactPushLibpodOK) IsCode

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

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

func (*ArtifactPushLibpodOK) IsRedirect

func (o *ArtifactPushLibpodOK) IsRedirect() bool

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

func (*ArtifactPushLibpodOK) IsServerError

func (o *ArtifactPushLibpodOK) IsServerError() bool

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

func (*ArtifactPushLibpodOK) IsSuccess

func (o *ArtifactPushLibpodOK) IsSuccess() bool

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

func (*ArtifactPushLibpodOK) String

func (o *ArtifactPushLibpodOK) String() string

type ArtifactPushLibpodParams

type ArtifactPushLibpodParams struct {

	// XRegistryAuth.
	//
	// base-64 encoded auth config.
	// Must include the following four values: username, password, email and server address
	// OR simply just an identity token.
	//
	XRegistryAuth *string

	// Name.
	//
	// Mandatory reference to the artifact (e.g., quay.io/image/artifact:tag)
	Name string

	// Retry.
	//
	// Number of times to retry in case of failure when performing pull
	//
	// Default: 3
	Retry *int64

	// RetryDelay.
	//
	// Delay between retries in case of pull failures (e.g., 10s)
	//
	// Default: "1s"
	RetryDelay *string

	// TLSVerify.
	//
	// Require TLS verification
	//
	// Default: true
	TLSVerify *bool

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

ArtifactPushLibpodParams contains all the parameters to send to the API endpoint

for the artifact push libpod operation.

Typically these are written to a http.Request.

func NewArtifactPushLibpodParams

func NewArtifactPushLibpodParams() *ArtifactPushLibpodParams

NewArtifactPushLibpodParams creates a new ArtifactPushLibpodParams 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 NewArtifactPushLibpodParamsWithContext deprecated

func NewArtifactPushLibpodParamsWithContext(ctx context.Context) *ArtifactPushLibpodParams

NewArtifactPushLibpodParamsWithContext creates a new ArtifactPushLibpodParams object with the ability to set a context for a request.

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

func NewArtifactPushLibpodParamsWithHTTPClient

func NewArtifactPushLibpodParamsWithHTTPClient(client *http.Client) *ArtifactPushLibpodParams

NewArtifactPushLibpodParamsWithHTTPClient creates a new ArtifactPushLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewArtifactPushLibpodParamsWithTimeout

func NewArtifactPushLibpodParamsWithTimeout(timeout time.Duration) *ArtifactPushLibpodParams

NewArtifactPushLibpodParamsWithTimeout creates a new ArtifactPushLibpodParams object with the ability to set a timeout on a request.

func (*ArtifactPushLibpodParams) SetContext deprecated

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

SetContext adds the context to the artifact push libpod params.

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

func (*ArtifactPushLibpodParams) SetDefaults

func (o *ArtifactPushLibpodParams) SetDefaults()

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

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

func (*ArtifactPushLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetName

func (o *ArtifactPushLibpodParams) SetName(name string)

SetName adds the name to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetRetry

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

SetRetry adds the retry to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetRetryDelay

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

SetRetryDelay adds the retryDelay to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetTLSVerify

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

SetTLSVerify adds the tlsVerify to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the artifact push libpod params.

func (*ArtifactPushLibpodParams) SetXRegistryAuth

func (o *ArtifactPushLibpodParams) SetXRegistryAuth(xRegistryAuth *string)

SetXRegistryAuth adds the xRegistryAuth to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithContext deprecated

WithContext adds the context to the artifact push libpod params.

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

func (*ArtifactPushLibpodParams) WithDefaults

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

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

func (*ArtifactPushLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithName

WithName adds the name to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithRetry

WithRetry adds the retry to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithRetryDelay

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

WithRetryDelay adds the retryDelay to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithTLSVerify

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

WithTLSVerify adds the tlsVerify to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithTimeout

WithTimeout adds the timeout to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WithXRegistryAuth

func (o *ArtifactPushLibpodParams) WithXRegistryAuth(xRegistryAuth *string) *ArtifactPushLibpodParams

WithXRegistryAuth adds the xRegistryAuth to the artifact push libpod params.

func (*ArtifactPushLibpodParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ArtifactPushLibpodReader

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

ArtifactPushLibpodReader is a Reader for the ArtifactPushLibpod structure.

func (*ArtifactPushLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArtifactPushLibpodUnauthorized

type ArtifactPushLibpodUnauthorized struct {
	Payload *models.ErrorModel
}

ArtifactPushLibpodUnauthorized describes a response with status code 401, with default header values.

error in authentication

func NewArtifactPushLibpodUnauthorized

func NewArtifactPushLibpodUnauthorized() *ArtifactPushLibpodUnauthorized

NewArtifactPushLibpodUnauthorized creates a ArtifactPushLibpodUnauthorized with default headers values

func (*ArtifactPushLibpodUnauthorized) Code

Code gets the status code for the artifact push libpod unauthorized response

func (*ArtifactPushLibpodUnauthorized) Error

func (*ArtifactPushLibpodUnauthorized) GetPayload

func (*ArtifactPushLibpodUnauthorized) IsClientError

func (o *ArtifactPushLibpodUnauthorized) IsClientError() bool

IsClientError returns true when this artifact push libpod unauthorized response has a 4xx status code

func (*ArtifactPushLibpodUnauthorized) IsCode

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

IsCode returns true when this artifact push libpod unauthorized response a status code equal to that given

func (*ArtifactPushLibpodUnauthorized) IsRedirect

func (o *ArtifactPushLibpodUnauthorized) IsRedirect() bool

IsRedirect returns true when this artifact push libpod unauthorized response has a 3xx status code

func (*ArtifactPushLibpodUnauthorized) IsServerError

func (o *ArtifactPushLibpodUnauthorized) IsServerError() bool

IsServerError returns true when this artifact push libpod unauthorized response has a 5xx status code

func (*ArtifactPushLibpodUnauthorized) IsSuccess

func (o *ArtifactPushLibpodUnauthorized) IsSuccess() bool

IsSuccess returns true when this artifact push libpod unauthorized response has a 2xx status code

func (*ArtifactPushLibpodUnauthorized) String

type Client

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

Client for artifacts API.

func (*Client) ArtifactAddLibpod

func (a *Client) ArtifactAddLibpod(params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)

ArtifactAddLibpod adds a file as an artifact.

Add a file as a new OCI artifact, or append to an existing artifact if 'append' is true. .

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

func (*Client) ArtifactAddLibpodContext

func (a *Client) ArtifactAddLibpodContext(ctx context.Context, params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)

ArtifactAddLibpodContext adds a file as an artifact.

Add a file as a new OCI artifact, or append to an existing artifact if 'append' is true. .

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

func (*Client) ArtifactDeleteAllLibpod

func (a *Client) ArtifactDeleteAllLibpod(params *ArtifactDeleteAllLibpodParams, opts ...ClientOption) (*ArtifactDeleteAllLibpodOK, error)

ArtifactDeleteAllLibpod removes one or more artifacts.

Remove one or more OCI artifacts from local storage. Can be filtered by name/ID or all artifacts can be removed. .

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

func (*Client) ArtifactDeleteAllLibpodContext

func (a *Client) ArtifactDeleteAllLibpodContext(ctx context.Context, params *ArtifactDeleteAllLibpodParams, opts ...ClientOption) (*ArtifactDeleteAllLibpodOK, error)

ArtifactDeleteAllLibpodContext removes one or more artifacts.

Remove one or more OCI artifacts from local storage. Can be filtered by name/ID or all artifacts can be removed. .

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

func (*Client) ArtifactDeleteLibpod

func (a *Client) ArtifactDeleteLibpod(params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)

ArtifactDeleteLibpod removes an artifact.

Remove a single artifact from local storage by name or ID..

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

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

func (*Client) ArtifactDeleteLibpodContext

func (a *Client) ArtifactDeleteLibpodContext(ctx context.Context, params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)

ArtifactDeleteLibpodContext removes an artifact.

Remove a single artifact from local storage by name or ID..

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

func (*Client) ArtifactExtractLibpod

func (a *Client) ArtifactExtractLibpod(params *ArtifactExtractLibpodParams, writer io.Writer, opts ...ClientOption) (*ArtifactExtractLibpodOK, error)

ArtifactExtractLibpod extracts an artifacts contents.

Extract the files of an OCI artifact to the local filesystem as a tar archive..

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

func (*Client) ArtifactExtractLibpodContext

func (a *Client) ArtifactExtractLibpodContext(ctx context.Context, params *ArtifactExtractLibpodParams, writer io.Writer, opts ...ClientOption) (*ArtifactExtractLibpodOK, error)

ArtifactExtractLibpodContext extracts an artifacts contents.

Extract the files of an OCI artifact to the local filesystem as a tar archive..

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

func (*Client) ArtifactInspectLibpod

func (a *Client) ArtifactInspectLibpod(params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)

ArtifactInspectLibpod inspects an artifact.

Retrieve detailed information about a specific OCI artifact by name or ID. .

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

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

func (*Client) ArtifactInspectLibpodContext

func (a *Client) ArtifactInspectLibpodContext(ctx context.Context, params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)

ArtifactInspectLibpodContext inspects an artifact.

Retrieve detailed information about a specific OCI artifact by name or ID. .

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

func (*Client) ArtifactListLibpod

func (a *Client) ArtifactListLibpod(params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)

ArtifactListLibpod lists artifacts.

Return a list of all OCI artifacts in local storage..

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

func (*Client) ArtifactListLibpodContext

func (a *Client) ArtifactListLibpodContext(ctx context.Context, params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)

ArtifactListLibpodContext lists artifacts.

Return a list of all OCI artifacts in local storage..

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

func (*Client) ArtifactLocalLibpod

func (a *Client) ArtifactLocalLibpod(params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)

ArtifactLocalLibpod adds a local file as an artifact.

Add a file from the local filesystem as a new OCI artifact, or append to an existing artifact if 'append' is true. .

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

func (*Client) ArtifactLocalLibpodContext

func (a *Client) ArtifactLocalLibpodContext(ctx context.Context, params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)

ArtifactLocalLibpodContext adds a local file as an artifact.

Add a file from the local filesystem as a new OCI artifact, or append to an existing artifact if 'append' is true. .

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

func (*Client) ArtifactPullLibpod

func (a *Client) ArtifactPullLibpod(params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)

ArtifactPullLibpod pulls an artifact.

Pull an OCI artifact from a remote registry to local storage..

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

func (*Client) ArtifactPullLibpodContext

func (a *Client) ArtifactPullLibpodContext(ctx context.Context, params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)

ArtifactPullLibpodContext pulls an artifact.

Pull an OCI artifact from a remote registry to local storage..

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

func (*Client) ArtifactPushLibpod

func (a *Client) ArtifactPushLibpod(params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)

ArtifactPushLibpod pushes an artifact.

Push an OCI artifact from local storage to a remote image registry..

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

func (*Client) ArtifactPushLibpodContext

func (a *Client) ArtifactPushLibpodContext(ctx context.Context, params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)

ArtifactPushLibpodContext pushes an artifact.

Push an OCI artifact from local storage to a remote image registry..

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithAccept

func WithAccept(mime string) ClientOption

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

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

type ClientService interface {

	// ArtifactAddLibpod add a file as an artifact.
	ArtifactAddLibpod(params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)

	// ArtifactAddLibpodContext add a file as an artifact.
	ArtifactAddLibpodContext(ctx context.Context, params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)

	// ArtifactDeleteAllLibpod remove one or more artifacts.
	ArtifactDeleteAllLibpod(params *ArtifactDeleteAllLibpodParams, opts ...ClientOption) (*ArtifactDeleteAllLibpodOK, error)

	// ArtifactDeleteAllLibpodContext remove one or more artifacts.
	ArtifactDeleteAllLibpodContext(ctx context.Context, params *ArtifactDeleteAllLibpodParams, opts ...ClientOption) (*ArtifactDeleteAllLibpodOK, error)

	// ArtifactDeleteLibpod remove an artifact.
	ArtifactDeleteLibpod(params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)

	// ArtifactDeleteLibpodContext remove an artifact.
	ArtifactDeleteLibpodContext(ctx context.Context, params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)

	// ArtifactExtractLibpod extract an artifacts contents.
	ArtifactExtractLibpod(params *ArtifactExtractLibpodParams, writer io.Writer, opts ...ClientOption) (*ArtifactExtractLibpodOK, error)

	// ArtifactExtractLibpodContext extract an artifacts contents.
	ArtifactExtractLibpodContext(ctx context.Context, params *ArtifactExtractLibpodParams, writer io.Writer, opts ...ClientOption) (*ArtifactExtractLibpodOK, error)

	// ArtifactInspectLibpod inspect an artifact.
	ArtifactInspectLibpod(params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)

	// ArtifactInspectLibpodContext inspect an artifact.
	ArtifactInspectLibpodContext(ctx context.Context, params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)

	// ArtifactListLibpod list artifacts.
	ArtifactListLibpod(params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)

	// ArtifactListLibpodContext list artifacts.
	ArtifactListLibpodContext(ctx context.Context, params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)

	// ArtifactLocalLibpod add a local file as an artifact.
	ArtifactLocalLibpod(params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)

	// ArtifactLocalLibpodContext add a local file as an artifact.
	ArtifactLocalLibpodContext(ctx context.Context, params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)

	// ArtifactPullLibpod pull an artifact.
	ArtifactPullLibpod(params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)

	// ArtifactPullLibpodContext pull an artifact.
	ArtifactPullLibpodContext(ctx context.Context, params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)

	// ArtifactPushLibpod push an artifact.
	ArtifactPushLibpod(params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)

	// ArtifactPushLibpodContext push an artifact.
	ArtifactPushLibpodContext(ctx context.Context, params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new artifacts API client.

func NewClientWithBasicAuth

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

New creates a new artifacts 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 artifacts 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.

Jump to

Keyboard shortcuts

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