# Functions
CheckExistingFiles checks if any files match the given pattern, and returns an error if so.
NewBuilderWithGitFetcher creates a new Builder that fetches the sources from a Git repository.
NewDockerBuildConfig validates the inputs and generates an instance of DockerBuildConfig.
ParseProvenance parses a byte array into an instance of ProvenanceStatementSLSA1.
# Constants
ArtifactPathKey is the lookup key for the artifacts path in ExternalParameters.
BuilderImageKey is the lookup key for builder image in ExternalParameters.
CommandKey is the lookup key for the command in ExternalParameters.
ConfigFileKey is the lookup key for the config file in ExternalParameters.
ContainerBasedBuildType is type for container-based builds.
SourceKey is the lookup key for source repository in ExternalParameters.
# Structs
BuildConfig is a collection of parameters to use for building the artifact.
Builder is responsible for setting up the environment and using docker commands to build artifacts as specified in a DockerBuildConfig.
ContainerBasedExternalParameters is a representation of the top level inputs to a container-based build.
Digest specifies a digest values, including the name of the hash function that was used for computing the digest.
DockerBuild represents a state in the process of building the artifacts where the source repository is checked out and the config file is loaded and parsed, and we are ready for running the `docker run` command.
DockerBuildConfig is a convenience class for holding validated user inputs.
DockerImage fully specifies a docker image by a URI (e.g., including the docker image name and registry), and its digest.
GitClient provides data and functions for fetching the source files from a Git repository.
InputOptions are the common options for the dry run and build command.
ProvenanceStatementSLSA1 is a convenience class to facilitate parsing a JSON document to a SLSAv1 provenance object.
RepoCheckoutInfo contains info about the location of a locally checked out repository.
# Interfaces
Fetcher is an interface with a single method Fetch, for fetching a repository from its source.