Documentation ¶
Index ¶
- func CrossValidateInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster, cloud fi.Cloud) field.ErrorList
- func DeepValidate(c *kops.Cluster, groups []*kops.InstanceGroup, strict bool, cloud fi.Cloud) error
- func IsValidValue(fldPath *field.Path, v *string, validValues []string) field.ErrorList
- func ValidateCluster(c *kops.Cluster, strict bool) field.ErrorList
- func ValidateClusterUpdate(obj *kops.Cluster, status *kops.ClusterStatus, old *kops.Cluster) field.ErrorList
- func ValidateEtcdVersionForCalicoV3(e *kops.EtcdClusterSpec, majorVersion string, fldPath *field.Path) field.ErrorList
- func ValidateInstanceGroup(g *kops.InstanceGroup, cloud fi.Cloud) field.ErrorList
- func ValidateMasterInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrossValidateInstanceGroup ¶
func CrossValidateInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster, cloud fi.Cloud) field.ErrorList
CrossValidateInstanceGroup performs validation of the instance group, including that it is consistent with the Cluster It calls ValidateInstanceGroup, so all that validation is included.
func DeepValidate ¶
DeepValidate is responsible for validating the instancegroups within the cluster spec
func IsValidValue ¶
func ValidateCluster ¶
ValidateCluster is responsible for checking the validity of the Cluster spec
func ValidateClusterUpdate ¶
func ValidateEtcdVersionForCalicoV3 ¶ added in v1.11.0
func ValidateInstanceGroup ¶
ValidateInstanceGroup is responsible for validating the configuration of a instancegroup
func ValidateMasterInstanceGroup ¶ added in v1.18.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.