Documentation ¶
Index ¶
- func CreateManagedResource(ctx context.Context, client client.Client, namespace, name, class, key string, ...) error
- func CreateManagedResourceFromUnstructured(ctx context.Context, client client.Client, namespace, name, class string, ...) error
- func DeleteManagedResource(ctx context.Context, client client.Client, namespace string, name string) error
- func KeepManagedResourceObjects(ctx context.Context, c client.Client, namespace, name string, keepObjects bool) error
- func WaitUntilManagedResourceDeleted(ctx context.Context, client client.Client, namespace, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateManagedResource ¶
func CreateManagedResource(ctx context.Context, client client.Client, namespace, name, class, key string, data []byte, keepObjects bool, injectedLabels map[string]string, forceOverwriteAnnotations bool) error
CreateManagedResource creates a managed resource and its secret with the given name, class, key, and data in the given namespace.
func CreateManagedResourceFromUnstructured ¶
func CreateManagedResourceFromUnstructured(ctx context.Context, client client.Client, namespace, name, class string, objs []*unstructured.Unstructured, keepObjects bool, injectedLabels map[string]string) error
CreateManagedResourceFromUnstructured creates a managed resource and its secret with the given name, class, and objects in the given namespace.
func DeleteManagedResource ¶
func DeleteManagedResource(ctx context.Context, client client.Client, namespace string, name string) error
DeleteManagedResource deletes the managed resource and its secret with the given name in the given namespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.