- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for string (0.08 sec)
-
tests/integration/security/authz_test.go
return bool(v) } func (v allowValue) String() string { if v { return "allow" } return "deny" } type authzTest struct { from echo.Instance opts echo.CallOptions allow allowValue prefix string } func newAuthzTest() *authzTest { return &authzTest{} } func (b *authzTest) Prefix(prefix string) *authzTest { b.prefix = prefix return b
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
s.addWaypoint(t, "10.0.0.10", "test-wp", c.trafficType, true) s.addPods(t, "127.0.0.1", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning) s.assertEvent(t, s.podXdsName("pod1")) s.addService(t, "svc1", map[string]string{}, map[string]string{}, []int32{80}, map[string]string{"app": "a"}, "10.0.0.1") s.assertEvent(t, s.svcXdsName("svc1"), s.podXdsName("pod1"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
{ SourceLabels: map[string]string{"app": "test"}, }, }, delegate: []*networking.HTTPMatchRequest{ { SourceLabels: map[string]string{"version": "v1"}, }, }, expected: []*networking.HTTPMatchRequest{ { SourceLabels: map[string]string{"app": "test", "version": "v1"}, }, }, }, } for _, tc := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
proxy: &Proxy{ Labels: map[string]string{"app": "v1"}, Metadata: &NodeMetadata{IstioVersion: "1.4.0", Labels: map[string]string{"app": "v1"}}, ConfigNamespace: "istio-system", }, expectedListenerPatches: 1, expectedClusterPatches: 1, }, { name: "proxy matches no envoyfilter", proxy: &Proxy{ Labels: map[string]string{"app": "v2"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
}, } testNode := &model.Proxy{ Labels: map[string]string{ "app": "foo", }, Metadata: &model.NodeMetadata{}, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { got := newPolicyApplier("root-namespace", nil, tc.peerPolicies, &model.PushContext{}).InboundMTLSSettings( 8080, testNode, []string{}, NoOverride, )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
instancesByPort map[string]map[int][]*IstioEndpoint } func newServiceIndex() serviceIndex { return serviceIndex{ public: []*Service{}, privateByNamespace: map[string][]*Service{}, exportedToNamespace: map[string][]*Service{}, HostnameAndNamespace: map[host.Name]map[string]*Service{}, instancesByPort: map[string]map[int][]*IstioEndpoint{}, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
Cert: string(cert.ClientCert), Key: string(cert.Key), CaCert: string(cert.RootCert), InsecureSkipVerify: true, } hbsvc := echo.HBONE{ Address: apps.WaypointProxies[apps.ServiceAddressedWaypoint.Config().ServiceWaypointProxy].Inbound(), Headers: nil, Cert: string(cert.ClientCert),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch_test.go
log.Errorf("create envoyfilter failed %v", err) } } return store } func buildPatchStruct(config string) *structpb.Struct { val := &structpb.Struct{} _ = protomarshal.UnmarshalString(config, val) return val } // nolint: unparam func buildGolangPatchStruct(config string) *structpb.Struct { val := &structpb.Struct{} _ = protomarshal.Unmarshal([]byte(config), val) return val }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 70.1K bytes - Viewed (0) -
pilot/pkg/networking/core/httproute_test.go
expectedHosts map[string][]string expectedDestination map[string]string }{ { "more exact first", []*model.Service{ buildHTTPService("test.local", visibility.Public, "", "default", 80), buildHTTPService("test", visibility.Public, "", "default", 80), }, nil, map[string][]string{ "allow_any": {"*"}, // BUG: test should be below
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
instancesWithSA []*model.ServiceInstance address string } type testWorkloadInstance struct { name string namespace string address string labels map[string]string serviceAccount string tlsmode string expectedProxyInstances []expectedProxyInstances }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0)