Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LessEndpointAddress ¶
func LessEndpointAddress(a, b *v1.EndpointAddress) bool
func RepackSubsets ¶
func RepackSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset
RepackSubsets takes a slice of EndpointSubset objects, expands it to the full representation, and then repacks that into the canonical layout. This ensures that code which operates on these objects can rely on the common form for things like comparison. The result is a newly allocated slice.
func SortSubsets ¶
func SortSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset
SortSubsets sorts an array of EndpointSubset objects in place. For ease of use it returns the input slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.