MCPcopy
hub / github.com/abiosoft/colima / Add

Method Add

cli/chain.go:88–90  ·  view source on GitHub ↗

Add adds a new function to the runner.

(f func() error)

Source from the content-addressed store, hash-verified

86
87// Add adds a new function to the runner.
88func (a *ActiveCommandChain) Add(f func() error) {
89 a.funcs = append(a.funcs, cFunc{f: f})
90}
91
92// Stage sets the current stage of the runner.
93func (a *ActiveCommandChain) Stage(s string) {

Callers 15

RetryMethod · 0.95
ProvisionMethod · 0.80
StartMethod · 0.80
StopMethod · 0.80
installK3sBinaryFunction · 0.80
installK3sCacheFunction · 0.80
installK3sClusterFunction · 0.80
installCniConfigFunction · 0.80
provisionKubeconfigMethod · 0.80
unsetKubeconfigMethod · 0.80
teardownKubeconfigMethod · 0.80
ProvisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected