Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶ added in v0.4.7
type Artifact struct { Step Step Source string Dest string // this is only the folder. Filename comes from the source }
Artifact holds a parsed source for a build artifact
type Builder ¶
type Builder struct { Build *Manifest UniqueID string // unique id for this build sequence. This is used for multi-tenanted environments Conf *configuration.Config // contains filtered or unexported fields }
Builder is a simple Dockerfile builder
func NewBuilder ¶
func NewBuilder(manifest *Manifest, conf *configuration.Config) *Builder
NewBuilder creates a new builder in a new session
func (*Builder) StartBuild ¶
StartBuild runs the build process end to end
type Cleanup ¶
type Cleanup struct {
Commands []string
}
Cleanup holds everything that's needed for a cleanup
type Manifest ¶
type Manifest struct { Steps []Step IsPrivileged bool SecretProviders map[string]secrets.SecretProvider // contains filtered or unexported fields }
Manifest Holds the whole build process
func LoadBuildFromFile ¶
func LoadBuildFromFile(config *configuration.Config) (*Manifest, error)
LoadBuildFromFile loads Build from a yaml file
Click to show internal directories.
Click to hide internal directories.