endpoints

package
v0.4.1-debug.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepHashObject

func DeepHashObject(hasher hash.Hash, objectToWrite interface{})

DeepHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.

func LessEndpointAddress

func LessEndpointAddress(a, b *v1.EndpointAddress) bool

LessEndpointAddress compares IP addresses lexicographically and returns true if first argument is lesser than second

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL