Swm::AddCluster::Arguments
Inherits Iterable < Enumerable < Struct < Value < Object
Constants
SPECS = {"name" => {type: "String", description: {"name (required)", "name for the cluster"}, default: "nil", is_required: true}, "ssh_host" => {type: "String", description: {"ssh_host (required)", "node to fetch information from (user@host)"}, default: "nil", is_required: true}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)
Constructors
new(command : Admiral::Command)
Instance methods
[](*args, **options)
[](*args, **options, &)
each(*args, **options)
each(*args, **options, &)
exists?(name : Symbol)
get(name : Symbol)
get?(name : Symbol)
inspect(io)
Sourcename
Sourcessh_host
Sourcevalidate!(command : Admiral::Command)
value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Source