useEvents()
Home > @backstage/plugin-kubernetes-react
> useEvents
Retrieves the events for the given object
Signature:
useEvents: ({ involvedObjectName, namespace, clusterName, }: EventsOptions) => import("react-use/esm/useAsyncFn").AsyncState<import("kubernetes-models/v1").Event[]>
Parameters
Parameter |
Type |
Description |
---|---|---|
{ involvedObjectName, namespace, clusterName, } |
import("react-use/esm/useAsyncFn").AsyncState<import("kubernetes-models/v1").Event[]>