module

Shellmin

Constants

VERSION = "0.1.2"

Class methods

config
Source
config_access

Convenience methods for global access

Source
config_dump
Source
config_get(path : String) : YAML::Any | Nil

Config access methods

Source
config_get_section(path : String) : String | Nil
Source
config_has_key?(path : String) : Bool
Source
config_keys(path : String = "") : Array(String)
Source
config_manager

Convenience methods for global access

Source
connection_manager
Source
extract_host_info(host : YAML::Any) : NamedTuple(name: String, host: String, user: String, port: Int32, key_path: String | Nil, password: String | Nil)
Source
load_config
Source
save_config
Source
select_hosts(config : Hash(String, YAML::Any), host_names = nil, all = false)

Delegate to Utils module

Source
state_clear(host_name : String, module_name : String) : Bool
Source
state_get(host_name : String, module_name : String, key : String) : JSON::Any | Nil

State access methods

Source
state_has_key?(host_name : String, module_name : String, key : String) : Bool
Source
state_keys(host_name : String, module_name : String) : Array(String)
Source
state_manager

Convenience methods for global access

Source
state_remove(host_name : String, module_name : String, key : String) : Bool
Source
state_set(host_name : String, module_name : String, key : String, value : JSON::Any) : Bool
Source

Nested types