Documentation ¶
Index ¶
- func GenerateDockerfile(step v1alpha1.BuildStep, templates []v1alpha1.BuildTemplate, ...) (string, error)
- func ParseAnsibleCommands(ansibleStep *v1alpha1.AnsibleStep) ([]byte, error)
- func ParseBuildSpec(spec *v1alpha1.BuildSpec) ([]v1alpha1.ImageBuildArgs, error)
- func ParseDockerCommands(dockerCmdFilepath string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDockerfile ¶
func GenerateDockerfile(step v1alpha1.BuildStep, templates []v1alpha1.BuildTemplate, destination string) (string, error)
GenerateDockerfile takes in a build steps and generates a Dockerfile returns path to generated dockerfile
func ParseAnsibleCommands ¶
func ParseAnsibleCommands(ansibleStep *v1alpha1.AnsibleStep) ([]byte, error)
ParseAnsibleCommands is used to parse ansible commands from the ansible step and append the parsed template to Dockerfile
func ParseBuildSpec ¶
func ParseBuildSpec(spec *v1alpha1.BuildSpec) ([]v1alpha1.ImageBuildArgs, error)
ParseBuildSpec parses the build specification which is read in through spec.yml or build.yaml and generates an array of build arguments
func ParseDockerCommands ¶
ParseDockerCommands parses the inputted docker commands and adds to dockerfile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.