package
Version:
v0.0.0-...-a1d7b1b
Opens a new window with list of versions in this module.
Published: Mar 4, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Analyze struct {
PluginName string `json:"plugin"`
Config snap.Config `json:"config"`
Publish *[]string `json:"publish"`
}
type NodeTask struct {
Id string `json:"id"`
Schedule Schedule `json:"schedule"`
Collect *Collect `json:"collect"`
Process *Process `json:"process"`
Analyze *Analyze `json:"analyze"`
Publish *[]string `json:"publish"`
}
type Process struct {
PluginName string `json:"plugin"`
Config snap.Config `json:"config"`
}
type Publish struct {
PluginName string `json:"plugin"`
Id string `json:"id"`
Config snap.Config `json:"config"`
}
type PublisherReport struct {
Id string `json:"Id,omitempty"`
Plugin string `json:"Plugin"`
LastErrorMsg string `json:"LastErrorMessage"`
LastErrorTime int64 `json:"LastErrorTimestamp"`
FailureCount int64 `json:"FailureCount"`
}
type Schedule struct {
Interval string `json:"interval"`
}
type TaskReport struct {
Id string `json:"Id,omitempty"`
Plugin string `json:"Plugin"`
LastErrorMsg string `json:"LastErrorMessage"`
LastErrorTime int64 `json:"LastErrorTimestamp"`
FailureCount int64 `json:"FailureCount"`
}
type TasksDefinition struct {
Tasks []*NodeTask `json:"tasks"`
Publish []*Publish `json:"publish"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.