engineplugin

package
v0.21.10 Latest Latest
Warning

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

Go to latest
Published: May 24, 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 NewWatcher

type NewWatcher func(cmd *cobra.Command) (*NamedWatcher, error)

NewWatcher plugin function returns a new (named) watcher configured according to the CLI flags passed in, or nil if a particular engine should not be watched.

Jump to

Keyboard shortcuts

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