Documentation ¶
Index ¶
- Constants
- func IllegalAbstractNamespaceObjectKindError(resource client.Object) status.Error
- func IllegalNamespaceSubdirectoryError(child, parent id.TreeNode) status.Error
- func ShouldBeInClusterError(resource client.Object) status.Error
- func ShouldBeInClusterRegistryError(resource client.Object) status.Error
- func ShouldBeInNamespacesError(resource client.Object) status.Error
- func ShouldBeInSystemError(resource client.Object) status.Error
Constants ¶
const IllegalAbstractNamespaceObjectKindErrorCode = "1007"
IllegalAbstractNamespaceObjectKindErrorCode is the error code for IllegalAbstractNamespaceObjectKindError
const IllegalNamespaceSubdirectoryErrorCode = "1003"
IllegalNamespaceSubdirectoryErrorCode is the error code for IllegalNamespaceSubdirectoryError
const IncorrectTopLevelDirectoryErrorCode = "1039"
IncorrectTopLevelDirectoryErrorCode is the error code for IllegalKindInClusterError
Variables ¶
This section is empty.
Functions ¶
func IllegalAbstractNamespaceObjectKindError ¶
IllegalAbstractNamespaceObjectKindError represents an illegal usage of a kind not allowed in abstract namespaces. TODO: Consolidate Illegal{X}ObjectKindErrors
func IllegalNamespaceSubdirectoryError ¶
IllegalNamespaceSubdirectoryError represents an illegal child directory of a namespace directory.
func ShouldBeInClusterError ¶
ShouldBeInClusterError reports that an object belongs in cluster/.
func ShouldBeInClusterRegistryError ¶
ShouldBeInClusterRegistryError reports that an object belongs in clusterregistry/.
func ShouldBeInNamespacesError ¶
ShouldBeInNamespacesError reports that an object belongs in namespaces/.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package hierarchyconfig defines validation done on HierarchyConfig Resources
|
Package hierarchyconfig defines validation done on HierarchyConfig Resources |
Package metadata provides validation checks for errors in Resource metadata
|
Package metadata provides validation checks for errors in Resource metadata |
Package semantic package provides validation checks for semantic errors in Nomos resource directories.
|
Package semantic package provides validation checks for semantic errors in Nomos resource directories. |
Package syntax package provides validation checks for syntax errors in Nomos resource directories.
|
Package syntax package provides validation checks for syntax errors in Nomos resource directories. |