Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "monitoring"
Variables ¶
View Source
var Cfg *config.MonitoringSettings
Functions ¶
func MonitoringModuleRule ¶
func MonitoringModuleRule(moduleName, modulePath, moduleNamespace string) *errors.LintRuleError
func PromtoolRuleCheck ¶
func PromtoolRuleCheck(m *module.Module, object storage.StoreObject) *errors.LintRuleError
Types ¶
type Monitoring ¶
type Monitoring struct {
// contains filtered or unexported fields
}
Monitoring linter
func New ¶
func New(cfg *config.MonitoringSettings) *Monitoring
func (*Monitoring) Desc ¶
func (o *Monitoring) Desc() string
func (*Monitoring) Name ¶
func (o *Monitoring) Name() string
func (*Monitoring) Run ¶
func (*Monitoring) Run(m *module.Module) (result errors.LintRuleErrorsList, err error)
Click to show internal directories.
Click to hide internal directories.