deployment extension not working on Linux (#6476)

* add webpack for built in extensions

* fix the casing issue

* Rename azCLITool.ts to azCliTool.ts

* Rename kubectlTool.ts to kubeCtlTool.ts

* fix the error

* fix the packaging issue
This commit is contained in:
Alan Ren
2019-07-23 18:34:17 -07:00
committed by GitHub
parent 53ab31766c
commit a92b2e0691
12 changed files with 51 additions and 14 deletions

View File

@@ -0,0 +1,26 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import { ToolType, ITool } from '../../interfaces';
import * as nls from 'vscode-nls';
const localize = nls.loadMessageBundle();
export class KubeCtlTool implements ITool {
get name(): string {
return 'kubectl';
}
get description(): string {
return localize('resourceDeployment.KubeCtlDescription', 'A command-line tool allows you to run commands against Kubernetes clusters');
}
get type(): ToolType {
return ToolType.KubeCtl;
}
get displayName(): string {
return localize('resourceDeployment.KubeCtlDisplayName', 'kubectl');
}
}