Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBuild ¶
RunBuild runs a complete build for the provided unit config. Currently, the channels argument is ignored but will be used in the future along with the LogMsg and StatusMsg interfaces
func RunBuildSynchronously ¶ added in v0.2.0
RunBuildSynchronously - run a build, wait for it to finish, log to stdout
Types ¶
type Options ¶ added in v0.2.1
type Options struct {
UnitConfig *unitconfig.UnitConfig
ContextDir string
// LogLevel is only used for RunBuildSynchronously, ignored for RunBuild
// LogLevel defaults to PanicLevel if not set
LogLevel logrus.Level
}
Options encapsulates the options for RunBuild/RunBuildSynchronously
Click to show internal directories.
Click to hide internal directories.
