Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCRD ¶
func RegisterCRD(namespace string, clientset apiextensions.Interface, filename string) error
RegisterCRD registers given custom resource definition into the kubernetes api.
func UnregisterCRD ¶
func UnregisterCRD(clientset apiextensions.Interface, crdName string) error
UnregisterCRD removes custom resource definition from the kubernetes api.
func WaitForCRDEstablished ¶
func WaitForCRDEstablished(clientset apiextensions.Interface, crdName string) error
WaitForCRDEstablished stops the execution until Custom Resource Definition is registered or a timeout occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.