image

package
v0.0.0-...-8251c7d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildPruneInternalServerError

type BuildPruneInternalServerError struct {
	Payload *models.ErrorResponse
}
BuildPruneInternalServerError describes a response with status code 500, with default header values.

Server error

func NewBuildPruneInternalServerError

func NewBuildPruneInternalServerError() *BuildPruneInternalServerError

NewBuildPruneInternalServerError creates a BuildPruneInternalServerError with default headers values

func (*BuildPruneInternalServerError) Error

func (*BuildPruneInternalServerError) GetPayload

func (*BuildPruneInternalServerError) IsClientError

func (o *BuildPruneInternalServerError) IsClientError() bool

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

func (*BuildPruneInternalServerError) IsCode

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

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

func (*BuildPruneInternalServerError) IsRedirect

func (o *BuildPruneInternalServerError) IsRedirect() bool

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

func (*BuildPruneInternalServerError) IsServerError

func (o *BuildPruneInternalServerError) IsServerError() bool

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

func (*BuildPruneInternalServerError) IsSuccess

func (o *BuildPruneInternalServerError) IsSuccess() bool

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

func (*BuildPruneInternalServerError) String

type BuildPruneOK

type BuildPruneOK struct {
	Payload *BuildPruneOKBody
}
BuildPruneOK describes a response with status code 200, with default header values.

No error

func NewBuildPruneOK

func NewBuildPruneOK() *BuildPruneOK

NewBuildPruneOK creates a BuildPruneOK with default headers values

func (*BuildPruneOK) Error

func (o *BuildPruneOK) Error() string

func (*BuildPruneOK) GetPayload

func (o *BuildPruneOK) GetPayload() *BuildPruneOKBody

func (*BuildPruneOK) IsClientError

func (o *BuildPruneOK) IsClientError() bool

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

func (*BuildPruneOK) IsCode

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

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

func (*BuildPruneOK) IsRedirect

func (o *BuildPruneOK) IsRedirect() bool

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

func (*BuildPruneOK) IsServerError

func (o *BuildPruneOK) IsServerError() bool

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

func (*BuildPruneOK) IsSuccess

func (o *BuildPruneOK) IsSuccess() bool

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

func (*BuildPruneOK) String

func (o *BuildPruneOK) String() string

type BuildPruneOKBody

type BuildPruneOKBody struct {

	// caches deleted
	CachesDeleted []string `json:"CachesDeleted"`

	// Disk space reclaimed in bytes
	SpaceReclaimed int64 `json:"SpaceReclaimed,omitempty"`
}

BuildPruneOKBody BuildPruneResponse swagger:model BuildPruneOKBody

func (*BuildPruneOKBody) ContextValidate

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

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

func (*BuildPruneOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*BuildPruneOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BuildPruneOKBody) Validate

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

Validate validates this build prune o k body

type BuildPruneParams

type BuildPruneParams struct {

	/* All.

	   Remove all types of build cache
	*/
	All *bool

	/* Filters.

	     A JSON encoded value of the filters (a `map[string][]string`) to process on the list of build cache objects. Available filters:
	- `until=<duration>`: duration relative to daemon's time, during which build cache was not used, in Go's duration format (e.g., '24h')
	- `id=<id>`
	- `parent=<id>`
	- `type=<string>`
	- `description=<string>`
	- `inuse`
	- `shared`
	- `private`

	*/
	Filters *string

	/* KeepStorage.

	   Amount of disk space in bytes to keep for cache

	   Format: int64
	*/
	KeepStorage *int64

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

BuildPruneParams contains all the parameters to send to the API endpoint

for the build prune operation.

Typically these are written to a http.Request.

func NewBuildPruneParams

func NewBuildPruneParams() *BuildPruneParams

NewBuildPruneParams creates a new BuildPruneParams 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 NewBuildPruneParamsWithContext

func NewBuildPruneParamsWithContext(ctx context.Context) *BuildPruneParams

NewBuildPruneParamsWithContext creates a new BuildPruneParams object with the ability to set a context for a request.

func NewBuildPruneParamsWithHTTPClient

func NewBuildPruneParamsWithHTTPClient(client *http.Client) *BuildPruneParams

NewBuildPruneParamsWithHTTPClient creates a new BuildPruneParams object with the ability to set a custom HTTPClient for a request.

func NewBuildPruneParamsWithTimeout

func NewBuildPruneParamsWithTimeout(timeout time.Duration) *BuildPruneParams

NewBuildPruneParamsWithTimeout creates a new BuildPruneParams object with the ability to set a timeout on a request.

func (*BuildPruneParams) SetAll

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

SetAll adds the all to the build prune params

func (*BuildPruneParams) SetContext

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

SetContext adds the context to the build prune params

func (*BuildPruneParams) SetDefaults

func (o *BuildPruneParams) SetDefaults()

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

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

func (*BuildPruneParams) SetFilters

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

SetFilters adds the filters to the build prune params

func (*BuildPruneParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the build prune params

func (*BuildPruneParams) SetKeepStorage

func (o *BuildPruneParams) SetKeepStorage(keepStorage *int64)

SetKeepStorage adds the keepStorage to the build prune params

func (*BuildPruneParams) SetTimeout

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

SetTimeout adds the timeout to the build prune params

func (*BuildPruneParams) WithAll

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

WithAll adds the all to the build prune params

func (*BuildPruneParams) WithContext

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

WithContext adds the context to the build prune params

func (*BuildPruneParams) WithDefaults

func (o *BuildPruneParams) WithDefaults() *BuildPruneParams

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

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

func (*BuildPruneParams) WithFilters

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

WithFilters adds the filters to the build prune params

func (*BuildPruneParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the build prune params

func (*BuildPruneParams) WithKeepStorage

func (o *BuildPruneParams) WithKeepStorage(keepStorage *int64) *BuildPruneParams

WithKeepStorage adds the keepStorage to the build prune params

func (*BuildPruneParams) WithTimeout

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

WithTimeout adds the timeout to the build prune params

func (*BuildPruneParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type BuildPruneReader

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

BuildPruneReader is a Reader for the BuildPrune structure.

func (*BuildPruneReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for image API

func (*Client) BuildPrune

func (a *Client) BuildPrune(params *BuildPruneParams, opts ...ClientOption) (*BuildPruneOK, error)

BuildPrune deletes builder cache

func (*Client) ImageBuild

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

Build an image from a tar archive with a `Dockerfile` in it.

The `Dockerfile` specifies how the image is built from the tar archive. It is typically in the archive's root, but can be at a different path or have a different name by specifying the `dockerfile` parameter. [See the `Dockerfile` reference for more information](https://docs.docker.com/engine/reference/builder/).

The Docker daemon performs a preliminary validation of the `Dockerfile` before starting the build, and returns an error if the syntax is incorrect. After that, each instruction is run one-by-one until the ID of the new image is output.

The build is canceled if the client drops the connection by quitting or being killed.

func (*Client) ImageCommit

func (a *Client) ImageCommit(params *ImageCommitParams, opts ...ClientOption) (*ImageCommitCreated, error)

ImageCommit creates a new image from a container

func (*Client) ImageCreate

func (a *Client) ImageCreate(params *ImageCreateParams, 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 an image

Remove an image, along with any untagged parent images that were

referenced by that image.

Images can't be removed if they have descendant images, are being used by a running container or are being used by a build.

func (*Client) ImageGet

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

Get a tarball containing all images and metadata for a repository.

If `name` is a specific name and tag (e.g. `ubuntu:latest`), then only that image (and its parents) are returned. If `name` is an image ID, similarly only that image (and its parents) are returned, but with the exclusion of the `repositories` file in the tarball, as there were no image names referenced.

### Image tarball format

An image tarball contains one directory per image layer (named using its long ID), each containing these files:

- `VERSION`: currently `1.0` - the file format version - `json`: detailed layer information, similar to `docker inspect layer_id` - `layer.tar`: A tarfile containing the filesystem changes in this layer

The `layer.tar` file contains `aufs` style `.wh..wh.aufs` files and directories for storing attribute changes and deletions.

If the tarball defines a repository, the tarball should also include a `repositories` file at the root that contains a list of repository and tag names mapped to layer IDs.

```json

{
  "hello-world": {
    "latest": "565a9d68a73f6706862bfe8409a7f659776d4d60a8d096eb4a3cbce6999cc2a1"
  }
}

```

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.

For each value of the `names` parameter: if it is a specific name and tag (e.g. `ubuntu:latest`), then only that image (and its parents) are returned; if it is an image ID, similarly only that image (and its parents) are returned and there would be no names referenced in the 'repositories' file for this image ID.

For details on the format, see [the export image endpoint](#operation/ImageGet).

func (*Client) ImageHistory

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

ImageHistory gets the history 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 images

Load a set of images and tags into a repository.

For details on the format, see [the export image endpoint](#operation/ImageGet).

func (*Client) ImagePrune

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

ImagePrune deletes unused images

func (*Client) ImagePush

func (a *Client) ImagePush(params *ImagePushParams, opts ...ClientOption) (*ImagePushOK, error)
ImagePush pushes an image

Push an image to a registry.

If you wish to push an image on to a private registry, that image must already have a tag which references the registry. For example, `registry.example.com/myimage:latest`.

The push is cancelled if the HTTP connection is closed.

func (*Client) ImageSearch

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

ImageSearch searches images

Search for an image on Docker Hub.

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 {
	BuildPrune(params *BuildPruneParams, opts ...ClientOption) (*BuildPruneOK, error)

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

	ImageCommit(params *ImageCommitParams, opts ...ClientOption) (*ImageCommitCreated, error)

	ImageCreate(params *ImageCreateParams, 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, 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 image API client.

type HistoryResponseItem

type HistoryResponseItem struct {

	// comment
	// Required: true
	Comment string `json:"Comment"`

	// created
	// Required: true
	Created int64 `json:"Created"`

	// created by
	// Required: true
	CreatedBy string `json:"CreatedBy"`

	// Id
	// Required: true
	ID string `json:"Id"`

	// size
	// Required: true
	Size int64 `json:"Size"`

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

HistoryResponseItem HistoryResponseItem // // individual image layer information in response to ImageHistory operation swagger:model HistoryResponseItem

func (*HistoryResponseItem) ContextValidate

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

ContextValidate validates this history response item based on context it is used

func (*HistoryResponseItem) MarshalBinary

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

MarshalBinary interface implementation

func (*HistoryResponseItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HistoryResponseItem) Validate

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

Validate validates this history response item

type ImageBuildBadRequest

type ImageBuildBadRequest struct {
	Payload *models.ErrorResponse
}
ImageBuildBadRequest describes a response with status code 400, with default header values.

Bad parameter

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 (o *ImageBuildBadRequest) GetPayload() *models.ErrorResponse

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 ImageBuildInternalServerError

type ImageBuildInternalServerError struct {
	Payload *models.ErrorResponse
}
ImageBuildInternalServerError describes a response with status code 500, with default header values.

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 ImageBuildOK

type ImageBuildOK struct {
}
ImageBuildOK describes a response with status code 200, with default header values.

no error

func NewImageBuildOK

func NewImageBuildOK() *ImageBuildOK

NewImageBuildOK creates a ImageBuildOK with default headers values

func (*ImageBuildOK) Error

func (o *ImageBuildOK) Error() string

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 ImageBuildParams

type ImageBuildParams struct {

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

	/* XRegistryConfig.

	     This is a base64-encoded JSON object with auth configurations for multiple registries that a build may refer to.

	The key is a registry URL, and the value is an auth configuration object, [as described in the authentication section](#section/Authentication). For example:

	“`
	{
	  "docker.example.com": {
	    "username": "janedoe",
	    "password": "hunter2"
	  },
	  "https://index.docker.io/v1/": {
	    "username": "mobydock",
	    "password": "conta1n3rize14"
	  }
	}
	“`

	Only the registry domain name (and port if not the default 443) are required. However, for legacy reasons, the Docker Hub registry must be specified with both a `https://` prefix and a `/v1/` suffix even though Docker will prefer to use the v2 registry API.

	*/
	XRegistryConfig *string

	/* Buildargs.

	     JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values.

	For example, the build arg `FOO=bar` would become `{"FOO":"bar"}` in JSON. This would result in the the query parameter `buildargs={"FOO":"bar"}`. Note that `{"FOO":"bar"}` should be URI component encoded.

	[Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)

	*/
	Buildargs *string

	/* Cachefrom.

	   JSON array of images used for build cache resolution.
	*/
	Cachefrom *string

	/* Cpuperiod.

	   The length of a CPU period in microseconds.
	*/
	Cpuperiod *int64

	/* Cpuquota.

	   Microseconds of CPU time that the container can get in a CPU period.
	*/
	Cpuquota *int64

	/* Cpusetcpus.

	   CPUs in which to allow execution (e.g., `0-3`, `0,1`).
	*/
	Cpusetcpus *string

	/* Cpushares.

	   CPU shares (relative weight).
	*/
	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.

	   Extra hosts to add to /etc/hosts
	*/
	Extrahosts *string

	/* Forcerm.

	   Always remove intermediate containers, even upon failure.
	*/
	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.

	   Arbitrary key/value labels to set on the image, as a JSON map of string pairs.
	*/
	Labels *string

	/* Memory.

	   Set memory limit for build.
	*/
	Memory *int64

	/* Memswap.

	   Total memory (memory + swap). Set as `-1` to disable swap.
	*/
	Memswap *int64

	/* Networkmode.

	     Sets the networking mode for the run commands during build. Supported
	standard values are: `bridge`, `host`, `none`, and `container:<name|id>`.
	Any other value is taken as a custom network's name or ID to which this
	container should connect to.

	*/
	Networkmode *string

	/* Nocache.

	   Do not use the cache when building the image.
	*/
	Nocache *bool

	/* Outputs.

	   BuildKit output configuration
	*/
	Outputs *string

	/* Platform.

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

	/* Pull.

	   Attempt to pull the image even if an older image exists locally.
	*/
	Pull *string

	/* 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.
	*/
	Remote *string

	/* Rm.

	   Remove intermediate containers after a successful build.

	   Default: true
	*/
	Rm *bool

	/* Shmsize.

	   Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB.
	*/
	Shmsize *int64

	/* Squash.

	   Squash the resulting images layers into a single layer. *(Experimental release only.)*
	*/
	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.
	*/
	T *string

	/* Target.

	   Target build stage
	*/
	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 *string)

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 *string) *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 ImageCommitCreated

type ImageCommitCreated struct {
	Payload *models.IDResponse
}
ImageCommitCreated describes a response with status code 201, with default header values.

no error

func NewImageCommitCreated

func NewImageCommitCreated() *ImageCommitCreated

NewImageCommitCreated creates a ImageCommitCreated with default headers values

func (*ImageCommitCreated) Error

func (o *ImageCommitCreated) Error() string

func (*ImageCommitCreated) GetPayload

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

func (*ImageCommitCreated) IsClientError

func (o *ImageCommitCreated) IsClientError() bool

IsClientError returns true when this image commit created response has a 4xx status code

func (*ImageCommitCreated) IsCode

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

IsCode returns true when this image commit created response a status code equal to that given

func (*ImageCommitCreated) IsRedirect

func (o *ImageCommitCreated) IsRedirect() bool

IsRedirect returns true when this image commit created response has a 3xx status code

func (*ImageCommitCreated) IsServerError

func (o *ImageCommitCreated) IsServerError() bool

IsServerError returns true when this image commit created response has a 5xx status code

func (*ImageCommitCreated) IsSuccess

func (o *ImageCommitCreated) IsSuccess() bool

IsSuccess returns true when this image commit created response has a 2xx status code

func (*ImageCommitCreated) String

func (o *ImageCommitCreated) String() string

type ImageCommitInternalServerError

type ImageCommitInternalServerError struct {
	Payload *models.ErrorResponse
}
ImageCommitInternalServerError describes a response with status code 500, with default header values.

server error

func NewImageCommitInternalServerError

func NewImageCommitInternalServerError() *ImageCommitInternalServerError

NewImageCommitInternalServerError creates a ImageCommitInternalServerError with default headers values

func (*ImageCommitInternalServerError) Error

func (*ImageCommitInternalServerError) GetPayload

func (*ImageCommitInternalServerError) IsClientError

func (o *ImageCommitInternalServerError) IsClientError() bool

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

func (*ImageCommitInternalServerError) IsCode

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

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

func (*ImageCommitInternalServerError) IsRedirect

func (o *ImageCommitInternalServerError) IsRedirect() bool

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

func (*ImageCommitInternalServerError) IsServerError

func (o *ImageCommitInternalServerError) IsServerError() bool

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

func (*ImageCommitInternalServerError) IsSuccess

func (o *ImageCommitInternalServerError) IsSuccess() bool

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

func (*ImageCommitInternalServerError) String

type ImageCommitNotFound

type ImageCommitNotFound struct {
	Payload *models.ErrorResponse
}
ImageCommitNotFound describes a response with status code 404, with default header values.

no such container

func NewImageCommitNotFound

func NewImageCommitNotFound() *ImageCommitNotFound

NewImageCommitNotFound creates a ImageCommitNotFound with default headers values

func (*ImageCommitNotFound) Error

func (o *ImageCommitNotFound) Error() string

func (*ImageCommitNotFound) GetPayload

func (o *ImageCommitNotFound) GetPayload() *models.ErrorResponse

func (*ImageCommitNotFound) IsClientError

func (o *ImageCommitNotFound) IsClientError() bool

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

func (*ImageCommitNotFound) IsCode

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

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

func (*ImageCommitNotFound) IsRedirect

func (o *ImageCommitNotFound) IsRedirect() bool

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

func (*ImageCommitNotFound) IsServerError

func (o *ImageCommitNotFound) IsServerError() bool

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

func (*ImageCommitNotFound) IsSuccess

func (o *ImageCommitNotFound) IsSuccess() bool

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

func (*ImageCommitNotFound) String

func (o *ImageCommitNotFound) String() string

type ImageCommitParams

type ImageCommitParams struct {

	/* Author.

	   Author of the image (e.g., `John Hannibal Smith <hannibal@a-team.com>`)
	*/
	Author *string

	/* Changes.

	   `Dockerfile` instructions to apply while committing
	*/
	Changes *string

	/* Comment.

	   Commit message
	*/
	Comment *string

	/* Container.

	   The ID or name of the container to commit
	*/
	Container *string

	/* ContainerConfig.

	   The container configuration
	*/
	ContainerConfig *models.ContainerConfig

	/* Pause.

	   Whether to pause the container before committing

	   Default: true
	*/
	Pause *bool

	/* Repo.

	   Repository name for the created image
	*/
	Repo *string

	/* Tag.

	   Tag name for the create image
	*/
	Tag *string

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

ImageCommitParams contains all the parameters to send to the API endpoint

for the image commit operation.

Typically these are written to a http.Request.

func NewImageCommitParams

func NewImageCommitParams() *ImageCommitParams

NewImageCommitParams creates a new ImageCommitParams 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 NewImageCommitParamsWithContext

func NewImageCommitParamsWithContext(ctx context.Context) *ImageCommitParams

NewImageCommitParamsWithContext creates a new ImageCommitParams object with the ability to set a context for a request.

func NewImageCommitParamsWithHTTPClient

func NewImageCommitParamsWithHTTPClient(client *http.Client) *ImageCommitParams

NewImageCommitParamsWithHTTPClient creates a new ImageCommitParams object with the ability to set a custom HTTPClient for a request.

func NewImageCommitParamsWithTimeout

func NewImageCommitParamsWithTimeout(timeout time.Duration) *ImageCommitParams

NewImageCommitParamsWithTimeout creates a new ImageCommitParams object with the ability to set a timeout on a request.

func (*ImageCommitParams) SetAuthor

func (o *ImageCommitParams) SetAuthor(author *string)

SetAuthor adds the author to the image commit params

func (*ImageCommitParams) SetChanges

func (o *ImageCommitParams) SetChanges(changes *string)

SetChanges adds the changes to the image commit params

func (*ImageCommitParams) SetComment

func (o *ImageCommitParams) SetComment(comment *string)

SetComment adds the comment to the image commit params

func (*ImageCommitParams) SetContainer

func (o *ImageCommitParams) SetContainer(container *string)

SetContainer adds the container to the image commit params

func (*ImageCommitParams) SetContainerConfig

func (o *ImageCommitParams) SetContainerConfig(containerConfig *models.ContainerConfig)

SetContainerConfig adds the containerConfig to the image commit params

func (*ImageCommitParams) SetContext

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

SetContext adds the context to the image commit params

func (*ImageCommitParams) SetDefaults

func (o *ImageCommitParams) SetDefaults()

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

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

func (*ImageCommitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the image commit params

func (*ImageCommitParams) SetPause

func (o *ImageCommitParams) SetPause(pause *bool)

SetPause adds the pause to the image commit params

func (*ImageCommitParams) SetRepo

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

SetRepo adds the repo to the image commit params

func (*ImageCommitParams) SetTag

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

SetTag adds the tag to the image commit params

func (*ImageCommitParams) SetTimeout

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

SetTimeout adds the timeout to the image commit params

func (*ImageCommitParams) WithAuthor

func (o *ImageCommitParams) WithAuthor(author *string) *ImageCommitParams

WithAuthor adds the author to the image commit params

func (*ImageCommitParams) WithChanges

func (o *ImageCommitParams) WithChanges(changes *string) *ImageCommitParams

WithChanges adds the changes to the image commit params

func (*ImageCommitParams) WithComment

func (o *ImageCommitParams) WithComment(comment *string) *ImageCommitParams

WithComment adds the comment to the image commit params

func (*ImageCommitParams) WithContainer

func (o *ImageCommitParams) WithContainer(container *string) *ImageCommitParams

WithContainer adds the container to the image commit params

func (*ImageCommitParams) WithContainerConfig

func (o *ImageCommitParams) WithContainerConfig(containerConfig *models.ContainerConfig) *ImageCommitParams

WithContainerConfig adds the containerConfig to the image commit params

func (*ImageCommitParams) WithContext

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

WithContext adds the context to the image commit params

func (*ImageCommitParams) WithDefaults

func (o *ImageCommitParams) WithDefaults() *ImageCommitParams

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

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

func (*ImageCommitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the image commit params

func (*ImageCommitParams) WithPause

func (o *ImageCommitParams) WithPause(pause *bool) *ImageCommitParams

WithPause adds the pause to the image commit params

func (*ImageCommitParams) WithRepo

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

WithRepo adds the repo to the image commit params

func (*ImageCommitParams) WithTag

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

WithTag adds the tag to the image commit params

func (*ImageCommitParams) WithTimeout

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

WithTimeout adds the timeout to the image commit params

func (*ImageCommitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImageCommitReader

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

ImageCommitReader is a Reader for the ImageCommit structure.

func (*ImageCommitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImageCreateInternalServerError

type ImageCreateInternalServerError struct {
	Payload *models.ErrorResponse
}
ImageCreateInternalServerError describes a response with status code 500, with default header values.

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 ImageCreateNotFound

type ImageCreateNotFound struct {
	Payload *models.ErrorResponse
}
ImageCreateNotFound describes a response with status code 404, with default header values.

repository does not exist or no read access

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 (o *ImageCreateNotFound) GetPayload() *models.ErrorResponse

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 ImageCreateOK

type ImageCreateOK struct {
}
ImageCreateOK describes a response with status code 200, with default header values.

no error

func NewImageCreateOK

func NewImageCreateOK() *ImageCreateOK

NewImageCreateOK creates a ImageCreateOK with default headers values

func (*ImageCreateOK) Error

func (o *ImageCreateOK) Error() string

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. [See the authentication section for details.](#section/Authentication)
	*/
	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 the value `-` has been specified in fromSrc query parameter
	*/
	InputImage 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 string)

SetInputImage adds the inputImage 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 string) *ImageCreateParams

WithInputImage adds the inputImage 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 *models.ErrorResponse
}
ImageDeleteConflict describes a response with status code 409, with default header values.

Conflict

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 (o *ImageDeleteConflict) GetPayload() *models.ErrorResponse

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 ImageDeleteInternalServerError

type ImageDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}
ImageDeleteInternalServerError describes a response with status code 500, with default header values.

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 ImageDeleteNotFound

type ImageDeleteNotFound struct {
	Payload *models.ErrorResponse
}
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 (o *ImageDeleteNotFound) GetPayload() *models.ErrorResponse

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 ImageDeleteOK

type ImageDeleteOK struct {
	Payload []*models.ImageDeleteResponseItem
}
ImageDeleteOK describes a response with status code 200, with default header values.

The image was deleted successfully

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() []*models.ImageDeleteResponseItem

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 ImageDeleteParams

type ImageDeleteParams struct {

	/* Force.

	   Remove the image even if it is being used by stopped containers or has other tags
	*/
	Force *bool

	/* Name.

	   Image name or ID
	*/
	Name string

	/* Noprune.

	   Do not delete untagged parent images
	*/
	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 *models.ErrorResponse
}
ImageGetAllInternalServerError describes a response with status code 500, with default header values.

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

	   Image names to filter by
	*/
	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 *models.ErrorResponse
}
ImageGetInternalServerError describes a response with status code 500, with default header values.

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

	   Image name or ID
	*/
	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 *models.ErrorResponse
}
ImageHistoryInternalServerError describes a response with status code 500, with default header values.

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 ImageHistoryNotFound

type ImageHistoryNotFound struct {
	Payload *models.ErrorResponse
}
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 (o *ImageHistoryNotFound) GetPayload() *models.ErrorResponse

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 ImageHistoryOK

type ImageHistoryOK struct {
	Payload []*HistoryResponseItem
}
ImageHistoryOK describes a response with status code 200, with default header values.

List of image layers

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() []*HistoryResponseItem

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 ImageHistoryParams

type ImageHistoryParams struct {

	/* Name.

	   Image name or ID
	*/
	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 *models.ErrorResponse
}
ImageInspectInternalServerError describes a response with status code 500, with default header values.

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 ImageInspectNotFound

type ImageInspectNotFound struct {
	Payload *models.ErrorResponse
}
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 (o *ImageInspectNotFound) GetPayload() *models.ErrorResponse

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 ImageInspectOK

type ImageInspectOK struct {
	Payload *models.Image
}
ImageInspectOK describes a response with status code 200, with default header values.

No error

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() *models.Image

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 ImageInspectParams

type ImageInspectParams struct {

	/* Name.

	   Image name or id
	*/
	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 *models.ErrorResponse
}
ImageListInternalServerError describes a response with status code 500, with default header values.

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 ImageListOK

type ImageListOK struct {
	Payload []*models.ImageSummary
}
ImageListOK describes a response with status code 200, with default header values.

Summary image data for the images matching the query

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.

	   Show digest information as a `RepoDigests` field on each image.
	*/
	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 *models.ErrorResponse
}
ImageLoadInternalServerError describes a response with status code 500, with default header values.

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 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 {

	/* ImagesTarball.

	   Tar archive containing images

	   Format: binary
	*/
	ImagesTarball io.ReadCloser

	/* Quiet.

	   Suppress progress details during load.
	*/
	Quiet *bool

	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) SetImagesTarball

func (o *ImageLoadParams) SetImagesTarball(imagesTarball io.ReadCloser)

SetImagesTarball adds the imagesTarball 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) 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) WithImagesTarball

func (o *ImageLoadParams) WithImagesTarball(imagesTarball io.ReadCloser) *ImageLoadParams

WithImagesTarball adds the imagesTarball 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) 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 *models.ErrorResponse
}
ImagePruneInternalServerError describes a response with status code 500, with default header values.

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 ImagePruneOK

type ImagePruneOK struct {
	Payload *ImagePruneOKBody
}
ImagePruneOK describes a response with status code 200, with default header values.

No error

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() *ImagePruneOKBody

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 ImagePruneOKBody

type ImagePruneOKBody struct {

	// Images that were deleted
	ImagesDeleted []*models.ImageDeleteResponseItem `json:"ImagesDeleted"`

	// Disk space reclaimed in bytes
	SpaceReclaimed int64 `json:"SpaceReclaimed,omitempty"`
}

ImagePruneOKBody ImagePruneResponse swagger:model ImagePruneOKBody

func (*ImagePruneOKBody) ContextValidate

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

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

func (*ImagePruneOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePruneOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePruneOKBody) Validate

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

Validate validates this image prune o k body

type ImagePruneParams

type ImagePruneParams struct {

	/* Filters.

	     Filters to process on the prune list, encoded as JSON (a `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 *models.ErrorResponse
}
ImagePushInternalServerError describes a response with status code 500, with default header values.

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 ImagePushNotFound

type ImagePushNotFound struct {
	Payload *models.ErrorResponse
}
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() *models.ErrorResponse

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 ImagePushOK

type ImagePushOK struct {
}
ImagePushOK describes a response with status code 200, with default header values.

No error

func NewImagePushOK

func NewImagePushOK() *ImagePushOK

NewImagePushOK creates a ImagePushOK with default headers values

func (*ImagePushOK) Error

func (o *ImagePushOK) Error() string

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. [See the authentication section for details.](#section/Authentication)
	*/
	XRegistryAuth string

	/* Name.

	   Image name or ID.
	*/
	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) 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) 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) 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) 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 ImageSearchInternalServerError

type ImageSearchInternalServerError struct {
	Payload *models.ErrorResponse
}
ImageSearchInternalServerError describes a response with status code 500, with default header values.

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 ImageSearchOK

type ImageSearchOK struct {
	Payload []*ImageSearchOKBodyItems0
}
ImageSearchOK describes a response with status code 200, with default header values.

No error

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() []*ImageSearchOKBodyItems0

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 ImageSearchOKBodyItems0

type ImageSearchOKBodyItems0 struct {

	// description
	Description string `json:"description,omitempty"`

	// is automated
	IsAutomated bool `json:"is_automated,omitempty"`

	// is official
	IsOfficial bool `json:"is_official,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// star count
	StarCount int64 `json:"star_count,omitempty"`
}

ImageSearchOKBodyItems0 ImageSearchResponseItem swagger:model ImageSearchOKBodyItems0

func (*ImageSearchOKBodyItems0) ContextValidate

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

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

func (*ImageSearchOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageSearchOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageSearchOKBodyItems0) Validate

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

Validate validates this image search o k body items0

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 to return
	*/
	Limit *int64

	/* Term.

	   Term to search
	*/
	Term string

	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) 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) 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 *models.ErrorResponse
}
ImageTagBadRequest describes a response with status code 400, with default header values.

Bad parameter

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() *models.ErrorResponse

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 ImageTagConflict

type ImageTagConflict struct {
	Payload *models.ErrorResponse
}
ImageTagConflict describes a response with status code 409, with default header values.

Conflict

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() *models.ErrorResponse

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 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 *models.ErrorResponse
}
ImageTagInternalServerError describes a response with status code 500, with default header values.

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 ImageTagNotFound

type ImageTagNotFound struct {
	Payload *models.ErrorResponse
}
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() *models.ErrorResponse

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 ImageTagParams

type ImageTagParams struct {

	/* Name.

	   Image name or ID to tag.
	*/
	Name string

	/* Repo.

	   The repository to tag in. For example, `someuser/someimage`.
	*/
	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