package
0.0.3
Repository: https://github.com/alrs/sous.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DefaultConfig builds a default configuration, which can be then overridden by client code.
GetDatabase initialises a new database for a NameCache.
InMemoryConnection builds a connection string based on a base name This is mostly useful for testing, so that we can have separate cache DBs per test.
Labels computes a map of labels that should be applied to a container image that is built based on this SourceID.
NewBuildArtifact creates a new sous.BuildArtifact representing a Docker image.
NewBuilder creates a new build using source code in the working directory of sourceShell, and using the working dir of scratchShell as temporary storage.
NewDockerfileBuildpack creates a Dockerfile buildpack.
NewNameCache builds a new name cache.
SourceIDFromLabels builds a SourceID from a map of labels, generally acquired from a Docker image.

# Constants

AppRevisionBuildArg is the name of a docker build argument used to inject the revision of the app being built.
AppVersionBuildArg is the name of a docker build argument used to inject the version of the app being built.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InMemory configures SQLite to use an in-memory database The dummy file allows multiple goroutines see the same in-memory DB.

# Variables

Log is an alias to sous.Log.

# Structs

No description provided by the author
No description provided by the author
DBConfig is a database configuration for a NameCache.
DockerfileBuildpack is a simple buildpack for building projects using their own Dockerfile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author