Documentation ¶
Index ¶
- Variables
- type Executor
- type Option
- func WithArtifactsDir(artifactsDir string) Option
- func WithBaseEnvironmentOverride(environment map[string]string) Option
- func WithContainerBackendType(containerBackendType string) Option
- func WithContainerOptions(containerOptions options.ContainerOptions) Option
- func WithDirtyMode() Option
- func WithHeartbeatTimeout(heartbeatTimeout time.Duration) Option
- func WithLogger(logger *echelon.Logger) Option
- func WithTartOptions(tartOptions options.TartOptions) Option
- func WithTaskFilter(taskFilter taskfilter.TaskFilter) Option
- func WithUserSpecifiedEnvironment(environment map[string]string) Option
- func WithVetuOptions(vetuOptions options.VetuOptions) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBuildFailed = errors.New("build failed") ErrNoHeartbeats = errors.New("no heartbeats were received for the pre-defined duration") )
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Executor)
func WithArtifactsDir ¶ added in v0.80.0
func WithBaseEnvironmentOverride ¶ added in v0.8.0
func WithContainerBackendType ¶ added in v0.79.0
func WithContainerOptions ¶ added in v0.17.0
func WithContainerOptions(containerOptions options.ContainerOptions) Option
func WithDirtyMode ¶ added in v0.3.0
func WithDirtyMode() Option
func WithHeartbeatTimeout ¶ added in v0.106.0
func WithLogger ¶
func WithTartOptions ¶ added in v0.78.0
func WithTartOptions(tartOptions options.TartOptions) Option
func WithTaskFilter ¶ added in v0.3.0
func WithTaskFilter(taskFilter taskfilter.TaskFilter) Option
func WithUserSpecifiedEnvironment ¶ added in v0.8.0
func WithVetuOptions ¶ added in v0.108.0
func WithVetuOptions(vetuOptions options.VetuOptions) Option
Click to show internal directories.
Click to hide internal directories.