Documentation ¶
Index ¶
Constants ¶
View Source
const ( EngineTypeDocker = "docker" EngineTypePodman = "podman" EngineNotFound = "not found" )
View Source
const ( StorageDriverOverlay2 = "overlay2" StorageDriverFuse = "fuse-overlayfs" StorageDriverBTRFS = "btrfs" StorageDriverZFS = "zfs" StorageDriverVFS = "vfs" StorageDriverAUFS = "aufs" StorageDriverDeviceMapper = "devicemapper" StorageDriverOverlay = "overlay" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Name string DockerFile string // Name of the Dockerfile to use, must be in context Context string // Context to copy to the build process Ignore []string // globbed list of files to ignore in the context, same as .dockerignore Args map[string]string // Arguments to pass to the build process }
type Container ¶
type Container struct { Name string Networks []NetworkAttachment Image *Image Entrypoint []string Command []string Environment map[string]string Volumes []Volume Ports []Port PortRanges []PortRange DNS []string Privileged bool MaxRestartCount int // resource constraints Resources *Resources // User block for mapping the user id and group id inside the container RunAs *User }
type EngineInfo ¶
type Image ¶
type Image struct { ID string Name string // Username is the Docker registry user to use for private repositories Username string // Password is the Docker registry password to use for private repositories Password string }
Image defines a docker image which will be pushed to the clusters Docker registry
type NetworkAttachment ¶
Click to show internal directories.
Click to hide internal directories.