Documentation ¶
Index ¶
Constants ¶
View Source
const (
InlineBuilder = "<in-line>"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compatibilitier ¶
type Compatibilitier interface { AddDeprecated(deprecated ...string) AddRemoved(removed ...string) AddChanged(changed ...string) }
Compatibilitier is the interface for the compatibility checker
type Image ¶
type Image struct { Builder interface{} `yaml:"builder"` Children map[string][]string `yaml:"children"` Labels map[string]string `yaml:"labels"` Name string `yaml:"name"` Parents map[string][]string `yaml:"parents"` PersistentLabels map[string]string `yaml:"persistent_labels"` PersistentVars map[string]interface{} `yaml:"persistent_vars"` RegistryHost string `yaml:"registry"` RegistryNamespace string `yaml:"namespace"` Tags []string `yaml:"tags"` Vars map[string]interface{} `yaml:"vars"` Version string `yaml:"version"` }
Image is the domain definition of a docker image
func (*Image) CheckCompatibility ¶
func (i *Image) CheckCompatibility(compabilitiy Compatibilitier)
CheckCompatibility checks that image compatibility
func (*Image) CreateDomainImage ¶
func (i *Image) CreateDomainImage() (*domainimage.Image, error)
CreateDomainImage creates a domain image from the image
func (*Image) YAMLMarshal ¶
YAMLMarshal marshals the image to YAML
func (*Image) YAMLUnmarshal ¶
YAMLUnmarshal unmarshals the image from a YAML string
Click to show internal directories.
Click to hide internal directories.