# Functions
BuiltinFingerprints is a slice containing the key names of all registered fingerprints available.
FindCgroupMountpointDir is used to find the cgroup mount point on a Linux system.
NewArchFingerprint is used to create an OS fingerprint.
NewCGroupFingerprint returns a new cgroup fingerprinter.
NewConsulFingerprint is used to create a Consul fingerprint.
NewCPUFingerprint is used to create a CPU fingerprint.
NewEnvAWSFingerprint is used to create a fingerprint from AWS metadata.
NewEnvGCEFingerprint is used to create a fingerprint from GCE metadata.
NewFingerprint is used to instantiate and return a new fingerprint given the name and a logger.
NewHostFingerprint is used to create a Host fingerprint.
NewMemoryFingerprint is used to create a Memory fingerprint.
NewNetworkFingerprint returns a new NetworkFingerprinter with the given logger.
NewNomadFingerprint is used to create a Nomad fingerprint.
NewSignalFingerprint is used to create a Signal fingerprint.
No description provided by the author
NewVaultFingerprint is used to create a Vault fingerprint.
# Constants
AwsMetadataTimeout is the timeout used when contacting the AWS metadata service.
This is where the AWS metadata server normally resides.
This is where the GCE metadata server normally resides.
EmptyDuration is to be used by fingerprinters that are not periodic.
GceMetadataTimeout is the timeout used when contacting the GCE metadata service.
TightenNetworkTimeoutsConfig is a config key that can be used during tests to tighten the timeouts for fingerprinters that make network calls.
# Structs
ArchFingerprint is used to fingerprint the architecture.
No description provided by the author
ConsulFingerprint is used to fingerprint for Consul.
CPUFingerprint is used to fingerprint the CPU.
Implements the interface detector which calls the cgroups library directly.
Implements the interface detector which calls net directly.
EnvAWSFingerprint is used to fingerprint AWS metadata.
EnvGCEFingerprint is used to fingerprint GCE metadata.
No description provided by the author
HostFingerprint is used to fingerprint the host.
MemoryFingerprint is used to fingerprint the available memory on the node.
NetworkFingerprint is used to fingerprint the Network capabilities of a node.
NomadFingerprint is used to fingerprint the Nomad version.
No description provided by the author
SignalFingerprint is used to fingerprint the available signals.
StaticFingerprinter can be embedded in a struct that has a Fingerprint method to make it non-periodic.
StorageFingerprint is used to measure the amount of storage free for applications that the Nomad agent will run on this machine.
VaultFingerprint is used to fingerprint for Vault.
# Interfaces
Fingerprint is used for doing "fingerprinting" of the host to automatically determine attributes, resources, and metadata about it.
An interface to isolate calls to the cgroup library This facilitates testing where we can implement fake mount points to test various code paths.
An interface to isolate calls to various api in net package This facilitates testing where we can implement fake interfaces and addresses to test varios code paths.
# Type aliases
Factory is used to instantiate a new Fingerprint.