mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -05:00
Alanren/tool check (#5810)
* tool check * tools table update * buttons * update tools table * remove tool status check * updates * PR comments
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
import { ToolType, ITool, ToolInstallationStatus } from '../../interfaces';
|
||||
import { ToolType, ITool } from '../../interfaces';
|
||||
import * as nls from 'vscode-nls';
|
||||
const localize = nls.loadMessageBundle();
|
||||
|
||||
|
||||
export class DockerTool implements ITool {
|
||||
get name(): string {
|
||||
return 'docker';
|
||||
@@ -24,21 +23,4 @@ export class DockerTool implements ITool {
|
||||
get displayName(): string {
|
||||
return localize('resourceDeployment.DockerDisplayName', 'Docker');
|
||||
}
|
||||
|
||||
get supportAutoInstall(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
install(version: string): Thenable<void> {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
getInstallationStatus(versionExpression: string): Thenable<ToolInstallationStatus> {
|
||||
let promise = new Promise<ToolInstallationStatus>(resolve => {
|
||||
setTimeout(() => {
|
||||
resolve(ToolInstallationStatus.Installed);
|
||||
}, 500);
|
||||
});
|
||||
return promise;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user