Documentation ¶
Overview ¶
Package run implements the "run" step of pipelines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec( ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, name names.Name, specNames []string, k8sClient *k8s.K8s, ) error
Exec runs the commands of a pipeline.
func ExecBaseCommand ¶ added in v0.1.0
func ExecBaseCommand( ctx context.Context, cfg *config.Config, name names.Name, specName string, spec *pipelines.BaseCommand, sharedEnv []string, k8sClient *k8s.K8s, ) error
ExecBaseCommand executes a base command. Base commands can be test commands, hooks, batch commands, ...
func ExecHooks ¶ added in v0.1.0
func ExecHooks( ctx context.Context, cfg *config.Config, name names.Name, specName string, hooks []pipelines.CommandHook, sharedEnv []string, k8sClient *k8s.K8s, ) error
ExecHooks executes a slice of hooks. The hooks can depend on each other. They cannot depend on hooks not defined in the slice.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package batch implements batch execution.
|
Package batch implements batch execution. |
Package env implements environment variable templating.
|
Package env implements environment variable templating. |
Click to show internal directories.
Click to hide internal directories.