- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fakePodName (0.44 sec)
-
pkg/kubelet/cm/cpumanager/cpu_manager_test.go
}{ { description: "cpu manager reconcile - no error", policy: testPolicy, activePods: []*v1.Pod{ { ObjectMeta: metav1.ObjectMeta{ Name: "fakePodName", UID: "fakePodUID", }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: "fakeContainerName", }, }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 42.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_windows_test.go
fsp := &subpath.FakeSubpath{} podDir, err := os.MkdirTemp("", "test-rotate-logs") require.NoError(t, err) defer os.RemoveAll(podDir) mounts, _, err := makeMounts(&pod, podDir, &container, "fakepodname", "", []string{""}, podVolumes, fhu, fsp, nil, false) require.NoError(t, err) expectedMounts := []kubecontainer.Mount{ { Name: "disk", ContainerPath: "c:/etc/hosts",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
ctx := genericapirequest.NewDefaultContext() fakePodName := "test" tcs := []struct { name string in *api.Pod opts *api.PodLogOptions expectedErr error expectedTransport http.RoundTripper }{ { name: "simple", in: &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: fakePodName}, Spec: api.PodSpec{ Containers: []api.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_linux_test.go
fsp := &subpath.FakeSubpath{} pod := v1.Pod{ Spec: v1.PodSpec{ HostNetwork: true, }, } mounts, _, err := makeMounts(&pod, "/pod", &tc.container, "fakepodname", "", []string{""}, tc.podVolumes, fhu, fsp, nil, tc.supportsRRO) // validate only the error if we expect an error if tc.expectErr { if err == nil || err.Error() != tc.expectedErrMsg {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0)