- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serviceControllerKey (0.3 sec)
-
pkg/controller/endpointslicemirroring/utils.go
// derived from an EndpointSlice. func endpointsControllerKey(endpointSlice *discovery.EndpointSlice) (string, error) { if endpointSlice == nil { return "", fmt.Errorf("nil EndpointSlice passed to serviceControllerKey()") } serviceName, ok := endpointSlice.Labels[discovery.LabelServiceName] if !ok || serviceName == "" { return "", fmt.Errorf("EndpointSlice missing %s label", discovery.LabelServiceName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 8.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
// the provided EndpointSlice. func (c *Controller) queueServiceForEndpointSlice(endpointSlice *discovery.EndpointSlice) { key, err := endpointslicerec.ServiceControllerKey(endpointSlice) if err != nil { utilruntime.HandleError(fmt.Errorf("Couldn't get key for EndpointSlice %+v: %v", endpointSlice, err)) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0)