Skip to main content

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

ParameterTypeDescription
options{ credentials: BackstageCredentials; }

Returns:

Promise<ClusterDetails[]>