package
0.0.0-20240502001122-c5bcf32ad33a
Repository: https://github.com/kubernetes-sigs/cli-experimental.git
Documentation: pkg.go.dev

# Functions

GetClientSideApplyPatch updates a resource using the same approach as running `kubectl apply`.
GetLastApplied retrieves the original configuration of the object from the annotation, or nil if no annotation was found.
GetMergePatch - generate merge patch from original and modified objects.
SerializeLastApplied returns the json serialization of the incoming object If annotate is true, the returned serialization will contain a serialized annotation of itself (kubectl.kubernetes.io/last-applied-configuration), otherwise it will not have this annotation.
SetLastApplied patch.

# Variables

Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered.

# Structs

Patch encapsulates a Kubernetes patch operation data Patch contains the patch type as well as the patch request contents.