package
0.2.0
Repository: https://github.com/brmatt/nomad.git
Documentation: pkg.go.dev

# Functions

NewArchFingerprint is used to create an OS fingerprint.
NewConsulFingerprint is used to create an OS 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.
NewNetworkFingerprinter returns a new NetworkFingerprinter with the given logger.
No description provided by the author

# Constants

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.

# Variables

BuiltinFingerprints is a slice containing the key names of all regestered fingerprints available, to provided an ordered iteration.

# Structs

ArchFingerprint is used to fingerprint the architecture.
ConsulFingerprint is used to fingerprint the architecture.
CPUFingerprint is used to fingerprint the CPU.
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.
No description provided by the author
StaticFingerprinter can be embeded 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.

# 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 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.