Documentation ¶
Index ¶
- type BuildPruneInternalServerError
- type BuildPruneOK
- type BuildPruneParams
- func (o *BuildPruneParams) SetContext(ctx context.Context)
- func (o *BuildPruneParams) SetHTTPClient(client *http.Client)
- func (o *BuildPruneParams) SetTimeout(timeout time.Duration)
- func (o *BuildPruneParams) WithContext(ctx context.Context) *BuildPruneParams
- func (o *BuildPruneParams) WithHTTPClient(client *http.Client) *BuildPruneParams
- func (o *BuildPruneParams) WithTimeout(timeout time.Duration) *BuildPruneParams
- func (o *BuildPruneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BuildPruneReader
- type Client
- func (a *Client) BuildPrune(params *BuildPruneParams) (*BuildPruneOK, error)
- func (a *Client) ImageBuild(params *ImageBuildParams) (*ImageBuildOK, error)
- func (a *Client) ImageCommit(params *ImageCommitParams) (*ImageCommitCreated, error)
- func (a *Client) ImageCreate(params *ImageCreateParams) (*ImageCreateOK, error)
- func (a *Client) ImageDelete(params *ImageDeleteParams) (*ImageDeleteOK, error)
- func (a *Client) ImageGet(params *ImageGetParams, writer io.Writer) (*ImageGetOK, error)
- func (a *Client) ImageGetAll(params *ImageGetAllParams, writer io.Writer) (*ImageGetAllOK, error)
- func (a *Client) ImageHistory(params *ImageHistoryParams) (*ImageHistoryOK, error)
- func (a *Client) ImageInspect(params *ImageInspectParams) (*ImageInspectOK, error)
- func (a *Client) ImageList(params *ImageListParams) (*ImageListOK, error)
- func (a *Client) ImageLoad(params *ImageLoadParams) (*ImageLoadOK, error)
- func (a *Client) ImagePrune(params *ImagePruneParams) (*ImagePruneOK, error)
- func (a *Client) ImagePush(params *ImagePushParams) (*ImagePushOK, error)
- func (a *Client) ImageSearch(params *ImageSearchParams) (*ImageSearchOK, error)
- func (a *Client) ImageTag(params *ImageTagParams) (*ImageTagCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ImageBuildBadRequest
- type ImageBuildInternalServerError
- type ImageBuildOK
- type ImageBuildParams
- func (o *ImageBuildParams) SetBuildargs(buildargs *int64)
- func (o *ImageBuildParams) SetCachefrom(cachefrom *string)
- func (o *ImageBuildParams) SetContentType(contentType *string)
- func (o *ImageBuildParams) SetContext(ctx context.Context)
- func (o *ImageBuildParams) SetCpuperiod(cpuperiod *int64)
- func (o *ImageBuildParams) SetCpuquota(cpuquota *int64)
- func (o *ImageBuildParams) SetCpusetcpus(cpusetcpus *string)
- func (o *ImageBuildParams) SetCpushares(cpushares *int64)
- func (o *ImageBuildParams) SetDockerfile(dockerfile *string)
- func (o *ImageBuildParams) SetExtrahosts(extrahosts *string)
- func (o *ImageBuildParams) SetForcerm(forcerm *bool)
- func (o *ImageBuildParams) SetHTTPClient(client *http.Client)
- func (o *ImageBuildParams) SetInputStream(inputStream io.ReadCloser)
- func (o *ImageBuildParams) SetLabels(labels *string)
- func (o *ImageBuildParams) SetMemory(memory *int64)
- func (o *ImageBuildParams) SetMemswap(memswap *int64)
- func (o *ImageBuildParams) SetNetworkmode(networkmode *string)
- func (o *ImageBuildParams) SetNocache(nocache *bool)
- func (o *ImageBuildParams) SetPlatform(platform *string)
- func (o *ImageBuildParams) SetPull(pull *string)
- func (o *ImageBuildParams) SetQ(q *bool)
- func (o *ImageBuildParams) SetRemote(remote *string)
- func (o *ImageBuildParams) SetRm(rm *bool)
- func (o *ImageBuildParams) SetShmsize(shmsize *int64)
- func (o *ImageBuildParams) SetSquash(squash *bool)
- func (o *ImageBuildParams) SetT(t *string)
- func (o *ImageBuildParams) SetTimeout(timeout time.Duration)
- func (o *ImageBuildParams) SetXRegistryConfig(xRegistryConfig *string)
- func (o *ImageBuildParams) WithBuildargs(buildargs *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithCachefrom(cachefrom *string) *ImageBuildParams
- func (o *ImageBuildParams) WithContentType(contentType *string) *ImageBuildParams
- func (o *ImageBuildParams) WithContext(ctx context.Context) *ImageBuildParams
- func (o *ImageBuildParams) WithCpuperiod(cpuperiod *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithCpuquota(cpuquota *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithCpusetcpus(cpusetcpus *string) *ImageBuildParams
- func (o *ImageBuildParams) WithCpushares(cpushares *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithDockerfile(dockerfile *string) *ImageBuildParams
- func (o *ImageBuildParams) WithExtrahosts(extrahosts *string) *ImageBuildParams
- func (o *ImageBuildParams) WithForcerm(forcerm *bool) *ImageBuildParams
- func (o *ImageBuildParams) WithHTTPClient(client *http.Client) *ImageBuildParams
- func (o *ImageBuildParams) WithInputStream(inputStream io.ReadCloser) *ImageBuildParams
- func (o *ImageBuildParams) WithLabels(labels *string) *ImageBuildParams
- func (o *ImageBuildParams) WithMemory(memory *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithMemswap(memswap *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithNetworkmode(networkmode *string) *ImageBuildParams
- func (o *ImageBuildParams) WithNocache(nocache *bool) *ImageBuildParams
- func (o *ImageBuildParams) WithPlatform(platform *string) *ImageBuildParams
- func (o *ImageBuildParams) WithPull(pull *string) *ImageBuildParams
- func (o *ImageBuildParams) WithQ(q *bool) *ImageBuildParams
- func (o *ImageBuildParams) WithRemote(remote *string) *ImageBuildParams
- func (o *ImageBuildParams) WithRm(rm *bool) *ImageBuildParams
- func (o *ImageBuildParams) WithShmsize(shmsize *int64) *ImageBuildParams
- func (o *ImageBuildParams) WithSquash(squash *bool) *ImageBuildParams
- func (o *ImageBuildParams) WithT(t *string) *ImageBuildParams
- func (o *ImageBuildParams) WithTimeout(timeout time.Duration) *ImageBuildParams
- func (o *ImageBuildParams) WithXRegistryConfig(xRegistryConfig *string) *ImageBuildParams
- func (o *ImageBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageBuildReader
- type ImageCommitCreated
- type ImageCommitInternalServerError
- type ImageCommitNotFound
- type ImageCommitParams
- func (o *ImageCommitParams) SetAuthor(author *string)
- func (o *ImageCommitParams) SetChanges(changes *string)
- func (o *ImageCommitParams) SetComment(comment *string)
- func (o *ImageCommitParams) SetContainer(container *string)
- func (o *ImageCommitParams) SetContainerConfig(containerConfig *models.ContainerConfig)
- func (o *ImageCommitParams) SetContext(ctx context.Context)
- func (o *ImageCommitParams) SetHTTPClient(client *http.Client)
- func (o *ImageCommitParams) SetPause(pause *bool)
- func (o *ImageCommitParams) SetRepo(repo *string)
- func (o *ImageCommitParams) SetTag(tag *string)
- func (o *ImageCommitParams) SetTimeout(timeout time.Duration)
- func (o *ImageCommitParams) WithAuthor(author *string) *ImageCommitParams
- func (o *ImageCommitParams) WithChanges(changes *string) *ImageCommitParams
- func (o *ImageCommitParams) WithComment(comment *string) *ImageCommitParams
- func (o *ImageCommitParams) WithContainer(container *string) *ImageCommitParams
- func (o *ImageCommitParams) WithContainerConfig(containerConfig *models.ContainerConfig) *ImageCommitParams
- func (o *ImageCommitParams) WithContext(ctx context.Context) *ImageCommitParams
- func (o *ImageCommitParams) WithHTTPClient(client *http.Client) *ImageCommitParams
- func (o *ImageCommitParams) WithPause(pause *bool) *ImageCommitParams
- func (o *ImageCommitParams) WithRepo(repo *string) *ImageCommitParams
- func (o *ImageCommitParams) WithTag(tag *string) *ImageCommitParams
- func (o *ImageCommitParams) WithTimeout(timeout time.Duration) *ImageCommitParams
- func (o *ImageCommitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageCommitReader
- type ImageCreateInternalServerError
- type ImageCreateNotFound
- type ImageCreateOK
- type ImageCreateParams
- func (o *ImageCreateParams) SetContext(ctx context.Context)
- func (o *ImageCreateParams) SetFromImage(fromImage *string)
- func (o *ImageCreateParams) SetFromSrc(fromSrc *string)
- func (o *ImageCreateParams) SetHTTPClient(client *http.Client)
- func (o *ImageCreateParams) SetInputImage(inputImage string)
- func (o *ImageCreateParams) SetPlatform(platform *string)
- func (o *ImageCreateParams) SetRepo(repo *string)
- func (o *ImageCreateParams) SetTag(tag *string)
- func (o *ImageCreateParams) SetTimeout(timeout time.Duration)
- func (o *ImageCreateParams) SetXRegistryAuth(xRegistryAuth *string)
- func (o *ImageCreateParams) WithContext(ctx context.Context) *ImageCreateParams
- func (o *ImageCreateParams) WithFromImage(fromImage *string) *ImageCreateParams
- func (o *ImageCreateParams) WithFromSrc(fromSrc *string) *ImageCreateParams
- func (o *ImageCreateParams) WithHTTPClient(client *http.Client) *ImageCreateParams
- func (o *ImageCreateParams) WithInputImage(inputImage string) *ImageCreateParams
- func (o *ImageCreateParams) WithPlatform(platform *string) *ImageCreateParams
- func (o *ImageCreateParams) WithRepo(repo *string) *ImageCreateParams
- func (o *ImageCreateParams) WithTag(tag *string) *ImageCreateParams
- func (o *ImageCreateParams) WithTimeout(timeout time.Duration) *ImageCreateParams
- func (o *ImageCreateParams) WithXRegistryAuth(xRegistryAuth *string) *ImageCreateParams
- func (o *ImageCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageCreateReader
- type ImageDeleteConflict
- type ImageDeleteInternalServerError
- type ImageDeleteNotFound
- type ImageDeleteOK
- type ImageDeleteParams
- func (o *ImageDeleteParams) SetContext(ctx context.Context)
- func (o *ImageDeleteParams) SetForce(force *bool)
- func (o *ImageDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ImageDeleteParams) SetName(name string)
- func (o *ImageDeleteParams) SetNoprune(noprune *bool)
- func (o *ImageDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ImageDeleteParams) WithContext(ctx context.Context) *ImageDeleteParams
- func (o *ImageDeleteParams) WithForce(force *bool) *ImageDeleteParams
- func (o *ImageDeleteParams) WithHTTPClient(client *http.Client) *ImageDeleteParams
- func (o *ImageDeleteParams) WithName(name string) *ImageDeleteParams
- func (o *ImageDeleteParams) WithNoprune(noprune *bool) *ImageDeleteParams
- func (o *ImageDeleteParams) WithTimeout(timeout time.Duration) *ImageDeleteParams
- func (o *ImageDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageDeleteReader
- type ImageGetAllInternalServerError
- type ImageGetAllOK
- type ImageGetAllParams
- func (o *ImageGetAllParams) SetContext(ctx context.Context)
- func (o *ImageGetAllParams) SetHTTPClient(client *http.Client)
- func (o *ImageGetAllParams) SetNames(names []string)
- func (o *ImageGetAllParams) SetTimeout(timeout time.Duration)
- func (o *ImageGetAllParams) WithContext(ctx context.Context) *ImageGetAllParams
- func (o *ImageGetAllParams) WithHTTPClient(client *http.Client) *ImageGetAllParams
- func (o *ImageGetAllParams) WithNames(names []string) *ImageGetAllParams
- func (o *ImageGetAllParams) WithTimeout(timeout time.Duration) *ImageGetAllParams
- func (o *ImageGetAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageGetAllReader
- type ImageGetInternalServerError
- type ImageGetOK
- type ImageGetParams
- func (o *ImageGetParams) SetContext(ctx context.Context)
- func (o *ImageGetParams) SetHTTPClient(client *http.Client)
- func (o *ImageGetParams) SetName(name string)
- func (o *ImageGetParams) SetTimeout(timeout time.Duration)
- func (o *ImageGetParams) WithContext(ctx context.Context) *ImageGetParams
- func (o *ImageGetParams) WithHTTPClient(client *http.Client) *ImageGetParams
- func (o *ImageGetParams) WithName(name string) *ImageGetParams
- func (o *ImageGetParams) WithTimeout(timeout time.Duration) *ImageGetParams
- func (o *ImageGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageGetReader
- type ImageHistoryInternalServerError
- type ImageHistoryNotFound
- type ImageHistoryOK
- type ImageHistoryParams
- func (o *ImageHistoryParams) SetContext(ctx context.Context)
- func (o *ImageHistoryParams) SetHTTPClient(client *http.Client)
- func (o *ImageHistoryParams) SetName(name string)
- func (o *ImageHistoryParams) SetTimeout(timeout time.Duration)
- func (o *ImageHistoryParams) WithContext(ctx context.Context) *ImageHistoryParams
- func (o *ImageHistoryParams) WithHTTPClient(client *http.Client) *ImageHistoryParams
- func (o *ImageHistoryParams) WithName(name string) *ImageHistoryParams
- func (o *ImageHistoryParams) WithTimeout(timeout time.Duration) *ImageHistoryParams
- func (o *ImageHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageHistoryReader
- type ImageInspectInternalServerError
- type ImageInspectNotFound
- type ImageInspectOK
- type ImageInspectParams
- func (o *ImageInspectParams) SetContext(ctx context.Context)
- func (o *ImageInspectParams) SetHTTPClient(client *http.Client)
- func (o *ImageInspectParams) SetName(name string)
- func (o *ImageInspectParams) SetTimeout(timeout time.Duration)
- func (o *ImageInspectParams) WithContext(ctx context.Context) *ImageInspectParams
- func (o *ImageInspectParams) WithHTTPClient(client *http.Client) *ImageInspectParams
- func (o *ImageInspectParams) WithName(name string) *ImageInspectParams
- func (o *ImageInspectParams) WithTimeout(timeout time.Duration) *ImageInspectParams
- func (o *ImageInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageInspectReader
- type ImageListInternalServerError
- type ImageListOK
- type ImageListParams
- func (o *ImageListParams) SetAll(all *bool)
- func (o *ImageListParams) SetContext(ctx context.Context)
- func (o *ImageListParams) SetDigests(digests *bool)
- func (o *ImageListParams) SetFilters(filters *string)
- func (o *ImageListParams) SetHTTPClient(client *http.Client)
- func (o *ImageListParams) SetTimeout(timeout time.Duration)
- func (o *ImageListParams) WithAll(all *bool) *ImageListParams
- func (o *ImageListParams) WithContext(ctx context.Context) *ImageListParams
- func (o *ImageListParams) WithDigests(digests *bool) *ImageListParams
- func (o *ImageListParams) WithFilters(filters *string) *ImageListParams
- func (o *ImageListParams) WithHTTPClient(client *http.Client) *ImageListParams
- func (o *ImageListParams) WithTimeout(timeout time.Duration) *ImageListParams
- func (o *ImageListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageListReader
- type ImageLoadInternalServerError
- type ImageLoadOK
- type ImageLoadParams
- func (o *ImageLoadParams) SetContext(ctx context.Context)
- func (o *ImageLoadParams) SetHTTPClient(client *http.Client)
- func (o *ImageLoadParams) SetImagesTarball(imagesTarball io.ReadCloser)
- func (o *ImageLoadParams) SetQuiet(quiet *bool)
- func (o *ImageLoadParams) SetTimeout(timeout time.Duration)
- func (o *ImageLoadParams) WithContext(ctx context.Context) *ImageLoadParams
- func (o *ImageLoadParams) WithHTTPClient(client *http.Client) *ImageLoadParams
- func (o *ImageLoadParams) WithImagesTarball(imagesTarball io.ReadCloser) *ImageLoadParams
- func (o *ImageLoadParams) WithQuiet(quiet *bool) *ImageLoadParams
- func (o *ImageLoadParams) WithTimeout(timeout time.Duration) *ImageLoadParams
- func (o *ImageLoadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageLoadReader
- type ImagePruneInternalServerError
- type ImagePruneOK
- type ImagePruneParams
- func (o *ImagePruneParams) SetContext(ctx context.Context)
- func (o *ImagePruneParams) SetFilters(filters *string)
- func (o *ImagePruneParams) SetHTTPClient(client *http.Client)
- func (o *ImagePruneParams) SetTimeout(timeout time.Duration)
- func (o *ImagePruneParams) WithContext(ctx context.Context) *ImagePruneParams
- func (o *ImagePruneParams) WithFilters(filters *string) *ImagePruneParams
- func (o *ImagePruneParams) WithHTTPClient(client *http.Client) *ImagePruneParams
- func (o *ImagePruneParams) WithTimeout(timeout time.Duration) *ImagePruneParams
- func (o *ImagePruneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImagePruneReader
- type ImagePushInternalServerError
- type ImagePushNotFound
- type ImagePushOK
- type ImagePushParams
- func (o *ImagePushParams) SetContext(ctx context.Context)
- func (o *ImagePushParams) SetHTTPClient(client *http.Client)
- func (o *ImagePushParams) SetName(name string)
- func (o *ImagePushParams) SetTag(tag *string)
- func (o *ImagePushParams) SetTimeout(timeout time.Duration)
- func (o *ImagePushParams) SetXRegistryAuth(xRegistryAuth string)
- func (o *ImagePushParams) WithContext(ctx context.Context) *ImagePushParams
- func (o *ImagePushParams) WithHTTPClient(client *http.Client) *ImagePushParams
- func (o *ImagePushParams) WithName(name string) *ImagePushParams
- func (o *ImagePushParams) WithTag(tag *string) *ImagePushParams
- func (o *ImagePushParams) WithTimeout(timeout time.Duration) *ImagePushParams
- func (o *ImagePushParams) WithXRegistryAuth(xRegistryAuth string) *ImagePushParams
- func (o *ImagePushParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImagePushReader
- type ImageSearchInternalServerError
- type ImageSearchOK
- type ImageSearchParams
- func (o *ImageSearchParams) SetContext(ctx context.Context)
- func (o *ImageSearchParams) SetFilters(filters *string)
- func (o *ImageSearchParams) SetHTTPClient(client *http.Client)
- func (o *ImageSearchParams) SetLimit(limit *int64)
- func (o *ImageSearchParams) SetTerm(term string)
- func (o *ImageSearchParams) SetTimeout(timeout time.Duration)
- func (o *ImageSearchParams) WithContext(ctx context.Context) *ImageSearchParams
- func (o *ImageSearchParams) WithFilters(filters *string) *ImageSearchParams
- func (o *ImageSearchParams) WithHTTPClient(client *http.Client) *ImageSearchParams
- func (o *ImageSearchParams) WithLimit(limit *int64) *ImageSearchParams
- func (o *ImageSearchParams) WithTerm(term string) *ImageSearchParams
- func (o *ImageSearchParams) WithTimeout(timeout time.Duration) *ImageSearchParams
- func (o *ImageSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageSearchReader
- type ImageTagBadRequest
- type ImageTagConflict
- type ImageTagCreated
- type ImageTagInternalServerError
- type ImageTagNotFound
- type ImageTagParams
- func (o *ImageTagParams) SetContext(ctx context.Context)
- func (o *ImageTagParams) SetHTTPClient(client *http.Client)
- func (o *ImageTagParams) SetName(name string)
- func (o *ImageTagParams) SetRepo(repo *string)
- func (o *ImageTagParams) SetTag(tag *string)
- func (o *ImageTagParams) SetTimeout(timeout time.Duration)
- func (o *ImageTagParams) WithContext(ctx context.Context) *ImageTagParams
- func (o *ImageTagParams) WithHTTPClient(client *http.Client) *ImageTagParams
- func (o *ImageTagParams) WithName(name string) *ImageTagParams
- func (o *ImageTagParams) WithRepo(repo *string) *ImageTagParams
- func (o *ImageTagParams) WithTag(tag *string) *ImageTagParams
- func (o *ImageTagParams) WithTimeout(timeout time.Duration) *ImageTagParams
- func (o *ImageTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageTagReader
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 handles this case with default header values.
Server error
func NewBuildPruneInternalServerError ¶
func NewBuildPruneInternalServerError() *BuildPruneInternalServerError
NewBuildPruneInternalServerError creates a BuildPruneInternalServerError with default headers values
func (*BuildPruneInternalServerError) Error ¶
func (o *BuildPruneInternalServerError) Error() string
type BuildPruneOK ¶
type BuildPruneOK struct {
Payload *models.BuildPruneOKBody
}
BuildPruneOK handles this case 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
type BuildPruneParams ¶
type BuildPruneParams struct { 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 values initialized.
func NewBuildPruneParamsWithContext ¶
func NewBuildPruneParamsWithContext(ctx context.Context) *BuildPruneParams
NewBuildPruneParamsWithContext creates a new BuildPruneParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*BuildPruneParams) SetContext ¶
func (o *BuildPruneParams) SetContext(ctx context.Context)
SetContext adds the context 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) SetTimeout ¶
func (o *BuildPruneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout 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) WithHTTPClient ¶
func (o *BuildPruneParams) WithHTTPClient(client *http.Client) *BuildPruneParams
WithHTTPClient adds the HTTPClient 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new image API client.
func (*Client) BuildPrune ¶
func (a *Client) BuildPrune(params *BuildPruneParams) (*BuildPruneOK, error)
BuildPrune deletes builder cache
func (*Client) ImageBuild ¶
func (a *Client) ImageBuild(params *ImageBuildParams) (*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) (*ImageCommitCreated, error)
ImageCommit creates a new image from a container
func (*Client) ImageCreate ¶
func (a *Client) ImageCreate(params *ImageCreateParams) (*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) (*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) (*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) (*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) (*ImageHistoryOK, error)
ImageHistory gets the history of an image
Return parent layers of an image.
func (*Client) ImageInspect ¶
func (a *Client) ImageInspect(params *ImageInspectParams) (*ImageInspectOK, error)
ImageInspect inspects an image
Return low-level information about an image.
func (*Client) ImageList ¶
func (a *Client) ImageList(params *ImageListParams) (*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) (*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) (*ImagePruneOK, error)
ImagePrune deletes unused images
func (*Client) ImagePush ¶
func (a *Client) ImagePush(params *ImagePushParams) (*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) (*ImageSearchOK, error)
ImageSearch searches images
Search for an image on Docker Hub.
func (*Client) ImageTag ¶
func (a *Client) ImageTag(params *ImageTagParams) (*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 ImageBuildBadRequest ¶
type ImageBuildBadRequest struct {
Payload *models.ErrorResponse
}
ImageBuildBadRequest handles this case 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
type ImageBuildInternalServerError ¶
type ImageBuildInternalServerError struct {
Payload *models.ErrorResponse
}
ImageBuildInternalServerError handles this case with default header values.
server error
func NewImageBuildInternalServerError ¶
func NewImageBuildInternalServerError() *ImageBuildInternalServerError
NewImageBuildInternalServerError creates a ImageBuildInternalServerError with default headers values
func (*ImageBuildInternalServerError) Error ¶
func (o *ImageBuildInternalServerError) Error() string
type ImageBuildOK ¶
type ImageBuildOK struct { }
ImageBuildOK handles this case 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
type ImageBuildParams ¶
type ImageBuildParams struct { /*ContentType*/ 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. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg) */ Buildargs *int64 /*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 *int64 /*Dockerfile Path within the build context to the `Dockerfile`. This is ignored if `remote` is specified and points to an external `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. */ 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 to which this container should connect to. */ Networkmode *string /*Nocache Do not use the cache when building the image. */ Nocache *bool /*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. */ 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 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 values initialized.
func NewImageBuildParamsWithContext ¶
func NewImageBuildParamsWithContext(ctx context.Context) *ImageBuildParams
NewImageBuildParamsWithContext creates a new ImageBuildParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*ImageBuildParams) SetBuildargs ¶
func (o *ImageBuildParams) SetBuildargs(buildargs *int64)
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) 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) 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) 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 *int64) *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) 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) 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 ¶
func (o *ImageBuildParams) WithT(t *string) *ImageBuildParams
WithT adds the t 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 handles this case 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
type ImageCommitInternalServerError ¶
type ImageCommitInternalServerError struct {
Payload *models.ErrorResponse
}
ImageCommitInternalServerError handles this case with default header values.
server error
func NewImageCommitInternalServerError ¶
func NewImageCommitInternalServerError() *ImageCommitInternalServerError
NewImageCommitInternalServerError creates a ImageCommitInternalServerError with default headers values
func (*ImageCommitInternalServerError) Error ¶
func (o *ImageCommitInternalServerError) Error() string
type ImageCommitNotFound ¶
type ImageCommitNotFound struct {
Payload *models.ErrorResponse
}
ImageCommitNotFound handles this case 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
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 */ 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 values initialized.
func NewImageCommitParamsWithContext ¶
func NewImageCommitParamsWithContext(ctx context.Context) *ImageCommitParams
NewImageCommitParamsWithContext creates a new ImageCommitParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
server error
func NewImageCreateInternalServerError ¶
func NewImageCreateInternalServerError() *ImageCreateInternalServerError
NewImageCreateInternalServerError creates a ImageCreateInternalServerError with default headers values
func (*ImageCreateInternalServerError) Error ¶
func (o *ImageCreateInternalServerError) Error() string
type ImageCreateNotFound ¶
type ImageCreateNotFound struct {
Payload *models.ErrorResponse
}
ImageCreateNotFound handles this case 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
type ImageCreateOK ¶
type ImageCreateOK struct { }
ImageCreateOK handles this case 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
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 values initialized.
func NewImageCreateParamsWithContext ¶
func NewImageCreateParamsWithContext(ctx context.Context) *ImageCreateParams
NewImageCreateParamsWithContext creates a new ImageCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type ImageDeleteInternalServerError ¶
type ImageDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
ImageDeleteInternalServerError handles this case with default header values.
Server error
func NewImageDeleteInternalServerError ¶
func NewImageDeleteInternalServerError() *ImageDeleteInternalServerError
NewImageDeleteInternalServerError creates a ImageDeleteInternalServerError with default headers values
func (*ImageDeleteInternalServerError) Error ¶
func (o *ImageDeleteInternalServerError) Error() string
type ImageDeleteNotFound ¶
type ImageDeleteNotFound struct {
Payload *models.ErrorResponse
}
ImageDeleteNotFound handles this case 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
type ImageDeleteOK ¶
type ImageDeleteOK struct {
Payload models.ImageDeleteOKBody
}
ImageDeleteOK handles this case 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
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 values initialized.
func NewImageDeleteParamsWithContext ¶
func NewImageDeleteParamsWithContext(ctx context.Context) *ImageDeleteParams
NewImageDeleteParamsWithContext creates a new ImageDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
server error
func NewImageGetAllInternalServerError ¶
func NewImageGetAllInternalServerError() *ImageGetAllInternalServerError
NewImageGetAllInternalServerError creates a ImageGetAllInternalServerError with default headers values
func (*ImageGetAllInternalServerError) Error ¶
func (o *ImageGetAllInternalServerError) Error() string
type ImageGetAllOK ¶
ImageGetAllOK handles this case 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
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 values initialized.
func NewImageGetAllParamsWithContext ¶
func NewImageGetAllParamsWithContext(ctx context.Context) *ImageGetAllParams
NewImageGetAllParamsWithContext creates a new ImageGetAllParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
server error
func NewImageGetInternalServerError ¶
func NewImageGetInternalServerError() *ImageGetInternalServerError
NewImageGetInternalServerError creates a ImageGetInternalServerError with default headers values
func (*ImageGetInternalServerError) Error ¶
func (o *ImageGetInternalServerError) Error() string
type ImageGetOK ¶
ImageGetOK handles this case 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
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 values initialized.
func NewImageGetParamsWithContext ¶
func NewImageGetParamsWithContext(ctx context.Context) *ImageGetParams
NewImageGetParamsWithContext creates a new ImageGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Server error
func NewImageHistoryInternalServerError ¶
func NewImageHistoryInternalServerError() *ImageHistoryInternalServerError
NewImageHistoryInternalServerError creates a ImageHistoryInternalServerError with default headers values
func (*ImageHistoryInternalServerError) Error ¶
func (o *ImageHistoryInternalServerError) Error() string
type ImageHistoryNotFound ¶
type ImageHistoryNotFound struct {
Payload *models.ErrorResponse
}
ImageHistoryNotFound handles this case 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
type ImageHistoryOK ¶
type ImageHistoryOK struct {
Payload models.ImageHistoryOKBody
}
ImageHistoryOK handles this case 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
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 values initialized.
func NewImageHistoryParamsWithContext ¶
func NewImageHistoryParamsWithContext(ctx context.Context) *ImageHistoryParams
NewImageHistoryParamsWithContext creates a new ImageHistoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ImageHistoryParams) WithContext(ctx context.Context) *ImageHistoryParams
WithContext adds the context to the image history params
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 handles this case with default header values.
Server error
func NewImageInspectInternalServerError ¶
func NewImageInspectInternalServerError() *ImageInspectInternalServerError
NewImageInspectInternalServerError creates a ImageInspectInternalServerError with default headers values
func (*ImageInspectInternalServerError) Error ¶
func (o *ImageInspectInternalServerError) Error() string
type ImageInspectNotFound ¶
type ImageInspectNotFound struct {
Payload *models.ErrorResponse
}
ImageInspectNotFound handles this case 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
type ImageInspectOK ¶
ImageInspectOK handles this case 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
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 values initialized.
func NewImageInspectParamsWithContext ¶
func NewImageInspectParamsWithContext(ctx context.Context) *ImageInspectParams
NewImageInspectParamsWithContext creates a new ImageInspectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *ImageInspectParams) WithContext(ctx context.Context) *ImageInspectParams
WithContext adds the context to the image inspect params
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 handles this case with default header values.
server error
func NewImageListInternalServerError ¶
func NewImageListInternalServerError() *ImageListInternalServerError
NewImageListInternalServerError creates a ImageListInternalServerError with default headers values
func (*ImageListInternalServerError) Error ¶
func (o *ImageListInternalServerError) Error() string
type ImageListOK ¶
type ImageListOK struct {
Payload models.ImageListOKBody
}
ImageListOK handles this case 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
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 values initialized.
func NewImageListParamsWithContext ¶
func NewImageListParamsWithContext(ctx context.Context) *ImageListParams
NewImageListParamsWithContext creates a new ImageListParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
server error
func NewImageLoadInternalServerError ¶
func NewImageLoadInternalServerError() *ImageLoadInternalServerError
NewImageLoadInternalServerError creates a ImageLoadInternalServerError with default headers values
func (*ImageLoadInternalServerError) Error ¶
func (o *ImageLoadInternalServerError) Error() string
type ImageLoadOK ¶
type ImageLoadOK struct { }
ImageLoadOK handles this case 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
type ImageLoadParams ¶
type ImageLoadParams struct { /*ImagesTarball Tar archive containing images */ 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 values initialized.
func NewImageLoadParamsWithContext ¶
func NewImageLoadParamsWithContext(ctx context.Context) *ImageLoadParams
NewImageLoadParamsWithContext creates a new ImageLoadParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Server error
func NewImagePruneInternalServerError ¶
func NewImagePruneInternalServerError() *ImagePruneInternalServerError
NewImagePruneInternalServerError creates a ImagePruneInternalServerError with default headers values
func (*ImagePruneInternalServerError) Error ¶
func (o *ImagePruneInternalServerError) Error() string
type ImagePruneOK ¶
type ImagePruneOK struct {
Payload *models.ImagePruneOKBody
}
ImagePruneOK handles this case 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
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 values initialized.
func NewImagePruneParamsWithContext ¶
func NewImagePruneParamsWithContext(ctx context.Context) *ImagePruneParams
NewImagePruneParamsWithContext creates a new ImagePruneParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Server error
func NewImagePushInternalServerError ¶
func NewImagePushInternalServerError() *ImagePushInternalServerError
NewImagePushInternalServerError creates a ImagePushInternalServerError with default headers values
func (*ImagePushInternalServerError) Error ¶
func (o *ImagePushInternalServerError) Error() string
type ImagePushNotFound ¶
type ImagePushNotFound struct {
Payload *models.ErrorResponse
}
ImagePushNotFound handles this case 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
type ImagePushOK ¶
type ImagePushOK struct { }
ImagePushOK handles this case 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
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 values initialized.
func NewImagePushParamsWithContext ¶
func NewImagePushParamsWithContext(ctx context.Context) *ImagePushParams
NewImagePushParamsWithContext creates a new ImagePushParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Server error
func NewImageSearchInternalServerError ¶
func NewImageSearchInternalServerError() *ImageSearchInternalServerError
NewImageSearchInternalServerError creates a ImageSearchInternalServerError with default headers values
func (*ImageSearchInternalServerError) Error ¶
func (o *ImageSearchInternalServerError) Error() string
type ImageSearchOK ¶
type ImageSearchOK struct {
Payload models.ImageSearchOKBody
}
ImageSearchOK handles this case 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
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 values initialized.
func NewImageSearchParamsWithContext ¶
func NewImageSearchParamsWithContext(ctx context.Context) *ImageSearchParams
NewImageSearchParamsWithContext creates a new ImageSearchParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type ImageTagConflict ¶
type ImageTagConflict struct {
Payload *models.ErrorResponse
}
ImageTagConflict handles this case 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
type ImageTagCreated ¶
type ImageTagCreated struct { }
ImageTagCreated handles this case 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
type ImageTagInternalServerError ¶
type ImageTagInternalServerError struct {
Payload *models.ErrorResponse
}
ImageTagInternalServerError handles this case with default header values.
Server error
func NewImageTagInternalServerError ¶
func NewImageTagInternalServerError() *ImageTagInternalServerError
NewImageTagInternalServerError creates a ImageTagInternalServerError with default headers values
func (*ImageTagInternalServerError) Error ¶
func (o *ImageTagInternalServerError) Error() string
type ImageTagNotFound ¶
type ImageTagNotFound struct {
Payload *models.ErrorResponse
}
ImageTagNotFound handles this case 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
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 values initialized.
func NewImageTagParamsWithContext ¶
func NewImageTagParamsWithContext(ctx context.Context) *ImageTagParams
NewImageTagParamsWithContext creates a new ImageTagParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.
Source Files ¶
- build_prune_parameters.go
- build_prune_responses.go
- image_build_parameters.go
- image_build_responses.go
- image_client.go
- image_commit_parameters.go
- image_commit_responses.go
- image_create_parameters.go
- image_create_responses.go
- image_delete_parameters.go
- image_delete_responses.go
- image_get_all_parameters.go
- image_get_all_responses.go
- image_get_parameters.go
- image_get_responses.go
- image_history_parameters.go
- image_history_responses.go
- image_inspect_parameters.go
- image_inspect_responses.go
- image_list_parameters.go
- image_list_responses.go
- image_load_parameters.go
- image_load_responses.go
- image_prune_parameters.go
- image_prune_responses.go
- image_push_parameters.go
- image_push_responses.go
- image_search_parameters.go
- image_search_responses.go
- image_tag_parameters.go
- image_tag_responses.go