Documentation
¶
Index ¶
- func EnvVariables() map[string]string
- func TemplateFile(templateFile string, destinationFile string, args map[string]interface{}) error
- func TemplateList(source []string, configSet map[string]interface{}) ([]string, error)
- func TemplateMap(source map[string]string, configSet map[string]interface{}) (map[string]string, error)
- func TemplateString(pattern string, args map[string]interface{}) (string, error)
- type Image
- func (i *Image) ConfigSet() map[string]interface{}
- func (i *Image) Equal(image *Image) bool
- func (i *Image) RemoveTemporaryDockerfile()
- func (i *Image) Representation() map[string]interface{}
- func (i *Image) SetDockerfileTemplate(templateFile string) *Image
- func (i *Image) SetFlags(flags *config.Flags) *Image
- func (i *Image) SetMaintainer(maintainer string) *Image
- func (i *Image) String() string
- func (i *Image) Tags() []string
- func (i *Image) UniqName() string
- func (i *Image) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvVariables ¶
func TemplateFile ¶
func TemplateList ¶
func TemplateMap ¶
Types ¶
type Image ¶
type Image struct { Name string Registry string Prefix string DockerfileTemplate string Dockerfile string BuildContextDir string Variables map[string]interface{} Version string Labels map[string]string BuildArgs map[string]string Platforms []string Options map[string]string Flags *config.Flags // contains filtered or unexported fields }
func (*Image) RemoveTemporaryDockerfile ¶
func (i *Image) RemoveTemporaryDockerfile()
func (*Image) Representation ¶
func (*Image) SetDockerfileTemplate ¶
func (*Image) SetMaintainer ¶
Click to show internal directories.
Click to hide internal directories.