@waves/node-state
Version:
13 lines (12 loc) • 524 B
TypeScript
/// <reference types="node" />
export declare function remove(image: string): Promise<void>;
export declare function stop(image: string): Promise<void>;
export declare function isRunImage(image: string): Promise<boolean>;
export declare function run(args: Array<string>, image: string): Promise<import("child_process").ChildProcessWithoutNullStreams>;
export declare function stats(flags?: Array<'-a'>): Promise<Array<IImageInfo>>;
interface IImageInfo {
id: string;
image: string;
command: string;
}
export {};