struct Main::Arguments
- Main::Arguments
- Struct
- Value
- Object
Included Modules
- Enumerable(String)
- Iterable(String)
Defined in:
main.cr:5main.cr:8
main.cr:12
main.cr:16
Constant Summary
-
SPECS =
{"name" => {type: "String", description: {"name (required)", "The name of the server"}, default: "nil", is_required: true}, "ip" => {type: "String", description: {"ip (required)", "The IP address of the server"}, default: "nil", is_required: true}, "system_name" => {type: "String", description: {"system_name (required)", "The special name of the component in the Kubernetes system"}, default: "nil", is_required: true}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)
Constructors
Instance Method Summary
- #[](*args, **options)
- #[](*args, **options, &)
- #each(*args, **options)
- #each(*args, **options, &)
- #exists?(name : Symbol)
- #get(name : Symbol)
- #get?(name : Symbol)
- #inspect(io)
- #ip : String
- #name : String
- #system_name : String
- #validate!(command : Admiral::Command)
- #value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Constructor Detail
Instance Method Detail
def value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
#