Documentation
¶
Index ¶
- type StepRunnerBuilder
- func (b *StepRunnerBuilder) RegisterStepFunc(name string, spec *proto.Spec, function runner.StepFunc) *StepRunnerBuilder
- func (b *StepRunnerBuilder) Run(yaml string) (*proto.StepResult, string, error)
- func (b *StepRunnerBuilder) WithDebugLogs() *StepRunnerBuilder
- func (b *StepRunnerBuilder) WithEnvKeyVal(key, value string) *StepRunnerBuilder
- func (b *StepRunnerBuilder) WithGlobalCtxEnv(env map[string]string) *StepRunnerBuilder
- func (b *StepRunnerBuilder) WithJobKeyVal(key, value string) *StepRunnerBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StepRunnerBuilder ¶
type StepRunnerBuilder struct {
// contains filtered or unexported fields
}
func StepRunner ¶
func StepRunner(t *testing.T) *StepRunnerBuilder
func (*StepRunnerBuilder) RegisterStepFunc ¶ added in v0.17.0
func (b *StepRunnerBuilder) RegisterStepFunc(name string, spec *proto.Spec, function runner.StepFunc) *StepRunnerBuilder
func (*StepRunnerBuilder) Run ¶
func (b *StepRunnerBuilder) Run(yaml string) (*proto.StepResult, string, error)
func (*StepRunnerBuilder) WithDebugLogs ¶
func (b *StepRunnerBuilder) WithDebugLogs() *StepRunnerBuilder
func (*StepRunnerBuilder) WithEnvKeyVal ¶
func (b *StepRunnerBuilder) WithEnvKeyVal(key, value string) *StepRunnerBuilder
func (*StepRunnerBuilder) WithGlobalCtxEnv ¶
func (b *StepRunnerBuilder) WithGlobalCtxEnv(env map[string]string) *StepRunnerBuilder
func (*StepRunnerBuilder) WithJobKeyVal ¶ added in v0.16.0
func (b *StepRunnerBuilder) WithJobKeyVal(key, value string) *StepRunnerBuilder
Click to show internal directories.
Click to hide internal directories.