Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationxTar(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationOctetStream(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type ArtifactAddLibpodBadRequest
- func (o *ArtifactAddLibpodBadRequest) Code() int
- func (o *ArtifactAddLibpodBadRequest) Error() string
- func (o *ArtifactAddLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *ArtifactAddLibpodBadRequest) IsClientError() bool
- func (o *ArtifactAddLibpodBadRequest) IsCode(code int) bool
- func (o *ArtifactAddLibpodBadRequest) IsRedirect() bool
- func (o *ArtifactAddLibpodBadRequest) IsServerError() bool
- func (o *ArtifactAddLibpodBadRequest) IsSuccess() bool
- func (o *ArtifactAddLibpodBadRequest) String() string
- type ArtifactAddLibpodCreated
- func (o *ArtifactAddLibpodCreated) Code() int
- func (o *ArtifactAddLibpodCreated) Error() string
- func (o *ArtifactAddLibpodCreated) GetPayload() *models.ArtifactAddReport
- func (o *ArtifactAddLibpodCreated) IsClientError() bool
- func (o *ArtifactAddLibpodCreated) IsCode(code int) bool
- func (o *ArtifactAddLibpodCreated) IsRedirect() bool
- func (o *ArtifactAddLibpodCreated) IsServerError() bool
- func (o *ArtifactAddLibpodCreated) IsSuccess() bool
- func (o *ArtifactAddLibpodCreated) String() string
- type ArtifactAddLibpodInternalServerError
- func (o *ArtifactAddLibpodInternalServerError) Code() int
- func (o *ArtifactAddLibpodInternalServerError) Error() string
- func (o *ArtifactAddLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactAddLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactAddLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactAddLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactAddLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactAddLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactAddLibpodInternalServerError) String() string
- type ArtifactAddLibpodNotFound
- func (o *ArtifactAddLibpodNotFound) Code() int
- func (o *ArtifactAddLibpodNotFound) Error() string
- func (o *ArtifactAddLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactAddLibpodNotFound) IsClientError() bool
- func (o *ArtifactAddLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactAddLibpodNotFound) IsRedirect() bool
- func (o *ArtifactAddLibpodNotFound) IsServerError() bool
- func (o *ArtifactAddLibpodNotFound) IsSuccess() bool
- func (o *ArtifactAddLibpodNotFound) String() string
- type ArtifactAddLibpodParams
- func NewArtifactAddLibpodParams() *ArtifactAddLibpodParams
- func NewArtifactAddLibpodParamsWithContext(ctx context.Context) *ArtifactAddLibpodParamsdeprecated
- func NewArtifactAddLibpodParamsWithHTTPClient(client *http.Client) *ArtifactAddLibpodParams
- func NewArtifactAddLibpodParamsWithTimeout(timeout time.Duration) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) SetAnnotations(annotations []string)
- func (o *ArtifactAddLibpodParams) SetAppend(append *bool)
- func (o *ArtifactAddLibpodParams) SetArtifactMIMEType(artifactMIMEType *string)
- func (o *ArtifactAddLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactAddLibpodParams) SetDefaults()
- func (o *ArtifactAddLibpodParams) SetFileMIMEType(fileMIMEType *string)
- func (o *ArtifactAddLibpodParams) SetFileName(fileName string)
- func (o *ArtifactAddLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactAddLibpodParams) SetInputStream(inputStream io.ReadCloser)
- func (o *ArtifactAddLibpodParams) SetName(name string)
- func (o *ArtifactAddLibpodParams) SetReplace(replace *bool)
- func (o *ArtifactAddLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactAddLibpodParams) WithAnnotations(annotations []string) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithAppend(append *bool) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithArtifactMIMEType(artifactMIMEType *string) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithContext(ctx context.Context) *ArtifactAddLibpodParamsdeprecated
- func (o *ArtifactAddLibpodParams) WithDefaults() *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithFileMIMEType(fileMIMEType *string) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithFileName(fileName string) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithHTTPClient(client *http.Client) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithInputStream(inputStream io.ReadCloser) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithName(name string) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithReplace(replace *bool) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WithTimeout(timeout time.Duration) *ArtifactAddLibpodParams
- func (o *ArtifactAddLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactAddLibpodReader
- type ArtifactDeleteAllLibpodInternalServerError
- func (o *ArtifactDeleteAllLibpodInternalServerError) Code() int
- func (o *ArtifactDeleteAllLibpodInternalServerError) Error() string
- func (o *ArtifactDeleteAllLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactDeleteAllLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactDeleteAllLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactDeleteAllLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactDeleteAllLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactDeleteAllLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactDeleteAllLibpodInternalServerError) String() string
- type ArtifactDeleteAllLibpodNotFound
- func (o *ArtifactDeleteAllLibpodNotFound) Code() int
- func (o *ArtifactDeleteAllLibpodNotFound) Error() string
- func (o *ArtifactDeleteAllLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactDeleteAllLibpodNotFound) IsClientError() bool
- func (o *ArtifactDeleteAllLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactDeleteAllLibpodNotFound) IsRedirect() bool
- func (o *ArtifactDeleteAllLibpodNotFound) IsServerError() bool
- func (o *ArtifactDeleteAllLibpodNotFound) IsSuccess() bool
- func (o *ArtifactDeleteAllLibpodNotFound) String() string
- type ArtifactDeleteAllLibpodOK
- func (o *ArtifactDeleteAllLibpodOK) Code() int
- func (o *ArtifactDeleteAllLibpodOK) Error() string
- func (o *ArtifactDeleteAllLibpodOK) GetPayload() *models.ArtifactRemoveReport
- func (o *ArtifactDeleteAllLibpodOK) IsClientError() bool
- func (o *ArtifactDeleteAllLibpodOK) IsCode(code int) bool
- func (o *ArtifactDeleteAllLibpodOK) IsRedirect() bool
- func (o *ArtifactDeleteAllLibpodOK) IsServerError() bool
- func (o *ArtifactDeleteAllLibpodOK) IsSuccess() bool
- func (o *ArtifactDeleteAllLibpodOK) String() string
- type ArtifactDeleteAllLibpodParams
- func NewArtifactDeleteAllLibpodParams() *ArtifactDeleteAllLibpodParams
- func NewArtifactDeleteAllLibpodParamsWithContext(ctx context.Context) *ArtifactDeleteAllLibpodParamsdeprecated
- func NewArtifactDeleteAllLibpodParamsWithHTTPClient(client *http.Client) *ArtifactDeleteAllLibpodParams
- func NewArtifactDeleteAllLibpodParamsWithTimeout(timeout time.Duration) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) SetAll(all *bool)
- func (o *ArtifactDeleteAllLibpodParams) SetArtifacts(artifacts []string)
- func (o *ArtifactDeleteAllLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactDeleteAllLibpodParams) SetDefaults()
- func (o *ArtifactDeleteAllLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactDeleteAllLibpodParams) SetIgnore(ignore *bool)
- func (o *ArtifactDeleteAllLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactDeleteAllLibpodParams) WithAll(all *bool) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WithArtifacts(artifacts []string) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WithContext(ctx context.Context) *ArtifactDeleteAllLibpodParamsdeprecated
- func (o *ArtifactDeleteAllLibpodParams) WithDefaults() *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WithHTTPClient(client *http.Client) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WithIgnore(ignore *bool) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WithTimeout(timeout time.Duration) *ArtifactDeleteAllLibpodParams
- func (o *ArtifactDeleteAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactDeleteAllLibpodReader
- type ArtifactDeleteLibpodInternalServerError
- func (o *ArtifactDeleteLibpodInternalServerError) Code() int
- func (o *ArtifactDeleteLibpodInternalServerError) Error() string
- func (o *ArtifactDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactDeleteLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactDeleteLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactDeleteLibpodInternalServerError) String() string
- type ArtifactDeleteLibpodNotFound
- func (o *ArtifactDeleteLibpodNotFound) Code() int
- func (o *ArtifactDeleteLibpodNotFound) Error() string
- func (o *ArtifactDeleteLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactDeleteLibpodNotFound) IsClientError() bool
- func (o *ArtifactDeleteLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactDeleteLibpodNotFound) IsRedirect() bool
- func (o *ArtifactDeleteLibpodNotFound) IsServerError() bool
- func (o *ArtifactDeleteLibpodNotFound) IsSuccess() bool
- func (o *ArtifactDeleteLibpodNotFound) String() string
- type ArtifactDeleteLibpodOK
- func (o *ArtifactDeleteLibpodOK) Code() int
- func (o *ArtifactDeleteLibpodOK) Error() string
- func (o *ArtifactDeleteLibpodOK) GetPayload() *models.ArtifactRemoveReport
- func (o *ArtifactDeleteLibpodOK) IsClientError() bool
- func (o *ArtifactDeleteLibpodOK) IsCode(code int) bool
- func (o *ArtifactDeleteLibpodOK) IsRedirect() bool
- func (o *ArtifactDeleteLibpodOK) IsServerError() bool
- func (o *ArtifactDeleteLibpodOK) IsSuccess() bool
- func (o *ArtifactDeleteLibpodOK) String() string
- type ArtifactDeleteLibpodParams
- func NewArtifactDeleteLibpodParams() *ArtifactDeleteLibpodParams
- func NewArtifactDeleteLibpodParamsWithContext(ctx context.Context) *ArtifactDeleteLibpodParamsdeprecated
- func NewArtifactDeleteLibpodParamsWithHTTPClient(client *http.Client) *ArtifactDeleteLibpodParams
- func NewArtifactDeleteLibpodParamsWithTimeout(timeout time.Duration) *ArtifactDeleteLibpodParams
- func (o *ArtifactDeleteLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactDeleteLibpodParams) SetDefaults()
- func (o *ArtifactDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactDeleteLibpodParams) SetName(name string)
- func (o *ArtifactDeleteLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactDeleteLibpodParams) WithContext(ctx context.Context) *ArtifactDeleteLibpodParamsdeprecated
- func (o *ArtifactDeleteLibpodParams) WithDefaults() *ArtifactDeleteLibpodParams
- func (o *ArtifactDeleteLibpodParams) WithHTTPClient(client *http.Client) *ArtifactDeleteLibpodParams
- func (o *ArtifactDeleteLibpodParams) WithName(name string) *ArtifactDeleteLibpodParams
- func (o *ArtifactDeleteLibpodParams) WithTimeout(timeout time.Duration) *ArtifactDeleteLibpodParams
- func (o *ArtifactDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactDeleteLibpodReader
- type ArtifactExtractLibpodBadRequest
- func (o *ArtifactExtractLibpodBadRequest) Code() int
- func (o *ArtifactExtractLibpodBadRequest) Error() string
- func (o *ArtifactExtractLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *ArtifactExtractLibpodBadRequest) IsClientError() bool
- func (o *ArtifactExtractLibpodBadRequest) IsCode(code int) bool
- func (o *ArtifactExtractLibpodBadRequest) IsRedirect() bool
- func (o *ArtifactExtractLibpodBadRequest) IsServerError() bool
- func (o *ArtifactExtractLibpodBadRequest) IsSuccess() bool
- func (o *ArtifactExtractLibpodBadRequest) String() string
- type ArtifactExtractLibpodInternalServerError
- func (o *ArtifactExtractLibpodInternalServerError) Code() int
- func (o *ArtifactExtractLibpodInternalServerError) Error() string
- func (o *ArtifactExtractLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactExtractLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactExtractLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactExtractLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactExtractLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactExtractLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactExtractLibpodInternalServerError) String() string
- type ArtifactExtractLibpodNotFound
- func (o *ArtifactExtractLibpodNotFound) Code() int
- func (o *ArtifactExtractLibpodNotFound) Error() string
- func (o *ArtifactExtractLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactExtractLibpodNotFound) IsClientError() bool
- func (o *ArtifactExtractLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactExtractLibpodNotFound) IsRedirect() bool
- func (o *ArtifactExtractLibpodNotFound) IsServerError() bool
- func (o *ArtifactExtractLibpodNotFound) IsSuccess() bool
- func (o *ArtifactExtractLibpodNotFound) String() string
- type ArtifactExtractLibpodOK
- func (o *ArtifactExtractLibpodOK) Code() int
- func (o *ArtifactExtractLibpodOK) Error() string
- func (o *ArtifactExtractLibpodOK) GetPayload() io.Writer
- func (o *ArtifactExtractLibpodOK) IsClientError() bool
- func (o *ArtifactExtractLibpodOK) IsCode(code int) bool
- func (o *ArtifactExtractLibpodOK) IsRedirect() bool
- func (o *ArtifactExtractLibpodOK) IsServerError() bool
- func (o *ArtifactExtractLibpodOK) IsSuccess() bool
- func (o *ArtifactExtractLibpodOK) String() string
- type ArtifactExtractLibpodParams
- func NewArtifactExtractLibpodParams() *ArtifactExtractLibpodParams
- func NewArtifactExtractLibpodParamsWithContext(ctx context.Context) *ArtifactExtractLibpodParamsdeprecated
- func NewArtifactExtractLibpodParamsWithHTTPClient(client *http.Client) *ArtifactExtractLibpodParams
- func NewArtifactExtractLibpodParamsWithTimeout(timeout time.Duration) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactExtractLibpodParams) SetDefaults()
- func (o *ArtifactExtractLibpodParams) SetDigest(digest *string)
- func (o *ArtifactExtractLibpodParams) SetExcludeTitle(excludeTitle *bool)
- func (o *ArtifactExtractLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactExtractLibpodParams) SetName(name string)
- func (o *ArtifactExtractLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactExtractLibpodParams) SetTitle(title *string)
- func (o *ArtifactExtractLibpodParams) WithContext(ctx context.Context) *ArtifactExtractLibpodParamsdeprecated
- func (o *ArtifactExtractLibpodParams) WithDefaults() *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithDigest(digest *string) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithExcludeTitle(excludeTitle *bool) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithHTTPClient(client *http.Client) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithName(name string) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithTimeout(timeout time.Duration) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WithTitle(title *string) *ArtifactExtractLibpodParams
- func (o *ArtifactExtractLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactExtractLibpodReader
- type ArtifactInspectLibpodInternalServerError
- func (o *ArtifactInspectLibpodInternalServerError) Code() int
- func (o *ArtifactInspectLibpodInternalServerError) Error() string
- func (o *ArtifactInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactInspectLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactInspectLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactInspectLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactInspectLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactInspectLibpodInternalServerError) String() string
- type ArtifactInspectLibpodNotFound
- func (o *ArtifactInspectLibpodNotFound) Code() int
- func (o *ArtifactInspectLibpodNotFound) Error() string
- func (o *ArtifactInspectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactInspectLibpodNotFound) IsClientError() bool
- func (o *ArtifactInspectLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactInspectLibpodNotFound) IsRedirect() bool
- func (o *ArtifactInspectLibpodNotFound) IsServerError() bool
- func (o *ArtifactInspectLibpodNotFound) IsSuccess() bool
- func (o *ArtifactInspectLibpodNotFound) String() string
- type ArtifactInspectLibpodOK
- func (o *ArtifactInspectLibpodOK) Code() int
- func (o *ArtifactInspectLibpodOK) Error() string
- func (o *ArtifactInspectLibpodOK) GetPayload() *models.ArtifactInspectReport
- func (o *ArtifactInspectLibpodOK) IsClientError() bool
- func (o *ArtifactInspectLibpodOK) IsCode(code int) bool
- func (o *ArtifactInspectLibpodOK) IsRedirect() bool
- func (o *ArtifactInspectLibpodOK) IsServerError() bool
- func (o *ArtifactInspectLibpodOK) IsSuccess() bool
- func (o *ArtifactInspectLibpodOK) String() string
- type ArtifactInspectLibpodParams
- func NewArtifactInspectLibpodParams() *ArtifactInspectLibpodParams
- func NewArtifactInspectLibpodParamsWithContext(ctx context.Context) *ArtifactInspectLibpodParamsdeprecated
- func NewArtifactInspectLibpodParamsWithHTTPClient(client *http.Client) *ArtifactInspectLibpodParams
- func NewArtifactInspectLibpodParamsWithTimeout(timeout time.Duration) *ArtifactInspectLibpodParams
- func (o *ArtifactInspectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactInspectLibpodParams) SetDefaults()
- func (o *ArtifactInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactInspectLibpodParams) SetName(name string)
- func (o *ArtifactInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactInspectLibpodParams) WithContext(ctx context.Context) *ArtifactInspectLibpodParamsdeprecated
- func (o *ArtifactInspectLibpodParams) WithDefaults() *ArtifactInspectLibpodParams
- func (o *ArtifactInspectLibpodParams) WithHTTPClient(client *http.Client) *ArtifactInspectLibpodParams
- func (o *ArtifactInspectLibpodParams) WithName(name string) *ArtifactInspectLibpodParams
- func (o *ArtifactInspectLibpodParams) WithTimeout(timeout time.Duration) *ArtifactInspectLibpodParams
- func (o *ArtifactInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactInspectLibpodReader
- type ArtifactListLibpodInternalServerError
- func (o *ArtifactListLibpodInternalServerError) Code() int
- func (o *ArtifactListLibpodInternalServerError) Error() string
- func (o *ArtifactListLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactListLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactListLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactListLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactListLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactListLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactListLibpodInternalServerError) String() string
- type ArtifactListLibpodOK
- func (o *ArtifactListLibpodOK) Code() int
- func (o *ArtifactListLibpodOK) Error() string
- func (o *ArtifactListLibpodOK) GetPayload() []*models.ArtifactListReport
- func (o *ArtifactListLibpodOK) IsClientError() bool
- func (o *ArtifactListLibpodOK) IsCode(code int) bool
- func (o *ArtifactListLibpodOK) IsRedirect() bool
- func (o *ArtifactListLibpodOK) IsServerError() bool
- func (o *ArtifactListLibpodOK) IsSuccess() bool
- func (o *ArtifactListLibpodOK) String() string
- type ArtifactListLibpodParams
- func NewArtifactListLibpodParams() *ArtifactListLibpodParams
- func NewArtifactListLibpodParamsWithContext(ctx context.Context) *ArtifactListLibpodParamsdeprecated
- func NewArtifactListLibpodParamsWithHTTPClient(client *http.Client) *ArtifactListLibpodParams
- func NewArtifactListLibpodParamsWithTimeout(timeout time.Duration) *ArtifactListLibpodParams
- func (o *ArtifactListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactListLibpodParams) SetDefaults()
- func (o *ArtifactListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactListLibpodParams) WithContext(ctx context.Context) *ArtifactListLibpodParamsdeprecated
- func (o *ArtifactListLibpodParams) WithDefaults() *ArtifactListLibpodParams
- func (o *ArtifactListLibpodParams) WithHTTPClient(client *http.Client) *ArtifactListLibpodParams
- func (o *ArtifactListLibpodParams) WithTimeout(timeout time.Duration) *ArtifactListLibpodParams
- func (o *ArtifactListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactListLibpodReader
- type ArtifactLocalLibpodBadRequest
- func (o *ArtifactLocalLibpodBadRequest) Code() int
- func (o *ArtifactLocalLibpodBadRequest) Error() string
- func (o *ArtifactLocalLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *ArtifactLocalLibpodBadRequest) IsClientError() bool
- func (o *ArtifactLocalLibpodBadRequest) IsCode(code int) bool
- func (o *ArtifactLocalLibpodBadRequest) IsRedirect() bool
- func (o *ArtifactLocalLibpodBadRequest) IsServerError() bool
- func (o *ArtifactLocalLibpodBadRequest) IsSuccess() bool
- func (o *ArtifactLocalLibpodBadRequest) String() string
- type ArtifactLocalLibpodCreated
- func (o *ArtifactLocalLibpodCreated) Code() int
- func (o *ArtifactLocalLibpodCreated) Error() string
- func (o *ArtifactLocalLibpodCreated) GetPayload() *models.ArtifactAddReport
- func (o *ArtifactLocalLibpodCreated) IsClientError() bool
- func (o *ArtifactLocalLibpodCreated) IsCode(code int) bool
- func (o *ArtifactLocalLibpodCreated) IsRedirect() bool
- func (o *ArtifactLocalLibpodCreated) IsServerError() bool
- func (o *ArtifactLocalLibpodCreated) IsSuccess() bool
- func (o *ArtifactLocalLibpodCreated) String() string
- type ArtifactLocalLibpodInternalServerError
- func (o *ArtifactLocalLibpodInternalServerError) Code() int
- func (o *ArtifactLocalLibpodInternalServerError) Error() string
- func (o *ArtifactLocalLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactLocalLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactLocalLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactLocalLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactLocalLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactLocalLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactLocalLibpodInternalServerError) String() string
- type ArtifactLocalLibpodNotFound
- func (o *ArtifactLocalLibpodNotFound) Code() int
- func (o *ArtifactLocalLibpodNotFound) Error() string
- func (o *ArtifactLocalLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactLocalLibpodNotFound) IsClientError() bool
- func (o *ArtifactLocalLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactLocalLibpodNotFound) IsRedirect() bool
- func (o *ArtifactLocalLibpodNotFound) IsServerError() bool
- func (o *ArtifactLocalLibpodNotFound) IsSuccess() bool
- func (o *ArtifactLocalLibpodNotFound) String() string
- type ArtifactLocalLibpodParams
- func NewArtifactLocalLibpodParams() *ArtifactLocalLibpodParams
- func NewArtifactLocalLibpodParamsWithContext(ctx context.Context) *ArtifactLocalLibpodParamsdeprecated
- func NewArtifactLocalLibpodParamsWithHTTPClient(client *http.Client) *ArtifactLocalLibpodParams
- func NewArtifactLocalLibpodParamsWithTimeout(timeout time.Duration) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) SetAnnotations(annotations []string)
- func (o *ArtifactLocalLibpodParams) SetAppend(append *bool)
- func (o *ArtifactLocalLibpodParams) SetArtifactMIMEType(artifactMIMEType *string)
- func (o *ArtifactLocalLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactLocalLibpodParams) SetDefaults()
- func (o *ArtifactLocalLibpodParams) SetFileMIMEType(fileMIMEType *string)
- func (o *ArtifactLocalLibpodParams) SetFileName(fileName string)
- func (o *ArtifactLocalLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactLocalLibpodParams) SetName(name string)
- func (o *ArtifactLocalLibpodParams) SetPath(path string)
- func (o *ArtifactLocalLibpodParams) SetReplace(replace *bool)
- func (o *ArtifactLocalLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactLocalLibpodParams) WithAnnotations(annotations []string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithAppend(append *bool) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithArtifactMIMEType(artifactMIMEType *string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithContext(ctx context.Context) *ArtifactLocalLibpodParamsdeprecated
- func (o *ArtifactLocalLibpodParams) WithDefaults() *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithFileMIMEType(fileMIMEType *string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithFileName(fileName string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithHTTPClient(client *http.Client) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithName(name string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithPath(path string) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithReplace(replace *bool) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WithTimeout(timeout time.Duration) *ArtifactLocalLibpodParams
- func (o *ArtifactLocalLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactLocalLibpodReader
- type ArtifactPullLibpodBadRequest
- func (o *ArtifactPullLibpodBadRequest) Code() int
- func (o *ArtifactPullLibpodBadRequest) Error() string
- func (o *ArtifactPullLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *ArtifactPullLibpodBadRequest) IsClientError() bool
- func (o *ArtifactPullLibpodBadRequest) IsCode(code int) bool
- func (o *ArtifactPullLibpodBadRequest) IsRedirect() bool
- func (o *ArtifactPullLibpodBadRequest) IsServerError() bool
- func (o *ArtifactPullLibpodBadRequest) IsSuccess() bool
- func (o *ArtifactPullLibpodBadRequest) String() string
- type ArtifactPullLibpodInternalServerError
- func (o *ArtifactPullLibpodInternalServerError) Code() int
- func (o *ArtifactPullLibpodInternalServerError) Error() string
- func (o *ArtifactPullLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactPullLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactPullLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactPullLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactPullLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactPullLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactPullLibpodInternalServerError) String() string
- type ArtifactPullLibpodNotFound
- func (o *ArtifactPullLibpodNotFound) Code() int
- func (o *ArtifactPullLibpodNotFound) Error() string
- func (o *ArtifactPullLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactPullLibpodNotFound) IsClientError() bool
- func (o *ArtifactPullLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactPullLibpodNotFound) IsRedirect() bool
- func (o *ArtifactPullLibpodNotFound) IsServerError() bool
- func (o *ArtifactPullLibpodNotFound) IsSuccess() bool
- func (o *ArtifactPullLibpodNotFound) String() string
- type ArtifactPullLibpodOK
- func (o *ArtifactPullLibpodOK) Code() int
- func (o *ArtifactPullLibpodOK) Error() string
- func (o *ArtifactPullLibpodOK) GetPayload() *models.ArtifactPullReport
- func (o *ArtifactPullLibpodOK) IsClientError() bool
- func (o *ArtifactPullLibpodOK) IsCode(code int) bool
- func (o *ArtifactPullLibpodOK) IsRedirect() bool
- func (o *ArtifactPullLibpodOK) IsServerError() bool
- func (o *ArtifactPullLibpodOK) IsSuccess() bool
- func (o *ArtifactPullLibpodOK) String() string
- type ArtifactPullLibpodParams
- func NewArtifactPullLibpodParams() *ArtifactPullLibpodParams
- func NewArtifactPullLibpodParamsWithContext(ctx context.Context) *ArtifactPullLibpodParamsdeprecated
- func NewArtifactPullLibpodParamsWithHTTPClient(client *http.Client) *ArtifactPullLibpodParams
- func NewArtifactPullLibpodParamsWithTimeout(timeout time.Duration) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactPullLibpodParams) SetDefaults()
- func (o *ArtifactPullLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactPullLibpodParams) SetName(name string)
- func (o *ArtifactPullLibpodParams) SetRetry(retry *int64)
- func (o *ArtifactPullLibpodParams) SetRetryDelay(retryDelay *string)
- func (o *ArtifactPullLibpodParams) SetTLSVerify(tlsVerify *bool)
- func (o *ArtifactPullLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactPullLibpodParams) SetXRegistryAuth(xRegistryAuth *string)
- func (o *ArtifactPullLibpodParams) WithContext(ctx context.Context) *ArtifactPullLibpodParamsdeprecated
- func (o *ArtifactPullLibpodParams) WithDefaults() *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithHTTPClient(client *http.Client) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithName(name string) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithRetry(retry *int64) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithRetryDelay(retryDelay *string) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithTLSVerify(tlsVerify *bool) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithTimeout(timeout time.Duration) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WithXRegistryAuth(xRegistryAuth *string) *ArtifactPullLibpodParams
- func (o *ArtifactPullLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactPullLibpodReader
- type ArtifactPullLibpodUnauthorized
- func (o *ArtifactPullLibpodUnauthorized) Code() int
- func (o *ArtifactPullLibpodUnauthorized) Error() string
- func (o *ArtifactPullLibpodUnauthorized) GetPayload() *models.ErrorModel
- func (o *ArtifactPullLibpodUnauthorized) IsClientError() bool
- func (o *ArtifactPullLibpodUnauthorized) IsCode(code int) bool
- func (o *ArtifactPullLibpodUnauthorized) IsRedirect() bool
- func (o *ArtifactPullLibpodUnauthorized) IsServerError() bool
- func (o *ArtifactPullLibpodUnauthorized) IsSuccess() bool
- func (o *ArtifactPullLibpodUnauthorized) String() string
- type ArtifactPushLibpodBadRequest
- func (o *ArtifactPushLibpodBadRequest) Code() int
- func (o *ArtifactPushLibpodBadRequest) Error() string
- func (o *ArtifactPushLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *ArtifactPushLibpodBadRequest) IsClientError() bool
- func (o *ArtifactPushLibpodBadRequest) IsCode(code int) bool
- func (o *ArtifactPushLibpodBadRequest) IsRedirect() bool
- func (o *ArtifactPushLibpodBadRequest) IsServerError() bool
- func (o *ArtifactPushLibpodBadRequest) IsSuccess() bool
- func (o *ArtifactPushLibpodBadRequest) String() string
- type ArtifactPushLibpodInternalServerError
- func (o *ArtifactPushLibpodInternalServerError) Code() int
- func (o *ArtifactPushLibpodInternalServerError) Error() string
- func (o *ArtifactPushLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *ArtifactPushLibpodInternalServerError) IsClientError() bool
- func (o *ArtifactPushLibpodInternalServerError) IsCode(code int) bool
- func (o *ArtifactPushLibpodInternalServerError) IsRedirect() bool
- func (o *ArtifactPushLibpodInternalServerError) IsServerError() bool
- func (o *ArtifactPushLibpodInternalServerError) IsSuccess() bool
- func (o *ArtifactPushLibpodInternalServerError) String() string
- type ArtifactPushLibpodNotFound
- func (o *ArtifactPushLibpodNotFound) Code() int
- func (o *ArtifactPushLibpodNotFound) Error() string
- func (o *ArtifactPushLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *ArtifactPushLibpodNotFound) IsClientError() bool
- func (o *ArtifactPushLibpodNotFound) IsCode(code int) bool
- func (o *ArtifactPushLibpodNotFound) IsRedirect() bool
- func (o *ArtifactPushLibpodNotFound) IsServerError() bool
- func (o *ArtifactPushLibpodNotFound) IsSuccess() bool
- func (o *ArtifactPushLibpodNotFound) String() string
- type ArtifactPushLibpodOK
- func (o *ArtifactPushLibpodOK) Code() int
- func (o *ArtifactPushLibpodOK) Error() string
- func (o *ArtifactPushLibpodOK) GetPayload() *models.ArtifactPushReport
- func (o *ArtifactPushLibpodOK) IsClientError() bool
- func (o *ArtifactPushLibpodOK) IsCode(code int) bool
- func (o *ArtifactPushLibpodOK) IsRedirect() bool
- func (o *ArtifactPushLibpodOK) IsServerError() bool
- func (o *ArtifactPushLibpodOK) IsSuccess() bool
- func (o *ArtifactPushLibpodOK) String() string
- type ArtifactPushLibpodParams
- func NewArtifactPushLibpodParams() *ArtifactPushLibpodParams
- func NewArtifactPushLibpodParamsWithContext(ctx context.Context) *ArtifactPushLibpodParamsdeprecated
- func NewArtifactPushLibpodParamsWithHTTPClient(client *http.Client) *ArtifactPushLibpodParams
- func NewArtifactPushLibpodParamsWithTimeout(timeout time.Duration) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *ArtifactPushLibpodParams) SetDefaults()
- func (o *ArtifactPushLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ArtifactPushLibpodParams) SetName(name string)
- func (o *ArtifactPushLibpodParams) SetRetry(retry *int64)
- func (o *ArtifactPushLibpodParams) SetRetryDelay(retryDelay *string)
- func (o *ArtifactPushLibpodParams) SetTLSVerify(tlsVerify *bool)
- func (o *ArtifactPushLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ArtifactPushLibpodParams) SetXRegistryAuth(xRegistryAuth *string)
- func (o *ArtifactPushLibpodParams) WithContext(ctx context.Context) *ArtifactPushLibpodParamsdeprecated
- func (o *ArtifactPushLibpodParams) WithDefaults() *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithHTTPClient(client *http.Client) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithName(name string) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithRetry(retry *int64) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithRetryDelay(retryDelay *string) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithTLSVerify(tlsVerify *bool) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithTimeout(timeout time.Duration) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WithXRegistryAuth(xRegistryAuth *string) *ArtifactPushLibpodParams
- func (o *ArtifactPushLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArtifactPushLibpodReader
- type ArtifactPushLibpodUnauthorized
- func (o *ArtifactPushLibpodUnauthorized) Code() int
- func (o *ArtifactPushLibpodUnauthorized) Error() string
- func (o *ArtifactPushLibpodUnauthorized) GetPayload() *models.ErrorModel
- func (o *ArtifactPushLibpodUnauthorized) IsClientError() bool
- func (o *ArtifactPushLibpodUnauthorized) IsCode(code int) bool
- func (o *ArtifactPushLibpodUnauthorized) IsRedirect() bool
- func (o *ArtifactPushLibpodUnauthorized) IsServerError() bool
- func (o *ArtifactPushLibpodUnauthorized) IsSuccess() bool
- func (o *ArtifactPushLibpodUnauthorized) String() string
- type Client
- func (a *Client) ArtifactAddLibpod(params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)
- func (a *Client) ArtifactAddLibpodContext(ctx context.Context, params *ArtifactAddLibpodParams, opts ...ClientOption) (*ArtifactAddLibpodCreated, error)
- func (a *Client) ArtifactDeleteAllLibpod(params *ArtifactDeleteAllLibpodParams, opts ...ClientOption) (*ArtifactDeleteAllLibpodOK, error)
- func (a *Client) ArtifactDeleteAllLibpodContext(ctx context.Context, params *ArtifactDeleteAllLibpodParams, ...) (*ArtifactDeleteAllLibpodOK, error)
- func (a *Client) ArtifactDeleteLibpod(params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)
- func (a *Client) ArtifactDeleteLibpodContext(ctx context.Context, params *ArtifactDeleteLibpodParams, opts ...ClientOption) (*ArtifactDeleteLibpodOK, error)
- func (a *Client) ArtifactExtractLibpod(params *ArtifactExtractLibpodParams, writer io.Writer, opts ...ClientOption) (*ArtifactExtractLibpodOK, error)
- func (a *Client) ArtifactExtractLibpodContext(ctx context.Context, params *ArtifactExtractLibpodParams, writer io.Writer, ...) (*ArtifactExtractLibpodOK, error)
- func (a *Client) ArtifactInspectLibpod(params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)
- func (a *Client) ArtifactInspectLibpodContext(ctx context.Context, params *ArtifactInspectLibpodParams, opts ...ClientOption) (*ArtifactInspectLibpodOK, error)
- func (a *Client) ArtifactListLibpod(params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)
- func (a *Client) ArtifactListLibpodContext(ctx context.Context, params *ArtifactListLibpodParams, opts ...ClientOption) (*ArtifactListLibpodOK, error)
- func (a *Client) ArtifactLocalLibpod(params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)
- func (a *Client) ArtifactLocalLibpodContext(ctx context.Context, params *ArtifactLocalLibpodParams, opts ...ClientOption) (*ArtifactLocalLibpodCreated, error)
- func (a *Client) ArtifactPullLibpod(params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)
- func (a *Client) ArtifactPullLibpodContext(ctx context.Context, params *ArtifactPullLibpodParams, opts ...ClientOption) (*ArtifactPullLibpodOK, error)
- func (a *Client) ArtifactPushLibpod(params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)
- func (a *Client) ArtifactPushLibpodContext(ctx context.Context, params *ArtifactPushLibpodParams, opts ...ClientOption) (*ArtifactPushLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
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 (o *ArtifactAddLibpodBadRequest) Error() string
func (*ArtifactAddLibpodBadRequest) GetPayload ¶
func (o *ArtifactAddLibpodBadRequest) GetPayload() *models.ErrorModel
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 (o *ArtifactAddLibpodCreated) GetPayload() *models.ArtifactAddReport
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 ¶
func (o *ArtifactAddLibpodInternalServerError) Code() int
Code gets the status code for the artifact add libpod internal server error response
func (*ArtifactAddLibpodInternalServerError) Error ¶
func (o *ArtifactAddLibpodInternalServerError) Error() string
func (*ArtifactAddLibpodInternalServerError) GetPayload ¶
func (o *ArtifactAddLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactAddLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact add libpod internal server error response a status code equal to that given
func (*ArtifactAddLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactAddLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactAddLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact add libpod internal server error response has a 2xx status code
func (*ArtifactAddLibpodInternalServerError) String ¶
func (o *ArtifactAddLibpodInternalServerError) String() 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
func (o *ArtifactAddLibpodParams) WithContext(ctx context.Context) *ArtifactAddLibpodParams
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 ¶
func (o *ArtifactAddLibpodParams) WithDefaults() *ArtifactAddLibpodParams
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 ¶
func (o *ArtifactAddLibpodParams) WithName(name string) *ArtifactAddLibpodParams
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 ¶
func (o *ArtifactAddLibpodParams) WithTimeout(timeout time.Duration) *ArtifactAddLibpodParams
WithTimeout adds the timeout to the artifact add libpod params.
func (*ArtifactAddLibpodParams) WriteToRequest ¶
func (o *ArtifactAddLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) Code() int
Code gets the status code for the artifact delete all libpod internal server error response
func (*ArtifactDeleteAllLibpodInternalServerError) Error ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) Error() string
func (*ArtifactDeleteAllLibpodInternalServerError) GetPayload ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*ArtifactDeleteAllLibpodInternalServerError) IsClientError ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this artifact delete all libpod internal server error response has a 4xx status code
func (*ArtifactDeleteAllLibpodInternalServerError) IsCode ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact delete all libpod internal server error response a status code equal to that given
func (*ArtifactDeleteAllLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this artifact delete all libpod internal server error response has a 3xx status code
func (*ArtifactDeleteAllLibpodInternalServerError) IsServerError ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this artifact delete all libpod internal server error response has a 5xx status code
func (*ArtifactDeleteAllLibpodInternalServerError) IsSuccess ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact delete all libpod internal server error response has a 2xx status code
func (*ArtifactDeleteAllLibpodInternalServerError) String ¶
func (o *ArtifactDeleteAllLibpodInternalServerError) String() 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 ¶
func (o *ArtifactDeleteAllLibpodNotFound) Code() int
Code gets the status code for the artifact delete all libpod not found response
func (*ArtifactDeleteAllLibpodNotFound) Error ¶
func (o *ArtifactDeleteAllLibpodNotFound) Error() string
func (*ArtifactDeleteAllLibpodNotFound) GetPayload ¶
func (o *ArtifactDeleteAllLibpodNotFound) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactDeleteAllLibpodNotFound) String() 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 (o *ArtifactDeleteAllLibpodOK) GetPayload() *models.ArtifactRemoveReport
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 ¶
func (o *ArtifactDeleteAllLibpodParams) WithAll(all *bool) *ArtifactDeleteAllLibpodParams
WithAll adds the all to the artifact delete all libpod params.
func (*ArtifactDeleteAllLibpodParams) WithArtifacts ¶
func (o *ArtifactDeleteAllLibpodParams) WithArtifacts(artifacts []string) *ArtifactDeleteAllLibpodParams
WithArtifacts adds the artifacts to the artifact delete all libpod params.
func (*ArtifactDeleteAllLibpodParams) WithContext
deprecated
func (o *ArtifactDeleteAllLibpodParams) WithContext(ctx context.Context) *ArtifactDeleteAllLibpodParams
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 ¶
func (o *ArtifactDeleteAllLibpodParams) WithDefaults() *ArtifactDeleteAllLibpodParams
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 ¶
func (o *ArtifactDeleteAllLibpodParams) WithHTTPClient(client *http.Client) *ArtifactDeleteAllLibpodParams
WithHTTPClient adds the HTTPClient to the artifact delete all libpod params.
func (*ArtifactDeleteAllLibpodParams) WithIgnore ¶
func (o *ArtifactDeleteAllLibpodParams) WithIgnore(ignore *bool) *ArtifactDeleteAllLibpodParams
WithIgnore adds the ignore to the artifact delete all libpod params.
func (*ArtifactDeleteAllLibpodParams) WithTimeout ¶
func (o *ArtifactDeleteAllLibpodParams) WithTimeout(timeout time.Duration) *ArtifactDeleteAllLibpodParams
WithTimeout adds the timeout to the artifact delete all libpod params.
func (*ArtifactDeleteAllLibpodParams) WriteToRequest ¶
func (o *ArtifactDeleteAllLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactDeleteLibpodInternalServerError) Code() int
Code gets the status code for the artifact delete libpod internal server error response
func (*ArtifactDeleteLibpodInternalServerError) Error ¶
func (o *ArtifactDeleteLibpodInternalServerError) Error() string
func (*ArtifactDeleteLibpodInternalServerError) GetPayload ¶
func (o *ArtifactDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact delete libpod internal server error response a status code equal to that given
func (*ArtifactDeleteLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactDeleteLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact delete libpod internal server error response has a 2xx status code
func (*ArtifactDeleteLibpodInternalServerError) String ¶
func (o *ArtifactDeleteLibpodInternalServerError) String() 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 ¶
func (o *ArtifactDeleteLibpodNotFound) Code() int
Code gets the status code for the artifact delete libpod not found response
func (*ArtifactDeleteLibpodNotFound) Error ¶
func (o *ArtifactDeleteLibpodNotFound) Error() string
func (*ArtifactDeleteLibpodNotFound) GetPayload ¶
func (o *ArtifactDeleteLibpodNotFound) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactDeleteLibpodNotFound) String() 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 (o *ArtifactDeleteLibpodOK) GetPayload() *models.ArtifactRemoveReport
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
func (o *ArtifactDeleteLibpodParams) WithContext(ctx context.Context) *ArtifactDeleteLibpodParams
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 ¶
func (o *ArtifactDeleteLibpodParams) WithDefaults() *ArtifactDeleteLibpodParams
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 ¶
func (o *ArtifactDeleteLibpodParams) WithHTTPClient(client *http.Client) *ArtifactDeleteLibpodParams
WithHTTPClient adds the HTTPClient to the artifact delete libpod params.
func (*ArtifactDeleteLibpodParams) WithName ¶
func (o *ArtifactDeleteLibpodParams) WithName(name string) *ArtifactDeleteLibpodParams
WithName adds the name to the artifact delete libpod params.
func (*ArtifactDeleteLibpodParams) WithTimeout ¶
func (o *ArtifactDeleteLibpodParams) WithTimeout(timeout time.Duration) *ArtifactDeleteLibpodParams
WithTimeout adds the timeout to the artifact delete libpod params.
func (*ArtifactDeleteLibpodParams) WriteToRequest ¶
func (o *ArtifactDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactExtractLibpodBadRequest) Code() int
Code gets the status code for the artifact extract libpod bad request response
func (*ArtifactExtractLibpodBadRequest) Error ¶
func (o *ArtifactExtractLibpodBadRequest) Error() string
func (*ArtifactExtractLibpodBadRequest) GetPayload ¶
func (o *ArtifactExtractLibpodBadRequest) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactExtractLibpodBadRequest) String() 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 ¶
func (o *ArtifactExtractLibpodInternalServerError) Code() int
Code gets the status code for the artifact extract libpod internal server error response
func (*ArtifactExtractLibpodInternalServerError) Error ¶
func (o *ArtifactExtractLibpodInternalServerError) Error() string
func (*ArtifactExtractLibpodInternalServerError) GetPayload ¶
func (o *ArtifactExtractLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*ArtifactExtractLibpodInternalServerError) IsClientError ¶
func (o *ArtifactExtractLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this artifact extract libpod internal server error response has a 4xx status code
func (*ArtifactExtractLibpodInternalServerError) IsCode ¶
func (o *ArtifactExtractLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact extract libpod internal server error response a status code equal to that given
func (*ArtifactExtractLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactExtractLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this artifact extract libpod internal server error response has a 3xx status code
func (*ArtifactExtractLibpodInternalServerError) IsServerError ¶
func (o *ArtifactExtractLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this artifact extract libpod internal server error response has a 5xx status code
func (*ArtifactExtractLibpodInternalServerError) IsSuccess ¶
func (o *ArtifactExtractLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact extract libpod internal server error response has a 2xx status code
func (*ArtifactExtractLibpodInternalServerError) String ¶
func (o *ArtifactExtractLibpodInternalServerError) String() 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 ¶
func (o *ArtifactExtractLibpodNotFound) Code() int
Code gets the status code for the artifact extract libpod not found response
func (*ArtifactExtractLibpodNotFound) Error ¶
func (o *ArtifactExtractLibpodNotFound) Error() string
func (*ArtifactExtractLibpodNotFound) GetPayload ¶
func (o *ArtifactExtractLibpodNotFound) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactExtractLibpodNotFound) String() string
type ArtifactExtractLibpodOK ¶
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
func (o *ArtifactExtractLibpodParams) WithContext(ctx context.Context) *ArtifactExtractLibpodParams
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 ¶
func (o *ArtifactExtractLibpodParams) WithDefaults() *ArtifactExtractLibpodParams
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 ¶
func (o *ArtifactExtractLibpodParams) WithDigest(digest *string) *ArtifactExtractLibpodParams
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 ¶
func (o *ArtifactExtractLibpodParams) WithHTTPClient(client *http.Client) *ArtifactExtractLibpodParams
WithHTTPClient adds the HTTPClient to the artifact extract libpod params.
func (*ArtifactExtractLibpodParams) WithName ¶
func (o *ArtifactExtractLibpodParams) WithName(name string) *ArtifactExtractLibpodParams
WithName adds the name to the artifact extract libpod params.
func (*ArtifactExtractLibpodParams) WithTimeout ¶
func (o *ArtifactExtractLibpodParams) WithTimeout(timeout time.Duration) *ArtifactExtractLibpodParams
WithTimeout adds the timeout to the artifact extract libpod params.
func (*ArtifactExtractLibpodParams) WithTitle ¶
func (o *ArtifactExtractLibpodParams) WithTitle(title *string) *ArtifactExtractLibpodParams
WithTitle adds the title to the artifact extract libpod params.
func (*ArtifactExtractLibpodParams) WriteToRequest ¶
func (o *ArtifactExtractLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactInspectLibpodInternalServerError) Code() int
Code gets the status code for the artifact inspect libpod internal server error response
func (*ArtifactInspectLibpodInternalServerError) Error ¶
func (o *ArtifactInspectLibpodInternalServerError) Error() string
func (*ArtifactInspectLibpodInternalServerError) GetPayload ¶
func (o *ArtifactInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*ArtifactInspectLibpodInternalServerError) IsClientError ¶
func (o *ArtifactInspectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this artifact inspect libpod internal server error response has a 4xx status code
func (*ArtifactInspectLibpodInternalServerError) IsCode ¶
func (o *ArtifactInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact inspect libpod internal server error response a status code equal to that given
func (*ArtifactInspectLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactInspectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this artifact inspect libpod internal server error response has a 3xx status code
func (*ArtifactInspectLibpodInternalServerError) IsServerError ¶
func (o *ArtifactInspectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this artifact inspect libpod internal server error response has a 5xx status code
func (*ArtifactInspectLibpodInternalServerError) IsSuccess ¶
func (o *ArtifactInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact inspect libpod internal server error response has a 2xx status code
func (*ArtifactInspectLibpodInternalServerError) String ¶
func (o *ArtifactInspectLibpodInternalServerError) String() 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 ¶
func (o *ArtifactInspectLibpodNotFound) Code() int
Code gets the status code for the artifact inspect libpod not found response
func (*ArtifactInspectLibpodNotFound) Error ¶
func (o *ArtifactInspectLibpodNotFound) Error() string
func (*ArtifactInspectLibpodNotFound) GetPayload ¶
func (o *ArtifactInspectLibpodNotFound) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactInspectLibpodNotFound) String() 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 (o *ArtifactInspectLibpodOK) GetPayload() *models.ArtifactInspectReport
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
func (o *ArtifactInspectLibpodParams) WithContext(ctx context.Context) *ArtifactInspectLibpodParams
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 ¶
func (o *ArtifactInspectLibpodParams) WithDefaults() *ArtifactInspectLibpodParams
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 ¶
func (o *ArtifactInspectLibpodParams) WithHTTPClient(client *http.Client) *ArtifactInspectLibpodParams
WithHTTPClient adds the HTTPClient to the artifact inspect libpod params.
func (*ArtifactInspectLibpodParams) WithName ¶
func (o *ArtifactInspectLibpodParams) WithName(name string) *ArtifactInspectLibpodParams
WithName adds the name to the artifact inspect libpod params.
func (*ArtifactInspectLibpodParams) WithTimeout ¶
func (o *ArtifactInspectLibpodParams) WithTimeout(timeout time.Duration) *ArtifactInspectLibpodParams
WithTimeout adds the timeout to the artifact inspect libpod params.
func (*ArtifactInspectLibpodParams) WriteToRequest ¶
func (o *ArtifactInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactListLibpodInternalServerError) Code() int
Code gets the status code for the artifact list libpod internal server error response
func (*ArtifactListLibpodInternalServerError) Error ¶
func (o *ArtifactListLibpodInternalServerError) Error() string
func (*ArtifactListLibpodInternalServerError) GetPayload ¶
func (o *ArtifactListLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactListLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact list libpod internal server error response a status code equal to that given
func (*ArtifactListLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactListLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact list libpod internal server error response has a 2xx status code
func (*ArtifactListLibpodInternalServerError) String ¶
func (o *ArtifactListLibpodInternalServerError) String() 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
func (o *ArtifactListLibpodParams) WithContext(ctx context.Context) *ArtifactListLibpodParams
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 ¶
func (o *ArtifactListLibpodParams) WithDefaults() *ArtifactListLibpodParams
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 ¶
func (o *ArtifactListLibpodParams) WithTimeout(timeout time.Duration) *ArtifactListLibpodParams
WithTimeout adds the timeout to the artifact list libpod params.
func (*ArtifactListLibpodParams) WriteToRequest ¶
func (o *ArtifactListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactLocalLibpodBadRequest) Code() int
Code gets the status code for the artifact local libpod bad request response
func (*ArtifactLocalLibpodBadRequest) Error ¶
func (o *ArtifactLocalLibpodBadRequest) Error() string
func (*ArtifactLocalLibpodBadRequest) GetPayload ¶
func (o *ArtifactLocalLibpodBadRequest) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactLocalLibpodBadRequest) String() 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 (o *ArtifactLocalLibpodCreated) Error() string
func (*ArtifactLocalLibpodCreated) GetPayload ¶
func (o *ArtifactLocalLibpodCreated) GetPayload() *models.ArtifactAddReport
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 ¶
func (o *ArtifactLocalLibpodInternalServerError) Code() int
Code gets the status code for the artifact local libpod internal server error response
func (*ArtifactLocalLibpodInternalServerError) Error ¶
func (o *ArtifactLocalLibpodInternalServerError) Error() string
func (*ArtifactLocalLibpodInternalServerError) GetPayload ¶
func (o *ArtifactLocalLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactLocalLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact local libpod internal server error response a status code equal to that given
func (*ArtifactLocalLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactLocalLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactLocalLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact local libpod internal server error response has a 2xx status code
func (*ArtifactLocalLibpodInternalServerError) String ¶
func (o *ArtifactLocalLibpodInternalServerError) String() 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 (o *ArtifactLocalLibpodNotFound) Error() string
func (*ArtifactLocalLibpodNotFound) GetPayload ¶
func (o *ArtifactLocalLibpodNotFound) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactLocalLibpodParams) WithAppend(append *bool) *ArtifactLocalLibpodParams
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
func (o *ArtifactLocalLibpodParams) WithContext(ctx context.Context) *ArtifactLocalLibpodParams
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 ¶
func (o *ArtifactLocalLibpodParams) WithDefaults() *ArtifactLocalLibpodParams
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 ¶
func (o *ArtifactLocalLibpodParams) WithName(name string) *ArtifactLocalLibpodParams
WithName adds the name to the artifact local libpod params.
func (*ArtifactLocalLibpodParams) WithPath ¶
func (o *ArtifactLocalLibpodParams) WithPath(path string) *ArtifactLocalLibpodParams
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 ¶
func (o *ArtifactLocalLibpodParams) WithTimeout(timeout time.Duration) *ArtifactLocalLibpodParams
WithTimeout adds the timeout to the artifact local libpod params.
func (*ArtifactLocalLibpodParams) WriteToRequest ¶
func (o *ArtifactLocalLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ArtifactPullLibpodBadRequest) Code() int
Code gets the status code for the artifact pull libpod bad request response
func (*ArtifactPullLibpodBadRequest) Error ¶
func (o *ArtifactPullLibpodBadRequest) Error() string
func (*ArtifactPullLibpodBadRequest) GetPayload ¶
func (o *ArtifactPullLibpodBadRequest) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPullLibpodBadRequest) String() 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 ¶
func (o *ArtifactPullLibpodInternalServerError) Code() int
Code gets the status code for the artifact pull libpod internal server error response
func (*ArtifactPullLibpodInternalServerError) Error ¶
func (o *ArtifactPullLibpodInternalServerError) Error() string
func (*ArtifactPullLibpodInternalServerError) GetPayload ¶
func (o *ArtifactPullLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPullLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact pull libpod internal server error response a status code equal to that given
func (*ArtifactPullLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactPullLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactPullLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact pull libpod internal server error response has a 2xx status code
func (*ArtifactPullLibpodInternalServerError) String ¶
func (o *ArtifactPullLibpodInternalServerError) String() 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 (o *ArtifactPullLibpodNotFound) Error() string
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 (o *ArtifactPullLibpodOK) GetPayload() *models.ArtifactPullReport
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
func (o *ArtifactPullLibpodParams) WithContext(ctx context.Context) *ArtifactPullLibpodParams
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 ¶
func (o *ArtifactPullLibpodParams) WithDefaults() *ArtifactPullLibpodParams
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 ¶
func (o *ArtifactPullLibpodParams) WithName(name string) *ArtifactPullLibpodParams
WithName adds the name to the artifact pull libpod params.
func (*ArtifactPullLibpodParams) WithRetry ¶
func (o *ArtifactPullLibpodParams) WithRetry(retry *int64) *ArtifactPullLibpodParams
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 ¶
func (o *ArtifactPullLibpodParams) WithTimeout(timeout time.Duration) *ArtifactPullLibpodParams
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 ¶
func (o *ArtifactPullLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ArtifactPullLibpodUnauthorized) Code() int
Code gets the status code for the artifact pull libpod unauthorized response
func (*ArtifactPullLibpodUnauthorized) Error ¶
func (o *ArtifactPullLibpodUnauthorized) Error() string
func (*ArtifactPullLibpodUnauthorized) GetPayload ¶
func (o *ArtifactPullLibpodUnauthorized) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPullLibpodUnauthorized) String() 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 ¶
func (o *ArtifactPushLibpodBadRequest) Code() int
Code gets the status code for the artifact push libpod bad request response
func (*ArtifactPushLibpodBadRequest) Error ¶
func (o *ArtifactPushLibpodBadRequest) Error() string
func (*ArtifactPushLibpodBadRequest) GetPayload ¶
func (o *ArtifactPushLibpodBadRequest) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPushLibpodBadRequest) String() 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 ¶
func (o *ArtifactPushLibpodInternalServerError) Code() int
Code gets the status code for the artifact push libpod internal server error response
func (*ArtifactPushLibpodInternalServerError) Error ¶
func (o *ArtifactPushLibpodInternalServerError) Error() string
func (*ArtifactPushLibpodInternalServerError) GetPayload ¶
func (o *ArtifactPushLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPushLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this artifact push libpod internal server error response a status code equal to that given
func (*ArtifactPushLibpodInternalServerError) IsRedirect ¶
func (o *ArtifactPushLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ArtifactPushLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this artifact push libpod internal server error response has a 2xx status code
func (*ArtifactPushLibpodInternalServerError) String ¶
func (o *ArtifactPushLibpodInternalServerError) String() 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 (o *ArtifactPushLibpodNotFound) Error() string
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 (o *ArtifactPushLibpodOK) GetPayload() *models.ArtifactPushReport
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
func (o *ArtifactPushLibpodParams) WithContext(ctx context.Context) *ArtifactPushLibpodParams
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 ¶
func (o *ArtifactPushLibpodParams) WithDefaults() *ArtifactPushLibpodParams
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 ¶
func (o *ArtifactPushLibpodParams) WithName(name string) *ArtifactPushLibpodParams
WithName adds the name to the artifact push libpod params.
func (*ArtifactPushLibpodParams) WithRetry ¶
func (o *ArtifactPushLibpodParams) WithRetry(retry *int64) *ArtifactPushLibpodParams
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 ¶
func (o *ArtifactPushLibpodParams) WithTimeout(timeout time.Duration) *ArtifactPushLibpodParams
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 ¶
func (o *ArtifactPushLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ArtifactPushLibpodUnauthorized) Code() int
Code gets the status code for the artifact push libpod unauthorized response
func (*ArtifactPushLibpodUnauthorized) Error ¶
func (o *ArtifactPushLibpodUnauthorized) Error() string
func (*ArtifactPushLibpodUnauthorized) GetPayload ¶
func (o *ArtifactPushLibpodUnauthorized) GetPayload() *models.ErrorModel
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 ¶
func (o *ArtifactPushLibpodUnauthorized) String() 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 ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
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.
Source Files
¶
- artifact_add_libpod_parameters.go
- artifact_add_libpod_responses.go
- artifact_delete_all_libpod_parameters.go
- artifact_delete_all_libpod_responses.go
- artifact_delete_libpod_parameters.go
- artifact_delete_libpod_responses.go
- artifact_extract_libpod_parameters.go
- artifact_extract_libpod_responses.go
- artifact_inspect_libpod_parameters.go
- artifact_inspect_libpod_responses.go
- artifact_list_libpod_parameters.go
- artifact_list_libpod_responses.go
- artifact_local_libpod_parameters.go
- artifact_local_libpod_responses.go
- artifact_pull_libpod_parameters.go
- artifact_pull_libpod_responses.go
- artifact_push_libpod_parameters.go
- artifact_push_libpod_responses.go
- artifacts_client.go