# Functions

ClusterMetadataNameCollisionError reports that multiple cluster-scoped objects of the same Kind and namespace have the same metadata.name.
DeprecatedGroupKindError reports usage of a deprecated version of a specific Group/Kind.
IllegalClusterSelectorAnnotationError reports that a Cluster or ClusterSelector declares the cluster-selector annotation.
IllegalHierarchicalKind reports that a type is not permitted if hierarchical parsing is disabled.
IllegalManagementAnnotationError represents an illegal management annotation value.
IllegalNamespace reports that the controller Namespaces MUST NOT be declared.
IllegalNamespaceOnClusterScopedResourceError reports that a cluster-scoped resource MUST NOT declare metadata.namespace.
IllegalNamespaceSelectorAnnotationError reports that a cluster-scoped object declares the namespace-selector annotation.
InvalidCRDNameError reports a CRD with an invalid name in the repo.
InvalidMetadataNameError represents the usage of a non-RFC1123 compliant metadata.name.
InvalidNamespaceError reports using an illegal Namespace.
ManagedResourceInUnmanagedNamespace represents managed resources illegally declared in an unmanaged Namespace.
MissingNamespaceOnNamespacedResourceError reports a namespace-scoped resource MUST declare metadata.namespace.
MissingObjectNameError reports that an object has no name.
NamespaceAndSelectorResourceError reports that a namespace-scoped resource illegally declares both metadata.namespace and has the namespace-selector annotation.
NamespaceCollisionError reports multiple declared Namespaces with the same name.
NamespaceMetadataNameCollisionError reports that multiple namespace-scoped objects of the same Kind and namespace have the same metadata name.
SelectorMetadataNameCollisionError reports that multiple ClusterSelectors or NamespaceSelectors have the same metadata.name.
UnsupportedCRDRemovalError reports than a CRD was removed, but its corresponding CRs weren't.
UnsupportedObjectError reports than an unsupported object is in the namespaces/ sub-directories or clusters/ directory.
ValidateCRDName returns an error.
ValidManagementAnnotation returns an Error if the user-specified management annotation is invalid.

# Constants

BadScopeErrCode is the error code indicating that a resource has been declared in a Namespace repository that shouldn't be there.
DeprecatedGroupKindErrorCode is the error code for DeprecatedGroupKindError.
IllegalHierarchicalKindErrorCode is the error code for illegalHierarchicalKindErrors.
IllegalManagementAnnotationErrorCode is the error code for IllegalManagementAnnotationError.
IllegalNamespaceErrorCode is the error code for illegal Namespace definitions.
IllegalNamespaceOnClusterScopedResourceErrorCode represents a cluster-scoped resource illegally declaring metadata.namespace.
IllegalSelectorAnnotationErrorCode is the error code for IllegalNamespaceAnnotationError.
InvalidCRDNameErrorCode is the error code for InvalidCRDNameError.
InvalidDirectoryNameErrorCode is the error code for InvalidDirectoryNameError.
InvalidMetadataNameErrorCode is the error code for InvalidMetadataNameError.
ManagedResourceInUnmanagedNamespaceErrorCode is the error code for illegal managed resources in unmanaged Namespaces.
MissingNamespaceOnNamespacedResourceErrorCode represents a namespace-scoped resource NOT declaring metadata.namespace.
MissingObjectNameErrorCode is the error code for MissingObjectNameError.
NameCollisionErrorCode is the error code for ObjectNameCollisionError.
UnsupportedCRDRemovalErrorCode is the error code for UnsupportedCRDRemovalError.
UnsupportedObjectErrorCode is the error code for UnsupportedObjectError.

# Variables

BadScopeErrBuilder is an error build for errors related to the object scope errors.

# Interfaces

Validator implementors validate a set of non-hierarchical configuration.