images_compat

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for images compat API

func (*Client) ImageBuild

func (a *Client) ImageBuild(params *ImageBuildParams, opts ...ClientOption) (*ImageBuildOK, error)

ImageBuild creates image

Build an image from the given Dockerfile(s)

func (*Client) ImageCreate

func (a *Client) ImageCreate(params *ImageCreateParams, writer io.Writer, opts ...ClientOption) (*ImageCreateOK, error)

ImageCreate creates an image

Create an image by either pulling it from a registry or importing it.

func (*Client) ImageDelete

func (a *Client) ImageDelete(params *ImageDeleteParams, opts ...ClientOption) (*ImageDeleteOK, error)

ImageDelete removes image

Delete an image from local storage

func (*Client) ImageGet

func (a *Client) ImageGet(params *ImageGetParams, writer io.Writer, opts ...ClientOption) (*ImageGetOK, error)

ImageGet exports an image

Export an image in tarball format

func (*Client) ImageGetAll

func (a *Client) ImageGetAll(params *ImageGetAllParams, writer io.Writer, opts ...ClientOption) (*ImageGetAllOK, error)

ImageGetAll exports several images

Get a tarball containing all images and metadata for several image repositories

func (*Client) ImageHistory

func (a *Client) ImageHistory(params *ImageHistoryParams, opts ...ClientOption) (*ImageHistoryOK, error)

ImageHistory histories of an image

Return parent layers of an image.

func (*Client) ImageInspect

func (a *Client) ImageInspect(params *ImageInspectParams, opts ...ClientOption) (*ImageInspectOK, error)

ImageInspect inspects an image

Return low-level information about an image.

func (*Client) ImageList

func (a *Client) ImageList(params *ImageListParams, opts ...ClientOption) (*ImageListOK, error)

ImageList lists images

Returns a list of images on the server. Note that it uses a different, smaller representation of an image than inspecting a single image.

func (*Client) ImageLoad

func (a *Client) ImageLoad(params *ImageLoadParams, opts ...ClientOption) (*ImageLoadOK, error)

ImageLoad imports image

Load a set of images and tags into a repository.

func (*Client) ImagePrune

func (a *Client) ImagePrune(params *ImagePruneParams, opts ...ClientOption) (*ImagePruneOK, error)

ImagePrune prunes unused images

Remove images from local storage that are not being used by a container

func (*Client) ImagePush

func (a *Client) ImagePush(params *ImagePushParams, writer io.Writer, opts ...ClientOption) (*ImagePushOK, error)

ImagePush pushes image

Push an image to a container registry

func (*Client) ImageSearch

func (a *Client) ImageSearch(params *ImageSearchParams, opts ...ClientOption) (*ImageSearchOK, error)

ImageSearch searches images

Search registries for an image

func (*Client) ImageTag

func (a *Client) ImageTag(params *ImageTagParams, opts ...ClientOption) (*ImageTagCreated, error)

ImageTag tags an image

Tag an image so that it becomes part of a repository.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ImageBuild(params *ImageBuildParams, opts ...ClientOption) (*ImageBuildOK, error)

	ImageCreate(params *ImageCreateParams, writer io.Writer, opts ...ClientOption) (*ImageCreateOK, error)

	ImageDelete(params *ImageDeleteParams, opts ...ClientOption) (*ImageDeleteOK, error)

	ImageGet(params *ImageGetParams, writer io.Writer, opts ...ClientOption) (*ImageGetOK, error)

	ImageGetAll(params *ImageGetAllParams, writer io.Writer, opts ...ClientOption) (*ImageGetAllOK, error)

	ImageHistory(params *ImageHistoryParams, opts ...ClientOption) (*ImageHistoryOK, error)

	ImageInspect(params *ImageInspectParams, opts ...ClientOption) (*ImageInspectOK, error)

	ImageList(params *ImageListParams, opts ...ClientOption) (*ImageListOK, error)

	ImageLoad(params *ImageLoadParams, opts ...ClientOption) (*ImageLoadOK, error)

	ImagePrune(params *ImagePruneParams, opts ...ClientOption) (*ImagePruneOK, error)

	ImagePush(params *ImagePushParams, writer io.Writer, opts ...ClientOption) (*ImagePushOK, error)

	ImageSearch(params *ImageSearchParams, opts ...ClientOption) (*ImageSearchOK, error)

	ImageTag(params *ImageTagParams, opts ...ClientOption) (*ImageTagCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new images compat API client.

type ImageBuildBadRequest

type ImageBuildBadRequest struct {
	Payload *ImageBuildBadRequestBody
}

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

Bad parameter in request

func NewImageBuildBadRequest

func NewImageBuildBadRequest() *ImageBuildBadRequest

NewImageBuildBadRequest creates a ImageBuildBadRequest with default headers values

func (*ImageBuildBadRequest) Error

func (o *ImageBuildBadRequest) Error() string

func (*ImageBuildBadRequest) GetPayload

func (*ImageBuildBadRequest) IsClientError

func (o *ImageBuildBadRequest) IsClientError() bool

IsClientError returns true when this image build bad request response has a 4xx status code

func (*ImageBuildBadRequest) IsCode

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

IsCode returns true when this image build bad request response a status code equal to that given

func (*ImageBuildBadRequest) IsRedirect

func (o *ImageBuildBadRequest) IsRedirect() bool

IsRedirect returns true when this image build bad request response has a 3xx status code

func (*ImageBuildBadRequest) IsServerError

func (o *ImageBuildBadRequest) IsServerError() bool

IsServerError returns true when this image build bad request response has a 5xx status code

func (*ImageBuildBadRequest) IsSuccess

func (o *ImageBuildBadRequest) IsSuccess() bool

IsSuccess returns true when this image build bad request response has a 2xx status code

func (*ImageBuildBadRequest) String

func (o *ImageBuildBadRequest) String() string

type ImageBuildBadRequestBody

type ImageBuildBadRequestBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageBuildBadRequestBody image build bad request body swagger:model ImageBuildBadRequestBody

func (*ImageBuildBadRequestBody) ContextValidate

func (o *ImageBuildBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image build bad request body based on context it is used

func (*ImageBuildBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageBuildBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageBuildBadRequestBody) Validate

func (o *ImageBuildBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this image build bad request body

type ImageBuildInternalServerError

type ImageBuildInternalServerError struct {
	Payload *ImageBuildInternalServerErrorBody
}

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

Internal server error

func NewImageBuildInternalServerError

func NewImageBuildInternalServerError() *ImageBuildInternalServerError

NewImageBuildInternalServerError creates a ImageBuildInternalServerError with default headers values

func (*ImageBuildInternalServerError) Error

func (*ImageBuildInternalServerError) GetPayload

func (*ImageBuildInternalServerError) IsClientError

func (o *ImageBuildInternalServerError) IsClientError() bool

IsClientError returns true when this image build internal server error response has a 4xx status code

func (*ImageBuildInternalServerError) IsCode

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

IsCode returns true when this image build internal server error response a status code equal to that given

func (*ImageBuildInternalServerError) IsRedirect

func (o *ImageBuildInternalServerError) IsRedirect() bool

IsRedirect returns true when this image build internal server error response has a 3xx status code

func (*ImageBuildInternalServerError) IsServerError

func (o *ImageBuildInternalServerError) IsServerError() bool

IsServerError returns true when this image build internal server error response has a 5xx status code

func (*ImageBuildInternalServerError) IsSuccess

func (o *ImageBuildInternalServerError) IsSuccess() bool

IsSuccess returns true when this image build internal server error response has a 2xx status code

func (*ImageBuildInternalServerError) String

type ImageBuildInternalServerErrorBody

type ImageBuildInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageBuildInternalServerErrorBody image build internal server error body swagger:model ImageBuildInternalServerErrorBody

func (*ImageBuildInternalServerErrorBody) ContextValidate

func (o *ImageBuildInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image build internal server error body based on context it is used

func (*ImageBuildInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageBuildInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageBuildInternalServerErrorBody) Validate

Validate validates this image build internal server error body

type ImageBuildOK

type ImageBuildOK struct {
	Payload *ImageBuildOKBody
}

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

OK (As of version 1.xx)

func NewImageBuildOK

func NewImageBuildOK() *ImageBuildOK

NewImageBuildOK creates a ImageBuildOK with default headers values

func (*ImageBuildOK) Error

func (o *ImageBuildOK) Error() string

func (*ImageBuildOK) GetPayload

func (o *ImageBuildOK) GetPayload() *ImageBuildOKBody

func (*ImageBuildOK) IsClientError

func (o *ImageBuildOK) IsClientError() bool

IsClientError returns true when this image build o k response has a 4xx status code

func (*ImageBuildOK) IsCode

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

IsCode returns true when this image build o k response a status code equal to that given

func (*ImageBuildOK) IsRedirect

func (o *ImageBuildOK) IsRedirect() bool

IsRedirect returns true when this image build o k response has a 3xx status code

func (*ImageBuildOK) IsServerError

func (o *ImageBuildOK) IsServerError() bool

IsServerError returns true when this image build o k response has a 5xx status code

func (*ImageBuildOK) IsSuccess

func (o *ImageBuildOK) IsSuccess() bool

IsSuccess returns true when this image build o k response has a 2xx status code

func (*ImageBuildOK) String

func (o *ImageBuildOK) String() string

type ImageBuildOKBody

type ImageBuildOKBody struct {

	// output from build process
	// Example: (build details...)\nSuccessfully built 8ba084515c724cbf90d447a63600c0a6\nSuccessfully tagged your_image:latest\n
	// Required: true
	Stream *string `json:"stream"`
}

ImageBuildOKBody image build o k body swagger:model ImageBuildOKBody

func (*ImageBuildOKBody) ContextValidate

func (o *ImageBuildOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image build o k body based on context it is used

func (*ImageBuildOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageBuildOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageBuildOKBody) Validate

func (o *ImageBuildOKBody) Validate(formats strfmt.Registry) error

Validate validates this image build o k body

type ImageBuildParams

type ImageBuildParams struct {

	// ContentType.
	//
	// Default: "application/x-tar"
	ContentType *string

	// XRegistryConfig.
	XRegistryConfig *string

	/* Buildargs.

	     JSON map of string pairs denoting build-time variables.
	For example, the build argument `Foo` with the value of `bar` would be encoded in JSON as `["Foo":"bar"]`.

	For example, buildargs={"Foo":"bar"}.

	Note(s):
	* This should not be used to pass secrets.
	* The value of buildargs should be URI component encoded before being passed to the API.

	(As of version 1.xx)

	*/
	Buildargs *string

	/* Cachefrom.

	     JSON array of images used to build cache resolution
	(As of version 1.xx)

	*/
	Cachefrom *string

	/* Cpuperiod.

	     CPUPeriod limits the CPU CFS (Completely Fair Scheduler) period
	(As of version 1.xx)

	*/
	Cpuperiod *int64

	/* Cpuquota.

	     CPUQuota limits the CPU CFS (Completely Fair Scheduler) quota
	(As of version 1.xx)

	*/
	Cpuquota *int64

	/* Cpusetcpus.

	     CPUSetCPUs in which to allow execution (0-3, 0,1)
	(As of version 1.xx)

	*/
	Cpusetcpus *string

	/* Cpushares.

	     CPUShares (relative weight
	(As of version 1.xx)

	*/
	Cpushares *int64

	/* Dockerfile.

	     Path within the build context to the `Dockerfile`.
	This is ignored if remote is specified and points to an external `Dockerfile`.


	     Default: "Dockerfile"
	*/
	Dockerfile *string

	/* Extrahosts.

	     TBD Extra hosts to add to /etc/hosts
	(As of version 1.xx)

	*/
	Extrahosts *string

	/* Forcerm.

	     Always remove intermediate containers, even upon failure
	(As of version 1.xx)

	*/
	Forcerm *bool

	/* InputStream.

	     A tar archive compressed with one of the following algorithms:
	identity (no compression), gzip, bzip2, xz.


	     Format: binary
	*/
	InputStream io.ReadCloser

	/* Labels.

	     JSON map of key, value pairs to set as labels on the new image
	(As of version 1.xx)

	*/
	Labels *string

	/* Memory.

	     Memory is the upper limit (in bytes) on how much memory running containers can use
	(As of version 1.xx)

	*/
	Memory *int64

	/* Memswap.

	     MemorySwap limits the amount of memory and swap together
	(As of version 1.xx)

	*/
	Memswap *int64

	/* Networkmode.

	     Sets the networking mode for the run commands during build.
	Supported standard values are:
	  * `bridge` limited to containers within a single host, port mapping required for external access
	  * `host` no isolation between host and containers on this network
	  * `none` disable all networking for this container
	  * container:<nameOrID> share networking with given container
	  ---All other values are assumed to be a custom network's name
	(As of version 1.xx)


	     Default: "bridge"
	*/
	Networkmode *string

	/* Nocache.

	     Do not use the cache when building the image
	(As of version 1.xx)

	*/
	Nocache *bool

	/* Outputs.

	     output configuration TBD
	(As of version 1.xx)

	*/
	Outputs *string

	/* Platform.

	     Platform format os[/arch[/variant]]
	(As of version 1.xx)

	*/
	Platform *string

	/* Pull.

	     Attempt to pull the image even if an older image exists locally
	(As of version 1.xx)

	*/
	Pull *bool

	/* Q.

	   Suppress verbose build output

	*/
	Q *bool

	/* Remote.

	     A Git repository URI or HTTP/HTTPS context URI.
	If the URI points to a single text file, the file’s contents are placed
	into a file called Dockerfile and the image is built from that file. If
	the URI points to a tarball, the file is downloaded by the daemon and the
	contents therein used as the context for the build. If the URI points to a
	tarball and the dockerfile parameter is also specified, there must be a file
	with the corresponding path inside the tarball.
	(As of version 1.xx)

	*/
	Remote *string

	/* Rm.

	     Remove intermediate containers after a successful build
	(As of version 1.xx)


	     Default: true
	*/
	Rm *bool

	/* Shmsize.

	     ShmSize is the "size" value to use when mounting an shmfs on the container's /dev/shm directory.
	Default is 64MB
	(As of version 1.xx)


	     Default: 67108864
	*/
	Shmsize *int64

	/* Squash.

	     Silently ignored.
	Squash the resulting images layers into a single layer
	(As of version 1.xx)

	*/
	Squash *bool

	/* T.

	   A name and optional tag to apply to the image in the `name:tag` format. If you omit the tag the default latest value is assumed. You can provide several t parameters.

	   Default: "latest"
	*/
	T *string

	/* Target.

	     Target build stage
	(As of version 1.xx)

	*/
	Target *string

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

ImageBuildParams contains all the parameters to send to the API endpoint

for the image build operation.

Typically these are written to a http.Request.

func NewImageBuildParams

func NewImageBuildParams() *ImageBuildParams

NewImageBuildParams creates a new ImageBuildParams 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 NewImageBuildParamsWithContext

func NewImageBuildParamsWithContext(ctx context.Context) *ImageBuildParams

NewImageBuildParamsWithContext creates a new ImageBuildParams object with the ability to set a context for a request.

func NewImageBuildParamsWithHTTPClient

func NewImageBuildParamsWithHTTPClient(client *http.Client) *ImageBuildParams

NewImageBuildParamsWithHTTPClient creates a new ImageBuildParams object with the ability to set a custom HTTPClient for a request.

func NewImageBuildParamsWithTimeout

func NewImageBuildParamsWithTimeout(timeout time.Duration) *ImageBuildParams

NewImageBuildParamsWithTimeout creates a new ImageBuildParams object with the ability to set a timeout on a request.

func (*ImageBuildParams) SetBuildargs

func (o *ImageBuildParams) SetBuildargs(buildargs *string)

SetBuildargs adds the buildargs to the image build params

func (*ImageBuildParams) SetCachefrom

func (o *ImageBuildParams) SetCachefrom(cachefrom *string)

SetCachefrom adds the cachefrom to the image build params

func (*ImageBuildParams) SetContentType

func (o *ImageBuildParams) SetContentType(contentType *string)

SetContentType adds the contentType to the image build params

func (*ImageBuildParams) SetContext

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

SetContext adds the context to the image build params

func (*ImageBuildParams) SetCpuperiod

func (o *ImageBuildParams) SetCpuperiod(cpuperiod *int64)

SetCpuperiod adds the cpuperiod to the image build params

func (*ImageBuildParams) SetCpuquota

func (o *ImageBuildParams) SetCpuquota(cpuquota *int64)

SetCpuquota adds the cpuquota to the image build params

func (*ImageBuildParams) SetCpusetcpus

func (o *ImageBuildParams) SetCpusetcpus(cpusetcpus *string)

SetCpusetcpus adds the cpusetcpus to the image build params

func (*ImageBuildParams) SetCpushares

func (o *ImageBuildParams) SetCpushares(cpushares *int64)

SetCpushares adds the cpushares to the image build params

func (*ImageBuildParams) SetDefaults

func (o *ImageBuildParams) SetDefaults()

SetDefaults hydrates default values in the image build params (not the query body).

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

func (*ImageBuildParams) SetDockerfile

func (o *ImageBuildParams) SetDockerfile(dockerfile *string)

SetDockerfile adds the dockerfile to the image build params

func (*ImageBuildParams) SetExtrahosts

func (o *ImageBuildParams) SetExtrahosts(extrahosts *string)

SetExtrahosts adds the extrahosts to the image build params

func (*ImageBuildParams) SetForcerm

func (o *ImageBuildParams) SetForcerm(forcerm *bool)

SetForcerm adds the forcerm to the image build params

func (*ImageBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image build params

func (*ImageBuildParams) SetInputStream

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

SetInputStream adds the inputStream to the image build params

func (*ImageBuildParams) SetLabels

func (o *ImageBuildParams) SetLabels(labels *string)

SetLabels adds the labels to the image build params

func (*ImageBuildParams) SetMemory

func (o *ImageBuildParams) SetMemory(memory *int64)

SetMemory adds the memory to the image build params

func (*ImageBuildParams) SetMemswap

func (o *ImageBuildParams) SetMemswap(memswap *int64)

SetMemswap adds the memswap to the image build params

func (*ImageBuildParams) SetNetworkmode

func (o *ImageBuildParams) SetNetworkmode(networkmode *string)

SetNetworkmode adds the networkmode to the image build params

func (*ImageBuildParams) SetNocache

func (o *ImageBuildParams) SetNocache(nocache *bool)

SetNocache adds the nocache to the image build params

func (*ImageBuildParams) SetOutputs

func (o *ImageBuildParams) SetOutputs(outputs *string)

SetOutputs adds the outputs to the image build params

func (*ImageBuildParams) SetPlatform

func (o *ImageBuildParams) SetPlatform(platform *string)

SetPlatform adds the platform to the image build params

func (*ImageBuildParams) SetPull

func (o *ImageBuildParams) SetPull(pull *bool)

SetPull adds the pull to the image build params

func (*ImageBuildParams) SetQ

func (o *ImageBuildParams) SetQ(q *bool)

SetQ adds the q to the image build params

func (*ImageBuildParams) SetRemote

func (o *ImageBuildParams) SetRemote(remote *string)

SetRemote adds the remote to the image build params

func (*ImageBuildParams) SetRm

func (o *ImageBuildParams) SetRm(rm *bool)

SetRm adds the rm to the image build params

func (*ImageBuildParams) SetShmsize

func (o *ImageBuildParams) SetShmsize(shmsize *int64)

SetShmsize adds the shmsize to the image build params

func (*ImageBuildParams) SetSquash

func (o *ImageBuildParams) SetSquash(squash *bool)

SetSquash adds the squash to the image build params

func (*ImageBuildParams) SetT

func (o *ImageBuildParams) SetT(t *string)

SetT adds the t to the image build params

func (*ImageBuildParams) SetTarget

func (o *ImageBuildParams) SetTarget(target *string)

SetTarget adds the target to the image build params

func (*ImageBuildParams) SetTimeout

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

SetTimeout adds the timeout to the image build params

func (*ImageBuildParams) SetXRegistryConfig

func (o *ImageBuildParams) SetXRegistryConfig(xRegistryConfig *string)

SetXRegistryConfig adds the xRegistryConfig to the image build params

func (*ImageBuildParams) WithBuildargs

func (o *ImageBuildParams) WithBuildargs(buildargs *string) *ImageBuildParams

WithBuildargs adds the buildargs to the image build params

func (*ImageBuildParams) WithCachefrom

func (o *ImageBuildParams) WithCachefrom(cachefrom *string) *ImageBuildParams

WithCachefrom adds the cachefrom to the image build params

func (*ImageBuildParams) WithContentType

func (o *ImageBuildParams) WithContentType(contentType *string) *ImageBuildParams

WithContentType adds the contentType to the image build params

func (*ImageBuildParams) WithContext

func (o *ImageBuildParams) WithContext(ctx context.Context) *ImageBuildParams

WithContext adds the context to the image build params

func (*ImageBuildParams) WithCpuperiod

func (o *ImageBuildParams) WithCpuperiod(cpuperiod *int64) *ImageBuildParams

WithCpuperiod adds the cpuperiod to the image build params

func (*ImageBuildParams) WithCpuquota

func (o *ImageBuildParams) WithCpuquota(cpuquota *int64) *ImageBuildParams

WithCpuquota adds the cpuquota to the image build params

func (*ImageBuildParams) WithCpusetcpus

func (o *ImageBuildParams) WithCpusetcpus(cpusetcpus *string) *ImageBuildParams

WithCpusetcpus adds the cpusetcpus to the image build params

func (*ImageBuildParams) WithCpushares

func (o *ImageBuildParams) WithCpushares(cpushares *int64) *ImageBuildParams

WithCpushares adds the cpushares to the image build params

func (*ImageBuildParams) WithDefaults

func (o *ImageBuildParams) WithDefaults() *ImageBuildParams

WithDefaults hydrates default values in the image build params (not the query body).

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

func (*ImageBuildParams) WithDockerfile

func (o *ImageBuildParams) WithDockerfile(dockerfile *string) *ImageBuildParams

WithDockerfile adds the dockerfile to the image build params

func (*ImageBuildParams) WithExtrahosts

func (o *ImageBuildParams) WithExtrahosts(extrahosts *string) *ImageBuildParams

WithExtrahosts adds the extrahosts to the image build params

func (*ImageBuildParams) WithForcerm

func (o *ImageBuildParams) WithForcerm(forcerm *bool) *ImageBuildParams

WithForcerm adds the forcerm to the image build params

func (*ImageBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image build params

func (*ImageBuildParams) WithInputStream

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

WithInputStream adds the inputStream to the image build params

func (*ImageBuildParams) WithLabels

func (o *ImageBuildParams) WithLabels(labels *string) *ImageBuildParams

WithLabels adds the labels to the image build params

func (*ImageBuildParams) WithMemory

func (o *ImageBuildParams) WithMemory(memory *int64) *ImageBuildParams

WithMemory adds the memory to the image build params

func (*ImageBuildParams) WithMemswap

func (o *ImageBuildParams) WithMemswap(memswap *int64) *ImageBuildParams

WithMemswap adds the memswap to the image build params

func (*ImageBuildParams) WithNetworkmode

func (o *ImageBuildParams) WithNetworkmode(networkmode *string) *ImageBuildParams

WithNetworkmode adds the networkmode to the image build params

func (*ImageBuildParams) WithNocache

func (o *ImageBuildParams) WithNocache(nocache *bool) *ImageBuildParams

WithNocache adds the nocache to the image build params

func (*ImageBuildParams) WithOutputs

func (o *ImageBuildParams) WithOutputs(outputs *string) *ImageBuildParams

WithOutputs adds the outputs to the image build params

func (*ImageBuildParams) WithPlatform

func (o *ImageBuildParams) WithPlatform(platform *string) *ImageBuildParams

WithPlatform adds the platform to the image build params

func (*ImageBuildParams) WithPull

func (o *ImageBuildParams) WithPull(pull *bool) *ImageBuildParams

WithPull adds the pull to the image build params

func (*ImageBuildParams) WithQ

func (o *ImageBuildParams) WithQ(q *bool) *ImageBuildParams

WithQ adds the q to the image build params

func (*ImageBuildParams) WithRemote

func (o *ImageBuildParams) WithRemote(remote *string) *ImageBuildParams

WithRemote adds the remote to the image build params

func (*ImageBuildParams) WithRm

func (o *ImageBuildParams) WithRm(rm *bool) *ImageBuildParams

WithRm adds the rm to the image build params

func (*ImageBuildParams) WithShmsize

func (o *ImageBuildParams) WithShmsize(shmsize *int64) *ImageBuildParams

WithShmsize adds the shmsize to the image build params

func (*ImageBuildParams) WithSquash

func (o *ImageBuildParams) WithSquash(squash *bool) *ImageBuildParams

WithSquash adds the squash to the image build params

func (*ImageBuildParams) WithT

WithT adds the t to the image build params

func (*ImageBuildParams) WithTarget

func (o *ImageBuildParams) WithTarget(target *string) *ImageBuildParams

WithTarget adds the target to the image build params

func (*ImageBuildParams) WithTimeout

func (o *ImageBuildParams) WithTimeout(timeout time.Duration) *ImageBuildParams

WithTimeout adds the timeout to the image build params

func (*ImageBuildParams) WithXRegistryConfig

func (o *ImageBuildParams) WithXRegistryConfig(xRegistryConfig *string) *ImageBuildParams

WithXRegistryConfig adds the xRegistryConfig to the image build params

func (*ImageBuildParams) WriteToRequest

func (o *ImageBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageBuildReader

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

ImageBuildReader is a Reader for the ImageBuild structure.

func (*ImageBuildReader) ReadResponse

func (o *ImageBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageCreateInternalServerError

type ImageCreateInternalServerError struct {
	Payload *ImageCreateInternalServerErrorBody
}

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

Internal server error

func NewImageCreateInternalServerError

func NewImageCreateInternalServerError() *ImageCreateInternalServerError

NewImageCreateInternalServerError creates a ImageCreateInternalServerError with default headers values

func (*ImageCreateInternalServerError) Error

func (*ImageCreateInternalServerError) GetPayload

func (*ImageCreateInternalServerError) IsClientError

func (o *ImageCreateInternalServerError) IsClientError() bool

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

func (*ImageCreateInternalServerError) IsCode

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

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

func (*ImageCreateInternalServerError) IsRedirect

func (o *ImageCreateInternalServerError) IsRedirect() bool

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

func (*ImageCreateInternalServerError) IsServerError

func (o *ImageCreateInternalServerError) IsServerError() bool

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

func (*ImageCreateInternalServerError) IsSuccess

func (o *ImageCreateInternalServerError) IsSuccess() bool

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

func (*ImageCreateInternalServerError) String

type ImageCreateInternalServerErrorBody

type ImageCreateInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageCreateInternalServerErrorBody image create internal server error body swagger:model ImageCreateInternalServerErrorBody

func (*ImageCreateInternalServerErrorBody) ContextValidate

func (o *ImageCreateInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image create internal server error body based on context it is used

func (*ImageCreateInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageCreateInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageCreateInternalServerErrorBody) Validate

Validate validates this image create internal server error body

type ImageCreateNotFound

type ImageCreateNotFound struct {
	Payload *ImageCreateNotFoundBody
}

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

No such image

func NewImageCreateNotFound

func NewImageCreateNotFound() *ImageCreateNotFound

NewImageCreateNotFound creates a ImageCreateNotFound with default headers values

func (*ImageCreateNotFound) Error

func (o *ImageCreateNotFound) Error() string

func (*ImageCreateNotFound) GetPayload

func (*ImageCreateNotFound) IsClientError

func (o *ImageCreateNotFound) IsClientError() bool

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

func (*ImageCreateNotFound) IsCode

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

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

func (*ImageCreateNotFound) IsRedirect

func (o *ImageCreateNotFound) IsRedirect() bool

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

func (*ImageCreateNotFound) IsServerError

func (o *ImageCreateNotFound) IsServerError() bool

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

func (*ImageCreateNotFound) IsSuccess

func (o *ImageCreateNotFound) IsSuccess() bool

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

func (*ImageCreateNotFound) String

func (o *ImageCreateNotFound) String() string

type ImageCreateNotFoundBody

type ImageCreateNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageCreateNotFoundBody image create not found body swagger:model ImageCreateNotFoundBody

func (*ImageCreateNotFoundBody) ContextValidate

func (o *ImageCreateNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image create not found body based on context it is used

func (*ImageCreateNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageCreateNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageCreateNotFoundBody) Validate

func (o *ImageCreateNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image create not found body

type ImageCreateOK

type ImageCreateOK struct {
	Payload io.Writer
}

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

no error

func NewImageCreateOK

func NewImageCreateOK(writer io.Writer) *ImageCreateOK

NewImageCreateOK creates a ImageCreateOK with default headers values

func (*ImageCreateOK) Error

func (o *ImageCreateOK) Error() string

func (*ImageCreateOK) GetPayload

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

func (*ImageCreateOK) IsClientError

func (o *ImageCreateOK) IsClientError() bool

IsClientError returns true when this image create o k response has a 4xx status code

func (*ImageCreateOK) IsCode

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

IsCode returns true when this image create o k response a status code equal to that given

func (*ImageCreateOK) IsRedirect

func (o *ImageCreateOK) IsRedirect() bool

IsRedirect returns true when this image create o k response has a 3xx status code

func (*ImageCreateOK) IsServerError

func (o *ImageCreateOK) IsServerError() bool

IsServerError returns true when this image create o k response has a 5xx status code

func (*ImageCreateOK) IsSuccess

func (o *ImageCreateOK) IsSuccess() bool

IsSuccess returns true when this image create o k response has a 2xx status code

func (*ImageCreateOK) String

func (o *ImageCreateOK) String() string

type ImageCreateParams

type ImageCreateParams struct {

	/* XRegistryAuth.

	   A base64-encoded auth configuration.
	*/
	XRegistryAuth *string

	/* FromImage.

	   Name of the image to pull. The name may include a tag or digest. This parameter may only be used when pulling an image. The pull is cancelled if the HTTP connection is closed.
	*/
	FromImage *string

	/* FromSrc.

	   Source to import. The value may be a URL from which the image can be retrieved or - to read the image from the request body. This parameter may only be used when importing an image
	*/
	FromSrc *string

	/* InputImage.

	   Image content if fromSrc parameter was used

	   Format: binary
	*/
	InputImage io.ReadCloser

	/* Message.

	   Set commit message for imported image.
	*/
	Message *string

	/* Platform.

	   Platform in the format os[/arch[/variant]]
	*/
	Platform *string

	/* Repo.

	   Repository name given to an image when it is imported. The repo may include a tag. This parameter may only be used when importing an image.
	*/
	Repo *string

	/* Tag.

	   Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.
	*/
	Tag *string

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

ImageCreateParams contains all the parameters to send to the API endpoint

for the image create operation.

Typically these are written to a http.Request.

func NewImageCreateParams

func NewImageCreateParams() *ImageCreateParams

NewImageCreateParams creates a new ImageCreateParams 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 NewImageCreateParamsWithContext

func NewImageCreateParamsWithContext(ctx context.Context) *ImageCreateParams

NewImageCreateParamsWithContext creates a new ImageCreateParams object with the ability to set a context for a request.

func NewImageCreateParamsWithHTTPClient

func NewImageCreateParamsWithHTTPClient(client *http.Client) *ImageCreateParams

NewImageCreateParamsWithHTTPClient creates a new ImageCreateParams object with the ability to set a custom HTTPClient for a request.

func NewImageCreateParamsWithTimeout

func NewImageCreateParamsWithTimeout(timeout time.Duration) *ImageCreateParams

NewImageCreateParamsWithTimeout creates a new ImageCreateParams object with the ability to set a timeout on a request.

func (*ImageCreateParams) SetContext

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

SetContext adds the context to the image create params

func (*ImageCreateParams) SetDefaults

func (o *ImageCreateParams) SetDefaults()

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

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

func (*ImageCreateParams) SetFromImage

func (o *ImageCreateParams) SetFromImage(fromImage *string)

SetFromImage adds the fromImage to the image create params

func (*ImageCreateParams) SetFromSrc

func (o *ImageCreateParams) SetFromSrc(fromSrc *string)

SetFromSrc adds the fromSrc to the image create params

func (*ImageCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image create params

func (*ImageCreateParams) SetInputImage

func (o *ImageCreateParams) SetInputImage(inputImage io.ReadCloser)

SetInputImage adds the inputImage to the image create params

func (*ImageCreateParams) SetMessage

func (o *ImageCreateParams) SetMessage(message *string)

SetMessage adds the message to the image create params

func (*ImageCreateParams) SetPlatform

func (o *ImageCreateParams) SetPlatform(platform *string)

SetPlatform adds the platform to the image create params

func (*ImageCreateParams) SetRepo

func (o *ImageCreateParams) SetRepo(repo *string)

SetRepo adds the repo to the image create params

func (*ImageCreateParams) SetTag

func (o *ImageCreateParams) SetTag(tag *string)

SetTag adds the tag to the image create params

func (*ImageCreateParams) SetTimeout

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

SetTimeout adds the timeout to the image create params

func (*ImageCreateParams) SetXRegistryAuth

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

SetXRegistryAuth adds the xRegistryAuth to the image create params

func (*ImageCreateParams) WithContext

func (o *ImageCreateParams) WithContext(ctx context.Context) *ImageCreateParams

WithContext adds the context to the image create params

func (*ImageCreateParams) WithDefaults

func (o *ImageCreateParams) WithDefaults() *ImageCreateParams

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

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

func (*ImageCreateParams) WithFromImage

func (o *ImageCreateParams) WithFromImage(fromImage *string) *ImageCreateParams

WithFromImage adds the fromImage to the image create params

func (*ImageCreateParams) WithFromSrc

func (o *ImageCreateParams) WithFromSrc(fromSrc *string) *ImageCreateParams

WithFromSrc adds the fromSrc to the image create params

func (*ImageCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image create params

func (*ImageCreateParams) WithInputImage

func (o *ImageCreateParams) WithInputImage(inputImage io.ReadCloser) *ImageCreateParams

WithInputImage adds the inputImage to the image create params

func (*ImageCreateParams) WithMessage

func (o *ImageCreateParams) WithMessage(message *string) *ImageCreateParams

WithMessage adds the message to the image create params

func (*ImageCreateParams) WithPlatform

func (o *ImageCreateParams) WithPlatform(platform *string) *ImageCreateParams

WithPlatform adds the platform to the image create params

func (*ImageCreateParams) WithRepo

func (o *ImageCreateParams) WithRepo(repo *string) *ImageCreateParams

WithRepo adds the repo to the image create params

func (*ImageCreateParams) WithTag

func (o *ImageCreateParams) WithTag(tag *string) *ImageCreateParams

WithTag adds the tag to the image create params

func (*ImageCreateParams) WithTimeout

func (o *ImageCreateParams) WithTimeout(timeout time.Duration) *ImageCreateParams

WithTimeout adds the timeout to the image create params

func (*ImageCreateParams) WithXRegistryAuth

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

WithXRegistryAuth adds the xRegistryAuth to the image create params

func (*ImageCreateParams) WriteToRequest

func (o *ImageCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageCreateReader

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

ImageCreateReader is a Reader for the ImageCreate structure.

func (*ImageCreateReader) ReadResponse

func (o *ImageCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageDeleteConflict

type ImageDeleteConflict struct {
	Payload *ImageDeleteConflictBody
}

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

Conflict error in operation

func NewImageDeleteConflict

func NewImageDeleteConflict() *ImageDeleteConflict

NewImageDeleteConflict creates a ImageDeleteConflict with default headers values

func (*ImageDeleteConflict) Error

func (o *ImageDeleteConflict) Error() string

func (*ImageDeleteConflict) GetPayload

func (*ImageDeleteConflict) IsClientError

func (o *ImageDeleteConflict) IsClientError() bool

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

func (*ImageDeleteConflict) IsCode

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

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

func (*ImageDeleteConflict) IsRedirect

func (o *ImageDeleteConflict) IsRedirect() bool

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

func (*ImageDeleteConflict) IsServerError

func (o *ImageDeleteConflict) IsServerError() bool

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

func (*ImageDeleteConflict) IsSuccess

func (o *ImageDeleteConflict) IsSuccess() bool

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

func (*ImageDeleteConflict) String

func (o *ImageDeleteConflict) String() string

type ImageDeleteConflictBody

type ImageDeleteConflictBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageDeleteConflictBody image delete conflict body swagger:model ImageDeleteConflictBody

func (*ImageDeleteConflictBody) ContextValidate

func (o *ImageDeleteConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image delete conflict body based on context it is used

func (*ImageDeleteConflictBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageDeleteConflictBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageDeleteConflictBody) Validate

func (o *ImageDeleteConflictBody) Validate(formats strfmt.Registry) error

Validate validates this image delete conflict body

type ImageDeleteInternalServerError

type ImageDeleteInternalServerError struct {
	Payload *ImageDeleteInternalServerErrorBody
}

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

Internal server error

func NewImageDeleteInternalServerError

func NewImageDeleteInternalServerError() *ImageDeleteInternalServerError

NewImageDeleteInternalServerError creates a ImageDeleteInternalServerError with default headers values

func (*ImageDeleteInternalServerError) Error

func (*ImageDeleteInternalServerError) GetPayload

func (*ImageDeleteInternalServerError) IsClientError

func (o *ImageDeleteInternalServerError) IsClientError() bool

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

func (*ImageDeleteInternalServerError) IsCode

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

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

func (*ImageDeleteInternalServerError) IsRedirect

func (o *ImageDeleteInternalServerError) IsRedirect() bool

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

func (*ImageDeleteInternalServerError) IsServerError

func (o *ImageDeleteInternalServerError) IsServerError() bool

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

func (*ImageDeleteInternalServerError) IsSuccess

func (o *ImageDeleteInternalServerError) IsSuccess() bool

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

func (*ImageDeleteInternalServerError) String

type ImageDeleteInternalServerErrorBody

type ImageDeleteInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageDeleteInternalServerErrorBody image delete internal server error body swagger:model ImageDeleteInternalServerErrorBody

func (*ImageDeleteInternalServerErrorBody) ContextValidate

func (o *ImageDeleteInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image delete internal server error body based on context it is used

func (*ImageDeleteInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageDeleteInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageDeleteInternalServerErrorBody) Validate

Validate validates this image delete internal server error body

type ImageDeleteNotFound

type ImageDeleteNotFound struct {
	Payload *ImageDeleteNotFoundBody
}

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

No such image

func NewImageDeleteNotFound

func NewImageDeleteNotFound() *ImageDeleteNotFound

NewImageDeleteNotFound creates a ImageDeleteNotFound with default headers values

func (*ImageDeleteNotFound) Error

func (o *ImageDeleteNotFound) Error() string

func (*ImageDeleteNotFound) GetPayload

func (*ImageDeleteNotFound) IsClientError

func (o *ImageDeleteNotFound) IsClientError() bool

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

func (*ImageDeleteNotFound) IsCode

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

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

func (*ImageDeleteNotFound) IsRedirect

func (o *ImageDeleteNotFound) IsRedirect() bool

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

func (*ImageDeleteNotFound) IsServerError

func (o *ImageDeleteNotFound) IsServerError() bool

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

func (*ImageDeleteNotFound) IsSuccess

func (o *ImageDeleteNotFound) IsSuccess() bool

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

func (*ImageDeleteNotFound) String

func (o *ImageDeleteNotFound) String() string

type ImageDeleteNotFoundBody

type ImageDeleteNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageDeleteNotFoundBody image delete not found body swagger:model ImageDeleteNotFoundBody

func (*ImageDeleteNotFoundBody) ContextValidate

func (o *ImageDeleteNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image delete not found body based on context it is used

func (*ImageDeleteNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageDeleteNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageDeleteNotFoundBody) Validate

func (o *ImageDeleteNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image delete not found body

type ImageDeleteOK

type ImageDeleteOK struct {
	Payload []*ImageDeleteOKBodyItems0
}

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

Delete response

func NewImageDeleteOK

func NewImageDeleteOK() *ImageDeleteOK

NewImageDeleteOK creates a ImageDeleteOK with default headers values

func (*ImageDeleteOK) Error

func (o *ImageDeleteOK) Error() string

func (*ImageDeleteOK) GetPayload

func (o *ImageDeleteOK) GetPayload() []*ImageDeleteOKBodyItems0

func (*ImageDeleteOK) IsClientError

func (o *ImageDeleteOK) IsClientError() bool

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

func (*ImageDeleteOK) IsCode

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

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

func (*ImageDeleteOK) IsRedirect

func (o *ImageDeleteOK) IsRedirect() bool

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

func (*ImageDeleteOK) IsServerError

func (o *ImageDeleteOK) IsServerError() bool

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

func (*ImageDeleteOK) IsSuccess

func (o *ImageDeleteOK) IsSuccess() bool

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

func (*ImageDeleteOK) String

func (o *ImageDeleteOK) String() string

type ImageDeleteOKBodyItems0

type ImageDeleteOKBodyItems0 struct {

	// deleted
	Deleted string `json:"deleted,omitempty"`

	// untagged
	Untagged []string `json:"untagged"`
}

ImageDeleteOKBodyItems0 image delete o k body items0 swagger:model ImageDeleteOKBodyItems0

func (*ImageDeleteOKBodyItems0) ContextValidate

func (o *ImageDeleteOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image delete o k body items0 based on context it is used

func (*ImageDeleteOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageDeleteOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageDeleteOKBodyItems0) Validate

func (o *ImageDeleteOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this image delete o k body items0

type ImageDeleteParams

type ImageDeleteParams struct {

	/* Force.

	   remove the image even if used by containers or has other tags
	*/
	Force *bool

	/* Name.

	   name or ID of image to delete
	*/
	Name string

	/* Noprune.

	   not supported. will be logged as an invalid parameter if enabled
	*/
	Noprune *bool

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

ImageDeleteParams contains all the parameters to send to the API endpoint

for the image delete operation.

Typically these are written to a http.Request.

func NewImageDeleteParams

func NewImageDeleteParams() *ImageDeleteParams

NewImageDeleteParams creates a new ImageDeleteParams 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 NewImageDeleteParamsWithContext

func NewImageDeleteParamsWithContext(ctx context.Context) *ImageDeleteParams

NewImageDeleteParamsWithContext creates a new ImageDeleteParams object with the ability to set a context for a request.

func NewImageDeleteParamsWithHTTPClient

func NewImageDeleteParamsWithHTTPClient(client *http.Client) *ImageDeleteParams

NewImageDeleteParamsWithHTTPClient creates a new ImageDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewImageDeleteParamsWithTimeout

func NewImageDeleteParamsWithTimeout(timeout time.Duration) *ImageDeleteParams

NewImageDeleteParamsWithTimeout creates a new ImageDeleteParams object with the ability to set a timeout on a request.

func (*ImageDeleteParams) SetContext

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

SetContext adds the context to the image delete params

func (*ImageDeleteParams) SetDefaults

func (o *ImageDeleteParams) SetDefaults()

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

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

func (*ImageDeleteParams) SetForce

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

SetForce adds the force to the image delete params

func (*ImageDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image delete params

func (*ImageDeleteParams) SetName

func (o *ImageDeleteParams) SetName(name string)

SetName adds the name to the image delete params

func (*ImageDeleteParams) SetNoprune

func (o *ImageDeleteParams) SetNoprune(noprune *bool)

SetNoprune adds the noprune to the image delete params

func (*ImageDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the image delete params

func (*ImageDeleteParams) WithContext

func (o *ImageDeleteParams) WithContext(ctx context.Context) *ImageDeleteParams

WithContext adds the context to the image delete params

func (*ImageDeleteParams) WithDefaults

func (o *ImageDeleteParams) WithDefaults() *ImageDeleteParams

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

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

func (*ImageDeleteParams) WithForce

func (o *ImageDeleteParams) WithForce(force *bool) *ImageDeleteParams

WithForce adds the force to the image delete params

func (*ImageDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image delete params

func (*ImageDeleteParams) WithName

func (o *ImageDeleteParams) WithName(name string) *ImageDeleteParams

WithName adds the name to the image delete params

func (*ImageDeleteParams) WithNoprune

func (o *ImageDeleteParams) WithNoprune(noprune *bool) *ImageDeleteParams

WithNoprune adds the noprune to the image delete params

func (*ImageDeleteParams) WithTimeout

func (o *ImageDeleteParams) WithTimeout(timeout time.Duration) *ImageDeleteParams

WithTimeout adds the timeout to the image delete params

func (*ImageDeleteParams) WriteToRequest

func (o *ImageDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageDeleteReader

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

ImageDeleteReader is a Reader for the ImageDelete structure.

func (*ImageDeleteReader) ReadResponse

func (o *ImageDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageGetAllInternalServerError

type ImageGetAllInternalServerError struct {
	Payload *ImageGetAllInternalServerErrorBody
}

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

Internal server error

func NewImageGetAllInternalServerError

func NewImageGetAllInternalServerError() *ImageGetAllInternalServerError

NewImageGetAllInternalServerError creates a ImageGetAllInternalServerError with default headers values

func (*ImageGetAllInternalServerError) Error

func (*ImageGetAllInternalServerError) GetPayload

func (*ImageGetAllInternalServerError) IsClientError

func (o *ImageGetAllInternalServerError) IsClientError() bool

IsClientError returns true when this image get all internal server error response has a 4xx status code

func (*ImageGetAllInternalServerError) IsCode

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

IsCode returns true when this image get all internal server error response a status code equal to that given

func (*ImageGetAllInternalServerError) IsRedirect

func (o *ImageGetAllInternalServerError) IsRedirect() bool

IsRedirect returns true when this image get all internal server error response has a 3xx status code

func (*ImageGetAllInternalServerError) IsServerError

func (o *ImageGetAllInternalServerError) IsServerError() bool

IsServerError returns true when this image get all internal server error response has a 5xx status code

func (*ImageGetAllInternalServerError) IsSuccess

func (o *ImageGetAllInternalServerError) IsSuccess() bool

IsSuccess returns true when this image get all internal server error response has a 2xx status code

func (*ImageGetAllInternalServerError) String

type ImageGetAllInternalServerErrorBody

type ImageGetAllInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageGetAllInternalServerErrorBody image get all internal server error body swagger:model ImageGetAllInternalServerErrorBody

func (*ImageGetAllInternalServerErrorBody) ContextValidate

func (o *ImageGetAllInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image get all internal server error body based on context it is used

func (*ImageGetAllInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageGetAllInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageGetAllInternalServerErrorBody) Validate

Validate validates this image get all internal server error body

type ImageGetAllOK

type ImageGetAllOK struct {
	Payload io.Writer
}

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

no error

func NewImageGetAllOK

func NewImageGetAllOK(writer io.Writer) *ImageGetAllOK

NewImageGetAllOK creates a ImageGetAllOK with default headers values

func (*ImageGetAllOK) Error

func (o *ImageGetAllOK) Error() string

func (*ImageGetAllOK) GetPayload

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

func (*ImageGetAllOK) IsClientError

func (o *ImageGetAllOK) IsClientError() bool

IsClientError returns true when this image get all o k response has a 4xx status code

func (*ImageGetAllOK) IsCode

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

IsCode returns true when this image get all o k response a status code equal to that given

func (*ImageGetAllOK) IsRedirect

func (o *ImageGetAllOK) IsRedirect() bool

IsRedirect returns true when this image get all o k response has a 3xx status code

func (*ImageGetAllOK) IsServerError

func (o *ImageGetAllOK) IsServerError() bool

IsServerError returns true when this image get all o k response has a 5xx status code

func (*ImageGetAllOK) IsSuccess

func (o *ImageGetAllOK) IsSuccess() bool

IsSuccess returns true when this image get all o k response has a 2xx status code

func (*ImageGetAllOK) String

func (o *ImageGetAllOK) String() string

type ImageGetAllParams

type ImageGetAllParams struct {

	/* Names.

	   one or more image names or IDs comma separated
	*/
	Names string

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

ImageGetAllParams contains all the parameters to send to the API endpoint

for the image get all operation.

Typically these are written to a http.Request.

func NewImageGetAllParams

func NewImageGetAllParams() *ImageGetAllParams

NewImageGetAllParams creates a new ImageGetAllParams 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 NewImageGetAllParamsWithContext

func NewImageGetAllParamsWithContext(ctx context.Context) *ImageGetAllParams

NewImageGetAllParamsWithContext creates a new ImageGetAllParams object with the ability to set a context for a request.

func NewImageGetAllParamsWithHTTPClient

func NewImageGetAllParamsWithHTTPClient(client *http.Client) *ImageGetAllParams

NewImageGetAllParamsWithHTTPClient creates a new ImageGetAllParams object with the ability to set a custom HTTPClient for a request.

func NewImageGetAllParamsWithTimeout

func NewImageGetAllParamsWithTimeout(timeout time.Duration) *ImageGetAllParams

NewImageGetAllParamsWithTimeout creates a new ImageGetAllParams object with the ability to set a timeout on a request.

func (*ImageGetAllParams) SetContext

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

SetContext adds the context to the image get all params

func (*ImageGetAllParams) SetDefaults

func (o *ImageGetAllParams) SetDefaults()

SetDefaults hydrates default values in the image get all params (not the query body).

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

func (*ImageGetAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image get all params

func (*ImageGetAllParams) SetNames

func (o *ImageGetAllParams) SetNames(names string)

SetNames adds the names to the image get all params

func (*ImageGetAllParams) SetTimeout

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

SetTimeout adds the timeout to the image get all params

func (*ImageGetAllParams) WithContext

func (o *ImageGetAllParams) WithContext(ctx context.Context) *ImageGetAllParams

WithContext adds the context to the image get all params

func (*ImageGetAllParams) WithDefaults

func (o *ImageGetAllParams) WithDefaults() *ImageGetAllParams

WithDefaults hydrates default values in the image get all params (not the query body).

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

func (*ImageGetAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image get all params

func (*ImageGetAllParams) WithNames

func (o *ImageGetAllParams) WithNames(names string) *ImageGetAllParams

WithNames adds the names to the image get all params

func (*ImageGetAllParams) WithTimeout

func (o *ImageGetAllParams) WithTimeout(timeout time.Duration) *ImageGetAllParams

WithTimeout adds the timeout to the image get all params

func (*ImageGetAllParams) WriteToRequest

func (o *ImageGetAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageGetAllReader

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

ImageGetAllReader is a Reader for the ImageGetAll structure.

func (*ImageGetAllReader) ReadResponse

func (o *ImageGetAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageGetInternalServerError

type ImageGetInternalServerError struct {
	Payload *ImageGetInternalServerErrorBody
}

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

Internal server error

func NewImageGetInternalServerError

func NewImageGetInternalServerError() *ImageGetInternalServerError

NewImageGetInternalServerError creates a ImageGetInternalServerError with default headers values

func (*ImageGetInternalServerError) Error

func (*ImageGetInternalServerError) GetPayload

func (*ImageGetInternalServerError) IsClientError

func (o *ImageGetInternalServerError) IsClientError() bool

IsClientError returns true when this image get internal server error response has a 4xx status code

func (*ImageGetInternalServerError) IsCode

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

IsCode returns true when this image get internal server error response a status code equal to that given

func (*ImageGetInternalServerError) IsRedirect

func (o *ImageGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this image get internal server error response has a 3xx status code

func (*ImageGetInternalServerError) IsServerError

func (o *ImageGetInternalServerError) IsServerError() bool

IsServerError returns true when this image get internal server error response has a 5xx status code

func (*ImageGetInternalServerError) IsSuccess

func (o *ImageGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this image get internal server error response has a 2xx status code

func (*ImageGetInternalServerError) String

func (o *ImageGetInternalServerError) String() string

type ImageGetInternalServerErrorBody

type ImageGetInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageGetInternalServerErrorBody image get internal server error body swagger:model ImageGetInternalServerErrorBody

func (*ImageGetInternalServerErrorBody) ContextValidate

func (o *ImageGetInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image get internal server error body based on context it is used

func (*ImageGetInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageGetInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageGetInternalServerErrorBody) Validate

Validate validates this image get internal server error body

type ImageGetOK

type ImageGetOK struct {
	Payload io.Writer
}

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

no error

func NewImageGetOK

func NewImageGetOK(writer io.Writer) *ImageGetOK

NewImageGetOK creates a ImageGetOK with default headers values

func (*ImageGetOK) Error

func (o *ImageGetOK) Error() string

func (*ImageGetOK) GetPayload

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

func (*ImageGetOK) IsClientError

func (o *ImageGetOK) IsClientError() bool

IsClientError returns true when this image get o k response has a 4xx status code

func (*ImageGetOK) IsCode

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

IsCode returns true when this image get o k response a status code equal to that given

func (*ImageGetOK) IsRedirect

func (o *ImageGetOK) IsRedirect() bool

IsRedirect returns true when this image get o k response has a 3xx status code

func (*ImageGetOK) IsServerError

func (o *ImageGetOK) IsServerError() bool

IsServerError returns true when this image get o k response has a 5xx status code

func (*ImageGetOK) IsSuccess

func (o *ImageGetOK) IsSuccess() bool

IsSuccess returns true when this image get o k response has a 2xx status code

func (*ImageGetOK) String

func (o *ImageGetOK) String() string

type ImageGetParams

type ImageGetParams struct {

	/* Name.

	   the name or ID of the container
	*/
	Name string

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

ImageGetParams contains all the parameters to send to the API endpoint

for the image get operation.

Typically these are written to a http.Request.

func NewImageGetParams

func NewImageGetParams() *ImageGetParams

NewImageGetParams creates a new ImageGetParams 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 NewImageGetParamsWithContext

func NewImageGetParamsWithContext(ctx context.Context) *ImageGetParams

NewImageGetParamsWithContext creates a new ImageGetParams object with the ability to set a context for a request.

func NewImageGetParamsWithHTTPClient

func NewImageGetParamsWithHTTPClient(client *http.Client) *ImageGetParams

NewImageGetParamsWithHTTPClient creates a new ImageGetParams object with the ability to set a custom HTTPClient for a request.

func NewImageGetParamsWithTimeout

func NewImageGetParamsWithTimeout(timeout time.Duration) *ImageGetParams

NewImageGetParamsWithTimeout creates a new ImageGetParams object with the ability to set a timeout on a request.

func (*ImageGetParams) SetContext

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

SetContext adds the context to the image get params

func (*ImageGetParams) SetDefaults

func (o *ImageGetParams) SetDefaults()

SetDefaults hydrates default values in the image get params (not the query body).

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

func (*ImageGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image get params

func (*ImageGetParams) SetName

func (o *ImageGetParams) SetName(name string)

SetName adds the name to the image get params

func (*ImageGetParams) SetTimeout

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

SetTimeout adds the timeout to the image get params

func (*ImageGetParams) WithContext

func (o *ImageGetParams) WithContext(ctx context.Context) *ImageGetParams

WithContext adds the context to the image get params

func (*ImageGetParams) WithDefaults

func (o *ImageGetParams) WithDefaults() *ImageGetParams

WithDefaults hydrates default values in the image get params (not the query body).

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

func (*ImageGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image get params

func (*ImageGetParams) WithName

func (o *ImageGetParams) WithName(name string) *ImageGetParams

WithName adds the name to the image get params

func (*ImageGetParams) WithTimeout

func (o *ImageGetParams) WithTimeout(timeout time.Duration) *ImageGetParams

WithTimeout adds the timeout to the image get params

func (*ImageGetParams) WriteToRequest

func (o *ImageGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageGetReader

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

ImageGetReader is a Reader for the ImageGet structure.

func (*ImageGetReader) ReadResponse

func (o *ImageGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageHistoryInternalServerError

type ImageHistoryInternalServerError struct {
	Payload *ImageHistoryInternalServerErrorBody
}

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

Internal server error

func NewImageHistoryInternalServerError

func NewImageHistoryInternalServerError() *ImageHistoryInternalServerError

NewImageHistoryInternalServerError creates a ImageHistoryInternalServerError with default headers values

func (*ImageHistoryInternalServerError) Error

func (*ImageHistoryInternalServerError) GetPayload

func (*ImageHistoryInternalServerError) IsClientError

func (o *ImageHistoryInternalServerError) IsClientError() bool

IsClientError returns true when this image history internal server error response has a 4xx status code

func (*ImageHistoryInternalServerError) IsCode

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

IsCode returns true when this image history internal server error response a status code equal to that given

func (*ImageHistoryInternalServerError) IsRedirect

func (o *ImageHistoryInternalServerError) IsRedirect() bool

IsRedirect returns true when this image history internal server error response has a 3xx status code

func (*ImageHistoryInternalServerError) IsServerError

func (o *ImageHistoryInternalServerError) IsServerError() bool

IsServerError returns true when this image history internal server error response has a 5xx status code

func (*ImageHistoryInternalServerError) IsSuccess

func (o *ImageHistoryInternalServerError) IsSuccess() bool

IsSuccess returns true when this image history internal server error response has a 2xx status code

func (*ImageHistoryInternalServerError) String

type ImageHistoryInternalServerErrorBody

type ImageHistoryInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageHistoryInternalServerErrorBody image history internal server error body swagger:model ImageHistoryInternalServerErrorBody

func (*ImageHistoryInternalServerErrorBody) ContextValidate

func (o *ImageHistoryInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image history internal server error body based on context it is used

func (*ImageHistoryInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageHistoryInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageHistoryInternalServerErrorBody) Validate

Validate validates this image history internal server error body

type ImageHistoryNotFound

type ImageHistoryNotFound struct {
	Payload *ImageHistoryNotFoundBody
}

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

No such image

func NewImageHistoryNotFound

func NewImageHistoryNotFound() *ImageHistoryNotFound

NewImageHistoryNotFound creates a ImageHistoryNotFound with default headers values

func (*ImageHistoryNotFound) Error

func (o *ImageHistoryNotFound) Error() string

func (*ImageHistoryNotFound) GetPayload

func (*ImageHistoryNotFound) IsClientError

func (o *ImageHistoryNotFound) IsClientError() bool

IsClientError returns true when this image history not found response has a 4xx status code

func (*ImageHistoryNotFound) IsCode

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

IsCode returns true when this image history not found response a status code equal to that given

func (*ImageHistoryNotFound) IsRedirect

func (o *ImageHistoryNotFound) IsRedirect() bool

IsRedirect returns true when this image history not found response has a 3xx status code

func (*ImageHistoryNotFound) IsServerError

func (o *ImageHistoryNotFound) IsServerError() bool

IsServerError returns true when this image history not found response has a 5xx status code

func (*ImageHistoryNotFound) IsSuccess

func (o *ImageHistoryNotFound) IsSuccess() bool

IsSuccess returns true when this image history not found response has a 2xx status code

func (*ImageHistoryNotFound) String

func (o *ImageHistoryNotFound) String() string

type ImageHistoryNotFoundBody

type ImageHistoryNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageHistoryNotFoundBody image history not found body swagger:model ImageHistoryNotFoundBody

func (*ImageHistoryNotFoundBody) ContextValidate

func (o *ImageHistoryNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image history not found body based on context it is used

func (*ImageHistoryNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageHistoryNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageHistoryNotFoundBody) Validate

func (o *ImageHistoryNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image history not found body

type ImageHistoryOK

type ImageHistoryOK struct {
	Payload *ImageHistoryOKBody
}

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

History response

func NewImageHistoryOK

func NewImageHistoryOK() *ImageHistoryOK

NewImageHistoryOK creates a ImageHistoryOK with default headers values

func (*ImageHistoryOK) Error

func (o *ImageHistoryOK) Error() string

func (*ImageHistoryOK) GetPayload

func (o *ImageHistoryOK) GetPayload() *ImageHistoryOKBody

func (*ImageHistoryOK) IsClientError

func (o *ImageHistoryOK) IsClientError() bool

IsClientError returns true when this image history o k response has a 4xx status code

func (*ImageHistoryOK) IsCode

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

IsCode returns true when this image history o k response a status code equal to that given

func (*ImageHistoryOK) IsRedirect

func (o *ImageHistoryOK) IsRedirect() bool

IsRedirect returns true when this image history o k response has a 3xx status code

func (*ImageHistoryOK) IsServerError

func (o *ImageHistoryOK) IsServerError() bool

IsServerError returns true when this image history o k response has a 5xx status code

func (*ImageHistoryOK) IsSuccess

func (o *ImageHistoryOK) IsSuccess() bool

IsSuccess returns true when this image history o k response has a 2xx status code

func (*ImageHistoryOK) String

func (o *ImageHistoryOK) String() string

type ImageHistoryOKBody

type ImageHistoryOKBody struct {

	// comment
	Comment string `json:"Comment,omitempty"`

	// created
	Created int64 `json:"Created,omitempty"`

	// created by
	CreatedBy string `json:"CreatedBy,omitempty"`

	// ID
	ID string `json:"Id,omitempty"`

	// size
	Size int64 `json:"Size,omitempty"`

	// tags
	Tags []string `json:"Tags"`
}

ImageHistoryOKBody image history o k body swagger:model ImageHistoryOKBody

func (*ImageHistoryOKBody) ContextValidate

func (o *ImageHistoryOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image history o k body based on context it is used

func (*ImageHistoryOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageHistoryOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageHistoryOKBody) Validate

func (o *ImageHistoryOKBody) Validate(formats strfmt.Registry) error

Validate validates this image history o k body

type ImageHistoryParams

type ImageHistoryParams struct {

	/* Name.

	   the name or ID of the container
	*/
	Name string

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

ImageHistoryParams contains all the parameters to send to the API endpoint

for the image history operation.

Typically these are written to a http.Request.

func NewImageHistoryParams

func NewImageHistoryParams() *ImageHistoryParams

NewImageHistoryParams creates a new ImageHistoryParams 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 NewImageHistoryParamsWithContext

func NewImageHistoryParamsWithContext(ctx context.Context) *ImageHistoryParams

NewImageHistoryParamsWithContext creates a new ImageHistoryParams object with the ability to set a context for a request.

func NewImageHistoryParamsWithHTTPClient

func NewImageHistoryParamsWithHTTPClient(client *http.Client) *ImageHistoryParams

NewImageHistoryParamsWithHTTPClient creates a new ImageHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewImageHistoryParamsWithTimeout

func NewImageHistoryParamsWithTimeout(timeout time.Duration) *ImageHistoryParams

NewImageHistoryParamsWithTimeout creates a new ImageHistoryParams object with the ability to set a timeout on a request.

func (*ImageHistoryParams) SetContext

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

SetContext adds the context to the image history params

func (*ImageHistoryParams) SetDefaults

func (o *ImageHistoryParams) SetDefaults()

SetDefaults hydrates default values in the image history params (not the query body).

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

func (*ImageHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image history params

func (*ImageHistoryParams) SetName

func (o *ImageHistoryParams) SetName(name string)

SetName adds the name to the image history params

func (*ImageHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the image history params

func (*ImageHistoryParams) WithContext

WithContext adds the context to the image history params

func (*ImageHistoryParams) WithDefaults

func (o *ImageHistoryParams) WithDefaults() *ImageHistoryParams

WithDefaults hydrates default values in the image history params (not the query body).

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

func (*ImageHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image history params

func (*ImageHistoryParams) WithName

func (o *ImageHistoryParams) WithName(name string) *ImageHistoryParams

WithName adds the name to the image history params

func (*ImageHistoryParams) WithTimeout

func (o *ImageHistoryParams) WithTimeout(timeout time.Duration) *ImageHistoryParams

WithTimeout adds the timeout to the image history params

func (*ImageHistoryParams) WriteToRequest

func (o *ImageHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageHistoryReader

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

ImageHistoryReader is a Reader for the ImageHistory structure.

func (*ImageHistoryReader) ReadResponse

func (o *ImageHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageInspectInternalServerError

type ImageInspectInternalServerError struct {
	Payload *ImageInspectInternalServerErrorBody
}

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

Internal server error

func NewImageInspectInternalServerError

func NewImageInspectInternalServerError() *ImageInspectInternalServerError

NewImageInspectInternalServerError creates a ImageInspectInternalServerError with default headers values

func (*ImageInspectInternalServerError) Error

func (*ImageInspectInternalServerError) GetPayload

func (*ImageInspectInternalServerError) IsClientError

func (o *ImageInspectInternalServerError) IsClientError() bool

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

func (*ImageInspectInternalServerError) IsCode

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

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

func (*ImageInspectInternalServerError) IsRedirect

func (o *ImageInspectInternalServerError) IsRedirect() bool

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

func (*ImageInspectInternalServerError) IsServerError

func (o *ImageInspectInternalServerError) IsServerError() bool

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

func (*ImageInspectInternalServerError) IsSuccess

func (o *ImageInspectInternalServerError) IsSuccess() bool

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

func (*ImageInspectInternalServerError) String

type ImageInspectInternalServerErrorBody

type ImageInspectInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageInspectInternalServerErrorBody image inspect internal server error body swagger:model ImageInspectInternalServerErrorBody

func (*ImageInspectInternalServerErrorBody) ContextValidate

func (o *ImageInspectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image inspect internal server error body based on context it is used

func (*ImageInspectInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageInspectInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageInspectInternalServerErrorBody) Validate

Validate validates this image inspect internal server error body

type ImageInspectNotFound

type ImageInspectNotFound struct {
	Payload *ImageInspectNotFoundBody
}

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

No such image

func NewImageInspectNotFound

func NewImageInspectNotFound() *ImageInspectNotFound

NewImageInspectNotFound creates a ImageInspectNotFound with default headers values

func (*ImageInspectNotFound) Error

func (o *ImageInspectNotFound) Error() string

func (*ImageInspectNotFound) GetPayload

func (*ImageInspectNotFound) IsClientError

func (o *ImageInspectNotFound) IsClientError() bool

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

func (*ImageInspectNotFound) IsCode

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

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

func (*ImageInspectNotFound) IsRedirect

func (o *ImageInspectNotFound) IsRedirect() bool

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

func (*ImageInspectNotFound) IsServerError

func (o *ImageInspectNotFound) IsServerError() bool

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

func (*ImageInspectNotFound) IsSuccess

func (o *ImageInspectNotFound) IsSuccess() bool

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

func (*ImageInspectNotFound) String

func (o *ImageInspectNotFound) String() string

type ImageInspectNotFoundBody

type ImageInspectNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageInspectNotFoundBody image inspect not found body swagger:model ImageInspectNotFoundBody

func (*ImageInspectNotFoundBody) ContextValidate

func (o *ImageInspectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image inspect not found body based on context it is used

func (*ImageInspectNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageInspectNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageInspectNotFoundBody) Validate

func (o *ImageInspectNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image inspect not found body

type ImageInspectOK

type ImageInspectOK struct {
	Payload *ImageInspectOKBody
}

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

Inspect response

func NewImageInspectOK

func NewImageInspectOK() *ImageInspectOK

NewImageInspectOK creates a ImageInspectOK with default headers values

func (*ImageInspectOK) Error

func (o *ImageInspectOK) Error() string

func (*ImageInspectOK) GetPayload

func (o *ImageInspectOK) GetPayload() *ImageInspectOKBody

func (*ImageInspectOK) IsClientError

func (o *ImageInspectOK) IsClientError() bool

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

func (*ImageInspectOK) IsCode

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

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

func (*ImageInspectOK) IsRedirect

func (o *ImageInspectOK) IsRedirect() bool

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

func (*ImageInspectOK) IsServerError

func (o *ImageInspectOK) IsServerError() bool

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

func (*ImageInspectOK) IsSuccess

func (o *ImageInspectOK) IsSuccess() bool

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

func (*ImageInspectOK) String

func (o *ImageInspectOK) String() string

type ImageInspectOKBody

type ImageInspectOKBody struct {

	// architecture
	Architecture string `json:"Architecture,omitempty"`

	// author
	Author string `json:"Author,omitempty"`

	// comment
	Comment string `json:"Comment,omitempty"`

	// config
	Config *models.Config `json:"Config,omitempty"`

	// container
	Container string `json:"Container,omitempty"`

	// container config
	ContainerConfig *models.Config `json:"ContainerConfig,omitempty"`

	// created
	Created string `json:"Created,omitempty"`

	// docker version
	DockerVersion string `json:"DockerVersion,omitempty"`

	// graph driver
	GraphDriver *models.GraphDriverData `json:"GraphDriver,omitempty"`

	// ID
	ID string `json:"Id,omitempty"`

	// metadata
	Metadata *models.ImageMetadata `json:"Metadata,omitempty"`

	// os
	Os string `json:"Os,omitempty"`

	// os version
	OsVersion string `json:"OsVersion,omitempty"`

	// parent
	Parent string `json:"Parent,omitempty"`

	// repo digests
	RepoDigests []string `json:"RepoDigests"`

	// repo tags
	RepoTags []string `json:"RepoTags"`

	// root f s
	RootFS *models.RootFS `json:"RootFS,omitempty"`

	// size
	Size int64 `json:"Size,omitempty"`

	// variant
	Variant string `json:"Variant,omitempty"`

	// virtual size
	VirtualSize int64 `json:"VirtualSize,omitempty"`
}

ImageInspectOKBody image inspect o k body swagger:model ImageInspectOKBody

func (*ImageInspectOKBody) ContextValidate

func (o *ImageInspectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image inspect o k body based on the context it is used

func (*ImageInspectOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageInspectOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageInspectOKBody) Validate

func (o *ImageInspectOKBody) Validate(formats strfmt.Registry) error

Validate validates this image inspect o k body

type ImageInspectParams

type ImageInspectParams struct {

	/* Name.

	   the name or ID of the container
	*/
	Name string

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

ImageInspectParams contains all the parameters to send to the API endpoint

for the image inspect operation.

Typically these are written to a http.Request.

func NewImageInspectParams

func NewImageInspectParams() *ImageInspectParams

NewImageInspectParams creates a new ImageInspectParams 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 NewImageInspectParamsWithContext

func NewImageInspectParamsWithContext(ctx context.Context) *ImageInspectParams

NewImageInspectParamsWithContext creates a new ImageInspectParams object with the ability to set a context for a request.

func NewImageInspectParamsWithHTTPClient

func NewImageInspectParamsWithHTTPClient(client *http.Client) *ImageInspectParams

NewImageInspectParamsWithHTTPClient creates a new ImageInspectParams object with the ability to set a custom HTTPClient for a request.

func NewImageInspectParamsWithTimeout

func NewImageInspectParamsWithTimeout(timeout time.Duration) *ImageInspectParams

NewImageInspectParamsWithTimeout creates a new ImageInspectParams object with the ability to set a timeout on a request.

func (*ImageInspectParams) SetContext

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

SetContext adds the context to the image inspect params

func (*ImageInspectParams) SetDefaults

func (o *ImageInspectParams) SetDefaults()

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

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

func (*ImageInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image inspect params

func (*ImageInspectParams) SetName

func (o *ImageInspectParams) SetName(name string)

SetName adds the name to the image inspect params

func (*ImageInspectParams) SetTimeout

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

SetTimeout adds the timeout to the image inspect params

func (*ImageInspectParams) WithContext

WithContext adds the context to the image inspect params

func (*ImageInspectParams) WithDefaults

func (o *ImageInspectParams) WithDefaults() *ImageInspectParams

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

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

func (*ImageInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image inspect params

func (*ImageInspectParams) WithName

func (o *ImageInspectParams) WithName(name string) *ImageInspectParams

WithName adds the name to the image inspect params

func (*ImageInspectParams) WithTimeout

func (o *ImageInspectParams) WithTimeout(timeout time.Duration) *ImageInspectParams

WithTimeout adds the timeout to the image inspect params

func (*ImageInspectParams) WriteToRequest

func (o *ImageInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageInspectReader

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

ImageInspectReader is a Reader for the ImageInspect structure.

func (*ImageInspectReader) ReadResponse

func (o *ImageInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageListInternalServerError

type ImageListInternalServerError struct {
	Payload *ImageListInternalServerErrorBody
}

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

Internal server error

func NewImageListInternalServerError

func NewImageListInternalServerError() *ImageListInternalServerError

NewImageListInternalServerError creates a ImageListInternalServerError with default headers values

func (*ImageListInternalServerError) Error

func (*ImageListInternalServerError) GetPayload

func (*ImageListInternalServerError) IsClientError

func (o *ImageListInternalServerError) IsClientError() bool

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

func (*ImageListInternalServerError) IsCode

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

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

func (*ImageListInternalServerError) IsRedirect

func (o *ImageListInternalServerError) IsRedirect() bool

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

func (*ImageListInternalServerError) IsServerError

func (o *ImageListInternalServerError) IsServerError() bool

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

func (*ImageListInternalServerError) IsSuccess

func (o *ImageListInternalServerError) IsSuccess() bool

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

func (*ImageListInternalServerError) String

type ImageListInternalServerErrorBody

type ImageListInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageListInternalServerErrorBody image list internal server error body swagger:model ImageListInternalServerErrorBody

func (*ImageListInternalServerErrorBody) ContextValidate

func (o *ImageListInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image list internal server error body based on context it is used

func (*ImageListInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageListInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageListInternalServerErrorBody) Validate

Validate validates this image list internal server error body

type ImageListOK

type ImageListOK struct {
	Payload []*models.ImageSummary
}

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

Image summary for compat API

func NewImageListOK

func NewImageListOK() *ImageListOK

NewImageListOK creates a ImageListOK with default headers values

func (*ImageListOK) Error

func (o *ImageListOK) Error() string

func (*ImageListOK) GetPayload

func (o *ImageListOK) GetPayload() []*models.ImageSummary

func (*ImageListOK) IsClientError

func (o *ImageListOK) IsClientError() bool

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

func (*ImageListOK) IsCode

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

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

func (*ImageListOK) IsRedirect

func (o *ImageListOK) IsRedirect() bool

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

func (*ImageListOK) IsServerError

func (o *ImageListOK) IsServerError() bool

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

func (*ImageListOK) IsSuccess

func (o *ImageListOK) IsSuccess() bool

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

func (*ImageListOK) String

func (o *ImageListOK) String() string

type ImageListParams

type ImageListParams struct {

	/* All.

	   Show all images. Only images from a final layer (no children) are shown by default.
	*/
	All *bool

	/* Digests.

	   Not supported
	*/
	Digests *bool

	/* Filters.

	     A JSON encoded value of the filters (a `map[string][]string`) to process on the images list. Available filters:
	- `before`=(`<image-name>[:<tag>]`,  `<image id>` or `<image@digest>`)
	- `dangling=true`
	- `label=key` or `label="key=value"` of an image label
	- `reference`=(`<image-name>[:<tag>]`)
	- `since`=(`<image-name>[:<tag>]`,  `<image id>` or `<image@digest>`)

	*/
	Filters *string

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

ImageListParams contains all the parameters to send to the API endpoint

for the image list operation.

Typically these are written to a http.Request.

func NewImageListParams

func NewImageListParams() *ImageListParams

NewImageListParams creates a new ImageListParams 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 NewImageListParamsWithContext

func NewImageListParamsWithContext(ctx context.Context) *ImageListParams

NewImageListParamsWithContext creates a new ImageListParams object with the ability to set a context for a request.

func NewImageListParamsWithHTTPClient

func NewImageListParamsWithHTTPClient(client *http.Client) *ImageListParams

NewImageListParamsWithHTTPClient creates a new ImageListParams object with the ability to set a custom HTTPClient for a request.

func NewImageListParamsWithTimeout

func NewImageListParamsWithTimeout(timeout time.Duration) *ImageListParams

NewImageListParamsWithTimeout creates a new ImageListParams object with the ability to set a timeout on a request.

func (*ImageListParams) SetAll

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

SetAll adds the all to the image list params

func (*ImageListParams) SetContext

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

SetContext adds the context to the image list params

func (*ImageListParams) SetDefaults

func (o *ImageListParams) SetDefaults()

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

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

func (*ImageListParams) SetDigests

func (o *ImageListParams) SetDigests(digests *bool)

SetDigests adds the digests to the image list params

func (*ImageListParams) SetFilters

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

SetFilters adds the filters to the image list params

func (*ImageListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image list params

func (*ImageListParams) SetTimeout

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

SetTimeout adds the timeout to the image list params

func (*ImageListParams) WithAll

func (o *ImageListParams) WithAll(all *bool) *ImageListParams

WithAll adds the all to the image list params

func (*ImageListParams) WithContext

func (o *ImageListParams) WithContext(ctx context.Context) *ImageListParams

WithContext adds the context to the image list params

func (*ImageListParams) WithDefaults

func (o *ImageListParams) WithDefaults() *ImageListParams

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

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

func (*ImageListParams) WithDigests

func (o *ImageListParams) WithDigests(digests *bool) *ImageListParams

WithDigests adds the digests to the image list params

func (*ImageListParams) WithFilters

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

WithFilters adds the filters to the image list params

func (*ImageListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image list params

func (*ImageListParams) WithTimeout

func (o *ImageListParams) WithTimeout(timeout time.Duration) *ImageListParams

WithTimeout adds the timeout to the image list params

func (*ImageListParams) WriteToRequest

func (o *ImageListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageListReader

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

ImageListReader is a Reader for the ImageList structure.

func (*ImageListReader) ReadResponse

func (o *ImageListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageLoadInternalServerError

type ImageLoadInternalServerError struct {
	Payload *ImageLoadInternalServerErrorBody
}

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

Internal server error

func NewImageLoadInternalServerError

func NewImageLoadInternalServerError() *ImageLoadInternalServerError

NewImageLoadInternalServerError creates a ImageLoadInternalServerError with default headers values

func (*ImageLoadInternalServerError) Error

func (*ImageLoadInternalServerError) GetPayload

func (*ImageLoadInternalServerError) IsClientError

func (o *ImageLoadInternalServerError) IsClientError() bool

IsClientError returns true when this image load internal server error response has a 4xx status code

func (*ImageLoadInternalServerError) IsCode

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

IsCode returns true when this image load internal server error response a status code equal to that given

func (*ImageLoadInternalServerError) IsRedirect

func (o *ImageLoadInternalServerError) IsRedirect() bool

IsRedirect returns true when this image load internal server error response has a 3xx status code

func (*ImageLoadInternalServerError) IsServerError

func (o *ImageLoadInternalServerError) IsServerError() bool

IsServerError returns true when this image load internal server error response has a 5xx status code

func (*ImageLoadInternalServerError) IsSuccess

func (o *ImageLoadInternalServerError) IsSuccess() bool

IsSuccess returns true when this image load internal server error response has a 2xx status code

func (*ImageLoadInternalServerError) String

type ImageLoadInternalServerErrorBody

type ImageLoadInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageLoadInternalServerErrorBody image load internal server error body swagger:model ImageLoadInternalServerErrorBody

func (*ImageLoadInternalServerErrorBody) ContextValidate

func (o *ImageLoadInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image load internal server error body based on context it is used

func (*ImageLoadInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageLoadInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageLoadInternalServerErrorBody) Validate

Validate validates this image load internal server error body

type ImageLoadOK

type ImageLoadOK struct {
}

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

no error

func NewImageLoadOK

func NewImageLoadOK() *ImageLoadOK

NewImageLoadOK creates a ImageLoadOK with default headers values

func (*ImageLoadOK) Error

func (o *ImageLoadOK) Error() string

func (*ImageLoadOK) IsClientError

func (o *ImageLoadOK) IsClientError() bool

IsClientError returns true when this image load o k response has a 4xx status code

func (*ImageLoadOK) IsCode

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

IsCode returns true when this image load o k response a status code equal to that given

func (*ImageLoadOK) IsRedirect

func (o *ImageLoadOK) IsRedirect() bool

IsRedirect returns true when this image load o k response has a 3xx status code

func (*ImageLoadOK) IsServerError

func (o *ImageLoadOK) IsServerError() bool

IsServerError returns true when this image load o k response has a 5xx status code

func (*ImageLoadOK) IsSuccess

func (o *ImageLoadOK) IsSuccess() bool

IsSuccess returns true when this image load o k response has a 2xx status code

func (*ImageLoadOK) String

func (o *ImageLoadOK) String() string

type ImageLoadParams

type ImageLoadParams struct {

	/* Quiet.

	   not supported
	*/
	Quiet *bool

	/* Request.

	   tarball of container image
	*/
	Request string

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

ImageLoadParams contains all the parameters to send to the API endpoint

for the image load operation.

Typically these are written to a http.Request.

func NewImageLoadParams

func NewImageLoadParams() *ImageLoadParams

NewImageLoadParams creates a new ImageLoadParams 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 NewImageLoadParamsWithContext

func NewImageLoadParamsWithContext(ctx context.Context) *ImageLoadParams

NewImageLoadParamsWithContext creates a new ImageLoadParams object with the ability to set a context for a request.

func NewImageLoadParamsWithHTTPClient

func NewImageLoadParamsWithHTTPClient(client *http.Client) *ImageLoadParams

NewImageLoadParamsWithHTTPClient creates a new ImageLoadParams object with the ability to set a custom HTTPClient for a request.

func NewImageLoadParamsWithTimeout

func NewImageLoadParamsWithTimeout(timeout time.Duration) *ImageLoadParams

NewImageLoadParamsWithTimeout creates a new ImageLoadParams object with the ability to set a timeout on a request.

func (*ImageLoadParams) SetContext

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

SetContext adds the context to the image load params

func (*ImageLoadParams) SetDefaults

func (o *ImageLoadParams) SetDefaults()

SetDefaults hydrates default values in the image load params (not the query body).

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

func (*ImageLoadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image load params

func (*ImageLoadParams) SetQuiet

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

SetQuiet adds the quiet to the image load params

func (*ImageLoadParams) SetRequest

func (o *ImageLoadParams) SetRequest(request string)

SetRequest adds the request to the image load params

func (*ImageLoadParams) SetTimeout

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

SetTimeout adds the timeout to the image load params

func (*ImageLoadParams) WithContext

func (o *ImageLoadParams) WithContext(ctx context.Context) *ImageLoadParams

WithContext adds the context to the image load params

func (*ImageLoadParams) WithDefaults

func (o *ImageLoadParams) WithDefaults() *ImageLoadParams

WithDefaults hydrates default values in the image load params (not the query body).

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

func (*ImageLoadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image load params

func (*ImageLoadParams) WithQuiet

func (o *ImageLoadParams) WithQuiet(quiet *bool) *ImageLoadParams

WithQuiet adds the quiet to the image load params

func (*ImageLoadParams) WithRequest

func (o *ImageLoadParams) WithRequest(request string) *ImageLoadParams

WithRequest adds the request to the image load params

func (*ImageLoadParams) WithTimeout

func (o *ImageLoadParams) WithTimeout(timeout time.Duration) *ImageLoadParams

WithTimeout adds the timeout to the image load params

func (*ImageLoadParams) WriteToRequest

func (o *ImageLoadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageLoadReader

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

ImageLoadReader is a Reader for the ImageLoad structure.

func (*ImageLoadReader) ReadResponse

func (o *ImageLoadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImagePruneInternalServerError

type ImagePruneInternalServerError struct {
	Payload *ImagePruneInternalServerErrorBody
}

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

Internal server error

func NewImagePruneInternalServerError

func NewImagePruneInternalServerError() *ImagePruneInternalServerError

NewImagePruneInternalServerError creates a ImagePruneInternalServerError with default headers values

func (*ImagePruneInternalServerError) Error

func (*ImagePruneInternalServerError) GetPayload

func (*ImagePruneInternalServerError) IsClientError

func (o *ImagePruneInternalServerError) IsClientError() bool

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

func (*ImagePruneInternalServerError) IsCode

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

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

func (*ImagePruneInternalServerError) IsRedirect

func (o *ImagePruneInternalServerError) IsRedirect() bool

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

func (*ImagePruneInternalServerError) IsServerError

func (o *ImagePruneInternalServerError) IsServerError() bool

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

func (*ImagePruneInternalServerError) IsSuccess

func (o *ImagePruneInternalServerError) IsSuccess() bool

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

func (*ImagePruneInternalServerError) String

type ImagePruneInternalServerErrorBody

type ImagePruneInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImagePruneInternalServerErrorBody image prune internal server error body swagger:model ImagePruneInternalServerErrorBody

func (*ImagePruneInternalServerErrorBody) ContextValidate

func (o *ImagePruneInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image prune internal server error body based on context it is used

func (*ImagePruneInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePruneInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePruneInternalServerErrorBody) Validate

Validate validates this image prune internal server error body

type ImagePruneOK

type ImagePruneOK struct {
	Payload []*ImagePruneOKBodyItems0
}

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

Delete response

func NewImagePruneOK

func NewImagePruneOK() *ImagePruneOK

NewImagePruneOK creates a ImagePruneOK with default headers values

func (*ImagePruneOK) Error

func (o *ImagePruneOK) Error() string

func (*ImagePruneOK) GetPayload

func (o *ImagePruneOK) GetPayload() []*ImagePruneOKBodyItems0

func (*ImagePruneOK) IsClientError

func (o *ImagePruneOK) IsClientError() bool

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

func (*ImagePruneOK) IsCode

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

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

func (*ImagePruneOK) IsRedirect

func (o *ImagePruneOK) IsRedirect() bool

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

func (*ImagePruneOK) IsServerError

func (o *ImagePruneOK) IsServerError() bool

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

func (*ImagePruneOK) IsSuccess

func (o *ImagePruneOK) IsSuccess() bool

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

func (*ImagePruneOK) String

func (o *ImagePruneOK) String() string

type ImagePruneOKBodyItems0

type ImagePruneOKBodyItems0 struct {

	// deleted
	Deleted string `json:"deleted,omitempty"`

	// untagged
	Untagged []string `json:"untagged"`
}

ImagePruneOKBodyItems0 image prune o k body items0 swagger:model ImagePruneOKBodyItems0

func (*ImagePruneOKBodyItems0) ContextValidate

func (o *ImagePruneOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image prune o k body items0 based on context it is used

func (*ImagePruneOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePruneOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePruneOKBodyItems0) Validate

func (o *ImagePruneOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this image prune o k body items0

type ImagePruneParams

type ImagePruneParams struct {

	/* Filters.

	   filters to apply to image pruning, encoded as JSON (map[string][]string). Available filters:
	- `dangling=<boolean>` When set to `true` (or `1`), prune only
	   unused *and* untagged images. When set to `false`
	   (or `0`), all unused images are pruned.
	- `until=<string>` Prune images created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
	- `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune images with (or without, in case `label!=...` is used) the specified labels.

	*/
	Filters *string

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

ImagePruneParams contains all the parameters to send to the API endpoint

for the image prune operation.

Typically these are written to a http.Request.

func NewImagePruneParams

func NewImagePruneParams() *ImagePruneParams

NewImagePruneParams creates a new ImagePruneParams 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 NewImagePruneParamsWithContext

func NewImagePruneParamsWithContext(ctx context.Context) *ImagePruneParams

NewImagePruneParamsWithContext creates a new ImagePruneParams object with the ability to set a context for a request.

func NewImagePruneParamsWithHTTPClient

func NewImagePruneParamsWithHTTPClient(client *http.Client) *ImagePruneParams

NewImagePruneParamsWithHTTPClient creates a new ImagePruneParams object with the ability to set a custom HTTPClient for a request.

func NewImagePruneParamsWithTimeout

func NewImagePruneParamsWithTimeout(timeout time.Duration) *ImagePruneParams

NewImagePruneParamsWithTimeout creates a new ImagePruneParams object with the ability to set a timeout on a request.

func (*ImagePruneParams) SetContext

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

SetContext adds the context to the image prune params

func (*ImagePruneParams) SetDefaults

func (o *ImagePruneParams) SetDefaults()

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

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

func (*ImagePruneParams) SetFilters

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

SetFilters adds the filters to the image prune params

func (*ImagePruneParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image prune params

func (*ImagePruneParams) SetTimeout

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

SetTimeout adds the timeout to the image prune params

func (*ImagePruneParams) WithContext

func (o *ImagePruneParams) WithContext(ctx context.Context) *ImagePruneParams

WithContext adds the context to the image prune params

func (*ImagePruneParams) WithDefaults

func (o *ImagePruneParams) WithDefaults() *ImagePruneParams

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

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

func (*ImagePruneParams) WithFilters

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

WithFilters adds the filters to the image prune params

func (*ImagePruneParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image prune params

func (*ImagePruneParams) WithTimeout

func (o *ImagePruneParams) WithTimeout(timeout time.Duration) *ImagePruneParams

WithTimeout adds the timeout to the image prune params

func (*ImagePruneParams) WriteToRequest

func (o *ImagePruneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImagePruneReader

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

ImagePruneReader is a Reader for the ImagePrune structure.

func (*ImagePruneReader) ReadResponse

func (o *ImagePruneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImagePushInternalServerError

type ImagePushInternalServerError struct {
	Payload *ImagePushInternalServerErrorBody
}

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

Internal server error

func NewImagePushInternalServerError

func NewImagePushInternalServerError() *ImagePushInternalServerError

NewImagePushInternalServerError creates a ImagePushInternalServerError with default headers values

func (*ImagePushInternalServerError) Error

func (*ImagePushInternalServerError) GetPayload

func (*ImagePushInternalServerError) IsClientError

func (o *ImagePushInternalServerError) IsClientError() bool

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

func (*ImagePushInternalServerError) IsCode

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

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

func (*ImagePushInternalServerError) IsRedirect

func (o *ImagePushInternalServerError) IsRedirect() bool

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

func (*ImagePushInternalServerError) IsServerError

func (o *ImagePushInternalServerError) IsServerError() bool

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

func (*ImagePushInternalServerError) IsSuccess

func (o *ImagePushInternalServerError) IsSuccess() bool

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

func (*ImagePushInternalServerError) String

type ImagePushInternalServerErrorBody

type ImagePushInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImagePushInternalServerErrorBody image push internal server error body swagger:model ImagePushInternalServerErrorBody

func (*ImagePushInternalServerErrorBody) ContextValidate

func (o *ImagePushInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image push internal server error body based on context it is used

func (*ImagePushInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePushInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePushInternalServerErrorBody) Validate

Validate validates this image push internal server error body

type ImagePushNotFound

type ImagePushNotFound struct {
	Payload *ImagePushNotFoundBody
}

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

No such image

func NewImagePushNotFound

func NewImagePushNotFound() *ImagePushNotFound

NewImagePushNotFound creates a ImagePushNotFound with default headers values

func (*ImagePushNotFound) Error

func (o *ImagePushNotFound) Error() string

func (*ImagePushNotFound) GetPayload

func (o *ImagePushNotFound) GetPayload() *ImagePushNotFoundBody

func (*ImagePushNotFound) IsClientError

func (o *ImagePushNotFound) IsClientError() bool

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

func (*ImagePushNotFound) IsCode

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

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

func (*ImagePushNotFound) IsRedirect

func (o *ImagePushNotFound) IsRedirect() bool

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

func (*ImagePushNotFound) IsServerError

func (o *ImagePushNotFound) IsServerError() bool

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

func (*ImagePushNotFound) IsSuccess

func (o *ImagePushNotFound) IsSuccess() bool

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

func (*ImagePushNotFound) String

func (o *ImagePushNotFound) String() string

type ImagePushNotFoundBody

type ImagePushNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImagePushNotFoundBody image push not found body swagger:model ImagePushNotFoundBody

func (*ImagePushNotFoundBody) ContextValidate

func (o *ImagePushNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image push not found body based on context it is used

func (*ImagePushNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePushNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePushNotFoundBody) Validate

func (o *ImagePushNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image push not found body

type ImagePushOK

type ImagePushOK struct {
	Payload io.Writer
}

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

no error

func NewImagePushOK

func NewImagePushOK(writer io.Writer) *ImagePushOK

NewImagePushOK creates a ImagePushOK with default headers values

func (*ImagePushOK) Error

func (o *ImagePushOK) Error() string

func (*ImagePushOK) GetPayload

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

func (*ImagePushOK) IsClientError

func (o *ImagePushOK) IsClientError() bool

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

func (*ImagePushOK) IsCode

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

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

func (*ImagePushOK) IsRedirect

func (o *ImagePushOK) IsRedirect() bool

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

func (*ImagePushOK) IsServerError

func (o *ImagePushOK) IsServerError() bool

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

func (*ImagePushOK) IsSuccess

func (o *ImagePushOK) IsSuccess() bool

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

func (*ImagePushOK) String

func (o *ImagePushOK) String() string

type ImagePushParams

type ImagePushParams struct {

	/* XRegistryAuth.

	   A base64-encoded auth configuration.
	*/
	XRegistryAuth *string

	/* All.

	   All indicates whether to push all images related to the image list
	*/
	All *bool

	/* Compress.

	   use compression on image
	*/
	Compress *bool

	/* Destination.

	   destination name for the image being pushed
	*/
	Destination *string

	/* Name.

	   Name of image to push.
	*/
	Name string

	/* Tag.

	   The tag to associate with the image on the registry.
	*/
	Tag *string

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

ImagePushParams contains all the parameters to send to the API endpoint

for the image push operation.

Typically these are written to a http.Request.

func NewImagePushParams

func NewImagePushParams() *ImagePushParams

NewImagePushParams creates a new ImagePushParams 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 NewImagePushParamsWithContext

func NewImagePushParamsWithContext(ctx context.Context) *ImagePushParams

NewImagePushParamsWithContext creates a new ImagePushParams object with the ability to set a context for a request.

func NewImagePushParamsWithHTTPClient

func NewImagePushParamsWithHTTPClient(client *http.Client) *ImagePushParams

NewImagePushParamsWithHTTPClient creates a new ImagePushParams object with the ability to set a custom HTTPClient for a request.

func NewImagePushParamsWithTimeout

func NewImagePushParamsWithTimeout(timeout time.Duration) *ImagePushParams

NewImagePushParamsWithTimeout creates a new ImagePushParams object with the ability to set a timeout on a request.

func (*ImagePushParams) SetAll

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

SetAll adds the all to the image push params

func (*ImagePushParams) SetCompress

func (o *ImagePushParams) SetCompress(compress *bool)

SetCompress adds the compress to the image push params

func (*ImagePushParams) SetContext

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

SetContext adds the context to the image push params

func (*ImagePushParams) SetDefaults

func (o *ImagePushParams) SetDefaults()

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

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

func (*ImagePushParams) SetDestination

func (o *ImagePushParams) SetDestination(destination *string)

SetDestination adds the destination to the image push params

func (*ImagePushParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image push params

func (*ImagePushParams) SetName

func (o *ImagePushParams) SetName(name string)

SetName adds the name to the image push params

func (*ImagePushParams) SetTag

func (o *ImagePushParams) SetTag(tag *string)

SetTag adds the tag to the image push params

func (*ImagePushParams) SetTimeout

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

SetTimeout adds the timeout to the image push params

func (*ImagePushParams) SetXRegistryAuth

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

SetXRegistryAuth adds the xRegistryAuth to the image push params

func (*ImagePushParams) WithAll

func (o *ImagePushParams) WithAll(all *bool) *ImagePushParams

WithAll adds the all to the image push params

func (*ImagePushParams) WithCompress

func (o *ImagePushParams) WithCompress(compress *bool) *ImagePushParams

WithCompress adds the compress to the image push params

func (*ImagePushParams) WithContext

func (o *ImagePushParams) WithContext(ctx context.Context) *ImagePushParams

WithContext adds the context to the image push params

func (*ImagePushParams) WithDefaults

func (o *ImagePushParams) WithDefaults() *ImagePushParams

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

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

func (*ImagePushParams) WithDestination

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

WithDestination adds the destination to the image push params

func (*ImagePushParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image push params

func (*ImagePushParams) WithName

func (o *ImagePushParams) WithName(name string) *ImagePushParams

WithName adds the name to the image push params

func (*ImagePushParams) WithTag

func (o *ImagePushParams) WithTag(tag *string) *ImagePushParams

WithTag adds the tag to the image push params

func (*ImagePushParams) WithTimeout

func (o *ImagePushParams) WithTimeout(timeout time.Duration) *ImagePushParams

WithTimeout adds the timeout to the image push params

func (*ImagePushParams) WithXRegistryAuth

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

WithXRegistryAuth adds the xRegistryAuth to the image push params

func (*ImagePushParams) WriteToRequest

func (o *ImagePushParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImagePushReader

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

ImagePushReader is a Reader for the ImagePush structure.

func (*ImagePushReader) ReadResponse

func (o *ImagePushReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageSearchBadRequest

type ImageSearchBadRequest struct {
	Payload *ImageSearchBadRequestBody
}

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

Bad parameter in request

func NewImageSearchBadRequest

func NewImageSearchBadRequest() *ImageSearchBadRequest

NewImageSearchBadRequest creates a ImageSearchBadRequest with default headers values

func (*ImageSearchBadRequest) Error

func (o *ImageSearchBadRequest) Error() string

func (*ImageSearchBadRequest) GetPayload

func (*ImageSearchBadRequest) IsClientError

func (o *ImageSearchBadRequest) IsClientError() bool

IsClientError returns true when this image search bad request response has a 4xx status code

func (*ImageSearchBadRequest) IsCode

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

IsCode returns true when this image search bad request response a status code equal to that given

func (*ImageSearchBadRequest) IsRedirect

func (o *ImageSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this image search bad request response has a 3xx status code

func (*ImageSearchBadRequest) IsServerError

func (o *ImageSearchBadRequest) IsServerError() bool

IsServerError returns true when this image search bad request response has a 5xx status code

func (*ImageSearchBadRequest) IsSuccess

func (o *ImageSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this image search bad request response has a 2xx status code

func (*ImageSearchBadRequest) String

func (o *ImageSearchBadRequest) String() string

type ImageSearchBadRequestBody

type ImageSearchBadRequestBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageSearchBadRequestBody image search bad request body swagger:model ImageSearchBadRequestBody

func (*ImageSearchBadRequestBody) ContextValidate

func (o *ImageSearchBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image search bad request body based on context it is used

func (*ImageSearchBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageSearchBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageSearchBadRequestBody) Validate

func (o *ImageSearchBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this image search bad request body

type ImageSearchInternalServerError

type ImageSearchInternalServerError struct {
	Payload *ImageSearchInternalServerErrorBody
}

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

Internal server error

func NewImageSearchInternalServerError

func NewImageSearchInternalServerError() *ImageSearchInternalServerError

NewImageSearchInternalServerError creates a ImageSearchInternalServerError with default headers values

func (*ImageSearchInternalServerError) Error

func (*ImageSearchInternalServerError) GetPayload

func (*ImageSearchInternalServerError) IsClientError

func (o *ImageSearchInternalServerError) IsClientError() bool

IsClientError returns true when this image search internal server error response has a 4xx status code

func (*ImageSearchInternalServerError) IsCode

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

IsCode returns true when this image search internal server error response a status code equal to that given

func (*ImageSearchInternalServerError) IsRedirect

func (o *ImageSearchInternalServerError) IsRedirect() bool

IsRedirect returns true when this image search internal server error response has a 3xx status code

func (*ImageSearchInternalServerError) IsServerError

func (o *ImageSearchInternalServerError) IsServerError() bool

IsServerError returns true when this image search internal server error response has a 5xx status code

func (*ImageSearchInternalServerError) IsSuccess

func (o *ImageSearchInternalServerError) IsSuccess() bool

IsSuccess returns true when this image search internal server error response has a 2xx status code

func (*ImageSearchInternalServerError) String

type ImageSearchInternalServerErrorBody

type ImageSearchInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageSearchInternalServerErrorBody image search internal server error body swagger:model ImageSearchInternalServerErrorBody

func (*ImageSearchInternalServerErrorBody) ContextValidate

func (o *ImageSearchInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image search internal server error body based on context it is used

func (*ImageSearchInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageSearchInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageSearchInternalServerErrorBody) Validate

Validate validates this image search internal server error body

type ImageSearchOK

type ImageSearchOK struct {
	Payload *ImageSearchOKBody
}

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

Search results

func NewImageSearchOK

func NewImageSearchOK() *ImageSearchOK

NewImageSearchOK creates a ImageSearchOK with default headers values

func (*ImageSearchOK) Error

func (o *ImageSearchOK) Error() string

func (*ImageSearchOK) GetPayload

func (o *ImageSearchOK) GetPayload() *ImageSearchOKBody

func (*ImageSearchOK) IsClientError

func (o *ImageSearchOK) IsClientError() bool

IsClientError returns true when this image search o k response has a 4xx status code

func (*ImageSearchOK) IsCode

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

IsCode returns true when this image search o k response a status code equal to that given

func (*ImageSearchOK) IsRedirect

func (o *ImageSearchOK) IsRedirect() bool

IsRedirect returns true when this image search o k response has a 3xx status code

func (*ImageSearchOK) IsServerError

func (o *ImageSearchOK) IsServerError() bool

IsServerError returns true when this image search o k response has a 5xx status code

func (*ImageSearchOK) IsSuccess

func (o *ImageSearchOK) IsSuccess() bool

IsSuccess returns true when this image search o k response has a 2xx status code

func (*ImageSearchOK) String

func (o *ImageSearchOK) String() string

type ImageSearchOKBody

type ImageSearchOKBody struct {

	// Automated indicates if the image was created by an automated build.
	Automated string `json:"Automated,omitempty"`

	// Description of the image.
	Description string `json:"Description,omitempty"`

	// Index is the image index (e.g., "docker.io" or "quay.io")
	Index string `json:"Index,omitempty"`

	// Name is the canonical name of the image (e.g., "docker.io/library/alpine").
	Name string `json:"Name,omitempty"`

	// Official indicates if it's an official image.
	Official string `json:"Official,omitempty"`

	// Stars is the number of stars of the image.
	Stars int64 `json:"Stars,omitempty"`

	// Tag is the image tag
	Tag string `json:"Tag,omitempty"`
}

ImageSearchOKBody image search o k body swagger:model ImageSearchOKBody

func (*ImageSearchOKBody) ContextValidate

func (o *ImageSearchOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image search o k body based on context it is used

func (*ImageSearchOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageSearchOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageSearchOKBody) Validate

func (o *ImageSearchOKBody) Validate(formats strfmt.Registry) error

Validate validates this image search o k body

type ImageSearchParams

type ImageSearchParams struct {

	/* Filters.

	     A JSON encoded value of the filters (a `map[string][]string`) to process on the images list. Available filters:
	- `is-automated=(true|false)`
	- `is-official=(true|false)`
	- `stars=<number>` Matches images that has at least 'number' stars.

	*/
	Filters *string

	/* Limit.

	   maximum number of results

	   Default: 25
	*/
	Limit *int64

	/* ListTags.

	   list the available tags in the repository
	*/
	ListTags *bool

	/* Term.

	   term to search
	*/
	Term *string

	/* TLSVerify.

	   skip TLS verification for registries
	*/
	TLSVerify *bool

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

ImageSearchParams contains all the parameters to send to the API endpoint

for the image search operation.

Typically these are written to a http.Request.

func NewImageSearchParams

func NewImageSearchParams() *ImageSearchParams

NewImageSearchParams creates a new ImageSearchParams 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 NewImageSearchParamsWithContext

func NewImageSearchParamsWithContext(ctx context.Context) *ImageSearchParams

NewImageSearchParamsWithContext creates a new ImageSearchParams object with the ability to set a context for a request.

func NewImageSearchParamsWithHTTPClient

func NewImageSearchParamsWithHTTPClient(client *http.Client) *ImageSearchParams

NewImageSearchParamsWithHTTPClient creates a new ImageSearchParams object with the ability to set a custom HTTPClient for a request.

func NewImageSearchParamsWithTimeout

func NewImageSearchParamsWithTimeout(timeout time.Duration) *ImageSearchParams

NewImageSearchParamsWithTimeout creates a new ImageSearchParams object with the ability to set a timeout on a request.

func (*ImageSearchParams) SetContext

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

SetContext adds the context to the image search params

func (*ImageSearchParams) SetDefaults

func (o *ImageSearchParams) SetDefaults()

SetDefaults hydrates default values in the image search params (not the query body).

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

func (*ImageSearchParams) SetFilters

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

SetFilters adds the filters to the image search params

func (*ImageSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image search params

func (*ImageSearchParams) SetLimit

func (o *ImageSearchParams) SetLimit(limit *int64)

SetLimit adds the limit to the image search params

func (*ImageSearchParams) SetListTags

func (o *ImageSearchParams) SetListTags(listTags *bool)

SetListTags adds the listTags to the image search params

func (*ImageSearchParams) SetTLSVerify

func (o *ImageSearchParams) SetTLSVerify(tLSVerify *bool)

SetTLSVerify adds the tlsVerify to the image search params

func (*ImageSearchParams) SetTerm

func (o *ImageSearchParams) SetTerm(term *string)

SetTerm adds the term to the image search params

func (*ImageSearchParams) SetTimeout

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

SetTimeout adds the timeout to the image search params

func (*ImageSearchParams) WithContext

func (o *ImageSearchParams) WithContext(ctx context.Context) *ImageSearchParams

WithContext adds the context to the image search params

func (*ImageSearchParams) WithDefaults

func (o *ImageSearchParams) WithDefaults() *ImageSearchParams

WithDefaults hydrates default values in the image search params (not the query body).

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

func (*ImageSearchParams) WithFilters

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

WithFilters adds the filters to the image search params

func (*ImageSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image search params

func (*ImageSearchParams) WithLimit

func (o *ImageSearchParams) WithLimit(limit *int64) *ImageSearchParams

WithLimit adds the limit to the image search params

func (*ImageSearchParams) WithListTags

func (o *ImageSearchParams) WithListTags(listTags *bool) *ImageSearchParams

WithListTags adds the listTags to the image search params

func (*ImageSearchParams) WithTLSVerify

func (o *ImageSearchParams) WithTLSVerify(tLSVerify *bool) *ImageSearchParams

WithTLSVerify adds the tLSVerify to the image search params

func (*ImageSearchParams) WithTerm

func (o *ImageSearchParams) WithTerm(term *string) *ImageSearchParams

WithTerm adds the term to the image search params

func (*ImageSearchParams) WithTimeout

func (o *ImageSearchParams) WithTimeout(timeout time.Duration) *ImageSearchParams

WithTimeout adds the timeout to the image search params

func (*ImageSearchParams) WriteToRequest

func (o *ImageSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageSearchReader

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

ImageSearchReader is a Reader for the ImageSearch structure.

func (*ImageSearchReader) ReadResponse

func (o *ImageSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImageTagBadRequest

type ImageTagBadRequest struct {
	Payload *ImageTagBadRequestBody
}

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

Bad parameter in request

func NewImageTagBadRequest

func NewImageTagBadRequest() *ImageTagBadRequest

NewImageTagBadRequest creates a ImageTagBadRequest with default headers values

func (*ImageTagBadRequest) Error

func (o *ImageTagBadRequest) Error() string

func (*ImageTagBadRequest) GetPayload

func (o *ImageTagBadRequest) GetPayload() *ImageTagBadRequestBody

func (*ImageTagBadRequest) IsClientError

func (o *ImageTagBadRequest) IsClientError() bool

IsClientError returns true when this image tag bad request response has a 4xx status code

func (*ImageTagBadRequest) IsCode

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

IsCode returns true when this image tag bad request response a status code equal to that given

func (*ImageTagBadRequest) IsRedirect

func (o *ImageTagBadRequest) IsRedirect() bool

IsRedirect returns true when this image tag bad request response has a 3xx status code

func (*ImageTagBadRequest) IsServerError

func (o *ImageTagBadRequest) IsServerError() bool

IsServerError returns true when this image tag bad request response has a 5xx status code

func (*ImageTagBadRequest) IsSuccess

func (o *ImageTagBadRequest) IsSuccess() bool

IsSuccess returns true when this image tag bad request response has a 2xx status code

func (*ImageTagBadRequest) String

func (o *ImageTagBadRequest) String() string

type ImageTagBadRequestBody

type ImageTagBadRequestBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageTagBadRequestBody image tag bad request body swagger:model ImageTagBadRequestBody

func (*ImageTagBadRequestBody) ContextValidate

func (o *ImageTagBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image tag bad request body based on context it is used

func (*ImageTagBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTagBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTagBadRequestBody) Validate

func (o *ImageTagBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this image tag bad request body

type ImageTagConflict

type ImageTagConflict struct {
	Payload *ImageTagConflictBody
}

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

Conflict error in operation

func NewImageTagConflict

func NewImageTagConflict() *ImageTagConflict

NewImageTagConflict creates a ImageTagConflict with default headers values

func (*ImageTagConflict) Error

func (o *ImageTagConflict) Error() string

func (*ImageTagConflict) GetPayload

func (o *ImageTagConflict) GetPayload() *ImageTagConflictBody

func (*ImageTagConflict) IsClientError

func (o *ImageTagConflict) IsClientError() bool

IsClientError returns true when this image tag conflict response has a 4xx status code

func (*ImageTagConflict) IsCode

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

IsCode returns true when this image tag conflict response a status code equal to that given

func (*ImageTagConflict) IsRedirect

func (o *ImageTagConflict) IsRedirect() bool

IsRedirect returns true when this image tag conflict response has a 3xx status code

func (*ImageTagConflict) IsServerError

func (o *ImageTagConflict) IsServerError() bool

IsServerError returns true when this image tag conflict response has a 5xx status code

func (*ImageTagConflict) IsSuccess

func (o *ImageTagConflict) IsSuccess() bool

IsSuccess returns true when this image tag conflict response has a 2xx status code

func (*ImageTagConflict) String

func (o *ImageTagConflict) String() string

type ImageTagConflictBody

type ImageTagConflictBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageTagConflictBody image tag conflict body swagger:model ImageTagConflictBody

func (*ImageTagConflictBody) ContextValidate

func (o *ImageTagConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image tag conflict body based on context it is used

func (*ImageTagConflictBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTagConflictBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTagConflictBody) Validate

func (o *ImageTagConflictBody) Validate(formats strfmt.Registry) error

Validate validates this image tag conflict body

type ImageTagCreated

type ImageTagCreated struct {
}

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

no error

func NewImageTagCreated

func NewImageTagCreated() *ImageTagCreated

NewImageTagCreated creates a ImageTagCreated with default headers values

func (*ImageTagCreated) Error

func (o *ImageTagCreated) Error() string

func (*ImageTagCreated) IsClientError

func (o *ImageTagCreated) IsClientError() bool

IsClientError returns true when this image tag created response has a 4xx status code

func (*ImageTagCreated) IsCode

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

IsCode returns true when this image tag created response a status code equal to that given

func (*ImageTagCreated) IsRedirect

func (o *ImageTagCreated) IsRedirect() bool

IsRedirect returns true when this image tag created response has a 3xx status code

func (*ImageTagCreated) IsServerError

func (o *ImageTagCreated) IsServerError() bool

IsServerError returns true when this image tag created response has a 5xx status code

func (*ImageTagCreated) IsSuccess

func (o *ImageTagCreated) IsSuccess() bool

IsSuccess returns true when this image tag created response has a 2xx status code

func (*ImageTagCreated) String

func (o *ImageTagCreated) String() string

type ImageTagInternalServerError

type ImageTagInternalServerError struct {
	Payload *ImageTagInternalServerErrorBody
}

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

Internal server error

func NewImageTagInternalServerError

func NewImageTagInternalServerError() *ImageTagInternalServerError

NewImageTagInternalServerError creates a ImageTagInternalServerError with default headers values

func (*ImageTagInternalServerError) Error

func (*ImageTagInternalServerError) GetPayload

func (*ImageTagInternalServerError) IsClientError

func (o *ImageTagInternalServerError) IsClientError() bool

IsClientError returns true when this image tag internal server error response has a 4xx status code

func (*ImageTagInternalServerError) IsCode

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

IsCode returns true when this image tag internal server error response a status code equal to that given

func (*ImageTagInternalServerError) IsRedirect

func (o *ImageTagInternalServerError) IsRedirect() bool

IsRedirect returns true when this image tag internal server error response has a 3xx status code

func (*ImageTagInternalServerError) IsServerError

func (o *ImageTagInternalServerError) IsServerError() bool

IsServerError returns true when this image tag internal server error response has a 5xx status code

func (*ImageTagInternalServerError) IsSuccess

func (o *ImageTagInternalServerError) IsSuccess() bool

IsSuccess returns true when this image tag internal server error response has a 2xx status code

func (*ImageTagInternalServerError) String

func (o *ImageTagInternalServerError) String() string

type ImageTagInternalServerErrorBody

type ImageTagInternalServerErrorBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageTagInternalServerErrorBody image tag internal server error body swagger:model ImageTagInternalServerErrorBody

func (*ImageTagInternalServerErrorBody) ContextValidate

func (o *ImageTagInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image tag internal server error body based on context it is used

func (*ImageTagInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTagInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTagInternalServerErrorBody) Validate

Validate validates this image tag internal server error body

type ImageTagNotFound

type ImageTagNotFound struct {
	Payload *ImageTagNotFoundBody
}

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

No such image

func NewImageTagNotFound

func NewImageTagNotFound() *ImageTagNotFound

NewImageTagNotFound creates a ImageTagNotFound with default headers values

func (*ImageTagNotFound) Error

func (o *ImageTagNotFound) Error() string

func (*ImageTagNotFound) GetPayload

func (o *ImageTagNotFound) GetPayload() *ImageTagNotFoundBody

func (*ImageTagNotFound) IsClientError

func (o *ImageTagNotFound) IsClientError() bool

IsClientError returns true when this image tag not found response has a 4xx status code

func (*ImageTagNotFound) IsCode

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

IsCode returns true when this image tag not found response a status code equal to that given

func (*ImageTagNotFound) IsRedirect

func (o *ImageTagNotFound) IsRedirect() bool

IsRedirect returns true when this image tag not found response has a 3xx status code

func (*ImageTagNotFound) IsServerError

func (o *ImageTagNotFound) IsServerError() bool

IsServerError returns true when this image tag not found response has a 5xx status code

func (*ImageTagNotFound) IsSuccess

func (o *ImageTagNotFound) IsSuccess() bool

IsSuccess returns true when this image tag not found response has a 2xx status code

func (*ImageTagNotFound) String

func (o *ImageTagNotFound) String() string

type ImageTagNotFoundBody

type ImageTagNotFoundBody struct {

	// API root cause formatted for automated parsing
	// Example: API root cause
	Because string `json:"cause,omitempty"`

	// human error message, formatted for a human to read
	// Example: human error message
	Message string `json:"message,omitempty"`

	// http response code
	ResponseCode int64 `json:"response,omitempty"`
}

ImageTagNotFoundBody image tag not found body swagger:model ImageTagNotFoundBody

func (*ImageTagNotFoundBody) ContextValidate

func (o *ImageTagNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image tag not found body based on context it is used

func (*ImageTagNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTagNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTagNotFoundBody) Validate

func (o *ImageTagNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this image tag not found body

type ImageTagParams

type ImageTagParams struct {

	/* Name.

	   the name or ID of the container
	*/
	Name string

	/* Repo.

	   the repository to tag in
	*/
	Repo *string

	/* Tag.

	   the name of the new tag
	*/
	Tag *string

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

ImageTagParams contains all the parameters to send to the API endpoint

for the image tag operation.

Typically these are written to a http.Request.

func NewImageTagParams

func NewImageTagParams() *ImageTagParams

NewImageTagParams creates a new ImageTagParams 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 NewImageTagParamsWithContext

func NewImageTagParamsWithContext(ctx context.Context) *ImageTagParams

NewImageTagParamsWithContext creates a new ImageTagParams object with the ability to set a context for a request.

func NewImageTagParamsWithHTTPClient

func NewImageTagParamsWithHTTPClient(client *http.Client) *ImageTagParams

NewImageTagParamsWithHTTPClient creates a new ImageTagParams object with the ability to set a custom HTTPClient for a request.

func NewImageTagParamsWithTimeout

func NewImageTagParamsWithTimeout(timeout time.Duration) *ImageTagParams

NewImageTagParamsWithTimeout creates a new ImageTagParams object with the ability to set a timeout on a request.

func (*ImageTagParams) SetContext

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

SetContext adds the context to the image tag params

func (*ImageTagParams) SetDefaults

func (o *ImageTagParams) SetDefaults()

SetDefaults hydrates default values in the image tag params (not the query body).

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

func (*ImageTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image tag params

func (*ImageTagParams) SetName

func (o *ImageTagParams) SetName(name string)

SetName adds the name to the image tag params

func (*ImageTagParams) SetRepo

func (o *ImageTagParams) SetRepo(repo *string)

SetRepo adds the repo to the image tag params

func (*ImageTagParams) SetTag

func (o *ImageTagParams) SetTag(tag *string)

SetTag adds the tag to the image tag params

func (*ImageTagParams) SetTimeout

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

SetTimeout adds the timeout to the image tag params

func (*ImageTagParams) WithContext

func (o *ImageTagParams) WithContext(ctx context.Context) *ImageTagParams

WithContext adds the context to the image tag params

func (*ImageTagParams) WithDefaults

func (o *ImageTagParams) WithDefaults() *ImageTagParams

WithDefaults hydrates default values in the image tag params (not the query body).

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

func (*ImageTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image tag params

func (*ImageTagParams) WithName

func (o *ImageTagParams) WithName(name string) *ImageTagParams

WithName adds the name to the image tag params

func (*ImageTagParams) WithRepo

func (o *ImageTagParams) WithRepo(repo *string) *ImageTagParams

WithRepo adds the repo to the image tag params

func (*ImageTagParams) WithTag

func (o *ImageTagParams) WithTag(tag *string) *ImageTagParams

WithTag adds the tag to the image tag params

func (*ImageTagParams) WithTimeout

func (o *ImageTagParams) WithTimeout(timeout time.Duration) *ImageTagParams

WithTimeout adds the timeout to the image tag params

func (*ImageTagParams) WriteToRequest

func (o *ImageTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImageTagReader

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

ImageTagReader is a Reader for the ImageTag structure.

func (*ImageTagReader) ReadResponse

func (o *ImageTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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