Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The name of the variable used to pass the value of Build failure exit code // that should be returned from Custom executor driver BuildFailureExitCodeVariable = "BUILD_FAILURE_EXIT_CODE" // The name of the variable used to pass the value of System failure exit code // that should be returned from Custom executor driver SystemFailureExitCodeVariable = "SYSTEM_FAILURE_EXIT_CODE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigExecOutput ¶
type ConfigExecOutput struct { Driver *DriverInfo `json:"driver,omitempty"` Hostname *string `json:"hostname,omitempty"` BuildsDir *string `json:"builds_dir,omitempty"` CacheDir *string `json:"cache_dir,omitempty"` }
ConfigExecOutput defines the output structure of the config_exec call.
This should be used to pass the configuration values from Custom Executor driver to the Runner.
type DriverInfo ¶
type DriverInfo struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
DriverInfo wraps the information about Custom Executor driver details like the name or version
Click to show internal directories.
Click to hide internal directories.