# 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
No description provided by the author
CreateOrUpdateSecret merges metadata of existing Secret with new one and updates it.
No description provided by the author
This function is responsible for the following:
Verify that the service exists in the resource's namespace If it does not exist, fail the reconciliation.
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 the 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.
UpdateDaemonSet merges metadata of existing DaemonSet with new one and updates it.
No description provided by the author
No description provided by the author
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.