Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 108 of 108 for withRole (0.2 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/parse/parse.go

    			if !IsEmptyTree(node) {
    				return false
    			}
    		}
    		return true
    	case *RangeNode:
    	case *TemplateNode:
    	case *TextNode:
    		return len(bytes.TrimSpace(n.Text)) == 0
    	case *WithNode:
    	default:
    		panic("unknown node: " + n.String())
    	}
    	return false
    }
    
    // parse is the top-level parser for a template, essentially the same
    // as itemList except it also parses {{define}} actions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				expectedCost := expectedCost
    				testName := validRule
    				if len(testName) > 127 {
    					testName = testName[:127]
    				}
    				t.Run(testName, func(t *testing.T) {
    					t.Parallel()
    					s := withRule(*tt.schema, validRule)
    					celValidator := NewValidator(&s, true, celconfig.PerCallLimit)
    					if celValidator == nil {
    						t.Fatal("expected non nil validator")
    					}
    					ctx := context.TODO()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  4. src/html/template/escape.go

    	case *parse.RangeNode:
    		return e.escapeBranch(c, &n.BranchNode, "range")
    	case *parse.TemplateNode:
    		return e.escapeTemplate(c, n)
    	case *parse.TextNode:
    		return e.escapeText(c, n)
    	case *parse.WithNode:
    		return e.escapeBranch(c, &n.BranchNode, "with")
    	}
    	panic("escaping " + n.String() + " is unimplemented")
    }
    
    var debugAllowActionJSTmpl = godebug.New("jstmpllitinterp")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Tree).Copy", Method, 2},
    		{"(*Tree).ErrorContext", Method, 1},
    		{"(*Tree).Parse", Method, 0},
    		{"(*VariableNode).Copy", Method, 0},
    		{"(*VariableNode).String", Method, 0},
    		{"(*WithNode).Copy", Method, 0},
    		{"(*WithNode).String", Method, 0},
    		{"(ActionNode).Position", Method, 1},
    		{"(ActionNode).Type", Method, 0},
    		{"(BoolNode).Position", Method, 1},
    		{"(BoolNode).Type", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg text/template/parse, method (*VariableNode) Copy() Node
    pkg text/template/parse, method (*VariableNode) String() string
    pkg text/template/parse, method (*WithNode) Copy() Node
    pkg text/template/parse, method (*WithNode) String() string
    pkg text/template/parse, method (ActionNode) Type() NodeType
    pkg text/template/parse, method (BoolNode) Type() NodeType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg text/template/parse, method (TemplateNode) Position() Pos
    pkg text/template/parse, method (TextNode) Position() Pos
    pkg text/template/parse, method (VariableNode) Position() Pos
    pkg text/template/parse, method (WithNode) Position() Pos
    pkg text/template/parse, type ActionNode struct, embedded Pos
    pkg text/template/parse, type BoolNode struct, embedded Pos
    pkg text/template/parse, type BranchNode struct, embedded Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top