- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for matchList (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go
}, } for _, scenario := range scenarios { t.Run(scenario.name, func(t *testing.T) { if scenario.enableWatchList { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchList, true) } origCtx, store, _ := testSetup(t, scenario.setupFn) ctx, cancel := context.WithCancel(origCtx) defer cancel() w, err := store.watcher.Watch(ctx, "/abc", 0, scenario.requestOpts)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 12.3K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
reportedVerb := verb if suggestedVerb := getVerbIfWatch(request); suggestedVerb == "WATCH" { reportedVerb = "WATCH" } // normalize the legacy WATCHLIST to WATCH to ensure users aren't surprised by metrics if verb == "WATCHLIST" { reportedVerb = "WATCH" } if verb == "PATCH" && request.Header.Get("Content-Type") == string(types.ApplyPatchType) { reportedVerb = "APPLY" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0) -
src/path/filepath/match_test.go
import ( "fmt" "internal/testenv" "os" . "path/filepath" "reflect" "runtime" "slices" "strings" "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 Mar 22 16:38:19 UTC 2024 - 8.6K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
t.Fatalf("expected: %v, got: %v", c.expErr, err) } t.Logf("file watch: %v\n", sc.certWatcher.WatchList()) if c.expErr == nil && len(sc.certWatcher.WatchList()) != 1 { t.Fatalf("expected certWatcher to watch 1 file, but it is watching: %d files", len(sc.certWatcher.WatchList())) } for _, v := range sc.certWatcher.WatchList() { if v != c.expFilePathToWatch { t.Fatalf(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go
if resourceVersion > 0 { return resourceVersion, nil } if !utilfeature.DefaultFeatureGate.Enabled(features.WatchList) { return 0, nil } if opts.SendInitialEvents == nil || *opts.SendInitialEvents { // note that when opts.SendInitialEvents=true // we will be issuing a consistent LIST request
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 10:26:38 UTC 2023 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
} return len(p), nil } var _ io.Writer = &websocketFramer{} func shouldRecordWatchListLatency(event watch.Event) bool { if event.Type != watch.Bookmark || !utilfeature.DefaultFeatureGate.Enabled(features.WatchList) { return false } // as of today the initial-events-end annotation is added only to a single event // by the watch cache and only when certain conditions are met //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 16:37:25 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
"LIST": "list", "PATCH": "patch", "POST": "create", "PROXY": "proxy", "PUT": "update", "WATCH": "watch", "WATCHLIST": "watch", } // Install handlers for API resources. func (a *APIInstaller) Install() ([]metav1.APIResource, []*storageversion.ResourceInfo, *restful.WebService, []error) { var apiResources []metav1.APIResource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/test/framework/testcontext.go
allLabels := s.suiteLabels.Merge(labels) if !s.settings.Selector.Selects(allLabels) { goTest.Skipf("Skipping: label mismatch: labels=%v, filter=%v", allLabels, s.settings.Selector) } if s.settings.SkipMatcher.MatchTest(goTest.Name()) { goTest.Skipf("Skipping: test %v matched -istio.test.skip regex", goTest.Name()) } scopes.Framework.Debugf("Creating New test context")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
src/regexp/all_test.go
for i := 0; i < len(goodRe); i++ { compileTest(t, goodRe[i], "") } } func TestBadCompile(t *testing.T) { for i := 0; i < len(badRe); i++ { compileTest(t, badRe[i].re, badRe[i].err) } } func matchTest(t *testing.T, test *FindTest) { re := compileTest(t, test.pat, "") if re == nil { return } m := re.MatchString(test.text) if m != (len(test.matches) > 0) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
featuregatetesting "k8s.io/component-base/featuregate/testing" ) func TestWorkEstimator(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchList, true) defaultCfg := DefaultWorkEstimatorConfig() tests := []struct { name string requestURI string requestInfo *apirequest.RequestInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0)