func RepackSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset { … }
type addressKey …
func mapAddressesByPort(subset *v1.EndpointSubset, port v1.EndpointPort, allAddrs map[addressKey]*v1.EndpointAddress, portToAddrReadyMap map[v1.EndpointPort]addressSet) { … }
func mapAddressByPort(addr *v1.EndpointAddress, port v1.EndpointPort, ready bool, allAddrs map[addressKey]*v1.EndpointAddress, portToAddrReadyMap map[v1.EndpointPort]addressSet) *v1.EndpointAddress { … }
type addressSet …
type addrReady …
func hashAddresses(addrs addressSet) string { … }
func lessAddrReady(a, b addrReady) bool { … }
type addrsReady …
func (sl addrsReady) Len() int { … }
func (sl addrsReady) Swap(i, j int) { … }
func (sl addrsReady) Less(i, j int) bool { … }
func LessEndpointAddress(a, b *v1.EndpointAddress) bool { … }
func SortSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset { … }
func hashObject(hasher hash.Hash, obj interface{ … }
type subsetsByHash …
func (sl subsetsByHash) Len() int { … }
func (sl subsetsByHash) Swap(i, j int) { … }
func (sl subsetsByHash) Less(i, j int) bool { … }
type addrsByIPAndUID …
func (sl addrsByIPAndUID) Len() int { … }
func (sl addrsByIPAndUID) Swap(i, j int) { … }
func (sl addrsByIPAndUID) Less(i, j int) bool { … }
type portsByHash …
func (sl portsByHash) Len() int { … }
func (sl portsByHash) Swap(i, j int) { … }
func (sl portsByHash) Less(i, j int) bool { … }