Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostname ¶
GetHostname returns the node hostname using kubernetes as lib to ensure that will obtain the same value This code is the same used kubernetes project: (We copied to avoid to add a dependency only because of this snipt) https://github.com/kubernetes/kubernetes/blob/6b34fafdaf5998039c7e01fa33920a641b216d3e/staging/src/k8s.io/component-helpers/node/util/hostname.go#L25-L46
func ProtectedID ¶
ProtectedID returns a hashed version of the machine ID in a cryptographically secure way,
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.