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

# Functions

No description provided by the author
DefaultConfig is a the baseline configuration for Nomad.
DevConfig is a Config that is used for dev mode of Nomad.
LevelFilter returns a LevelFilter that is configured with the log levels that we use.
LoadConfig loads the configuration at the given path, regardless if its a file or directory.
LoadConfigDir loads all the configurations in the given directory in alphabetical order.
LoadConfigFile loads the configuration from the given file.
LoadConfigString is used to parse a config string.
NewAgent is used to create a new agent with the given configuration.
NewHTTPServer starts new HTTP server over the agent.
NewLogWriter creates a logWriter with the given buffer capacity.
NewProvider creates a new SCADA provider using the given configuration.
ProviderConfig returns the configuration for the SCADA provider.
ProviderService returns the service information for the provider.
ValidateLevelFilter verifies that the log levels within the filter are valid.

# Constants

ErrInvalidMethod is used if the HTTP method is not supported.

# Structs

Addresses encapsulates all of the addresses we bind to for various network services.
AdvertiseAddrs is used to control the addresses we advertise out for different network services.
Agent is a long running daemon that is used to run both clients and servers.
AtlasConfig is used to enable an parameterize the Atlas integration.
ClientConfig is configuration specific to the client mode.
Command is a Command implementation that runs a Nomad agent.
Config is the configuration for the Nomad agent.
HTTPServer is used to wrap an Agent and expose it over an HTTP interface.
No description provided by the author
Ports is used to encapsulate the various ports we bind to for network services.
ServerConfig is configuration specific to the server mode.
SyslogWrapper is used to cleaup log messages before writing them to a Syslogger.
Telemetry is the telemetry configuration for the server.

# Interfaces

HTTPCodedError is used to provide the HTTP error code.
LogHandler interface is used for clients that want to subscribe to logs, for example to stream them over an IPC mechanism.