Skip to main content

Function: getVersion()

function getVersion(clusterName?: string): Promise<StringDict>;

Defined in: lib/k8s/index.ts:186

Gets the version of the cluster given by the parameter.

Parameters

ParameterTypeDefault valueDescription
clusterNamestring''the name of the cluster to query, or the currently selected cluster.

Returns

Promise<StringDict>

a promise that resolves to a dictionary containing version info.