hierarchyconfig

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 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