Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for colName (0.17 sec)

  1. pkg/volume/emptydir/empty_dir.go

    		volName:         volName,
    		medium:          v1.StorageMediumDefault, // might be changed later
    		mounter:         mounter,
    		mountDetector:   mountDetector,
    		plugin:          plugin,
    		MetricsProvider: volume.NewMetricsDu(getPath(podUID, volName, plugin.host)),
    	}
    	return ed, nil
    }
    
    func (plugin *emptyDirPlugin) ConstructVolumeSpec(volName, mountPath string) (volume.ReconstructedVolume, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		if tc.csiMigration {
    			// NewPV returns a GCEPersistentDisk volume, which is migrated.
    			newPv = controllervolumetesting.NewPV(tc.pvName, tc.volName)
    		} else {
    			// Otherwise use NFS, which is not subject to migration.
    			newPv = controllervolumetesting.NewNFSPV(tc.pvName, tc.volName)
    		}
    		_, err = adc.kubeClient.CoreV1().PersistentVolumes().Create(tCtx, newPv, metav1.CreateOptions{})
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. schema/index.go

    					Option:  settings["OPTION"],
    					Fields: []IndexOption{{
    						Field:      field,
    						Expression: settings["EXPRESSION"],
    						Sort:       settings["SORT"],
    						Collate:    settings["COLLATE"],
    						Length:     length,
    						priority:   priority,
    					}},
    				})
    			}
    		}
    	}
    
    	err = nil
    	return
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pkg/volume/portworx/portworx_util.go

    	if err != nil || driver == nil {
    		klog.Errorf("Failed to get portworx driver. Err: %v", err)
    		return "", err
    	}
    
    	devicePath, err := driver.Attach(m.volName, attachOptions)
    	if err != nil {
    		klog.Errorf("Error attaching Portworx Volume (%v): %v", m.volName, err)
    		return "", err
    	}
    	return devicePath, nil
    }
    
    // DetachVolume detaches a Portworx Volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  5. 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)
  6. pkg/volume/local/local_test.go

    	tmpDir, plug := getPersistentPlugin(t)
    	defer os.RemoveAll(tmpDir)
    
    	volName, err := plug.GetVolumeName(getTestVolume(false, tmpDir, false, nil))
    	if err != nil {
    		t.Errorf("Failed to get volume name: %v", err)
    	}
    	if volName != testPVName {
    		t.Errorf("Expected volume name %q, got %q", testPVName, volName)
    	}
    }
    
    func TestInvalidLocalPath(t *testing.T) {
    	tmpDir, plug := getPlugin(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/trace_viewer_full.html

    for(let i=0;i<object.length;++i){if(!(object[i]instanceof Object))return false;for(const colName in object[i]){if(i&&(object[0][colName]===undefined))return false;const cellType=typeof object[i][colName];if(cellType!=='string'&&cellType!=='number')return false;}
    if(i){for(const colName in object[0]){if(object[i][colName]===undefined)return false;}}}
    return true;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (2)
  8. pkg/kubelet/kubelet_pods_linux_test.go

    				"disk1": kubecontainer.VolumeInfo{BlockVolumeMapper: &stubBlockVolume{dirPath: "/dev/", volName: "sda"}},
    				"disk2": kubecontainer.VolumeInfo{BlockVolumeMapper: &stubBlockVolume{dirPath: "/dev/disk/by-path/", volName: "diskPath"}, ReadOnly: true},
    				"disk3": kubecontainer.VolumeInfo{BlockVolumeMapper: &stubBlockVolume{dirPath: "/dev/disk/by-id/", volName: "diskUuid"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. pkg/kubelet/volume_host.go

    	}
    
    	return nil
    }
    
    func (kvh *kubeletVolumeHost) NewWrapperMounter(
    	volName string,
    	spec volume.Spec,
    	pod *v1.Pod,
    	opts volume.VolumeOptions) (volume.Mounter, error) {
    	// The name of wrapper volume is set to "wrapped_{wrapped_volume_name}"
    	wrapperVolumeName := "wrapped_" + volName
    	if spec.Volume != nil {
    		spec.Volume.Name = wrapperVolumeName
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. schema/index_test.go

    		"idx_user_indices_name3": {
    			Name:  "idx_user_indices_name3",
    			Type:  "btree",
    			Where: "name3 != 'jinzhu'",
    			Fields: []schema.IndexOption{{
    				Field:   &schema.Field{Name: "Name3"},
    				Sort:    "desc",
    				Collate: "utf8",
    				Length:  10,
    			}},
    		},
    		"idx_user_indices_name4": {
    			Name:   "idx_user_indices_name4",
    			Class:  "UNIQUE",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top