- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for DestMatcher (0.19 sec)
-
tests/integration/security/https_jwt/https_jwt_test.go
}). FromMatch( // TODO(JimmyCYJ): enable VM for all test cases. util.SourceMatcher(ns, true)). ConditionallyTo(echotest.ReachableDestinations). ToMatch(util.DestMatcher(ns, true)). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { opts := echo.CallOptions{ To: to, Port: echo.Port{ Name: "http", }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 3K bytes - Viewed (0) -
tests/integration/security/util/framework.go
}) if !skipVM { m = match.Or(m, match.ServiceName(echo.NamespacedName{ Name: VMSvc, Namespace: ns, })) } return m } // DestMatcher matches workload pod B with sidecar injected and VM func DestMatcher(ns namespace.Instance, skipVM bool) match.Matcher { m := match.ServiceName(echo.NamespacedName{ Name: BSvc, Namespace: ns, }) if !skipVM {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/integration/security/remote_jwks/remote_jwks_test.go
}). FromMatch( // TODO(JimmyCYJ): enable VM for all test cases. util.SourceMatcher(ns, true)). ConditionallyTo(echotest.ReachableDestinations). ToMatch(util.DestMatcher(ns, true)). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { opts := echo.CallOptions{ To: to, Port: echo.Port{ Name: "http", }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go
return nil, false, err } } return inPod, false, nil } } func (p *testPatcher) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { p.t.Fatal("Unexpected call to testPatcher.Get") return nil, errors.New("Unexpected call to testPatcher.Get") } type testNamer struct { namespace string name string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
updateValidation: rest.AdmissionToValidateObjectUpdateFunc(admit, staticUpdateAttributes, scope), admissionCheck: mutatingAdmission, codec: codec, options: options, restPatcher: r, name: name, patchType: patchType, patchBytes: patchBytes, userAgent: req.UserAgent(), } result, wasCreated, err := p.patchResource(ctx, scope) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
} func gvk(group, version, kind string) schema.GroupVersionKind { return schema.GroupVersionKind{Group: group, Version: version, Kind: kind} } func TestMatcher(t *testing.T) { a := &Matcher{namespaceMatcher: &namespace.Matcher{}, objectMatcher: &object.Matcher{}} allScopes := v1.AllScopes exactMatch := v1.Exact equivalentMatch := v1.Equivalent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
}, }, } updateMeshConfig := func( meshConfig *meshconfig.MeshConfig, expectedSvcList []*model.Service, expectedNumSvcEvents int, testMeshWatcher *mesh.TestWatcher, fx *xdsfake.Updater, controller *FakeController, ) { // update meshConfig if err := testMeshWatcher.Update(meshConfig, time.Second*5); err != nil { t.Fatalf("%v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0)