managedresources

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 27

Documentation

Index

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.

func KeepManagedResourceObjects added in v1.12.0

func KeepManagedResourceObjects(ctx context.Context, c client.Client, namespace, name string, keepObjects bool) error

KeepManagedResourceObjects updates the keepObjects field of the managed resource with the given name in the given namespace.

func WaitUntilManagedResourceDeleted

func WaitUntilManagedResourceDeleted(ctx context.Context, client client.Client, namespace, name string) error

WaitUntilManagedResourceDeleted waits until the given managed resource is deleted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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