- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for NewServiceDiscovery (0.5 sec)
-
pilot/pkg/serviceregistry/aggregate/controller_test.go
ClusterID: "cluster1", DiscoveryController: memory.NewServiceDiscovery(), }, { ProviderID: "registry2", ClusterID: "cluster2", DiscoveryController: memory.NewServiceDiscovery(), }, { ProviderID: provider.Kubernetes, ClusterID: "cluster3", DiscoveryController: memory.NewServiceDiscovery(), }, } ctrl := NewController(Options{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
} }) } } func buildEnvForClustersWithDistribute(distribute []*networking.LocalityLoadBalancerSetting_Distribute) *model.Environment { serviceDiscovery := memregistry.NewServiceDiscovery(&model.Service{ Hostname: "test.example.org", DefaultAddress: "1.1.1.1", Ports: model.PortList{ &model.Port{ Name: "default", Port: 8080, Protocol: protocol.HTTP,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
pilot/pkg/model/context_test.go
}, }, { Service: &model.Service{ CreationTime: tnow, Hostname: host.Name("test2.com"), }, }, } serviceDiscovery := memory.NewServiceDiscovery() serviceDiscovery.WantGetProxyServiceTargets = instances env := &model.Environment{ ServiceDiscovery: serviceDiscovery, } proxy := &model.Proxy{} proxy.SetServiceTargets(env)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 23:51:52 UTC 2024 - 11.2K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
configController, xdsUpdater, env.Watcher, serviceentry.WithClusterID(opts.ClusterID)) // TODO allow passing in registry, for k8s, mem reigstry serviceDiscovery.AddRegistry(se) msd := memregistry.NewServiceDiscovery(opts.Services...) msd.XdsUpdater = xdsUpdater for _, instance := range opts.Instances { msd.AddInstance(instance) } msd.AddGateways(opts.Gateways...) msd.ClusterID = cluster2.ID(provider.Mock)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pilot/pkg/networking/core/accesslog_test.go
t.Fatalf("unexpected access log: %v", xdstest.ExtractTCPProxy(t, fc).GetAccessLog()) } } func newTestEnviroment() *model.Environment { serviceDiscovery := memregistry.NewServiceDiscovery(&model.Service{ Hostname: "test.example.org", DefaultAddress: "1.1.1.1", Ports: model.PortList{ &model.Port{ Name: "default", Port: 8080, Protocol: protocol.HTTP,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 19.9K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch_test.go
Metadata: &model.NodeMetadata{ IstioVersion: "1.2.2", Raw: map[string]any{ "foo": "sidecar", "bar": "proxy", }, }, } serviceDiscovery := memregistry.NewServiceDiscovery() e := newTestEnvironment(serviceDiscovery, testMesh, buildEnvoyFilterConfigStore(configPatches)) push := model.NewPushContext() _ = push.InitContext(e, nil, nil) // Test different priorities
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 70.1K bytes - Viewed (0)