@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
11 lines (10 loc) • 558 B
TypeScript
import { KubeObjectInterface } from '../../../lib/k8s/KubeObject';
export { type PortForward as PortForwardState } from '../../../lib/k8s/api/v1/portForward';
interface PortForwardProps {
containerPort: number | string;
resource?: KubeObjectInterface;
}
export declare const PORT_FORWARDS_STORAGE_KEY = "portforwards";
export declare const PORT_FORWARD_STOP_STATUS = "Stopped";
export declare const PORT_FORWARD_RUNNING_STATUS = "Running";
export default function PortForward(props: PortForwardProps): import("react/jsx-runtime").JSX.Element | null;