Documentation ¶
Index ¶
- func ValidateClusterObjectExists(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster) error
- func ValidateEksaSystemComponents(ctx context.Context, k *executables.Kubectl, cluster *types.Cluster) error
- func ValidateImmutableFields(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster, ...) error
- func ValidateNodeLabelsSupport(clusterSpec *cluster.Spec) error
- func ValidateServerVersionSkew(ctx context.Context, compareVersion v1alpha1.KubernetesVersion, ...) error
- func ValidateTaintsSupport(clusterSpec *cluster.Spec) error
- type UpgradeValidations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterObjectExists ¶
func ValidateClusterObjectExists(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster) error
func ValidateImmutableFields ¶
func ValidateNodeLabelsSupport ¶ added in v0.7.0
func ValidateServerVersionSkew ¶
func ValidateServerVersionSkew(ctx context.Context, compareVersion v1alpha1.KubernetesVersion, cluster *types.Cluster, kubectl validations.KubectlClient) error
func ValidateTaintsSupport ¶ added in v0.6.1
Types ¶
type UpgradeValidations ¶
type UpgradeValidations struct {
Opts *validations.Opts
}
func New ¶
func New(opts *validations.Opts) *UpgradeValidations
func (*UpgradeValidations) PreflightValidations ¶
func (u *UpgradeValidations) PreflightValidations(ctx context.Context) (err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.