@kui-shell/plugin-tekton
Version:
Visualizations for Tekton Pipelines
24 lines (23 loc) • 880 B
TypeScript
import { KubeResource } from '@kui-shell/plugin-kubeui';
import { Badge, Mode, Tab } from '@kui-shell/core';
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: Tab, activations: ActivationLike[], container: Element, opts?: RenderOpts) => void;
export declare const traceView: (tab: Tab, run: PipelineRun, pipeline: Pipeline, jsons: KubeResource<import("@kui-shell/plugin-kubeui").KubeStatus>[]) => {
type: string;
isEntity: boolean;
name: string;
packageName: string;
prettyType: string;
duration: number;
badges: Badge[];
content: HTMLDivElement;
};
declare const traceMode: Mode;
export default traceMode;