vscode-kubernetes-tools-api
Advanced tools
Comparing version 0.0.3 to 0.0.4
# Change Log | ||
## 0.0.4 | ||
* Added Helm API | ||
## 0.0.3 | ||
* Added kubectl port-forward API | ||
## 0.0.2 | ||
@@ -4,0 +12,0 @@ |
@@ -5,2 +5,3 @@ import { Extension, API, ComponentKey, Version } from '.'; | ||
import { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
import { HelmV1 } from './helm/v1'; | ||
export declare class ExtensionHelper implements Extension { | ||
@@ -19,2 +20,5 @@ private readonly apiBroker; | ||
}>; | ||
readonly helm: Readonly<{ | ||
v1: Promise<API<HelmV1>>; | ||
}>; | ||
} |
@@ -44,2 +44,5 @@ "use strict"; | ||
}); | ||
this.helm = readonlify({ | ||
v1: this.get("helm", "v1"), | ||
}); | ||
} | ||
@@ -46,0 +49,0 @@ getCore(component, version) { |
@@ -7,2 +7,4 @@ import { ClusterProviderAPI } from './clusterprovider/versions'; | ||
import { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
import { HelmAPI } from './helm/versions'; | ||
import { HelmV1 } from './helm/v1'; | ||
export { ClusterProviderAPI } from './clusterprovider/versions'; | ||
@@ -14,2 +16,4 @@ export { ClusterProviderV1 } from './clusterprovider/v1'; | ||
export { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
export { HelmAPI } from './helm/versions'; | ||
export { HelmV1 } from './helm/v1'; | ||
/** | ||
@@ -61,2 +65,6 @@ * Provides convenient access to the Kubernetes extension's API. | ||
readonly clusterExplorer: ClusterExplorerAPI; | ||
/** | ||
* Provides access to the Kubernetes extension's Helm API. | ||
*/ | ||
readonly helm: HelmAPI; | ||
} | ||
@@ -123,3 +131,3 @@ /** | ||
*/ | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 ? "clusterexplorer" : "invalid_api_interface"; | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 ? "clusterexplorer" : T extends HelmV1 ? "helm" : "invalid_api_interface"; | ||
/** | ||
@@ -129,2 +137,2 @@ * A TypeScript type associating Kubernetes extension API version IDs with | ||
*/ | ||
export declare type Version<T> = T extends ClusterProviderV1 ? "v1" : T extends KubectlV1 ? "v1" : T extends ClusterExplorerV1 ? "v1" : "invalid_api_interface"; | ||
export declare type Version<T> = T extends ClusterProviderV1 ? "v1" : T extends KubectlV1 ? "v1" : T extends ClusterExplorerV1 ? "v1" : T extends HelmV1 ? "v1" : "invalid_api_interface"; |
{ | ||
"name": "vscode-kubernetes-tools-api", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Documents and encapsulates the API for the Kubernetes extension for Visual Studio Code", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
56552
49
1136