Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { AddHost []string `usage:"Add a custom host-to-IP mapping (host:ip)"` BuildArg []string `usage:"Set build-time variables"` CacheFrom []string `usage:"Images to consider as cache sources"` File string `usage:"Name of the Dockerfile (Default is 'PATH/Dockerfile')" short:"f"` Label []string `usage:"Set metadata for an image"` NoCache bool `usage:"Do not use cache when building the image"` Output []string `usage:"BuildKit-style output directives (e.g. type=local,dest=path/to/output-dir)" short:"o" slice:"array"` Progress string `usage:"Set type of progress output (auto, plain, tty). Use plain to show container output" default:"auto"` Quiet bool `usage:"Suppress the build output and print image ID on success" short:"q"` Tag []string `usage:"Name and optionally a tag in the 'name:tag' format" short:"t"` Target string `usage:"Set the target build stage to build."` Pull bool `usage:"Always attempt to pull a newer version of the image"` Secret []string `usage:"Secret value exposed to the build. Format id=secretname|src=filepath" slice:"array"` Ssh []string `usage:"Allow forwarding SSH agent to the builder. Format default|<id>[=<socket>|<key>[,<key>]]" slice:"array"` }
type List ¶
type List struct { All bool `usage:"Show all images (default hides tag-less images)" short:"a"` Digests bool `usage:"Show digests"` //Filter string `usage:"Filter output based on conditions provided" short:"f"` //Format string `usage:"Pretty-print images using a Go template"` NoTrunc bool `usage:"Don't truncate output"` Quiet bool `usage:"Only show image IDs" short:"q"` }
type Pull ¶
Click to show internal directories.
Click to hide internal directories.