Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStateMapFromContext ¶
Types ¶
type CheckDef ¶
type CheckDef struct {
Name string `json:"name"`
Group string `json:"group"`
Description string `json:"description"`
IsReadOnly bool `json:"is_read_only"`
CheckFunc CheckFuncDef `json:"-"`
CleanupFunc CleanupFuncDef `json:"-"`
}
type ChecksRegistry ¶
type ChecksRegistry struct {
// contains filtered or unexported fields
}
func GetRegistry ¶
func GetRegistry() *ChecksRegistry
func (*ChecksRegistry) GetAllChecks ¶
func (reg *ChecksRegistry) GetAllChecks() []*CheckDef
func (*ChecksRegistry) Register ¶
func (reg *ChecksRegistry) Register(def *CheckDef)
type CleanupFuncDef ¶
Click to show internal directories.
Click to hide internal directories.