Documentation ¶
Overview ¶
Package validate contains validation utilities for installer types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterName ¶
ClusterName checks if the given string is a valid name for a cluster and returns an error if not.
func DoCIDRsOverlap ¶
DoCIDRsOverlap returns true if one of the CIDRs is a subset of the other.
func DomainName ¶
DomainName checks if the given string is a valid domain name and returns an error if not.
func ImagePullSecret ¶
ImagePullSecret checks if the given string is a valid image pull secret and returns an error if not.
func SSHPublicKey ¶
SSHPublicKey checks if the given string is a valid SSH public key and returns an error if not.
func SubnetCIDR ¶
SubnetCIDR checks if the given IP net is a valid CIDR.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.