MCPcopy
hub / github.com/containerd/containerd / stubController

Struct stubController

plugins/services/sandbox/controller_service_test.go:40–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38)
39
40type stubController struct {
41 lastCreateSandbox sandbox.Sandbox
42 lastCreateOpts sandbox.CreateOptions
43 lastStopID string
44 lastWaitID string
45 lastStatusID string
46 lastStatusVerbose bool
47 statusExtra *anypb.Any
48 lastShutdownID string
49 lastMetricsID string
50 lastUpdateID string
51 lastUpdateSandbox sandbox.Sandbox
52 lastUpdateFields []string
53
54 createErr error
55 startErr error
56 stopErr error
57 waitErr error
58 statusErr error
59 shutdownErr error
60 metricsErr error
61 updateErr error
62}
63
64var createdAt = time.Date(2025, 1, 1, 0, 0, 0, 0, time.UTC)
65var exitedAt = time.Date(2025, 1, 1, 0, 1, 0, 0, time.UTC)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected