Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDockerfileContent ¶
func GenerateDockerfileContent(data *DockerfileContent) string
GenerateDockerfileContent generates a Dockerfile from the DockerfileContent struct.
Types ¶
type DockerfileContent ¶
type DockerfileContent struct {
Dockerfile []DockerfileStage `yaml:"dockerfile"`
}
DockerfileContent holds the entirety of the Dockerfile data structure.
type DockerfileStage ¶
type DockerfileStage struct { Stage int `yaml:"stage"` Instructions []map[string]interface{} `yaml:"instructions"` }
DockerfileStage represents each stage in a Dockerfile with its associated instructions.
Click to show internal directories.
Click to hide internal directories.