Skip to main content

KubernetesApi.getCluster()

Home > @backstage/plugin-kubernetes-react > KubernetesApi > getCluster

Signature:

getCluster(clusterName: string): Promise<{
name: string;
authProvider: string;
oidcTokenProvider?: string;
dashboardUrl?: string;
} | undefined>;

Parameters

Parameter

Type

Description

clusterName

string

**Returns:**

Promise<{ name: string; authProvider: string; oidcTokenProvider?: string; dashboardUrl?: string; } | undefined>