engineplugin

package
v0.26.7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamedWatcher

type NamedWatcher struct {
	watcher.Watcher
	Name string // descriptive engine name
}

NamedWatcher wraps a watcher and gives it a descriptive engine name.

type NewWatchers added in v0.22.0

type NewWatchers func(cmd *cobra.Command) ([]*NamedWatcher, error)

NewWatchers is an exposed plugin function that returns a one or more (named) watcher(s) configured according to the CLI flags passed in, or nil if a particular engine should not be watched at all.

Jump to

Keyboard shortcuts

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