Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check interface { GetName() string GetDescription() string Run(transport.Transport) *Result GetOptions() map[string]string }
Check the check interface
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command the struct
func NewCheckCommand ¶
NewCheckCommand creates a disk check instance
func (*Command) GetDescription ¶
GetDescription get description
func (*Command) GetOptions ¶
GetOptions returns the options
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
Disk the disk struct
func NewCheckDisk ¶
NewCheckDisk creates a disk check instance
func (*Disk) GetDescription ¶
GetDescription returns description
func (*Disk) GetOptions ¶
GetOptions returns the options
type Loadavg ¶
type Loadavg struct {
// contains filtered or unexported fields
}
Loadavg the loadavg struct
func NewCheckLoadAvg ¶
NewCheckLoadAvg creates a disk check instance
func (*Loadavg) GetDescription ¶
GetDescription get description
func (*Loadavg) GetOptions ¶
GetOptions returns the options
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory the memory struct
func NewCheckMemory ¶
NewCheckMemory creates a disk check instance
func (*Memory) GetDescription ¶
GetDescription get description
func (*Memory) GetOptions ¶
GetOptions returns the options
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
Port the port struct
func NewCheckPort ¶
NewCheckPort creates a disk check instance
func (*Port) GetOptions ¶
GetOptions returns the options
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
Process the process struct
func NewCheckProcess ¶
NewCheckProcess creates a disk check instance
func (*Process) GetDescription ¶
GetDescription get description
func (*Process) GetOptions ¶
GetOptions returns the options
type Reachable ¶
type Reachable struct {
// contains filtered or unexported fields
}
Reachable the port struct
func NewCheckReachable ¶
NewCheckReachable creates a disk check instance
func (*Reachable) GetDescription ¶
GetDescription get description
func (*Reachable) GetOptions ¶
GetOptions returns the options
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
Script the Script struct
func NewCheckScript ¶
NewCheckScript creates a script check instance
func (*Script) GetDescription ¶
GetDescription get description
func (*Script) GetOptions ¶
GetOptions returns the options
type Uptime ¶
type Uptime struct {
// contains filtered or unexported fields
}
Uptime the uptime struct
func NewCheckUptime ¶
NewCheckUptime creates a disk check instance
func (*Uptime) GetDescription ¶
GetDescription get description
func (*Uptime) GetOptions ¶
GetOptions returns the options