- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for networkIDCallback (0.24 sec)
-
pilot/pkg/serviceregistry/serviceentry/controller.go
edsQueue queue.Instance workloadHandlers []func(*model.WorkloadInstance, model.Event) // callback function used to get the networkID according to workload ip and labels. networkIDCallback func(IP string, labels labels.Instance) network.ID // Indicates whether this controller is for workload entries. workloadEntryController bool meshWatcher mesh.Watcher model.NoopAmbientIndexes
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
}, PortMap: map[string]uint32{ "http": 80, }, }, }, } for _, tt := range workloadInstanceTests { t.Run(tt.name, func(t *testing.T) { s := &Controller{networkIDCallback: tt.getNetworkIDCb, meshWatcher: mesh.NewFixedWatcher(mesh.DefaultMeshConfig())} instance := s.convertWorkloadEntryToWorkloadInstance(tt.wle, cluster.ID(clusterID)) if err := compare(t, instance, tt.out); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0)