Documentation
¶
Overview ¶
Package cidr provides utility functions for working with CIDR type defined in networking API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrimary ¶
func GetPrimary(cidrs []networkingv1beta1.CIDR) *networkingv1beta1.CIDR
GetPrimary returns the primary CIDR from a list of CIDRs.
func SetPrimary ¶
func SetPrimary(cidr networkingv1beta1.CIDR) []networkingv1beta1.CIDR
SetPrimary sets the primary CIDR in a list of CIDRs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.