Documentation ¶
Index ¶
- func CRDForGVK(gvk schema.GroupVersionKind) (*apiextensionsv1.CustomResourceDefinition, error)
- func CRDForObject(obj runtime.Object) (*apiextensionsv1.CustomResourceDefinition, error)
- func CRDsForGroup(apiGroup string) ([]apiextensionsv1.CustomResourceDefinition, error)
- func Groups() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRDForGVK ¶
func CRDForGVK(gvk schema.GroupVersionKind) (*apiextensionsv1.CustomResourceDefinition, error)
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 ¶
func CRDForObject(obj runtime.Object) (*apiextensionsv1.CustomResourceDefinition, error)
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").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.