MCPcopy
hub / github.com/containerd/containerd / ListContainers

Method ListContainers

internal/nri/domain.go:40–40  ·  view source on GitHub ↗

ListContainers lists all containers in this namespace.

()

Source from the content-addressed store, hash-verified

38
39 // ListContainers lists all containers in this namespace.
40 ListContainers() []Container
41
42 // GetPodSandbox returns the pod for the given ID.
43 GetPodSandbox(string) (PodSandbox, bool)

Callers 10

listContainersFuzzFunction · 0.65
execToExistingContainerFunction · 0.65
TestContainerdRestartFunction · 0.65
ConnectDaemonsFunction · 0.65
ListContainersMethod · 0.65
ListContainersMethod · 0.65
TestListContainersFunction · 0.65
listContainersMethod · 0.65

Implementers 1

APIinternal/cri/nri/nri_api_linux.go

Calls

no outgoing calls

Tested by 7

listContainersFuzzFunction · 0.52
execToExistingContainerFunction · 0.52
TestContainerdRestartFunction · 0.52
ConnectDaemonsFunction · 0.52
TestListContainersFunction · 0.52