validate

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HierarchyConfig

func HierarchyConfig(tree *fileobjects.Tree) status.MultiError

HierarchyConfig verifies that all HierarchyConfig objects specify valid namespace-scoped resource kinds and valid inheritance modes.

func Inheritance

func Inheritance(tree *fileobjects.Tree) status.MultiError

Inheritance verifies that all syncable resources in an abstract namespace have a concrete Namespace as a descendant.

func NamespaceSelector

func NamespaceSelector(tree *fileobjects.Tree) status.MultiError

NamespaceSelector performs a second round of verification on namespace selector annotations. This one verifies that legacy NamespaceSelectors are only declared in abstract namespace and that objects only reference legacy NamespaceSelectors that are in an ancestor abstract namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL