UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

19 lines (18 loc) 874 B
import { ApiError } from '../../lib/k8s/api/v2/ApiError'; import Pod from '../../lib/k8s/pod'; import { PodMetrics } from '../../lib/k8s/PodMetrics'; import { SimpleTableProps } from '../common/SimpleTable'; export declare function makePodStatusLabel(pod: Pod, showContainerStatus?: boolean): import("react/jsx-runtime").JSX.Element; export interface PodListProps { pods: Pod[] | null; metrics: PodMetrics[] | null; hideColumns?: ('namespace' | 'restarts')[]; reflectTableInURL?: SimpleTableProps['reflectInURL']; noNamespaceFilter?: boolean; errors?: ApiError[] | null; hideCreateButton?: boolean; enableRowActions?: boolean; enableRowSelection?: boolean; } export declare function PodListRenderer(props: PodListProps): import("react/jsx-runtime").JSX.Element; export default function PodList(): import("react/jsx-runtime").JSX.Element;