package
Version:
v0.9.6
Opens a new window with list of versions in this module.
Published: Apr 25, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
2019-01-07 (cc) <paul4hough@gmail.com>
agate configuration
type Config struct {
Global Global `yaml:"global,omitempty"`
Remed Remed `yaml:"remed,omitempty"`
Email Email `yaml:"email,omitempty"`
Notify Notify `yaml:"notify,omitempty"`
}
type Email struct {
Smtp string `yaml:"smtp,omitempty"`
From string `yaml:"from,omitempty"`
To string `yaml:"to,omitempty"`
}
type Global struct {
Retry time.Duration `yaml:"retry,omitempty"`
DataAge uint `yaml:"data-age,omitempty"`
}
type NSysGitlab struct {
Url string `yaml:"url,omitempty"`
Group string `yaml:"repo"`
Token string `yaml:"token"`
}
type NSysHpsm struct {
Url string `yaml:"url"`
User string `yaml:"user"`
Pass string `yaml:"pass"`
CreateEp string `yaml:"create-ep"`
UpdateEp string `yaml:"update-ep"`
CloseEp string `yaml:"close-ep"`
Group string `yaml:"workgroup"`
Defaults map[string]string `yaml:"defaults,omitempty"`
}
type NSysMock struct {
Url string `yaml:"url"`
}
type Notify struct {
Default string `yaml:"default,omitempty"`
Resolved bool `yaml:"close-resolved,omitempty"`
Sys NotifySys `yaml:"systems,omitempty"`
}
type NotifySys struct {
Gitlab NSysGitlab `yaml:"gitlab,omitempty"`
Hpsm NSysHpsm `yaml:"hpsm,omitempty"`
Mock NSysMock `yaml:"mock,omitempty"`
}
type Remed struct {
Parallel uint `yaml:"parallel,omitempty"`
CfgScriptsDir string `yaml:"scripts-dir,omitempty"`
CfgPlaybookDir string `yaml:"playbook-dir,omitempty"`
ScriptsDir string
PlaybookDir string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.