util

package
v0.0.0-...-ba0b86d Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress

func GetAddress(ip ipam.IPAddress) string

func GetDNSServers

func GetDNSServers(pool ipam.IPPool) []string

func GetFormattedClaimName

func GetFormattedClaimName(ownerName string, deviceCount int) string

func GetGateway

func GetGateway(ip ipam.IPAddress) string

func GetMask

func GetMask(ip ipam.IPAddress) int

func GetObjRef

func GetObjRef(obj runtime.Object) corev1.ObjectReference

func GetSearchDomains

func GetSearchDomains(pool ipam.IPPool) []string

func IgnoreNotFound

func IgnoreNotFound(err error) error

func IsDeviceIPAllocationDHCP

func IsDeviceIPAllocationDHCP(device infrav1.NetworkDeviceSpec) bool

func IsMachineIPAllocationDHCP

func IsMachineIPAllocationDHCP(devices []infrav1.NetworkDeviceSpec) bool

func ValidateIP

func ValidateIP(ip ipam.IPAddress) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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