- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkShouldCallHookWithComplexRule (0.49 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
for i := 0; i < b.N; i++ { a.ShouldCallHook(context.TODO(), wbAccessor, attrs, interfaces, nil) } } func BenchmarkShouldCallHookWithComplexRule(b *testing.B) { allScopes := v1.AllScopes equivalentMatch := v1.Equivalent namespace1Labels := map[string]string{"ns": "ns1"} namespace1 := corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
for i := 0; i < b.N; i++ { matcher.Matches(attrs, interfaces, criteria) } } func BenchmarkShouldCallHookWithComplexRule(b *testing.B) { allScopes := v1.AllScopes equivalentMatch := v1.Equivalent namespace1Labels := map[string]string{"ns": "ns1"} namespace1 := corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0)