arecibo
Version:
Fastify plugin that respondes to Kubernetes readiness and liveness probes.
12 lines (11 loc) • 392 B
TypeScript
import type { FastifyPluginCallback, FastifyPluginOptions, LogLevel, RouteHandler } from 'fastify';
interface Opts extends FastifyPluginOptions {
message?: string;
readinessURL?: string;
livenessURL?: string;
readinessCallback?: RouteHandler;
livenessCallback?: RouteHandler;
logLevel: LogLevel;
}
declare const arecibo: FastifyPluginCallback<Opts>;
export = arecibo;