Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotationsMergePatch ¶ added in v0.1.2
AnnotationsMergePatch builds a merge patch for annotation updates.
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 picked from the first matching source — there is no fallback if a chosen source errors:
- $KUBECONFIG, if set (returns whatever BuildConfigFromFlags reports, including errors when the path is missing or malformed).
- ~/.kube/config, if it exists.
- in-cluster service account config.
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.