annotations

package
v0.0.0-...-44f2afe Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: UPL-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchAnnotations

func PatchAnnotations(kubeClient client.Client, obj client.Object, anns map[string]string) error

PatchAnnotations attaches the given metadata to the target object The obj will be updated with the content returned by the cluster

Types

type PatchValue

type PatchValue struct {
	Op    string      `json:"op"`
	Path  string      `json:"path"`
	Value interface{} `json:"value"`
}

PatchValue defines a general structure for patching an object

Jump to

Keyboard shortcuts

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