- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetPodDir (0.12 sec)
-
pkg/kubelet/container/testing/fake_runtime_helper.go
} // This is not used by docker runtime. func (f *FakeRuntimeHelper) GeneratePodHostNameAndDomain(pod *v1.Pod) (string, string, error) { return f.HostName, f.HostDomain, f.Err } func (f *FakeRuntimeHelper) GetPodDir(podUID kubetypes.UID) string { return "/poddir/" + string(podUID) } func (f *FakeRuntimeHelper) GetExtraSupplementalGroupsForPod(pod *v1.Pod) []int64 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 11:01:00 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters_test.go
exp = filepath.Join(root, "plugins_registry") assert.Equal(t, exp, got) got = kubelet.getPluginDir("foobar") exp = filepath.Join(root, "plugins/foobar") assert.Equal(t, exp, got) got = kubelet.getPodDir("abc123") exp = filepath.Join(root, "pods/abc123") assert.Equal(t, exp, got) got = kubelet.getPodVolumesDir("abc123") exp = filepath.Join(root, "pods/abc123/volumes") assert.Equal(t, exp, got)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0)