upgradevalidations

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 ValidateEksaSystemComponents

func ValidateEksaSystemComponents(ctx context.Context, k *executables.Kubectl, cluster *types.Cluster) error

func ValidateImmutableFields

func ValidateImmutableFields(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster, spec *cluster.Spec, provider providers.Provider) error

func ValidateServerVersionSkew

func ValidateServerVersionSkew(ctx context.Context, compareVersion v1alpha1.KubernetesVersion, cluster *types.Cluster, kubectl validations.KubectlClient) error

func ValidateTaintsSupport added in v0.6.1

func ValidateTaintsSupport(ctx context.Context, clusterSpec *cluster.Spec) error

Types

type UpgradeValidations

type UpgradeValidations struct {
	Opts *validations.Opts
}

func New

func (*UpgradeValidations) PreflightValidations

func (u *UpgradeValidations) PreflightValidations(ctx context.Context) (err error)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL