patch

package
v0.0.0-...-eb21387 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAnnotations

func SetAnnotations(original, patched client.Object, annotations map[string]string) client.Patch

SetAnnotations creates a patch for a client.Object by merging annotations with existing annotations.

func SetLabels

func SetLabels(original, patched client.Object, labels map[string]string) client.Patch

SetLabels creates a patch for a client.Object by merging labels with existing labels.

func UnsetAnnotations

func UnsetAnnotations(original, patched client.Object, annotationKeys []string) client.Patch

UnsetAnnotations creates a patch for a client.Object by deleting annotations from the object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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