MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / TearDownPod

Method TearDownPod

network/plugins.go:77–77  ·  view source on GitHub ↗

TearDownPod is the method called before a pod's infra container will be deleted

(namespace string, name string, podSandboxID config.ContainerID)

Source from the content-addressed store, hash-verified

75
76 // TearDownPod is the method called before a pod's infra container will be deleted
77 TearDownPod(namespace string, name string, podSandboxID config.ContainerID) error
78
79 // GetPodNetworkStatus is the method called to obtain the ipv4 or ipv6 addresses of the container
80 GetPodNetworkStatus(

Callers 9

TearDownPodMethod · 0.65
TestCNIPluginFunction · 0.65
TestPluginManagerFunction · 0.65
TestTeardownCallsShaperFunction · 0.65
TestSetUpPodFailureFunction · 0.65
StopPodSandboxMethod · 0.65
RunPodSandboxMethod · 0.65

Implementers 5

NoopNetworkPluginnetwork/plugins.go
MockNetworkPluginnetwork/testing/mock_network_plugin.go
_MockNetworkPluginRecordernetwork/testing/mock_network_plugin.go
hookableFakeNetworkPluginnetwork/testing/plugins_test.go
kubenetNetworkPluginnetwork/kubenet/kubenet_linux.go

Calls

no outgoing calls

Tested by 6

TestCNIPluginFunction · 0.52
TestPluginManagerFunction · 0.52
TestTeardownCallsShaperFunction · 0.52
TestSetUpPodFailureFunction · 0.52