node

package
v0.0.0-...-f6fdd69 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugins map[string]Node

Functions

This section is empty.

Types

type Node

type Node interface {
	Task(utils.NodeOptions) (*napi.Task, error)
	PostDeploy(*capi.Client, utils.NodeOptions) error
}

Node is an incredibly simple interface describing plugins that will generate nomad tasks. For now, this is left as an interface so plugin implementors can include instantiation logic.

func GetPlugin

func GetPlugin(name string) (Node, error)

type PostDeployFunc

type PostDeployFunc func(*capi.Client) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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