Skip to main content

Function: getClusterAuthType()

function getClusterAuthType(cluster: string): string

Parameters

ParameterTypeDescription
clusterstringName of the cluster.

Returns

string

Auth type of the cluster, or an empty string if the cluster is not found. It could return 'oidc' or '' for example.

Defined in

src/lib/k8s/api/v1/clusterRequests.ts:75