Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for doPatch (0.14 sec)

  1. src/go/build/build_test.go

    	nomatch(runtime.GOOS+","+runtime.GOARCH+",!foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true})
    	match(runtime.GOOS+","+runtime.GOARCH+",!bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true})
    	nomatch(runtime.GOOS+","+runtime.GOARCH+",bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    			test.TestWatch(
    				b,
    				[]labels.Set{},
    				[]labels.Set{
    					{"hoo": "bar"},
    				},
    				[]fields.Set{
    					{"metadata.name": b.Name},
    				},
    				[]fields.Set{
    					{"metadata.name": "nomatch"},
    				},
    			)
    		})
    	}
    }
    
    func validPolicyBindings() []*admissionregistration.ValidatingAdmissionPolicyBinding {
    	denyAction := admissionregistration.DenyAction
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters.go

    //	  To(echotest.SimplePodServiceAndAllSpecial).
    //	  Run()
    func (t *T) To(filters ...Filter) *T {
    	for _, filter := range filters {
    		t.destinations = filter(t.destinations)
    	}
    	return t
    }
    
    func (t *T) ToMatch(m match.Matcher) *T {
    	return t.To(FilterMatch(m))
    }
    
    // ConditionallyTo appends the given filters which are executed per test. Destination filters may need
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    	for _, e := range echos {
    		all = append(all, e...)
    	}
    
    	return echotest.New(t, all).
    		WithDefaultFilters(1, 1).
    		FromMatch(match.And(
    			match.NotNaked,
    			match.NotProxylessGRPC)).
    		ToMatch(match.And(
    			match.NotNaked,
    			match.NotProxylessGRPC)).
    		ConditionallyTo(echotest.NoSelfCalls)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    			ans = append(ans, RequestDigest{RequestInfo: ri, User: ui})
    		}
    	}
    	return ans
    }
    
    func shuffleAndTakeDigests(t *testing.T, rng *rand.Rand, rule *flowcontrol.PolicyRulesWithSubjects, toMatch bool, digests []RequestDigest, n int) []RequestDigest {
    	ans := make([]RequestDigest, 0, n)
    	for len(ans) < n && len(digests) > 0 {
    		i := rng.Intn(len(digests))
    		digest := digests[i]
    		ans = append(ans, digest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  6. tests/integration/security/pass_through_filter_chain_test.go

    ---`)).
    						BuildAll(nil, apps.Ns1.All).
    						Apply()
    
    					echotest.New(t, apps.Ns1.All.Instances()).
    						WithDefaultFilters(1, 1).
    						FromMatch(match.NotProxylessGRPC).
    						ToMatch(match.And(
    							// TODO(nmittler): Why not headless/multiversion?
    							match.NotHeadless,
    							match.NotMultiVersion,
    							match.NotNaked,
    							match.NotProxylessGRPC)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/regexp/regexp.go

    // contains any match of the regular expression re.
    func (re *Regexp) MatchReader(r io.RuneReader) bool {
    	return re.doMatch(r, nil, "")
    }
    
    // MatchString reports whether the string s
    // contains any match of the regular expression re.
    func (re *Regexp) MatchString(s string) bool {
    	return re.doMatch(nil, nil, s)
    }
    
    // Match reports whether the byte slice b
    // contains any match of the regular expression re.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  8. pkg/registry/core/service/strategy_test.go

    			expectMatch:   false,
    		},
    		{
    			name: "no match on namespace",
    			in: &api.Service{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test",
    					Namespace: "testns",
    				},
    				Spec: api.ServiceSpec{ClusterIP: api.ClusterIPNone},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("metadata.namespace=nomatch"),
    			expectMatch:   false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. tests/integration/pilot/common/traffic.go

    					scope = t.ConfigKube()
    				}
    				return scope.YAML("", cfg).Apply()
    			}).
    			FromMatch(match.And(c.sourceMatchers...)).
    			// TODO mainly testing proxyless features as a client for now
    			ToMatch(match.And(append(c.targetMatchers, match.NotProxylessGRPC)...)).
    			WithDefaultFilters(1, c.toN).
    			ConditionallyTo(c.comboFilters...)
    
    		doTest := func(t framework.TestContext, from echo.Caller, to echo.Services) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/echotest/filters_test.go

    				run: func(t framework.TestContext, testTopology map[string]map[string]int) {
    					echotest.New(t, all).
    						WithDefaultFilters(1, 1).
    						FromMatch(match.And(match.NotNaked, match.NotHeadless)).
    						ToMatch(match.NotHeadless).
    						RunToN(3, func(ctx framework.TestContext, from echo.Instance, dsts echo.Services) {
    							srcKey := from.Config().ClusterLocalFQDN()
    							if testTopology[srcKey] == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top