Nostradamus Prophecy Machine

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

    1.0.1 • 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

    // 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

    Credits

    These definitions were written by Ash McBride.

    Keywords

    none

    Install

    npm i @types/kube-probe

    DownloadsWeekly Downloads

    76

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • types