drivers

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListNodeDrivers added in v0.6.2

func ListNodeDrivers() []string

func LogNodeDriverFailure

func LogNodeDriverFailure(name string, err error)

func NewListenerFunc

func NewListenerFunc(ctx context.Context, fn func(cfg *node.LoggingCapabilityConfig)) chan<- *node.LoggingCapabilityConfig

func RegisterNodeDriver

func RegisterNodeDriver(driver LoggingNodeDriver)

func ResetNodeDrivers

func ResetNodeDrivers()

Types

type LoggingNodeDriver

type LoggingNodeDriver interface {
	Name() string
	ConfigureNode(*node.LoggingCapabilityConfig)
}

func GetNodeDriver

func GetNodeDriver(name string) (LoggingNodeDriver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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