struct

AptLarder::CLI::Healthcheck::Arguments

Inherits Iterable < Enumerable < Struct < Value < Object

Probes the proxy and exits 0 (healthy) or 1 (unhealthy).

Exists for the distroless release image, which carries no shell and no curl: see AptLarder::Healthcheck for why the probe has to live in the binary itself, and why it targets the proxy rather than the admin API.

Constants

SPECS = {} 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)
Source
rest
validate!(command : Admiral::Command)
value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Source