kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
34 lines (33 loc) • 1.4 kB
TypeScript
import { Tab } from '@kui-shell/core/api/ui-lite';
import { ModeRegistration, Mode } from '@kui-shell/core/api/registrars';
import { Row } from '@kui-shell/core/api/table-models';
import { Resource, KubeResource } from '../../model/resource';
export declare const containersButton: (command: string, resource: Resource<KubeResource<import("../../model/resource").KubeStatus>>, overrides?: any) => Mode<string | import("@kui-shell/core/webapp/views/sidecar-core").CustomSpec<void> | import("@kui-shell/core/webapp/bottom-stripe").DirectViewControllerFunction<object, object> | import("@kui-shell/core/webapp/bottom-stripe").DirectViewControllerSpec>;
export declare const containersMode: ModeRegistration<KubeResource>;
export declare const renderContainers: (tab: Tab, command: string, resource: Resource<KubeResource<import("../../model/resource").KubeStatus>>) => Promise<{
header: Row;
body: Row[];
noSort: boolean;
title: string;
} | {
body: any[];
header?: undefined;
noSort?: undefined;
title?: undefined;
}>;
interface Parameters {
command: string;
resource: Resource;
}
export declare const renderAndViewContainers: (tab: Tab, parameters: Parameters) => Promise<{
header: Row;
body: Row[];
noSort: boolean;
title: string;
} | {
body: any[];
header?: undefined;
noSort?: undefined;
title?: undefined;
}>;
export {};