Skip to main content

useCustomResources()

Home > @backstage/plugin-kubernetes-react > useCustomResources

Retrieves the provided custom resources related to the provided entity, refreshes at an interval.

Signature:

useCustomResources: (entity: Entity, customResourceMatchers: CustomResourceMatcher[], intervalMs?: number) => KubernetesObjects

Parameters

Parameter

Type

Description

entity

Entity

customResourceMatchers

CustomResourceMatcher[]

intervalMs

number

(Optional)

**Returns:**

KubernetesObjects