Function: useListPerVersion()
function useListPerVersion(
resourceClass: typeof KubeObject,
clustersByVersion: ClustersByVersion,
namespace?: string[]):
| KubeObject<any>[]
| null;
Defined in: lib/k8s/schedulingApis.ts:179
Lists a resource from the clusters that serve it, asking each one for its own version.
Parameters
| Parameter | Type | Description |
|---|---|---|
resourceClass | typeof KubeObject | The class to list. |
clustersByVersion | ClustersByVersion | The clusters to list from, per version they serve. |
namespace? | string[] | The namespaces to list from. |
Returns
| KubeObject<any>[]
| null
The items of every cluster, or null while any of them is still loading.