Documentation ¶
Overview ¶
Package validate contains validation utilities for installer types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CIDRsDontOverlap ¶
CIDRsDontOverlap ensures two given CIDRs don't overlap with one another. CIDR starting IPs are canonicalized before being compared.
func ClusterName ¶
ClusterName checks if the given string is a valid name for a cluster and returns an error if not.
func DomainName ¶
DomainName checks if the given string is a valid domain name and returns an error if not.
func IPv4 ¶
IPv4 checks if the given string is a valid IP v4 address and returns an error if not. Based on net.ParseIP.
func SSHPublicKey ¶ added in v0.4.0
SSHPublicKey checks if the given string is a valid OpenSSH public key and returns an error if not.
func SubnetCIDR ¶
SubnetCIDR checks if the given string is a valid CIDR for a master nodes or worker nodes subnet and returns an error if not.
Types ¶
This section is empty.