# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Serve is used to serve a driverplugin.
StreamToExecOptions is a convenience method to convert exec stream into ExecOptions object.
No description provided by the author
No description provided by the author
# Constants
ApiVersion010 is the initial API version for the device plugins.
CheckBufSize is the size of the buffer that is used for job output.
DriverHealthy is the default health description that should be used if the driver is nominal.
No description provided by the author
No description provided by the author
Pre09TaskHandleVersion is the version used to identify that the task handle is from a driver that existed before driver plugins (v0.9).
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
DriverStatsNotImplemented is the error to be returned if a driver doesn't implement stats.
No description provided by the author
FSIsolationChroot means the driver will use a chroot on the host filesystem.
FSIsolationImage means the driver uses an image.
FSIsolationNone means no isolation.
No description provided by the author
No description provided by the author
No description provided by the author
NetIsolationModeGroup uses the group network namespace for isolation.
NetIsolationModeHost disables network isolation and uses the host network.
NetIsolationModeNone indicates that there is no network to isolate and is intended to be used for tasks that the client manages remotely.
NetIsolationModeTask isolates the network to just the task.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
DriverExecTaskNotSupported can be embedded by drivers which don't support the ExecTask RPC.
DriverNetwork is the network created by driver's (eg Docker's bridge network) during Prestart.
DriverSignalTaskNotSupported can be embedded by drivers which don't support the SignalTask RPC.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InternalCapabilities flags disabled functionality.
No description provided by the author
No description provided by the author
No description provided by the author
PluginDriver wraps a DriverPlugin and implements go-plugins GRPCPlugin interface to expose the the interface over gRPC.
No description provided by the author
No description provided by the author
No description provided by the author
TaskHandle is the state shared between a driver and the client.
No description provided by the author
No description provided by the author
# Interfaces
DriverNetworkManager is the interface with exposes function for creating a network namespace for which tasks can join.
DriverPlugin is the interface with drivers will implement.
ExecTaskStream represents a stream of exec streaming messages, and is a handle to get stdin and tty size and send back stdout/stderr and exit operations.
ExecTaskStreamingDriver marks that a driver supports streaming exec task.
ExecTaskStreamingRawDriver represents a low-level interface for executing a streaming exec call, and is intended to be used when driver instance is to delegate exec handling to another backend, e.g.
InternalCapabilitiesDriver is an experimental interface enabling a driver to disable some nomad functionality (e.g.
# Type aliases
CpuStats holds cpu usage related stats.
No description provided by the author
No description provided by the author
FSIsolation is an enumeration to describe what kind of filesystem isolation a driver supports.
No description provided by the author
MemoryStats holds memory usage related stats.
MountConfigSupport is an enum that defaults to "all" for backwards compatibility with community drivers.
No description provided by the author
ResourceUsage holds information related to cpu and memory stats.
TaskResourceUsage holds aggregated resource usage of all processes in a Task and the resource usage of the individual pids.
No description provided by the author