frontend

package
v1.2.318 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerStagesNameToIndexMap

func GetDockerStagesNameToIndexMap(stages []instructions.Stage) map[string]int

func GetDockerTargetStageIndex

func GetDockerTargetStageIndex(dockerStages []instructions.Stage, dockerTargetStage string) (int, error)

func NewDockerfileStageFromBuildkitStage added in v1.2.185

func NewDockerfileStageFromBuildkitStage(index int, werfImageName string, stage instructions.Stage, expanderFactory *ShlexExpanderFactory, metaArgs, buildArgs map[string]string, dependenciesArgsKeys []string) (*dockerfile.DockerfileStage, error)

func ParseDockerfileWithBuildkit

func ParseDockerfileWithBuildkit(dockerfileID string, dockerfileBytes []byte, werfImageName string, opts dockerfile.DockerfileOptions) (*dockerfile.Dockerfile, error)

func ResolveDockerStagesFromValue

func ResolveDockerStagesFromValue(stages []instructions.Stage)

Types

type DockerfileYaml

type DockerfileYaml struct{}

TODO: implement Dockerfile.yaml or werf.yaml section parser primitives and conversion to Dockerfile and DockerfileStage primitives

type ShlexExpanderFactory added in v1.2.188

type ShlexExpanderFactory struct {
	EscapeToken rune
}

func NewShlexExpanderFactory added in v1.2.188

func NewShlexExpanderFactory(escapeToken rune) *ShlexExpanderFactory

func (*ShlexExpanderFactory) GetExpander added in v1.2.188

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL