Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for withRole (0.47 sec)

  1. pkg/volume/testing/testing.go

    	plugins := ProbeVolumePlugins(volume.VolumeConfig{})
    	v := NewFakeKubeletVolumeHost(
    		t,
    		"",      /* rootDir */
    		nil,     /* kubeClient */
    		plugins, /* plugins */
    	)
    	v.WithNode(node)
    
    	return v.GetPluginMgr(), plugins[0].(*FakeVolumePlugin)
    }
    
    func GetTestKubeletVolumePluginMgrWithNodeAndRoot(t *testing.T, node *v1.Node, rootDir string) (*volume.VolumePluginMgr, *FakeVolumePlugin) {
    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. src/text/template/exec.go

    		s.walkRange(dot, node)
    	case *parse.TemplateNode:
    		s.walkTemplate(dot, node)
    	case *parse.TextNode:
    		if _, err := s.wr.Write(node.Text); err != nil {
    			s.writeError(err)
    		}
    	case *parse.WithNode:
    		s.walkIfOrWith(parse.NodeWith, dot, node.Pipe, node.List, node.ElseList)
    	default:
    		s.errorf("unknown node: %s", node)
    	}
    }
    
    // walkIfOrWith walks an 'if' or 'with' node. The two control structures
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top