Skip to main content

Function: useEventWarningList()

function useEventWarningList(clusters: string[], options?: object): EventsPerCluster;

Defined in: lib/k8s/event.ts:259

Fetch warning events for given clusters Amount is limited to Event.maxLimit

Important! Make sure to have the parent component have clusters as a key so that component remounts when clusters change, instead of rerendering with different number of clusters

Parameters

ParameterType
clustersstring[]
options?{ queryParams?: QueryParameters; }
options.queryParams?QueryParameters

Returns

EventsPerCluster