Skip to main content

Function: getVersion()

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

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.

Defined in

src/lib/k8s/index.ts:174