ippool

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMatchedIPPoolsByNode

func GetMatchedIPPoolsByNode(node *v1.Node, pools []v1alpha1.IPPool) ([]v1alpha1.IPPool, error)

func GetMatchedNodesByIPPool

func GetMatchedNodesByIPPool(pool *v1alpha1.IPPool, nodes []v1.Node) ([]v1.Node, error)

func GetNodeIPPoolName

func GetNodeIPPoolName(nodeName string) string

GetNodeIPPoolName is a helper function that creates IPPool CR name from nodeName

func GetNodeNameFromIPPoolName

func GetNodeNameFromIPPoolName(ipPoolName string) string

func NodeMatchesIPPool

func NodeMatchesIPPool(node *v1.Node, pool *v1alpha1.IPPool) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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