frontend

package
v1.2.289 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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