registry

package
v0.0.0-...-e418fc5 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewFuncs = map[string]NewFunc{}

NewFuncs is a map containing all the registered drivers.

Functions

func Register

func Register(name string, f NewFunc)

Register registers a new driver. Not safe for concurrent use, safe for use from package init.

Types

type NewFunc

type NewFunc func(map[string]interface{}) (exporter.ConfigExporter, error)

NewFunc is the function prototype that drivers should register at init.

Jump to

Keyboard shortcuts

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