Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSourceWorkspaceBasePathForTest ¶
func SetSourceWorkspaceBasePathForTest(basePath string) func()
Types ¶
type Executor ¶
type Executor interface {
PrepareWorkspace(projectDir string, compose string) error
DockerClient() (*docker.Client, error)
Name() string
}
func NewLocalLifecycleExecutor ¶
func NewLocalLifecycleExecutor() Executor
type HealthChecker ¶
type NodeExecutionHooks ¶
type NodeExecutionHooks struct {
Logf func(string)
HealthCheck HealthChecker
}
type NodeExecutionResult ¶
func ExecuteNode ¶
func ExecuteNode( ctx context.Context, operation *core.Record, node model.NodeDefinition, executor Executor, dockerClient *docker.Client, hooks NodeExecutionHooks, ) (NodeExecutionResult, error)
Click to show internal directories.
Click to hide internal directories.