vscode-kubernetes-tools-api
Advanced tools
Comparing version 1.0.0 to 1.1.0
# Change Log | ||
## 1.1.0 | ||
* Added configuration API | ||
Thanks to @amsoedal! | ||
## 1.0.0 | ||
* Initial release | ||
## 0.0.8 | ||
@@ -4,0 +14,0 @@ |
@@ -5,2 +5,3 @@ import * as vscode from 'vscode'; | ||
registerNodeContributor(nodeContributor: ExplorerTreeV1.NodeContributor): void; | ||
refresh(): void; | ||
} | ||
@@ -7,0 +8,0 @@ export declare namespace ExplorerTreeV1 { |
@@ -7,2 +7,3 @@ import { Extension, API, ComponentKey, Version } from '.'; | ||
import { CloudExplorerV1 } from './cloudexplorer/v1'; | ||
import { ConfigurationV1 } from './configuration/v1'; | ||
export declare class ExtensionHelper implements Extension { | ||
@@ -27,2 +28,5 @@ private readonly apiBroker; | ||
}>; | ||
readonly configuration: Readonly<{ | ||
v1: Promise<API<ConfigurationV1>>; | ||
}>; | ||
} |
@@ -50,2 +50,5 @@ "use strict"; | ||
}); | ||
this.configuration = readonlify({ | ||
v1: this.get("configuration", "v1"), | ||
}); | ||
} | ||
@@ -52,0 +55,0 @@ getCore(component, version) { |
@@ -11,2 +11,4 @@ import { ClusterProviderAPI } from './clusterprovider/versions'; | ||
import { CloudExplorerV1 } from './cloudexplorer/v1'; | ||
import { ConfigurationAPI } from './configuration/versions'; | ||
import { ConfigurationV1 } from './configuration/v1'; | ||
export { ClusterProviderAPI } from './clusterprovider/versions'; | ||
@@ -22,2 +24,4 @@ export { ClusterProviderV1 } from './clusterprovider/v1'; | ||
export { CloudExplorerV1 } from './cloudexplorer/v1'; | ||
export { ConfigurationAPI } from './configuration/versions'; | ||
export { ConfigurationV1 } from './configuration/v1'; | ||
/** | ||
@@ -77,2 +81,6 @@ * Provides convenient access to the Kubernetes extension's API. | ||
readonly cloudExplorer: CloudExplorerAPI; | ||
/** | ||
* Provides access to the Kubernetes extension's Configuration API. | ||
*/ | ||
readonly configuration: ConfigurationAPI; | ||
} | ||
@@ -139,3 +147,3 @@ /** | ||
*/ | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 ? "clusterexplorer" : T extends HelmV1 ? "helm" : T extends CloudExplorerV1 ? "cloudexplorer" : "invalid_api_interface"; | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 ? "clusterexplorer" : T extends HelmV1 ? "helm" : T extends CloudExplorerV1 ? "cloudexplorer" : T extends ConfigurationV1 ? "configuration" : "invalid_api_interface"; | ||
/** | ||
@@ -145,2 +153,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" : T extends HelmV1 ? "v1" : T extends CloudExplorerV1 ? "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" : T extends CloudExplorerV1 ? "v1" : T extends ConfigurationV1 ? "v1" : "invalid_api_interface"; |
{ | ||
"name": "vscode-kubernetes-tools-api", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"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
75038
61
1484