Project: Headlamp (Observability and Analysis / Observability)
File: lib_k8s_node.Node.md

title: "Class: Node" linkTitle: "Node" slug: "libk8snode.Node" .Node `any` `Node` new Node(`json`) | Name | Type | | : | : | | `json` | | makeKubeObject<KubeNode\>('node').constructor `Static` apiEndpoint: `Object` | Name | Type | | : | : | | `apiInfo` | { `group`: `string` ; `resource`: `string` ; `version`: `string` }[] | | `delete` | (`name`: `string`, `queryParams?`: , `cluster?`: `string`) => `Promise`<`any`\> | | `get` | (`name`: `string`, `cb`: , `errCb`: , `queryParams?`: , `cluster?`: `string`) => `Promise`<() => `void`\> | | `isNamespaced` | `boolean` | | `list` | (`cb`: , `errCb`: , `queryParams?`: , `cluster?`: `string`) => `Promise`<() => `void`\> | | `patch` | (`body`: `OpPatch`, `cluster?`: `string`) => `Promise`<`any`\> | | `post` | (`body`: , `queryParams?`: , `cluster?`: `string`) => `Promise`<`any`\> | | `put` | (`body`: , `queryParams?`: , `cluster?`: `string`) => `Promise`<`any`\> | _ `Static` className: `string` makeKubeObject<KubeNode\>('node').className `get` spec(): `Object` `Object` | Name | Type | | : | : | | `podCIDR` | `string` | | `taints` | { `effect`: `string` ; `key`: `string` }[] | _ `get` status(): `Object` `Object` | Name | Type | | : | : | | `addresses` | { `address`: `string` ; `type`: `string` }[] | | `allocatable` | { `cpu`: `any` ; `ephemeralStorage`: `any` ; `hugepages1Gi`: `any` ; `hugepages2Mi`: `any` ; `memory`: `any` ; `pods`: `any` } | | `allocatable.cpu` | `any` | | `allocatable.ephemeralStorage` | `any` | | `allocatable.hugepages_1Gi` | `any` | | `allocatable.hugepages_2Mi` | `any` | | `allocatable.memory` | `any` | | `allocatable.pods` | `any` | | `capacity` | { `cpu`: `any` ; `ephemeralStorage`: `any` ; `hugepages1Gi`: `any` ; `hugepages2Mi`: `any` ; `memory`: `any` ; `pods`: `any` } | | `capacity.cpu` | `any` | | `capacity.ephemeralStorage` | `any` | | `capacity.hugepages_1Gi` | `any` | | `capacity.hugepages_2Mi` | `any` | | `capacity.memory` | `any` | |

| `any` | | `conditions` | `Omit`<, ``"lastProbeTime"`` \| ``"lastUpdateTime"``\> & { `lastHeartbeatTime`: `string` }[] | | `nodeInfo` | { `architecture`: `string` ; `bootID`: `string` ; `containerRuntimeVersion`: `string` ; `kernelVersion`: `string` ; `kubeProxyVersion`: `string` ; `kubeletVersion`: `string` ; `machineID`: `string` ; `operatingSystem`: `string` ; `osImage`: `string` ; `systemUUID`: `string` } | | `nodeInfo.architecture` | `string` | | `nodeInfo.bootID` | `string` | | `nodeInfo.containerRuntimeVersion` | `string` | | `nodeInfo.kernelVersion` | `string` | | `nodeInfo.kubeProxyVersion` | `string` | | `nodeInfo.kubeletVersion` | `string` | | `nodeInfo.machineID` | `string` | | `nodeInfo.operatingSystem` | `string` | | `nodeInfo.osImage` | `string` | | `nodeInfo.systemUUID` | `string` | getExternalIP(): `string` `string` _ getInternalIP(): `string` `string` _ `Static` apiList(`onList`, `onError?`, `opts?`): `any` | Name | Type | | : | : | | `onList` | (`arg`: `any`[]) => `void` | | `onError?` | (`err`: ) => `void` | | `opts?` | | `any` makeKubeObject<KubeNode\>('node').apiList _ `Static` `Optional` getAuthorization(`arg`, `resourceAttrs?`): `any` | Name | Type | | : | : | | `arg` | `string` | | `resourceAttrs?` | | `any` makeKubeObject<KubeNode\>('node').getAuthorization _ `Static` getErrorMessage(`err?`): ``null`` \| `string` | Name | Type | | : | : | | `err?` | ``null`` \| | ``null`` \| `string` makeKubeObject<KubeNode\>('node').getErrorMessage _ `Static` useApiGet(`onGet`, `name`, `namespace?`, `onError?`): `void` | Name | Type | | : | : | | `onGet` | (...`args`: `any`) => `void` | | `name` | `string` | | `namespace?` | `string` | | `onError?` | (`err`: ) => `void` | `void` makeKubeObject<KubeNode\>('node').useApiGet _ `Static` useApiList(`onList`, `onError?`, `opts?`): `any` | Name | Type | | : | : | | `onList` | (`arg`: `any`[]) => `void` | | `onError?` | (`err`: ) => `void` | | `opts?` | | `any` makeKubeObject<KubeNode\>('node').useApiList _ `Static` useGet(`name`, `namespace?`): , (`item`: `any`) => `void`, (`err`: ``null`` \| ) => `void`] | Name | Type | | : | : | | `name` | `string` | | `namespace?` | `string` | , (`item`: `any`) => `void`, (`err`: ``null`` \| ) => `void`] makeKubeObject<KubeNode\>('node').useGet _ `Static` useList(`opts?`): , (`items`: `any`) => `void`] | Name | Type | | : | : | | `opts?` | | , (`items`: `any`) => `void`] makeKubeObject<KubeNode\>('node').useList _ `Static` useMetrics(): ] ]