Documentation ¶ Index ¶ func Serve(f PluginFactory) type PluginFactory Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Serve ¶ func Serve(f PluginFactory) Serve is used to serve a new Nomad plugin Types ¶ type PluginFactory ¶ type PluginFactory func(log log.Logger) interface{} PluginFactory returns a new plugin instance Source Files ¶ View all Source files serve.go Directories ¶ Show internal Expand all Path Synopsis base proto structs device cmd/example cmd/example/cmd command proto drivers proto testutils utils shared cmd/launcher command cmd/launcher/command hclspec structs structs/proto Click to show internal directories. Click to hide internal directories.