package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Packages

# Functions

Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
Commands returns the mapping of CLI commands for Nomad.
DataFormat returns the data formatter specified format.
MustAsset is like Asset but panics when Asset would return an error.
NamespacePredictor returns a namespace predictor that can optionally filter specific namespaces.
NewLineLimitReader takes the ReadCloser to wrap, the number of lines to find searching backwards in the first searchLimit bytes.
QuotaPredictor returns a quota predictor.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
TarCZF, like the tar command, recursively builds a gzip compressed tar archive from a directory.

# Constants

DefaultHclQuotaInitName is the default name we use when initializing the example quota file in HCL format.
DefaultInitName is the default name we use when initializing the example file.
DefaultHclQuotaInitName is the default name we use when initializing the example quota file in JSON format.
EnvNomadCLINoColor is an env var that toggles colored UI output.

# Structs

DeprecatedCommand is a command that wraps an existing command and prints a deprecation notice and points the user to the new command.
JobInitCommand generates a new job template that you can customize to your liking, like vagrant init.
LineLimitReader wraps another reader and provides `tail -n` like behavior.
Meta contains the meta-options and functionality that nearly every Nomad command inherits.
OperatorKeygenCommand is a Command implementation that generates an encryption key for use in `nomad agent`.
OperatorKeyringCommand is a Command implementation that handles querying, installing, and removing gossip encryption keys from a keyring.
QuotaInitCommand generates a new quota spec that you can customize to your liking, like vagrant init.
VersionCommand is a Command implementation prints the version.

# Interfaces

DataFormatter is a transformer of the data.
NamedCommand is a interface to denote a commmand's name.

# Type aliases

ApiClientFactory is the signature of a API client factory.
FlagSetFlags is an enum to define what flags are present in the default FlagSet returned by Meta.FlagSet.