Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for colName (0.14 sec)

  1. pkg/volume/csi/csi_plugin_test.go

    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    	testCases := []struct {
    		name       string
    		driverName string
    		volName    string
    		spec       *volume.Spec
    		shouldFail bool
    	}{
    		{
    			name:       "alphanum names",
    			driverName: "testdr",
    			volName:    "testvol",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "testdr", "testvol"), false),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/volume_host.go

    	return ctrl.kubeClient
    }
    
    func (ctrl *PersistentVolumeController) NewWrapperMounter(volName string, spec vol.Spec, pod *v1.Pod, opts vol.VolumeOptions) (vol.Mounter, error) {
    	return nil, fmt.Errorf("PersistentVolumeController.NewWrapperMounter is not implemented")
    }
    
    func (ctrl *PersistentVolumeController) NewWrapperUnmounter(volName string, spec vol.Spec, podUID types.UID) (vol.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/issues_test.go

    		// identify column position of @ and remove it from src
    		i := strings.Index(src, "@")
    		if i < 0 {
    			t.Errorf("%s: invalid test case (missing @)", src)
    			continue
    		}
    		src = src[:i] + src[i+1:]
    		want := colbase + uint(i)
    
    		f, err := Parse(nil, strings.NewReader(src), nil, nil, 0)
    		if err != nil {
    			t.Errorf("%s: %v", src, err)
    			continue
    		}
    
    		// locate KeyValueExpr
    		Inspect(f, func(n Node) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pkg/volume/flexvolume/unmounter_test.go

    	plugin, rootDir := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, notSupportedOutput(), unmountCmd,
    			rootDir+"/mount-dir"),
    	)
    
    	u, _ := plugin.newUnmounterInternal("volName", types.UID("poduid"), mounter, plugin.runner)
    	u.TearDownAt(rootDir + "/mount-dir")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi_util.go

    	if err != nil {
    		return err
    	}
    
    	var bkpPortal []string
    	var volName, iqn, iface, initiatorName string
    	found := true
    
    	// load iscsi disk config from json file
    	if err := util.loadISCSI(c.iscsiDisk, mntPath); err == nil {
    		bkpPortal, iqn, iface, volName = c.iscsiDisk.Portals, c.iscsiDisk.Iqn, c.iscsiDisk.Iface, c.iscsiDisk.VolName
    		initiatorName = c.iscsiDisk.InitiatorName
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  6. pkg/volume/testing/volume_host.go

    	return map[v1.UniqueVolumeName]string{}, nil
    }
    
    func (f *fakeVolumeHost) NewWrapperMounter(volName string, spec Spec, pod *v1.Pod, opts VolumeOptions) (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
    	}
    	plug, err := f.pluginMgr.FindPluginBySpec(&spec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/pod_devices.go

    	pdev.RLock()
    	defer pdev.RUnlock()
    	for podUID, containerDevices := range pdev.devs {
    		for conName, resources := range containerDevices {
    			for resource, devices := range resources {
    				if devices.allocResp == nil {
    					klog.ErrorS(nil, "Can't marshal allocResp, allocation response is missing", "podUID", podUID, "containerName", conName, "resourceName", resource)
    					continue
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/pos.go

    }
    
    // NewTrimmedFileBase is like NewFileBase, but allows specifying Trimmed.
    func NewTrimmedFileBase(filename string, trimmed bool) *PosBase {
    	base := &PosBase{MakePos(nil, linebase, colbase), filename, linebase, colbase, trimmed}
    	base.pos.base = base
    	return base
    }
    
    // NewLineBase returns a new PosBase for a line directive "line filename:line:col"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/source.go

    	s.line, s.col = 0, 0
    	s.ch = ' '
    	s.chw = 0
    }
    
    // starting points for line and column numbers
    const linebase = 1
    const colbase = 1
    
    // pos returns the (line, col) source position of s.ch.
    func (s *source) pos() (line, col uint) {
    	return linebase + s.line, colbase + s.col
    }
    
    // error reports the error msg at source position s.pos().
    func (s *source) error(msg string) {
    	line, col := s.pos()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 19:25:46 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  10. src/os/path_windows_test.go

    	}
    	const maxVolNameLen = 50
    	var buf [maxVolNameLen]uint16
    	err = windows.GetVolumeNameForVolumeMountPoint(vol, &buf[0], maxVolNameLen)
    	if err != nil {
    		t.Fatal(err)
    	}
    	volName := syscall.UTF16ToString(buf[:])
    	testMkdirAllAtRoot(t, volName)
    }
    
    func TestRemoveAllLongPathRelative(t *testing.T) {
    	// Test that RemoveAll doesn't hang with long relative paths.
    	// See go.dev/issue/36375.
    	tmp := t.TempDir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top