KubernetesClustersSupplier.getClusters()
Home > @backstage/plugin-kubernetes-node
> KubernetesClustersSupplier
> getClusters
Returns the cached list of clusters.
Implementations _should_ cache the clusters and refresh them periodically, as getClusters is called whenever the list of clusters is needed.
Signature:
getClusters(options: {
credentials: BackstageCredentials;
}): Promise<ClusterDetails[]>;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ credentials: BackstageCredentials; } |
Promise<ClusterDetails[]>