kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
25 lines (24 loc) • 941 B
TypeScript
import * as UI from '@kui-shell/core/api/ui-lite';
import { Mode, Badge } from '@kui-shell/core/api/registrars';
import { KubeResource } from '@kui-shell/plugin-k8s';
import { ActivationLikeFull as ActivationLike } from '@kui-shell/plugin-wskflow';
import { Pipeline, PipelineRun } from '../resource';
interface RenderOpts {
noPip?: boolean;
noCrop?: boolean;
showStart?: boolean;
showTimeline?: boolean;
}
export declare const render: (tab: UI.Tab, activations: ActivationLike[], container: Element, opts?: RenderOpts) => void;
export declare const traceView: (tab: UI.Tab, run: PipelineRun, pipeline: Pipeline, jsons: KubeResource<import("@kui-shell/plugin-k8s").KubeStatus>[]) => {
type: string;
isEntity: boolean;
name: string;
packageName: string;
prettyType: string;
duration: number;
badges: Badge[];
content: HTMLDivElement;
};
declare const traceMode: Mode;
export default traceMode;