Documentation ¶
Index ¶
- func CrossValidateInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster, cloud fi.Cloud, strict bool) field.ErrorList
- func DeepValidate(c *kops.Cluster, groups []*kops.InstanceGroup, strict bool, ...) error
- func IsValidValue[T ~string](fldPath *field.Path, v *T, validValues []T) field.ErrorList
- func ValidateAdditionalObject(ctx context.Context, fieldPath *field.Path, u *unstructured.Unstructured) field.ErrorList
- func ValidateCluster(c *kops.Cluster, strict bool, vfsContext *vfs.VFSContext) field.ErrorList
- func ValidateClusterUpdate(obj *kops.Cluster, status *kops.ClusterStatus, old *kops.Cluster, ...) field.ErrorList
- func ValidateControlPlaneInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster) field.ErrorList
- func ValidateInstanceGroup(g *kops.InstanceGroup, cloud fi.Cloud, strict bool) 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, strict bool) 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 ¶
func DeepValidate(c *kops.Cluster, groups []*kops.InstanceGroup, strict bool, vfsContext *vfs.VFSContext, cloud fi.Cloud) error
DeepValidate is responsible for validating the instancegroups within the cluster spec
func IsValidValue ¶
func ValidateAdditionalObject ¶ added in v1.25.0
func ValidateAdditionalObject(ctx context.Context, fieldPath *field.Path, u *unstructured.Unstructured) field.ErrorList
func ValidateCluster ¶
ValidateCluster is responsible for checking the validity of the Cluster spec
func ValidateClusterUpdate ¶
func ValidateClusterUpdate(obj *kops.Cluster, status *kops.ClusterStatus, old *kops.Cluster, vfsContext *vfs.VFSContext) field.ErrorList
func ValidateControlPlaneInstanceGroup ¶ added in v1.26.0
func ValidateInstanceGroup ¶
ValidateInstanceGroup is responsible for validating the configuration of a instancegroup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.