Project: Headlamp (Observability and Analysis / Observability)
File: lib_k8s_event.Event.md

title: "Class: Event" linkTitle: "Event" slug: "libk8sevent.Event" .Event `any` `Event` new Event(`json`) | Name | Type | | : | : | | `json` | | makeKubeObject<KubeEvent\>('Event').constructor `Static` apiEndpoint: `Object` | Name | Type | | : | : | | `scale?` | { `get`: (`namespace`: `string`, `name`: `string`, `clusterName?`: `string`) => `Promise`<`any`\> ; `put`: (`body`: { `metadata`: ; `spec`: { `replicas`: `number` } }, `clusterName?`: `string`) => `Promise`<`any`\> } | | `scale.get` | (`namespace`: `string`, `name`: `string`, `clusterName?`: `string`) => `Promise`<`any`\> | | `scale.put` | (`body`: { `metadata`: ; `spec`: { `replicas`: `number` } }, `clusterName?`: `string`) => `Promise`<`any`\> | _ `Static` className: `string` makeKubeObject<KubeEvent\>('Event').className `get` count(): `any` `any` _ `get` firstOccurrence(): `any` `any` _ `get` involvedObject(): `any` `any` _ `get` involvedObjectInstance(): `any` `any` _ `get` lastOccurrence(): `any` `any` _ `get` message(): `any` `any` _ `get` reason(): `any` `any` _ `get` source(): `any` `any` _ `get` spec(): `any` `any` _ `get` status(): `any` `any` _ `get` type(): `any` `any` _ `Static` `get` maxLimit(): `number` `number` `Static` `set` maxLimit(`limit`): `void` | Name | Type | | : | : | | `limit` | `number` | `void` `Static` apiList(`onList`, `onError?`, `opts?`): `any` | Name | Type | | : | : | | `onList` | (`arg`: `any`[]) => `void` | | `onError?` | (`err`: ) => `void` | | `opts?` | | `any` makeKubeObject<KubeEvent\>('Event').apiList _ `Static` `Optional` getAuthorization(`arg`, `resourceAttrs?`): `any` | Name | Type | | : | : | | `arg` | `string` | | `resourceAttrs?` | | `any` makeKubeObject<KubeEvent\>('Event').getAuthorization _ `Static` getErrorMessage(`err?`): ``null`` \| `string` | Name | Type | | : | : | | `err?` | ``null`` \| | ``null`` \| `string` makeKubeObject<KubeEvent\>('Event').getErrorMessage _ `Static` objectEvents(`object`): `Promise`<`any`\> | Name | Type | | : | : | | `object` | `any` | `Promise`<`any`\> _ `Static` useApiGet(`onGet`, `name`, `namespace?`, `onError?`): `void` | Name | Type | | : | : | | `onGet` | (...`args`: `any`) => `void` | | `name` | `string` | | `namespace?` | `string` | | `onError?` | (`err`: ) => `void` | `void` makeKubeObject<KubeEvent\>('Event').useApiGet _ `Static` useApiList(`onList`, `onError?`, `opts?`): `any` | Name | Type | | : | : | | `onList` | (`arg`: `any`[]) => `void` | | `onError?` | (`err`: ) => `void` | | `opts?` | | `any` makeKubeObject<KubeEvent\>('Event').useApiList _ `Static` useGet(`name`, `namespace?`): , (`item`: `any`) => `void`, (`err`: ``null`` \| ) => `void`] | Name | Type | | : | : | | `name` | `string` | | `namespace?` | `string` | , (`item`: `any`) => `void`, (`err`: ``null`` \| ) => `void`] makeKubeObject<KubeEvent\>('Event').useGet _ `Static` useList(`opts?`): , (`items`: `any`) => `void`] | Name | Type | | : | : | | `opts?` | | , (`items`: `any`) => `void`] makeKubeObject<KubeEvent\>('Event').useList _ `Static` useListForClusters(`clusterNames`, `options?`): `EventErrorObj` | Name | Type | | : | : | | `clusterNames` | `string`[] | | `options?` | `Object` | | `options.queryParams?` | | `EventErrorObj` _ `Static` useWarningList(`clusters`, `options?`): `EventErrorObj` | Name | Type | | : | : | | `clusters` | `string`[] | | `options?` | `Object` | | `options.queryParams?` | | `EventErrorObj`