Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostResolvConf ¶ added in v1.1.1
GetHostResolvConf returns the path to a resolv.conf file that contains real upstream nameservers suitable for use by pods. It checks common resolv.conf locations and validates that they contain usable nameservers (global unicast). If no valid resolv.conf is found, it generates a fallback with public DNS servers. This follows the same approach as k3s locateOrGenerateResolvConf.
func GetLocalIPs ¶
GetLocalIPs returns all non-loopback IPv4 addresses
func IsComponentHealthy ¶
IsComponentHealthy checks if a component is healthy by sending a health check request and waiting for a response.
func IsDNSName ¶
IsDNSName returns true if the given string is a valid DNS name it follows the RFC 1123 specification for DNS names
func IsIPv4Address ¶
IsIPv4Address returns true if the given string is a valid IPv4 address
Types ¶
This section is empty.