import { KubernetesObject } from '@kubernetes/client-node' ; import { TreeNode } from './treeNode' ; /**
 * Defines any kubernetes resourse.
 */ export class AnyResourceNode extends TreeNode { /**
     * kubernetes resource metadata
     */ resource : KubernetesObject ; constructor ( anyResource ) { super ( anyResource . metadata ?. name || '' ) ; this . description = anyResource . kind ; this . resource = anyResource ; } get tooltip ( ) { return '' ; } }