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

Method Run

pkg/manager/command_manager.go:39–41  ·  view source on GitHub ↗

Run command Manager. print log and run playbook executor.

(ctx context.Context)

Source from the content-addressed store, hash-verified

37
38// Run command Manager. print log and run playbook executor.
39func (m *commandManager) Run(ctx context.Context) error {
40 return executor.NewPlaybookExecutor(ctx, m.Client, m.Playbook, m.logOutput).Exec(ctx)
41}

Callers

nothing calls this directly

Calls 2

NewPlaybookExecutorFunction · 0.92
ExecMethod · 0.65

Tested by

no test coverage detected