helpers

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObject

func DeleteObject(ctx context.Context, k8sClient client.Client, obj *unstructured.Unstructured) (bool, error)

DeleteObject tries to delete the given object from k8s. returns error and true/false if object was deleted or not.

func UpdateObject

func UpdateObject(ctx context.Context, k8sClient client.Client, obj *unstructured.Unstructured) error

UpdateObject function updates a given k8s object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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