MCPcopy Index your code
hub / github.com/docker/docker-agent / MarkReadyForTesting

Method MarkReadyForTesting

pkg/tools/lifecycle/supervisor.go:214–214  ·  view source on GitHub ↗

MarkReadyForTesting forces the supervisor into StateReady without going through Connect. Test-only backdoor; production code must not call this.

()

Source from the content-addressed store, hash-verified

212// MarkReadyForTesting forces the supervisor into StateReady without going
213// through Connect. Test-only backdoor; production code must not call this.
214func (s *Supervisor) MarkReadyForTesting() { s.tracker.Set(StateReady) }
215
216// Restarted returns a channel closed the next time the supervisor
217// completes a successful restart. The channel is replaced after each

Callers 1

markStartedForTestingMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by 1

markStartedForTestingMethod · 0.64