1.0.4 • Published 2 years ago
@types/kube-probe v1.0.4
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
// Type definitions for kube-probe 1.0
// Project: https://github.com/nodeshift/kube-probe
// Definitions by: Ash McBride <https://github.com/emacsified>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 16:23:29 GMT
- Dependencies: @types/express, @types/overload-protection
- Global values: none
Credits
These definitions were written by Ash McBride.