- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for test_pod_uid (0.33 sec)
-
pkg/volume/configmap/configmap_test.go
t.Errorf("SetUp() failed: %v", err) } } doTestConfigMapDataInVolume(volumePath, configMap, t) doTestCleanAndTeardown(plugin, testPodUID, testVolumeName, volumePath, t) } func TestPluginOptional(t *testing.T) { var ( testPodUID = types.UID("test_pod_uid") testVolumeName = "test_volume_name" testNamespace = "test_configmap_namespace" testName = "test_configmap_name"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 19.9K bytes - Viewed (0) -
pkg/volume/secret/secret_test.go
} else { t.Errorf("SetUp() failed: %v", err) } } doTestSecretDataInVolume(volumePath, secret, t) doTestCleanAndTeardown(plugin, testPodUID, testVolumeName, volumePath, t) } func TestPluginOptional(t *testing.T) { var ( testPodUID = types.UID("test_pod_uid") testVolumeName = "test_volume_name" testNamespace = "test_secret_namespace" testName = "test_secret_name" trueVal = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 19.5K bytes - Viewed (0) -
pkg/volume/projected/projected_test.go
source.Sources[0].Secret.Items = tc.mappings source.Sources[0].Secret.Optional = &tc.optional testPodUID := types.UID("test_pod_uid") pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{Namespace: testNamespace, UID: testPodUID}} client := fake.NewSimpleClientset(tc.secret) tempDir, host := newTestHost(t, client) defer os.RemoveAll(tempDir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0) -
pkg/volume/downwardapi/downwardapi_test.go
"k8s.io/kubernetes/pkg/fieldpath" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/emptydir" volumetest "k8s.io/kubernetes/pkg/volume/testing" ) const ( downwardAPIDir = "..data" testPodUID = types.UID("test_pod_uid") testNamespace = "test_metadata_namespace" testName = "test_metadata_name" ) func newTestHost(t *testing.T, clientset clientset.Interface) (string, volume.VolumeHost) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 04:48:49 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_test.go
Name: "test_container", Image: "foo/image:v1", } pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test_pod", Namespace: "test_pod_namespace", UID: "test_pod_uid", }, Spec: v1.PodSpec{ Containers: []v1.Container{*container}, }, } oldKey := getStableKey(pod, container) // Updating the container image should change the key.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
m.workers = map[probeKey]*worker{ {testPodUID, unprobed.Name, liveness}: {}, {testPodUID, probedReady.Name, readiness}: {}, {testPodUID, probedPending.Name, readiness}: {}, {testPodUID, probedUnready.Name, readiness}: {}, {testPodUID, notStartedNoReadiness.Name, startup}: {}, {testPodUID, startedNoReadiness.Name, startup}: {}, {testPodUID, terminated.Name, readiness}: {}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/volume/csi/csi_block_test.go
path: filepath.Join(tmpDir, fmt.Sprintf("plugins/kubernetes.io/csi/volumeDevices/publish/%s/%s", "spec-0", testPodUID)), }, { name: "specName with dots", specVolumeName: "test.spec.1", path: filepath.Join(tmpDir, fmt.Sprintf("plugins/kubernetes.io/csi/volumeDevices/publish/%s/%s", "test.spec.1", testPodUID)), }, } for _, tc := range testCases { t.Logf("test case: %s", tc.name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 08:56:16 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin_test.go
} // test unmounter unmounter, err := plug.NewUnmounter(pv.ObjectMeta.Name, testPodUID) csiUnmounter := unmounter.(*csiMountMgr) if err != nil { t.Fatalf("Failed to make a new Unmounter: %v", err) } if csiUnmounter == nil { t.Fatal("failed to create CSI Unmounter") } if csiUnmounter.podUID != testPodUID { t.Error("podUID not set") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/kubelet/prober/worker_test.go
} } func TestCleanUp(t *testing.T) { m := newTestManager() for _, probeType := range [...]probeType{liveness, readiness, startup} { key := probeKey{testPodUID, testContainerName, probeType} w := newTestWorker(m, probeType, v1.Probe{}) m.statusManager.SetPodStatus(w.pod, getTestRunningStatusWithStarted(probeType != startup)) go w.run() m.workers[key] = w
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 23:48:10 UTC 2023 - 16.1K bytes - Viewed (0)