Installation
npm install --save @types/kube-probe
Summary
This package contains type definitions for kube-probe (https://github.com/nodeshift/kube-probe).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kube-probe.
index.d.ts
import { Express } from "express";
import { ProtectionConfig } from "overload-protection";
interface Options {
readinessUrl?: string | undefined;
livenessUrl?: string | undefined;
readinessCallback?: (() => void) | undefined;
livenessCallback?: (() => void) | undefined;
bypassProtection?: boolean | undefined;
protectionConfig?: ProtectionConfig | undefined;
}
declare function probe(app: Express, options?: Options): void;
export = probe;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: @types/express, @types/overload-protection
Credits
These definitions were written by Ash McBride.