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.
Click to show internal directories.
Click to hide internal directories.