Skip to main content

Function: useClustersVersion()

function useClustersVersion(clusters: Cluster[]): [object, object]

Hook to get the version of the clusters given by the parameter.

Parameters

ParameterTypeDescription
clustersCluster[]

Returns

[object, object]

a map with cluster -> version-info, and a map with cluster -> error.

Defined in

src/lib/k8s/index.ts:297