Documentation ¶
Overview ¶
Package semantic package provides validation checks for semantic errors in Nomos resource directories.
For the purpose of this package, we define a "semantic error" to be a configuration error which cannot be determined by looking at a single Resource. Examples of semantic errors include detecting duplicate directories and verifying that a NamespaceSelector references a Namespace that exists.
Index ¶
Constants ¶
const MultipleSingletonsErrorCode = "1030"
MultipleSingletonsErrorCode is the error code for MultipleSingletonsError
const UnsyncableResourcesErrorCode = "1044"
UnsyncableResourcesErrorCode is the error code for UnsyncableResourcesError
Variables ¶
This section is empty.
Functions ¶
func MultipleSingletonsError ¶
MultipleSingletonsError reports that multiple singletons are defined in the same directory.
func UnsyncableResourcesInLeaf ¶
UnsyncableResourcesInLeaf reports that a leaf node has resources but is not a Namespace.
Types ¶
This section is empty.