Documentation
¶
Overview ¶
Package plugin contains all essential structs/interfaces for long running plugins
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLongRunningPluginSupportedForCurrentPlatform ¶
IsLongRunningPluginSupportedForCurrentPlatform always returns false because currently, there are no long-running plugins supported on Linux
Types ¶
type LongRunningPlugin ¶
type LongRunningPlugin interface {
IsRunning() bool
Start(configuration string, orchestrationDir string, cancelFlag task.CancelFlag, out iohandler.IOHandler) error
Stop(cancelFlag task.CancelFlag) error
}
LongRunningPlugin is the interface that must be implemented by all long running plugins
type LongRunningPluginInput ¶
type LongRunningPluginInput struct {
Settings PluginSettings
Properties string
}
LongRunningPluginInput represents input for long running plugin like aws:cloudWatch
type Plugin ¶
type Plugin struct {
Info PluginInfo
Handler LongRunningPlugin
}
Plugin reflects a long running plugin
type PluginInfo ¶
type PluginInfo struct {
Name string
Configuration string
State PluginState
}
PluginInfo reflects information about long running plugins This is also used by lrpm manager to persisting information & then later use it for reference
type PluginSettings ¶
type PluginSettings struct {
StartType string
}
PluginSettings reflects settings that can be applied to long running plugins like aws:cloudWatch
type PluginState ¶
PluginState reflects state of a long running plugin
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cloudwatch implements cloudwatch plugin and its configuration
|
Package cloudwatch implements cloudwatch plugin and its configuration |
|
Package rundaemon implements rundaemon plugin and its configuration
|
Package rundaemon implements rundaemon plugin and its configuration |