- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 76 for matchList (0.16 sec)
-
pkg/test/framework/resource/matcher_test.go
matcher, err := NewMatcher(tt.input) if err != nil { t.Fatal(err) } for _, m := range tt.matches { got := matcher.MatchTest(m) if !got { t.Errorf("expected match for %q", m) } } for _, m := range tt.nomatches { got := matcher.MatchTest(m) if got { t.Errorf("expected no match for %q", m) } } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 2.3K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http/httpproxy/proxy.go
if strings.HasPrefix(phost, "*.") { phost = phost[1:] } matchHost := false if phost[0] != '.' { matchHost = true phost = "." + phost } if v, err := idnaASCII(phost); err == nil { phost = v } c.domainMatchers = append(c.domainMatchers, domainMatch{host: phost, port: pport, matchHost: matchHost}) } } var portMap = map[string]string{ "http": "80",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 10K bytes - Viewed (0) -
src/path/match_test.go
// license that can be found in the LICENSE file. package path_test import ( . "path" "testing" ) type MatchTest struct { pattern, s string match bool err error } var matchTests = []MatchTest{ {"abc", "abc", true, nil}, {"*", "abc", true, nil}, {"*c", "abc", true, nil}, {"a*", "a", true, nil}, {"a*", "abc", true, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 14:59:03 UTC 2020 - 2.4K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator.go
iss, sub = value[:idx], value[idx+1:] } else { iss = value } var matchIss, matchSub *matcherpb.StringMatcher switch { case value == "*": matchIss = matchAny matchSub = matchAny case strings.HasPrefix(value, "*"): if found { if iss == "*" { matchIss = matchAny } else { matchIss = matcher.StringMatcherSuffix(strings.TrimPrefix(iss, "*"), false) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 14.3K bytes - Viewed (0) -
security/pkg/pki/util/verify_cert.go
} } if strings.HasPrefix(host, "spiffe") { matchHost := false ids, err := ExtractIDs(cert.Extensions) if err != nil { return err } for _, id := range ids { if strings.HasSuffix(id, host) { matchHost = true break } } if !matchHost { return fmt.Errorf("the certificate doesn't have the expected SAN for: %s", host) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 05 10:37:29 UTC 2022 - 5.9K bytes - Viewed (0) -
api/openapi-spec/README.md
are associated with a [kubernetes resource](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources). Action can be one of `get`, `list`, `put`, `patch`, `post`, `delete`, `deletecollection`, `watch`, `watchlist`, `proxy`, or `connect`. For example: ``` json "paths": { ... "/api/v1/namespaces/{namespace}/pods/{name}": { ... "get": { ...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:29:23 UTC 2022 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go
if err != nil { return nil, nil, nil, err } var patchList, deleteList, setOrderList []interface{} kind := elementType.Kind() switch kind { case reflect.Map: patchList, deleteList, err = diffListsOfMaps(original, modified, schema, mergeKey, diffOptions) if err != nil { return nil, nil, nil, err } patchList, err = normalizeSliceOrder(patchList, modified, mergeKey, kind) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 23:34:23 UTC 2023 - 75.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/validation/validation.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 09:55:40 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/features/kube_features.go
InPlacePodVerticalScaling featuregate.Feature = "InPlacePodVerticalScaling" // owner: @p0lyn0mial // alpha: v1.27 // // Allow the API server to stream individual items instead of chunking WatchList featuregate.Feature = "WatchList" // owner: @serathius // kep: http://kep.k8s.io/2340 // alpha: v1.28 // // Allow the API server to serve consistent lists from cache
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:36:46 UTC 2024 - 13.4K bytes - Viewed (0)