Documentation ¶
Index ¶
- func BFDProfileWithDefaults(profile metallbv1beta1.BFDProfile, multiHop bool) metallbv1beta1.BFDProfile
- func GetIPFromRangeByIndex(ipRange string, index int) (string, error)
- func IPAddressPoolToLegacy(ipAddressPool metallbv1beta1.IPAddressPool, protocol config.Proto, ...) metallbv1beta1.AddressPool
- func PoolCount(p metallbv1beta1.IPAddressPool) (int64, error)
- func ValidateIPInRange(addressPools []metallbv1beta1.IPAddressPool, ip string) error
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BFDProfileWithDefaults ¶
func BFDProfileWithDefaults(profile metallbv1beta1.BFDProfile, multiHop bool) metallbv1beta1.BFDProfile
func IPAddressPoolToLegacy ¶ added in v0.13.0
func IPAddressPoolToLegacy(ipAddressPool metallbv1beta1.IPAddressPool, protocol config.Proto, bgpAdv []metallbv1beta1.BGPAdvertisement) metallbv1beta1.AddressPool
IPAddressPoolToLegacy converts the given IPAddressPool to the legacy addresspool.
func PoolCount ¶
func PoolCount(p metallbv1beta1.IPAddressPool) (int64, error)
PoolCount returns the number of addresses in a given Pool.
func ValidateIPInRange ¶
func ValidateIPInRange(addressPools []metallbv1beta1.IPAddressPool, ip string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.