MCPcopy
hub / github.com/containerd/containerd / ContainerEvent

Function ContainerEvent

integration/nri_test.go:1191–1193  ·  view source on GitHub ↗
(ctr *api.Container, t EventType)

Source from the content-addressed store, hash-verified

1189}
1190
1191func ContainerEvent(ctr *api.Container, t EventType) *Event {
1192 return &Event{Type: t, Ctr: ctr.Id}
1193}
1194
1195func PodRefEvent(pod string, t EventType) *Event {
1196 return &Event{Type: t, Pod: pod}

Callers 9

CreateContainerMethod · 0.85
PostCreateContainerMethod · 0.85
StartContainerMethod · 0.85
PostStartContainerMethod · 0.85
UpdateContainerMethod · 0.85
PostUpdateContainerMethod · 0.85
StopContainerMethod · 0.85
RemoveContainerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…