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

Method State

pkg/tools/lifecycle/state.go:146–150  ·  view source on GitHub ↗

State returns the current state.

()

Source from the content-addressed store, hash-verified

144
145// State returns the current state.
146func (t *Tracker) State() State {
147 t.mu.RLock()
148 defer t.mu.RUnlock()
149 return t.state
150}
151
152// LastError returns the most recent error recorded by Fail, or nil if a
153// clean Set has happened since.

Callers 2

Calls

no outgoing calls

Tested by 2