MCPcopy
hub / github.com/kubesphere/kubekey / Executor

Interface Executor

pkg/executor/executor.go:14–16  ·  view source on GitHub ↗

Executor all task in playbook

Source from the content-addressed store, hash-verified

12
13// Executor all task in playbook
14type Executor interface {
15 Exec(ctx context.Context) error
16}
17
18// option for playbookExecutor, blockExecutor, taskExecutor
19type option struct {

Callers 8

TestTaskExecutorFunction · 0.65
execBatchHostsMethod · 0.65
dealGatherFactsMethod · 0.65
dealBlockMethod · 0.65
dealTaskMethod · 0.65
ExecMethod · 0.65
executorMethod · 0.65
RunMethod · 0.65

Implementers 4

taskExecutorpkg/executor/task_executor.go
playbookExecutorpkg/executor/playbook_executor.go
blockExecutorpkg/executor/block_executor.go
roleExecutorpkg/executor/role_executor.go

Calls

no outgoing calls

Tested by

no test coverage detected