Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterScoped ¶
func ClusterScoped(obj ast.FileObject) status.Error
ClusterScoped validates the given FileObject as a cluster-scoped resource to ensure it does not have a namespace or a namespace selector.
func ClusterScopedForNamespaceReconciler ¶
func ClusterScopedForNamespaceReconciler(obj ast.FileObject) status.Error
ClusterScopedForNamespaceReconciler immediately throws an error for any given cluster-scoped resource because a namespace reconciler should only manage namespace-scoped resources.
func NamespaceScoped ¶
func NamespaceScoped(obj ast.FileObject) status.Error
NamespaceScoped validates the given FileObject as a namespace-scoped resource to ensure it does not have both namespace and namespace selector.
func NamespaceSelectors ¶
func NamespaceSelectors(objs *fileobjects.Scoped) status.MultiError
NamespaceSelectors validates that all NamespaceSelectors have a unique name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.