package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev

# Functions

CompareInts is a comparison function for two integers.
CompareIPNets returns -1, 0, 1 if a<b or a==b or a>b, respectively.
CompareIPNetsBytes returns an integer comparing two IP network addresses represented as raw bytes lexicographically.
ComparePorts is a comparison function for two ports.
ConstructLabels returns a key-value pair as a label given an expression.
Difference returns the difference of two slices.
GetOneHostSubnet returns the IP subnet that contains only the given host (i.e.
GetOneHostSubnetFromIP returns the IP subnet that contains only the given host (i.e.
Intersect returns the common elements of two or more slices.
RemoveDuplicatePodIDs removes duplicate pod IDs from a slice.
RemoveDuplicates removes duplicates entries for a slice of strings.
StringPodID converts podmodelIDs to string podIDs.
StringPolicyID converts policymodelIDs to string policyIDs.
UnstringNamespaceID converts string namespaceIDs to namespacemodelIDs.
UnstringPodID converts string podIDs to podmodelIDs.
UnstringPolicyID converts string policyIDs to policymodelIDs.