crd

package
v3.0.0-...-d6c4d9c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 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

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

Types

type ClusterKind

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