# Functions
AddTypeInformationToObject adds TypeMeta information to a runtime.Object based upon the loaded scheme.Scheme See https://github.com/kubernetes/client-go/issues/308#issuecomment-700099260.
No description provided by the author
CreateOrUpdateSecret merges metadata of existing Secret with new one and updates it.
No description provided by the author
IsAllowed returns whether the user (e.g.
IsAPIGroupVersionResourceSupported checks if given groupVersion and resource is supported by the cluster.
No description provided by the author
LabelSelectionHasChanged returns true if the selector doesn't yield the same results for the old and current labels.
LoadSecretRef returns the data from a secret key reference.
MergePatchContainers adds patches to base using a strategic merge patch and iterating by container name, failing on the first error.
MustRegisterClientGoMetrics registers k8s.io/client-go metrics.
No description provided by the author
NewResourceNamerWithPrefix returns a ResourceNamer that adds a prefix followed by an hyphen character to all resource names.
PodRunningAndReady returns whether a pod is running and each container has passed it's ready state.
UpdateStatefulSet merges metadata of existing StatefulSet with new one and updates it.
# Constants
KubeConfigEnv (optionally) specify the location of kubeconfig file.
# Structs
No description provided by the author
ResourceAttribute represents authorization attributes to check on a given resource.
ResourceNamer knows how to generate valid names for various Kubernetes resources.