Documentation
¶
Overview ¶
Package cri resolves trace claims through a private, deadline-bound local CRI connection, independently of node-agent's host namespace enrichment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inventory ¶
type Inventory struct {
// contains filtered or unexported fields
}
func New ¶
New connects only to a local Unix socket. No TCP endpoint or runsc control root is accessed. The operator must configure handler to select runsc.
func (*Inventory) Resolve ¶
Resolve verifies a start claim: the container must be CREATED or RUNNING in a READY sandbox.
func (*Inventory) ResolveTerminal ¶ added in v0.3.325
ResolveTerminal verifies a stop. The Sentry reports a termination a few milliseconds before CRI does, so the container may be RUNNING or already EXITED, and its sandbox may be NOTREADY when the whole Pod is stopping. Every other check is the same as for a start.