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:
Alan Ren
2019-06-03 14:32:10 -07:00
committed by GitHub
parent 639bd5a550
commit aaa2ef3a97
13 changed files with 50 additions and 289 deletions

View File

@@ -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;
}
}