Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addr ¶
type Command ¶
type Command struct {
Command string `json:"command"`
ExitStatus string `json:"exit-status"`
Stdout []string `json:"stdout"`
Stderr []string `json:"stderr"`
}
func NewCommand ¶
type DNS ¶
type File ¶
type File struct {
Path string `json:"path"`
Exists bool `json:"exists"`
Mode string `json:"mode,omitempty"`
Owner string `json:"owner,omitempty"`
Group string `json:"group,omitempty"`
LinkedTo string `json:"linked-to,omitempty"`
Filetype string `json:"filetype,omitempty"`
Contains []string `json:"contains"`
}
type Group ¶
type Package ¶
type Package struct {
Name string `json:"name"`
Installed bool `json:"installed"`
Versions []string `json:"versions,omitempty"`
}
func NewPackage ¶
type Port ¶
type Process ¶
func NewProcess ¶
type Resource ¶
type Resource interface {
Validate(*system.System) []TestResult
}
type Service ¶
type Service struct {
Service string `json:"service"`
Enabled bool `json:"enabled"`
Running bool `json:"running"`
}
func NewService ¶
type TestResult ¶
func ValidateContains ¶
func ValidateValue ¶
func ValidateValue(title, property, expectedValue interface{}, method func() (interface{}, error)) TestResult
func ValidateValues ¶
func ValidateValues(title, property string, expectedValues []string, method func() ([]string, error)) TestResult
Click to show internal directories.
Click to hide internal directories.