createvalidations

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClusterNameIsUnique

func ValidateClusterNameIsUnique(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster, clusterName string) error

func ValidateGitOps

func ValidateGitOps(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster, spec *cluster.Spec) error

func ValidateIdentityProviderNameIsUnique

func ValidateIdentityProviderNameIsUnique(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster, spec *cluster.Spec) error

func ValidateManagementCluster

func ValidateManagementCluster(ctx context.Context, k validations.KubectlClient, cluster *types.Cluster) error

func ValidateTaintsSupport added in v0.6.1

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

Types

type CreateValidations

type CreateValidations struct {
	Opts *validations.Opts
}

func New

func (*CreateValidations) PreflightValidations

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

Jump to

Keyboard shortcuts

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