class

AptLarder::CLI::Healthcheck

Inherits AptLarder::CLIErrorHandling < Admiral::Command < Reference < 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

HELP = {"description" => ""}

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.

Class methods

description

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.

Source
run(*args, **params)

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.

Source

Instance methods

__rescue_from___Admiral__Error(e)

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.

arguments

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.

Source
flags

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.

Source
help
run

The run command.

Source
sub(command, *args, **params)

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.

Source

Nested types