package
3.2.0+incompatible
Repository: https://github.com/quay/quay-builder.git
Documentation: pkg.go.dev

# Functions

NewMetadataFromDir parses a Dockerfile located within the provided directory and generates metadata based on the contents.
NewMetadataFromReader parses a Dockerfile reader generates metadata based on the contents.

# Variables

ErrDockerfileMissingFROMorARG is returned the first directive of a Dockerfile isn't FROM or ARG.
ErrEmptyDockerfile is returned when a parsed Dockerfile has no nodes.
ErrInvalidBaseImage is returned when the base image referenced in the FROM directive is invalid.
ErrInvalidBuildContext is returned when there is a failure finding the location of the source files of an image.
ErrInvalidDockerfile is returned when a Dockerfile cannot be parsed.
ErrMissingDockerfile is returned when no Dockerfile was found.

# Structs

Metadata represents a parsed Dockerfile.