plugins

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

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.
shared

Jump to

Keyboard shortcuts

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