package
1.9.2
Repository: https://github.com/tkestack/tke.git
Documentation: pkg.go.dev

# Functions

ValidateCluster validates a given ClusterSpec.
ValidateCluster validates a given Cluster.
ValidateClusterCredential validates a given ClusterCredential.
ValidateClusterFeature validates a given ClusterFeature.
ValidateClusterName validates a given clusterName and return cluster if exists.
ValidateClusterType validates a given type.
ValidateClusterUpdate tests if an update to a cluster is valid.
ValidateFiles validates a given Files.
ValidateGPUType validates a given GPUType.
ValidateHA validates a given HA.
ValidateHooks validates a given Hooks.
ValidateMachine validates a given machine.
ValidateMachineByProvider validates a given machine by machine provider.
ValidateMachineSpec validates a given machine spec.
ValidateMachineSpecType validates a given type and call provider.Validate.
ValidateMachineUpdate tests if an update to a machine is valid.
ValidateUpdateClusterCredential tests if an update to a ClusterCredential is valid.