- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ConvertConsolidatedDestRule (0.33 sec)
-
pilot/pkg/model/destination_rule.go
destRules[resolvedHost] = append(destRules[resolvedHost], ConvertConsolidatedDestRule(&destRuleConfig)) } return } // DestinationRule does not exist for the resolved host so add it destRules[resolvedHost] = append(destRules[resolvedHost], ConvertConsolidatedDestRule(&destRuleConfig)) p.exportTo[resolvedHost] = exportToSet } func ConvertConsolidatedDestRule(cfg *config.Config) *ConsolidatedDestRule {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 07:22:29 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder_test.go
"app": "foo", "a": "a", "b": "b", }, }, push: &model.PushContext{ Mesh: tt.mesh, }, } if tt.dr != nil { b.destinationRule = model.ConvertConsolidatedDestRule(tt.dr) } b.populateFailoverPriorityLabels() if !reflect.DeepEqual(b.failoverPriorityLabels, tt.expectedLabels) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/xds/bench_test.go
services = append(services, &model.Service{ Hostname: host.Name(ns + "some" + index + ".example.com"), Attributes: model.ServiceAttributes{Namespace: "test" + index}, }) drs = append(drs, model.ConvertConsolidatedDestRule(&config.Config{Meta: config.Meta{Name: index, Namespace: index}})) } key := &route.Cache{ RouteName: "something", ClusterID: "my-cluster",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 22 18:13:40 UTC 2024 - 19.7K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
t.Fatalf("Expected (-) != actual (+):\n%s", v) } }) } } } func drWithLabels(lbls labels.Instance) *model.ConsolidatedDestRule { return model.ConvertConsolidatedDestRule(&config.Config{ Meta: config.Meta{}, Spec: &networking.DestinationRule{ Subsets: []*networking.Subset{{ Name: "v1", Labels: lbls, }}, }, }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0)