engineplugin

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Group = "engines"

Group specifies the container engine watchers plugin group name.

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 plugin function 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