crd

package
v2.25.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDForGVK

CRDForGVK returns the CRD for the given GKV or an error if there is no CRD available (i.e. any GVK outside of *.k8c.io was provided).

func CRDForObject

CRDForType returns the CRD for a given object or returns an error if the object is not using one of the known types (*.k8c.io).

func CRDsForGroup

func CRDsForGroup(apiGroup string) ([]apiextensionsv1.CustomResourceDefinition, error)

CRDsForGroup returns all CRDs for the given API group (e.g. "kubermatic.k8c.io").

func Groups

func Groups() ([]string, error)

Groups returns a list of all known API groups for which CRDs are available.

Types

This section is empty.

Jump to

Keyboard shortcuts

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