@types/kube-probe
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

Credits

These definitions were written by Ash McBride.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/kube-probe

    Weekly Downloads

    134

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • types