UNPKG

@openshift-console/dynamic-plugin-sdk

Version:

Based on the concept of [webpack module federation](https://webpack.js.org/concepts/module-federation/), dynamic plugins are loaded and interpreted from remote sources at runtime. The standard way to deliver and expose dynamic plugins to Console is throug

23 lines (22 loc) 1.03 kB
import { ExtensionK8sModel } from '../api/common-types'; import { Extension, ExtensionDeclaration } from '../types'; export declare type ClusterGlobalConfig = ExtensionDeclaration<'console.global-config', { /** Unique identifier for the cluster config resource instance. */ id: string; /** The name of the cluster config resource instance. */ name: string; /** The model which refers to a cluster config resource. */ model: ExtensionK8sModel; /** The namespace of the cluster config resource instance. */ namespace: string; }>; export declare const isClusterGlobalConfig: (e: Extension<any>) => e is ExtensionDeclaration<"console.global-config", { /** Unique identifier for the cluster config resource instance. */ id: string; /** The name of the cluster config resource instance. */ name: string; /** The model which refers to a cluster config resource. */ model: ExtensionK8sModel; /** The namespace of the cluster config resource instance. */ namespace: string; }>;