# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ConfigureGrpcKlog wraps grpc logging to use klog.
CreateFsWatcher creates a new FsWatcher.
RunMetricsServer starts a new http server to expose metrics.
DelayedDumper delays the dumping of an object.
Dump dumps an object into YAML textual format.
GetKubeconfig returns the kubeconfig for the cluster.
GetKubernetesNamespace returns the kubernetes namespace we're running under, or an empty string if the namespace cannot be determined.
GetNumaMemoryResources returns total amount of memory and hugepages under NUMA nodes.
NewJsonPatch returns a new JsonPatch object.
NewKlogFlagVal wraps a klog flag into KlogFlagVal type.
NodeName returns the name of the k8s node we're running on.
# Structs
DurationVal is a wrapper for handling time.Duration as a command line flag.
FsWatcher is a wrapper helper for watching files.
JsonPatch is a json marshaling helper used for patching API objects.
KlogFlagVal is a wrapper to allow dynamic control of klog from the config file.
No description provided by the author
RegexpVal is a wrapper for regexp command line flags.
TlsConfig is a TLS config wrapper/helper for cert rotation.
# Type aliases
MemoryResourceInfo holds information of memory resources per resource type.
NumaMemoryResources contains information of the memory resources per NUMA nodes of the system.
StringSetVal is a Value encapsulating a set of comma-separated strings.
StringSliceVal is a Value encapsulating a slice of comma-separated strings.