class

Jane::CheckConfig

Inherits Reference < Object

Constructors

from_toml(data : TOML::Any) : CheckConfig
Source
new(cpu : Nil | Jane::CPUCheck, memory : Nil | Jane::MemoryCheck, filesystems : Hash(String, Jane::FilesystemCheck), network_interfaces : Hash(String, Jane::InterfaceCheck), network_connections : Hash(String, Jane::ConnectionCheck), network_bandwidths : Hash(String, Jane::BandwidthCheck), processes : Hash(String, Jane::ProcessCheck), files : Hash(String, Jane::FileCheck))
Source

Instance methods

cpu=(cpu : CPUCheck | Nil)
Source
files
Source
files=(files : Hash(String, FileCheck))
Source
filesystems
Source
filesystems=(filesystems : Hash(String, FilesystemCheck))
Source
memory
Source
memory=(memory : MemoryCheck | Nil)
Source
merge!(other : CheckConfig)
Source
network_bandwidths
Source
network_bandwidths=(network_bandwidths : Hash(String, BandwidthCheck))
Source
network_connections
Source
network_connections=(network_connections : Hash(String, ConnectionCheck))
Source
network_interfaces
Source
network_interfaces=(network_interfaces : Hash(String, InterfaceCheck))
Source
processes
Source
processes=(processes : Hash(String, ProcessCheck))
Source