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

Method SetUpPod

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

SetUpPod is the method called after the infra container of the pod has been created but before the other containers of the pod are launched.

(
		namespace string,
		name string,
		podSandboxID config.ContainerID,
		annotations, options map[string]string,
	)

Source from the content-addressed store, hash-verified

67 // the pod has been created but before the other containers of the
68 // pod are launched.
69 SetUpPod(
70 namespace string,
71 name string,
72 podSandboxID config.ContainerID,

Callers 6

SetUpPodMethod · 0.65
TestCNIPluginFunction · 0.65
TestPluginManagerFunction · 0.65
TestSetUpPodFailureFunction · 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 4

TestCNIPluginFunction · 0.52
TestPluginManagerFunction · 0.52
TestSetUpPodFailureFunction · 0.52