Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for specName (0.68 sec)

  1. pkg/volume/csi/csi_plugin.go

    	klog.V(4).Info(log("mounter created successfully"))
    	return mounter, nil
    }
    
    func (p *csiPlugin) NewUnmounter(specName string, podUID types.UID) (volume.Unmounter, error) {
    	klog.V(4).Infof(log("setting up unmounter for [name=%v, podUID=%v]", specName, podUID))
    
    	kvh, ok := p.host.(volume.KubeletVolumeHost)
    	if !ok {
    		return nil, errors.New(log("cast from VolumeHost to KubeletVolumeHost failed"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    func TestMounterGetPath(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    
    	// TODO (vladimirvivien) specName with slashes will not work
    	testCases := []struct {
    		name           string
    		specVolumeName string
    		path           string
    	}{
    		{
    			name:           "simple specName",
    			specVolumeName: "spec-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_plugin_test.go

    	if csiUnmapper == nil {
    		t.Fatal("failed to create CSI Unmounter")
    	}
    
    	if csiUnmapper.podUID != testPodUID {
    		t.Error("podUID not set")
    	}
    
    	if csiUnmapper.specName != pv.ObjectMeta.Name {
    		t.Error("specName not set")
    	}
    
    	csiClient, err := csiUnmapper.csiClientGetter.Get()
    	if csiClient == nil {
    		t.Errorf("unmapper csiClient is nil: %v", err)
    	}
    
    	// test loaded vol data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. pkg/volume/plugins.go

    			// returns success for expand on the controller
    			klog.V(4).InfoS("FindExpandablePluginBySpec -> returning noopExpandableVolumePluginInstance", "specName", spec.Name())
    			return &noopExpandableVolumePluginInstance{spec}, nil
    		}
    		klog.V(4).InfoS("FindExpandablePluginBySpec -> err", "specName", spec.Name(), "err", err)
    		return nil, err
    	}
    
    	if expandableVolumePlugin, ok := volumePlugin.(ExpandableVolumePlugin); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. src/go/doc/reader.go

    func (r *reader) remember(predecl string, typ *ast.InterfaceType) {
    	if r.fixmap == nil {
    		r.fixmap = make(map[string][]*ast.InterfaceType)
    	}
    	r.fixmap[predecl] = append(r.fixmap[predecl], typ)
    }
    
    func specNames(specs []ast.Spec) []string {
    	names := make([]string, 0, len(specs)) // reasonable estimate
    	for _, s := range specs {
    		// s guaranteed to be an *ast.ValueSpec by readValue
    		for _, ident := range s.(*ast.ValueSpec).Names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    // the segment into which to place the new section, "secName" is the
    // name to give to the new section, "forceType" (if non-zero) contains
    // a new sym type to apply to each sym during the assignment, and
    // "rwx" holds section permissions.
    func (state *dodataState) allocateNamedSectionAndAssignSyms(seg *sym.Segment, secName string, symn sym.SymKind, forceType sym.SymKind, rwx int) *sym.Section {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top