plugin

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WatcherPlugin

type WatcherPlugin struct {
	Name    string
	Creator interface{}
}

func NewWatcherPlugin

func NewWatcherPlugin(wtype string, version string, notification func() interface{}, new func(machine model.Machine, name string, states []string, failEvent string, successEvent string, interval string, ai time.Duration, properties map[string]interface{}) (interface{}, error)) *WatcherPlugin

func (*WatcherPlugin) PluginInstance

func (p *WatcherPlugin) PluginInstance() interface{}

PluginInstance implements plugin.Pluggable

func (*WatcherPlugin) PluginName

func (p *WatcherPlugin) PluginName() string

PluginName implements plugin.Pluggable

func (*WatcherPlugin) PluginType

func (p *WatcherPlugin) PluginType() inter.PluginType

PluginType implements plugin.Pluggable

func (*WatcherPlugin) PluginVersion

func (p *WatcherPlugin) PluginVersion() string

PluginVersion implements plugin.Pluggable

Jump to

Keyboard shortcuts

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