crd

package
v2.24.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromDirectory

func LoadFromDirectory(directory string) ([]ctrlruntimeclient.Object, error)

func LoadFromFile

func LoadFromFile(filename string) ([]ctrlruntimeclient.Object, error)

func SkipCRDOnCluster added in v2.22.0

func SkipCRDOnCluster(crd ctrlruntimeclient.Object, kind ClusterKind) bool

Types

type ClusterKind added in v2.22.0

type ClusterKind string
const (
	MasterCluster ClusterKind = "master"
	SeedCluster   ClusterKind = "seed"

	// LocationAnnotation is the annotation on CRD object that contains a comma separated list
	// of cluster kinds where this CRD should be installed into.
	LocationAnnotation = "kubermatic.k8c.io/location"
)

Jump to

Keyboard shortcuts

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