Documentation
¶
Index ¶
Constants ¶
View Source
const ( DStatusFail = "Failed" DStatusOk = "Succeeded" DStatusSkip = "Skipped" DStatusStart = "Starting" )
Status of plugin execution used for displaying to user on console.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginAttributes ¶
type PluginAttributes struct {
Description string
FileName string
ExecStart string
RequiredBy []string
Requires []string
}
PluginAttributes that are supported in a plugin file.
type Plugins ¶
type Plugins map[string]*PluginAttributes
Plugins is basically a map of file and its contents.
type RunAllStatus ¶
type RunAllStatus struct {
Type string
// TODO: Add Percentage to get no. of pending vs. completed run of plugins.
Plugins PluginsStatus `yaml:",omitempty"`
Status string
StdOutErr string
}
RunAllStatus is the pm run status.
type RunStatus ¶
type RunStatus struct {
PluginAttributes `yaml:",inline"`
Status string
StdOutErr string
}
RunStatus is the plugin run's info: status, stdouterr.
Click to show internal directories.
Click to hide internal directories.