UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

14 lines (13 loc) 780 B
import { UI } from '@kui-shell/core'; import * as Resources from '../model/resource'; export declare const generateForm: (tab: UI.Tab) => (yaml: Resources.KubeResource<Resources.KubeStatus>, filepath: string, name: string, kind: string, onSave: (rawText: string) => any) => { type: string; prettyType: string; isEntity: boolean; name: string; subtext: HTMLSpanElement; content: HTMLFormElement; modes: UI.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>[]; resource: Resources.KubeResource<Resources.KubeStatus>; }; export default generateForm;