Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeUnstructured ¶ added in v0.1.1
func DecodeUnstructured[T any](u *unstructured.Unstructured) (*T, error)
DecodeUnstructured converts an unstructured Kubernetes object into a typed value.
func LoadConfig ¶
LoadConfig returns a Kubernetes client config using the standard fallback chain: KUBECONFIG env -> ~/.kube/config -> in-cluster.
func MergePatch ¶ added in v0.1.1
MergePatch marshals a payload as a Kubernetes merge patch document.
func MetadataAnnotationsMergePatch ¶ added in v0.1.1
MetadataAnnotationsMergePatch builds a merge patch for annotation updates.
func StatusMergePatch ¶ added in v0.1.1
StatusMergePatch builds a merge patch for a status subresource update.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.