- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for maybeApplyEdsConfig (0.21 sec)
-
pilot/pkg/networking/core/cluster_builder.go
if config != nil { return config.Spec.(*networking.DestinationRule) } return nil } // maybeApplyEdsConfig applies EdsClusterConfig on the passed in cluster if it is an EDS type of cluster. func maybeApplyEdsConfig(c *cluster.Cluster) { if c.GetType() != cluster.Cluster_EDS { return } c.EdsClusterConfig = &cluster.Cluster_EdsClusterConfig{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
// no TLS, we are just going to internal address localCluster.cluster.TransportSocketMatches = nil localCluster.cluster.TransportSocket = util.TunnelHostInternalUpstreamTransportSocket maybeApplyEdsConfig(localCluster.cluster) return localCluster } // `inbound-vip|protocol|hostname|port`. EDS routing to the internal listener for each pod in the VIP.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
}, InitialFetchTimeout: durationpb.New(0), ResourceApiVersion: core.ApiVersion_V3, }, }, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { maybeApplyEdsConfig(tt.cluster) if !reflect.DeepEqual(tt.cluster.EdsClusterConfig, tt.edsConfig) { t.Errorf("Unexpected Eds config in cluster. want %v, got %v", tt.edsConfig, tt.cluster.EdsClusterConfig) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0)