Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Col1 (0.07 sec)

  1. pkg/volume/util/util_test.go

    						},
    					},
    					Volumes: []v1.Volume{
    						{
    							Name: "vol1",
    						},
    						{
    							Name: "vol2",
    						},
    						{
    							Name: "vol3",
    						},
    					},
    				},
    			},
    			expectedMounts: sets.New[string]("vol1", "vol2", "vol3"),
    			expectedSELinuxContexts: map[string][]*v1.SELinuxOptions{
    				"vol1": {
    					{
    						Type:  "initcontainer1_context_t",
    						Level: "s0:c3,c4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		{ // pod is scheduled
    			testName:          "Scheduled pod",
    			volName:           "vol1",
    			podName:           "pod1",
    			podNodeName:       "mynode-1",
    			pvName:            "pv1",
    			vaName:            "va1",
    			vaNodeName:        "mynode-1",
    			vaAttachStatus:    false,
    			expected_attaches: map[string][]string{"mynode-1": {"vol1"}},
    			expected_detaches: map[string][]string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top