Help us shape the future of Go! Take the 2026 Go Developer Survey

validate

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicateNames

func DuplicateNames(objs []ast.FileObject) status.MultiError

DuplicateNames verifies that no objects share the same identifying tuple of: Group, Kind, metadata.namespace, metadata.name

func MaxObjectCount

func MaxObjectCount(maxN int) func([]ast.FileObject) status.MultiError

MaxObjectCount verifies that the number of managed resources does not exceed the specified maximum.

func UnmanagedNamespaces

func UnmanagedNamespaces(objs []ast.FileObject) status.MultiError

UnmanagedNamespaces verifies that no managed resources are located in unmanaged Namespaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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