plugins

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2020 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func ServeCtx added in v0.11.3

func ServeCtx(f PluginCtxFactory)

Serve is used to serve a new Nomad plugin

Types

type PluginCtxFactory added in v0.11.3

type PluginCtxFactory func(ctx context.Context, log log.Logger) interface{}

PluginFactory returns a new plugin instance, that takes in a context

type PluginFactory

type PluginFactory func(log log.Logger) interface{}

PluginFactory returns a new plugin instance

Directories

Path Synopsis
csi
fake
fake is a package that includes fake implementations of public interfaces from the CSI package for testing.
fake is a package that includes fake implementations of public interfaces from the CSI package for testing.
cmd/example/cmd command
shared
cmd/launcher command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL