crds

package
v0.1.87 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CRDS embed.FS

Functions

func CAPICRDNames added in v0.1.82

func CAPICRDNames() []string

CAPICRDNames returns the list of CAPI CRDs.

func CAPICRDOverrides added in v0.1.77

func CAPICRDOverrides() map[string]CAPICRDOverrideEntry

CAPICRDOverrides returns the override map for CAPI CRDs with the default v1beta1 storage version.

func CAPICRDOverridesWithStorageVersion added in v0.1.82

func CAPICRDOverridesWithStorageVersion(storageVersion string) map[string]CAPICRDOverrideEntry

CAPICRDOverridesWithStorageVersion returns the override map with the specified storage version.

func CustomResourceDefinitions

func CustomResourceDefinitions(capiStorageVersion string, include func(path string, crd *apiextensionsv1.CustomResourceDefinition) bool, transform func(*apiextensionsv1.CustomResourceDefinition)) []crclient.Object

CustomResourceDefinitions returns all existing CRDs as controller-runtime objects. capiStorageVersion controls which version is set as storage for CAPI CRDs (e.g., "v1beta1" or "v1beta2").

Types

type CAPICRDOverrideEntry added in v0.1.82

type CAPICRDOverrideEntry struct {
	StorageVersion  string
	NeedsConversion bool
}

CAPICRDOverrideEntry configures a CAPI CRD that has both v1beta1 and v1beta2 versions.

Directories

Path Synopsis
hypershift-operator

Jump to

Keyboard shortcuts

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