- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithNetworkIDCb (0.26 sec)
-
pilot/pkg/serviceregistry/kube/controller/multicluster.go
kubeController.workloadEntryController = serviceentry.NewWorkloadEntryController( configStore, options.XDSUpdater, m.opts.MeshWatcher, serviceentry.WithClusterID(cluster.ID), serviceentry.WithNetworkIDCb(kubeRegistry.Network)) // Services can select WorkloadEntry from the same cluster. We only duplicate the Service to configure kube-dns.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
model.NetworkGatewaysHandler } type Option func(*Controller) func WithClusterID(clusterID cluster.ID) Option { return func(o *Controller) { o.clusterID = clusterID } } func WithNetworkIDCb(cb func(endpointIP string, labels labels.Instance) network.ID) Option { return func(o *Controller) { o.networkIDCallback = cb } } // NewController creates a new ServiceEntry discovery service.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0)