- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newClusterBuilder (0.3 sec)
-
pilot/pkg/networking/grpcgen/cds.go
filter := newClusterFilter(names) clusters := make([]*cluster.Cluster, 0, len(names)) for defaultClusterName, subsetFilter := range filter { builder, err := newClusterBuilder(node, push, defaultClusterName, subsetFilter) if err != nil { log.Warn(err) continue } clusters = append(clusters, builder.build()...) } resp := make(model.Resources, 0, len(clusters))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
Instances: instances, ConfigPointers: []*config.Config{cfg}, Services: []*model.Service{tt.service}, MeshConfig: tt.meshConfig, }) proxy := cg.SetupProxy(nil) cb := NewClusterBuilder(proxy, &model.PushRequest{Push: cg.PushContext()}, nil) tt.cluster.CommonLbConfig = &cluster.Cluster_CommonLbConfig{} ec := newClusterWrapper(tt.cluster)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_traffic_policy_test.go
Metadata: &model.NodeMetadata{}, IstioVersion: &model.IstioVersion{Major: 1, Minor: 5}, } push := model.NewPushContext() for _, test := range tests { t.Run(test.name, func(t *testing.T) { cb := NewClusterBuilder(proxy, &model.PushRequest{Push: push}, model.DisabledCache{}) opts := &buildClusterOpts{ mutable: newClusterWrapper(&cluster.Cluster{ ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls_test.go
Metadata: &model.NodeMetadata{}, IstioVersion: &model.IstioVersion{Major: 1, Minor: 5}, } push := model.NewPushContext() for _, test := range tests { t.Run(test.name, func(t *testing.T) { cb := NewClusterBuilder(proxy, &model.PushRequest{Push: push}, model.DisabledCache{}) opts := &buildClusterOpts{ mutable: newClusterWrapper(&cluster.Cluster{ ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
services []*model.Service, ) ([]*discovery.Resource, model.XdsLogDetails) { clusters := make([]*cluster.Cluster, 0) resources := model.Resources{} envoyFilterPatches := req.Push.EnvoyFilters(proxy) cb := NewClusterBuilder(proxy, req, configgen.Cache) instances := proxy.ServiceTargets cacheStats := cacheStats{} switch proxy.Type { case model.SidecarProxy: // Setup outbound clusters
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
// PushRequest to look for updates. req *model.PushRequest cache model.XdsCache credentialSocketExist bool } // NewClusterBuilder builds an instance of ClusterBuilder. func NewClusterBuilder(proxy *model.Proxy, req *model.PushRequest, cache model.XdsCache) *ClusterBuilder { cb := &ClusterBuilder{ serviceTargets: proxy.ServiceTargets, proxyID: proxy.ID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0)