Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for colName (0.17 sec)

  1. pkg/volume/testing/testing.go

    		if !ok {
    			fv.VolumeMountState[fv.VolName] = volumeMountUncertain
    			return volumetypes.NewUncertainProgressError("time out on setup")
    		}
    		fv.VolumeMountState[fv.VolName] = volumeNotMounted
    		return fmt.Errorf("mounting volume failed")
    
    	}
    
    	if fv.VolName == SuccessAndFailOnSetupVolumeName {
    		_, ok := fv.VolumeMountState[fv.VolName]
    		if ok {
    			fv.VolumeMountState[fv.VolName] = volumeNotMounted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    		{
    			testName:         "normal PV",
    			volName:          "test-vol1",
    			devicePath:       "path1",
    			deviceMountPath:  "path2",
    			stageUnstageSet:  true,
    			createAttachment: true,
    			spec:             volume.NewSpecFromPersistentVolume(makeTestPV(pvName, 10, testDriver, "test-vol1"), false),
    		},
    		{
    			testName:         "normal PV with mount options",
    			volName:          "test-vol1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	}
    
    	testCases := []struct {
    		volName     string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		{
    			volName:     "success-vol",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		{
    			volName:     "nonexistent-vol",
    			expectedErr: errVolumeNotFound,
    		},
    		// TestXLStorage case - 3.
    		{
    			volName:     "ab",
    			expectedErr: errVolumeNotFound,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			},
    			verify: func(t *testing.T, vols []v1.UniqueVolumeName, volName v1.UniqueVolumeName) {
    				if len(vols) == 0 {
    					t.Fatalf("Request resize for volume, but volume in ASW hasn't been marked as fsResizeRequired")
    				}
    				if len(vols) != 1 {
    					t.Errorf("Some unexpected volumes are marked as fsResizeRequired: %v", vols)
    				}
    				if vols[0] != volName {
    					t.Fatalf("Mark wrong volume as fsResizeRequired: %s", vols[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    	for podUID, containerDevices := range expectedPodDevices.devs {
    		for conName, resources := range containerDevices {
    			for resource := range resources {
    				expDevices := expectedPodDevices.containerDevices(podUID, conName, resource)
    				testDevices := testManager.podDevices.containerDevices(podUID, conName, resource)
    				as.True(reflect.DeepEqual(expDevices, testDevices))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	_, _ = rand.Read(alignedBuf)
    }
    
    // isValidVolname verifies a volname name in accordance with object
    // layer requirements.
    func isValidVolname(volname string) bool {
    	if len(volname) < 3 {
    		return false
    	}
    
    	if runtime.GOOS == "windows" {
    		// Volname shouldn't have reserved characters in Windows.
    		return !strings.ContainsAny(volname, `\:*?\"<>|`)
    	}
    
    	return true
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  7. pkg/volume/csi/csi_mounter_test.go

    			expectedFSGroupInNodePublish:   "",
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Logf("Running test %s", tc.name)
    
    		volName := fmt.Sprintf("test-vol-%d", i)
    		registerFakePlugin(testDriver, "endpoint", []string{"1.0.0"}, t)
    		pv := makeTestPV("test-pv", 10, testDriver, volName)
    		pv.Spec.AccessModes = tc.accessModes
    		pvName := pv.GetName()
    
    		spec := volume.NewSpecFromPersistentVolume(pv, tc.readOnly)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    			// /*line*/ directives can be anywhere in the line.
    			text := commentText(msg)
    			if (col == colbase || msg[1] == '*') && strings.HasPrefix(text, "line ") {
    				var pos Pos // position immediately following the comment
    				if msg[1] == '/' {
    					// line comment (newline is part of the comment)
    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    			rbac := &rbachttp.RBAC{}
    			if err := httpFilter.GetTypedConfig().UnmarshalTo(rbac); err == nil {
    				policies := []string{}
    				for polName := range rbac.Rules.Policies {
    					policies = append(policies, polName)
    				}
    				return policies, nil
    			}
    		}
    	}
    
    	return []string{}, nil
    }
    
    // Return the first HTTP Connection Manager config for the inbound port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		if err != nil {
    			c.Fatalf("bucket create error: %v", err)
    		}
    	}
    
    	// Create policies
    	for polName, polContent := range policyProjectsMap {
    		err := s.adm.AddCannedPolicy(ctx, polName, []byte(polContent))
    		if err != nil {
    			c.Fatalf("policy add error: %v", err)
    		}
    	}
    
    	makeSTSClient := func(user, password string) *minio.Client {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top