UNPKG

@openshift-console/dynamic-plugin-sdk

Version:

Provides core APIs, types and utilities used by dynamic plugins at runtime.

16 lines (15 loc) 837 B
import { ExtensionK8sModel } from '../api/common-types'; import { Extension, ExtensionDeclaration } from '../types'; /** This extension identifies a resource used to manage the configuration of the cluster. A link to the resource will be added to the Administration - Cluster Settings - Configuration page. */ export 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) => e is ClusterGlobalConfig;