Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getEndpointSlicePrefix (0.16 sec)

  1. pkg/controller/endpointslicemirroring/utils.go

    		}
    		epSlice.Annotations[annotation] = val
    	}
    
    	if sliceName == "" {
    		epSlice.GenerateName = getEndpointSlicePrefix(endpoints.Name)
    	} else {
    		epSlice.Name = sliceName
    	}
    
    	return epSlice
    }
    
    // getEndpointSlicePrefix returns a suitable prefix for an EndpointSlice name.
    func getEndpointSlicePrefix(serviceName string) string {
    	// use the dash (if the name isn't too long) to make the name a bit prettier.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top