Documentation ¶
Index ¶
- func CreateFromYAML(ctx context.Context, yamlFile []byte, cl client.Client) error
- func DeleteAllSpecialResources(ctx context.Context, cl client.Client) error
- func DeleteFromYAML(ctx context.Context, yamlFile []byte, cl client.Client) error
- func DeleteFromYAMLWithCR(ctx context.Context, yamlFile []byte, cl client.Client) error
- func NewControllerRuntimeClient() (client.Client, error)
- type ClientSet
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFromYAML ¶
func DeleteFromYAML ¶
func DeleteFromYAMLWithCR ¶
Don't use this to delete the CRD or undeploy the operator -- CR deletion will fail
Types ¶
type ClientSet ¶
type ClientSet struct { Config Config corev1client.CoreV1Interface appsv1client.AppsV1Interface clientconfigv1.ConfigV1Interface }
func NewClientSet ¶
NewClientSet returns a *ClientBuilder with the given kubeconfig.
Click to show internal directories.
Click to hide internal directories.