action

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Execute(ctx context.Context, runData runtime.Data) (bool, error)
	Timeout() time.Duration
	When() When
}

type Maker

type Maker interface {
	MakeAction(config types.Action, sl services.ServiceLocator, defaultTimeout int) (Action, error)
}

type When

type When string
const (
	Always    When = "always"
	OnSuccess When = "on_success"
	OnFailure When = "on_failure"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL