dockerfile

package
v0.33.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AST added in v0.7.11

type AST struct {
	// contains filtered or unexported fields
}

func ParseAST added in v0.7.11

func ParseAST(df Dockerfile) (AST, error)

func (AST) InjectImageDigest added in v0.7.11

func (a AST) InjectImageDigest(selector container.RefSelector, ref reference.NamedTagged, buildArgs []string) (bool, error)

func (AST) Print added in v0.7.11

func (a AST) Print() (Dockerfile, error)

func (AST) Traverse added in v0.7.11

func (a AST) Traverse(visit func(*parser.Node) error) error

Post-order traversal of the Dockerfile AST. Halts immediately on error.

type Dockerfile

type Dockerfile string

func InjectImageDigest added in v0.7.11

func InjectImageDigest(df Dockerfile, selector container.RefSelector, ref reference.NamedTagged, buildArgs []string) (Dockerfile, bool, error)

func (Dockerfile) Empty added in v0.10.15

func (d Dockerfile) Empty() bool

func (Dockerfile) FindImages added in v0.7.11

func (d Dockerfile) FindImages(buildArgs []string) ([]reference.Named, error)

Find all images referenced in this dockerfile.

func (Dockerfile) String

func (d Dockerfile) String() string

type Label

type Label string

type LabelValue

type LabelValue string

type Labels

type Labels map[Label]LabelValue

Jump to

Keyboard shortcuts

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