kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
17 lines (16 loc) • 484 B
TypeScript
import Commands from '@kui-shell/core/api/commands';
interface Options {
asHTML?: boolean;
asJSON?: boolean;
}
interface ZaprEntry {
timestamp: string | Text | Element;
rawTimestamp: string;
logType: string;
provider: string;
origin: string;
rest: string | Record<string, string>;
runLength?: number;
}
export declare const formatLogs: (raw: string, execOptions: Commands.ExecOptions, options?: Options) => HTMLDivElement | ZaprEntry[];
export {};