package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
ExistsLocally checks if dataDir/host_uuid file exists in local storage.
GetPath returns the path to the host UUID file given the data directory.
ReadFile reads host UUID from the file in the data dir.
ReadOrCreateFile looks for a hostid file in the data dir.
WithBackoff overrides the default backoff configuration of [ReadOrCreateFile].
WithIterationLimit overrides the default number of time [ReadOrCreateFile] will attempt to produce a hostid.
WriteFile writes host UUID into a file.
# Constants
FileName is the file name where the host UUID file is stored.