validation

package
v0.13.9 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClusterResourceBlock

func ValidateClusterResourceBlock(
	fieldPath string,
	clusterResource capsuleproxyv1beta1.ClusterResource,
	index *ClusterResourceDiscoveryIndex,
) error

Types

type ClusterResourceDiscoveryIndex

type ClusterResourceDiscoveryIndex struct {
	// contains filtered or unexported fields
}

func DiscoverClusterResources

func DiscoverClusterResources(discoveryClient k8sdiscovery.DiscoveryInterface) (*ClusterResourceDiscoveryIndex, error)

type DiscoveredClusterResource

type DiscoveredClusterResource struct {
	APIGroup string
	Resource string
	Kinds    []string
	Verbs    []string
}

Jump to

Keyboard shortcuts

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