# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
ApiTaskToStructsTask is a copy and type conversion between the API representation of a task from a struct representation of a task.
No description provided by the author
No description provided by the author
DefaultConfig is a the baseline configuration for Nomad.
DefaultEntConfig is an empty config in open source.
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.
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.
NewTestAgent returns a started agent with the given name and configuration.
ParseConfig parses the config from the given io.Reader.
ParseConfigFile parses the given path as a config file.
ValidateLevelFilter verifies that the log levels within the filter are valid.
# Constants
ErrEntOnly is the error returned if accessing an enterprise only endpoint.
ErrInvalidMethod is used if the HTTP method is not supported.
# Variables
TempDir defines the base dir for temporary directories.
# Structs
ACLConfig is configuration specific to the ACL system.
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.
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 encapsulates the various ports we bind to for network services.
No description provided by the author
ServerConfig is configuration specific to the server mode.
ServerJoin is used in both clients and servers to bootstrap connections to servers.
SyslogWrapper is used to cleanup log messages before writing them to a Syslogger.
Telemetry is the telemetry configuration for the server.
TestAgent encapsulates an Agent with a default configuration and startup procedure suitable for testing.
No description provided by the author
# Interfaces
DiscoverInterface is an interface for the Discover type in the go-discover library.
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.