MCPcopy
hub / github.com/alexei-led/pumba / Runtime

FuncType Runtime

pkg/chaos/command.go:23–23  ·  view source on GitHub ↗

Runtime returns the container client to use for chaos execution. Builders receive a Runtime factory rather than a client value so that client construction can be deferred until after global flag parsing while still keeping the dependency visible in every constructor signature.

func() container.Client

Source from the content-addressed store, hash-verified

21// construction can be deferred until after global flag parsing while still
22// keeping the dependency visible in every constructor signature.
23type Runtime func() container.Client
24
25// Command chaos command
26type Command interface {

Callers 5

fakeRuntimeFunction · 0.92
fakeRuntimeFunction · 0.92
fakeRuntimeFunction · 0.92
fakeRuntimeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected