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

# Packages

# Functions

NewAllocDir initializes the AllocDir struct with allocDir as base path for the allocation directory.
SnapshotErrorFilename returns the filename which will exist if there was an error snapshotting a tar.
TestAllocDir returns a built alloc dir in a temporary directory and cleanup func.

# Variables

AllocGRPCSocket is the path relative to the task dir root for the unix socket connected to Consul's gRPC endpoint.
AllocHTTPSocket is the path relative to the task dir root for the unix socket connected to Consul's HTTP endpoint.
Name of the directory where logs of Tasks are written.
SharedAllocContainerPath is the path inside container for mounted directory shared across tasks in a task group.
The set of directories that exist inside each shared alloc directory.
The name of the directory that is shared across tasks in a task group.
SharedDataDir is one of the shared allocation directories.
SnapshotErrorTime is the sentinel time that will be used on the error file written by Snapshot when it encounters as error.
TaskDirs is the set of directories created in each tasks directory.
The name of the directory that exists inside each task directory regardless of driver.
TaskLocalContainer is the path inside a container for mounted directory for local storage.
TaskSecrets is the name of the secret directory inside each task directory.
TaskSecretsContainerPath is the path inside a container for mounted secrets directory.
TmpDirName is the name of the temporary directory in each alloc and task.

# Structs

AllocDir allows creating, destroying, and accessing an allocation's directory.
TaskDir contains all of the paths relevant to a task.

# Interfaces

AllocDirFS exposes file operations on the alloc dir.