Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for colName (0.34 sec)

  1. src/database/sql/fakedb_test.go

    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	var cols []any
    	if doInsert {
    		cols = make([]any, len(t.colname))
    	}
    	argPos := 0
    	for n, colname := range s.colName {
    		colidx := t.columnIndex(colname)
    		if colidx == -1 {
    			return nil, fmt.Errorf("fakedb: column %q doesn't exist or dropped since prepared statement was created", colname)
    		}
    		var val any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/syscall/mksysctl_openbsd.pl

    				if ($header =~ /^netinet\//) {
    					$ctlname = "net.inet.$nodename";
    				} elsif ($header =~ /^netinet6\//) {
    					$ctlname = "net.inet6.$nodename";
    				} elsif ($header =~ /^net\//) {
    					$ctlname = "net.$nodename";
    				} else {
    					$ctlname = "$nodename";
    					$ctlname =~ s/^(fs|net|kern)_/$1\./;
    				}
    				if (exists $ctl_map{$ctlname}) {
    					$ctlname = $ctl_map{$ctlname};
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 5K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_test.go

    	}{
    		{
    			name:     "PersistentVolume",
    			specName: "pv2",
    			driver:   "simple-driver",
    			volName:  "vol2",
    			specFunc: func(specName, driver, volName string) *volume.Spec {
    				return volume.NewSpecFromPersistentVolume(makeTestPV(specName, 20, driver, volName), false)
    			},
    			podFunc: func() *api.Pod {
    				podUID := types.UID(fmt.Sprintf("%08X", rand.Uint64()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/configmap/configmap.go

    	}, nil
    }
    
    func (plugin *configMapPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &configMapVolumeUnmounter{
    		&configMapVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    			volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pkg/volume/util/nested_volumes_test.go

    	name     string
    	err      bool
    	expected sets.Set[string]
    	volname  string
    	pod      v1.Pod
    }
    
    func TestGetNestedMountpoints(t *testing.T) {
    	var (
    		testNamespace = "test_namespace"
    		testPodUID    = types.UID("test_pod_uid")
    	)
    
    	tc := []testCases{
    		{
    			name:     "Simple Pod",
    			err:      false,
    			expected: sets.New[string](),
    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. pkg/volume/portworx/portworx.go

    }
    
    func (plugin *portworxVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.util, plugin.host.GetMounter(plugin.GetPluginName()))
    }
    
    func (plugin *portworxVolumePlugin) newUnmounterInternal(volName string, podUID types.UID, manager portworxManager,
    	mounter mount.Interface) (volume.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. pkg/volume/projected/projected.go

    	}, nil
    }
    
    func (plugin *projectedPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &projectedVolumeUnmounter{
    		&projectedVolume{
    			volName:         volName,
    			podUID:          podUID,
    			plugin:          plugin,
    			MetricsProvider: volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. pkg/volume/downwardapi/downwardapi.go

    	}, nil
    }
    
    func (plugin *downwardAPIPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &downwardAPIVolumeUnmounter{
    		&downwardAPIVolume{
    			volName:         volName,
    			podUID:          podUID,
    			plugin:          plugin,
    			MetricsProvider: volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/volume/git_repo/git_repo.go

    		gitRepoVolume: &gitRepoVolume{
    			volName: spec.Name(),
    			podUID:  pod.UID,
    			plugin:  plugin,
    		},
    		pod:      *pod,
    		source:   spec.Volume.GitRepo.Repository,
    		revision: spec.Volume.GitRepo.Revision,
    		target:   spec.Volume.GitRepo.Directory,
    		exec:     exec.New(),
    		opts:     opts,
    	}, nil
    }
    
    func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top