- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for Col1 (0.07 sec)
-
pkg/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
const ( namespace0 = "test0" pName0 = "pod0" capacity = int64(10000000) available = int64(5000000) inodesTotal = int64(2000) inodesFree = int64(1000) vol0 = "vol0" vol1 = "vol1" vol2 = "vol2" vol3 = "vol3" pvcClaimName0 = "pvc-fake0" pvcClaimName1 = "pvc-fake1" ) var ( ErrorWatchTimeout = errors.New("watch event timeout")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/volume/fc/fc_test.go
} if mounter == nil { t.Errorf("Got a nil Mounter: %v", err) } path := mounter.GetPath() expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~fc/vol1") if path != expectedPath { t.Errorf("Unexpected path, expected %q, got: %q", expectedPath, path) } if err := mounter.SetUp(volume.MounterArgs{}); err != nil { t.Errorf("Expected success, got: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
case v1.PersistentVolumeBlock: pod.Spec.Containers[0].VolumeDevices = []v1.VolumeDevice{ { Name: "vol1", DevicePath: "/dev/vol1", }, } case v1.PersistentVolumeFilesystem: pod.Spec.Containers[0].VolumeMounts = []v1.VolumeMount{ { Name: "vol1", MountPath: "/mnt/vol1", }, } default: // The volume is not mounted nor mapped } pv := &v1.PersistentVolume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_test.go
} if mounter == nil { t.Error("Got a nil Mounter") } path := mounter.GetPath() expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~iscsi/vol1") if path != expectedPath { t.Errorf("Unexpected path, expected %q, got: %q", expectedPath, path) } if err := mounter.SetUp(volume.MounterArgs{}); err != nil { t.Errorf("Expected success, got: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
pkg/volume/portworx/portworx_test.go
plug, err := plugMgr.FindPluginByName("kubernetes.io/portworx-volume") if err != nil { t.Errorf("Can't find the plugin by name") } spec := &v1.Volume{ Name: "vol1", VolumeSource: v1.VolumeSource{ PortworxVolume: &v1.PortworxVolumeSource{ VolumeID: PortworxTestVolume, FSType: "ext4", }, }, } fakeManager := &fakePortworxManager{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 21 02:17:04 UTC 2021 - 7.4K bytes - Viewed (0) -
pkg/volume/flexvolume/common_test.go
return false } for i, v := range args { if v != expectedArgs[i] { return false } } return true } func fakeVolumeSpec() *volume.Spec { vol := &v1.Volume{ Name: "vol1", VolumeSource: v1.VolumeSource{ FlexVolume: &v1.FlexVolumeSource{ Driver: "kubernetes.io/fakeAttacher", ReadOnly: false, }, }, } return volume.NewSpecFromVolume(vol) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 3.5K bytes - Viewed (0) -
pkg/volume/hostpath/host_path_test.go
plug, err := plugMgr.FindPluginByName(hostPathPluginName) if err != nil { t.Fatal("Can't find the plugin by name") } volPath := "/tmp/vol1" spec := &v1.Volume{ Name: "vol1", VolumeSource: v1.VolumeSource{HostPath: &v1.HostPathVolumeSource{Path: volPath, Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))}}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 20.5K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_test.go
if err != nil { t.Fatalf("can't make a temp dir: %v", err) } defer os.RemoveAll(basePath) plug := makePluginUnderTest(t, "kubernetes.io/empty-dir", basePath) spec := &v1.Volume{ Name: "vol1", } pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod, volume.VolumeOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 30.7K bytes - Viewed (0)