kubefip

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllFipRanges []KubefipV1.FloatingIPRange
	AllFips      []KubefipV1.FloatingIP

	PrefixList map[string]goipam.Prefix
)

Functions

func AllocateFip

func AllocateFip(fip *KubefipV1.FloatingIP, clientset *kubefipclientset.Clientset) error

func AllocateFipRange

func AllocateFipRange(fipRange *KubefipV1.FloatingIPRange) error

func CreateIpamPrefixesFromFipRanges

func CreateIpamPrefixesFromFipRanges()

func GatherAllFipRanges

func GatherAllFipRanges(clientset *kubefipclientset.Clientset) error

func GatherAllFips

func GatherAllFips(k8s_clientset *kubernetes.Clientset, kubefip_clientset *kubefipclientset.Clientset) error

func GetFipRange

func GetFipRange(fipRangeName string) (KubefipV1.FloatingIPRange, error)

func InitIpam

func InitIpam()

func RemoveFip

func RemoveFip(fip *KubefipV1.FloatingIP) error

func RemoveFipFromAllFips

func RemoveFipFromAllFips(fip *KubefipV1.FloatingIP) error

func RemoveFipRange

func RemoveFipRange(fipRange *KubefipV1.FloatingIPRange) error

func RemoveFipRangeFromAllFipRanges

func RemoveFipRangeFromAllFipRanges(fipRange *KubefipV1.FloatingIPRange) error

func StoreAllocatedIpsInIpamPrefixes

func StoreAllocatedIpsInIpamPrefixes(clientset *kubefipclientset.Clientset)

func UpdateAllFipRanges

func UpdateAllFipRanges(fipRange *KubefipV1.FloatingIPRange) error

func UpdateAllFips

func UpdateAllFips(fip *KubefipV1.FloatingIP) error

func UpdateFip

func UpdateFip(oldFip *KubefipV1.FloatingIP, newFip *KubefipV1.FloatingIP, clientset *kubefipclientset.Clientset) error

func UpdateFipRange

func UpdateFipRange(oldFipRange *KubefipV1.FloatingIPRange, newFipRange *KubefipV1.FloatingIPRange) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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