Function: getVersion()
function getVersion(clusterName: string): Promise<StringDict>
Gets the version of the cluster given by the parameter.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
clusterName | string | '' | 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.