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

hierarchyconfig

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package hierarchyconfig defines validation done on HierarchyConfig Resources

Index

Constants

View Source
const ClusterScopedResourceInHierarchyConfigErrorCode = "1046"

ClusterScopedResourceInHierarchyConfigErrorCode is the error code for ClusterScopedResourceInHierarchyConfigError

View Source
const IllegalHierarchyModeErrorCode = "1042"

IllegalHierarchyModeErrorCode is the error code for IllegalHierarchyModeError

View Source
const UnsupportedResourceInHierarchyConfigErrorCode = "1041"

UnsupportedResourceInHierarchyConfigErrorCode is the error code for UnsupportedResourceInHierarchyConfigError

Variables

This section is empty.

Functions

func ClusterScopedResourceInHierarchyConfigError

func ClusterScopedResourceInHierarchyConfigError(config client.Object, gk schema.GroupKind) status.Error

ClusterScopedResourceInHierarchyConfigError reports that a Resource defined in a HierarchyConfig has Cluster scope which means it's not feasible to interpret the resource in a hierarchical manner

func IllegalHierarchyModeError

func IllegalHierarchyModeError(config client.Object, gk schema.GroupKind, mode v1.HierarchyModeType) status.Error

IllegalHierarchyModeError reports that a HierarchyConfig is defined with a disallowed hierarchyMode.

func UnsupportedResourceInHierarchyConfigError

func UnsupportedResourceInHierarchyConfigError(config client.Object, gk schema.GroupKind) status.Error

UnsupportedResourceInHierarchyConfigError reports that config management is unsupported for a Resource defined in a HierarchyConfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

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