client

package
v0.8.20 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CustomResourceDefinitionSchemaVersionKey is key to label which holds the CRD schema version
	CustomResourceDefinitionSchemaVersionKey = ciliumio.GroupName + ".k8s.crd.schema.version"
)

Variables

This section is empty.

Functions

func CreateCustomResourceDefinitions

func CreateCustomResourceDefinitions(clientset apiextensionsclient.Interface) error

CreateCustomResourceDefinitions creates our CRD objects in the Kubernetes cluster.

func GetPregeneratedCRD

func GetPregeneratedCRD(crdName string) apiextensionsv1.CustomResourceDefinition

GetPregeneratedCRD returns the pregenerated CRD based on the requested CRD name. The pregenerated CRDs are generated by the controller-gen tool and serialized into binary form by go-bindata. This function retrieves CRDs from the binary form.

func RegisterCRDs

func RegisterCRDs(clientset apiextensionsclient.Interface) error

RegisterCRDs registers all CRDs with the K8s apiserver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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