Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildConfig ¶
type BuildConfig struct { Globals *types.Global Runner chan struct{} FileName string Vars map[string]string }
BuildConfig is a struct containing the configuration for the builder.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder implements the builder core.
func NewBuilder ¶
func NewBuilder(bc BuildConfig) (*Builder, error)
NewBuilder creates a new builder. Returns error on docker or mruby issues.
func (*Builder) Config ¶
func (b *Builder) Config() *BuildConfig
Config returns the BuildConfig associated with this builder
func (*Builder) Result ¶
func (b *Builder) Result() types.BuildResult
Result returns the latest cached result from any run invocation. The behavior is undefined if called before any Run()-style invocation.
func (*Builder) Run ¶
func (b *Builder) Run() types.BuildResult
Run runs the script set by the BuildConfig. It closes the run channel when it finishes.
func (*Builder) Wait ¶
func (b *Builder) Wait() types.BuildResult
Wait waits for the build to complete.
Directories ¶
Path | Synopsis |
---|---|
Package command - command for the box builder Documentation is deliberately simple here, it maps directly to the verbs and functions in the box builder documentation: https://box-builder.github.io/box.
|
Package command - command for the box builder Documentation is deliberately simple here, it maps directly to the verbs and functions in the box builder documentation: https://box-builder.github.io/box. |
Click to show internal directories.
Click to hide internal directories.