Documentation
¶
Index ¶
Constants ¶
View Source
const DockerDomain = "docker.io"
View Source
const DockerHubUrl = "https://hub.docker.com/"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Image ¶
type Image struct {
ImageName `yaml:",inline" validate:"required"`
Alias []ImageName `yaml:"alias" validate:"omitempty,dive"`
Path string
RelativeDir string
Parent *Image `validate:"-"`
Children Images `validate:"omitempty,dive"`
HasLocalParent bool
HasToBuild bool
HasParentToBuild bool
EnvVariables map[string]string `yaml:"envvars"`
Packages map[string]string `yaml:"packages"`
Platforms []string `yaml:"platforms" validate:"platform-parent"`
}
func (Image) GetAllEnvVar ¶
func (Image) GetAllPackages ¶
func (Image) GetParents ¶
type ImageName ¶
type ImageName struct {
Name string `yaml:"name" validate:"required"`
Tag string `yaml:"tag" validate:"required"`
}
func (ImageName) GetFullName ¶
type Images ¶
type Images []*Image
func (Images) FlagChanged ¶
func (Images) FlagImagesToBuild ¶
func (Images) GetAllNames ¶
func (Images) GetImagesToBuild ¶
Click to show internal directories.
Click to hide internal directories.