vscode-kubernetes-tools-api
Advanced tools
Comparing version 1.2.0 to 1.3.0
# Change Log | ||
## 1.3.0 | ||
* Added Configuration API v1.1 | ||
* Added Local Tunnel Debugger API v1 | ||
Thanks to @amsoedal and @evidolob | ||
## 1.2.0 | ||
@@ -4,0 +11,0 @@ |
import { API } from '..'; | ||
import { ConfigurationV1 } from './v1'; | ||
import { ConfigurationV1_1 } from './v1_1'; | ||
/** | ||
@@ -11,2 +12,6 @@ * Provides access to the Kubernetes extension's Configuration API. | ||
readonly v1: Promise<API<ConfigurationV1>>; | ||
/** | ||
* Provides access to v1_1 of the Kubernetes extension's Configuration API. | ||
*/ | ||
readonly v1_1: Promise<API<ConfigurationV1_1>>; | ||
} |
@@ -9,2 +9,4 @@ import { Extension, API, ComponentKey, Version } from '.'; | ||
import { ClusterExplorerV1_1 } from './cluster-explorer/v1_1'; | ||
import { LocalTunnelDebuggerV1 } from './localtunneldebugger/v1'; | ||
import { ConfigurationV1_1 } from './configuration/v1_1'; | ||
export declare class ExtensionHelper implements Extension { | ||
@@ -32,3 +34,7 @@ private readonly apiBroker; | ||
v1: Promise<API<ConfigurationV1>>; | ||
v1_1: Promise<API<ConfigurationV1_1>>; | ||
}>; | ||
readonly localTunnelDebugger: Readonly<{ | ||
v1: Promise<API<LocalTunnelDebuggerV1>>; | ||
}>; | ||
} |
@@ -53,3 +53,7 @@ "use strict"; | ||
v1: this.get("configuration", "v1"), | ||
v1_1: this.get("configuration", "v1_1"), | ||
}); | ||
this.localTunnelDebugger = readonlify({ | ||
v1: this.get("localtunneldebugger", "v1"), | ||
}); | ||
} | ||
@@ -56,0 +60,0 @@ getCore(component, version) { |
@@ -14,2 +14,5 @@ import { ClusterProviderAPI } from './clusterprovider/versions'; | ||
import { ConfigurationV1 } from './configuration/v1'; | ||
import { LocalTunnelDebuggerAPI } from './localtunneldebugger/versions'; | ||
import { LocalTunnelDebuggerV1 } from './localtunneldebugger/v1'; | ||
import { ConfigurationV1_1 } from './configuration/v1_1'; | ||
export { ClusterProviderAPI } from './clusterprovider/versions'; | ||
@@ -28,2 +31,4 @@ export { ClusterProviderV1 } from './clusterprovider/v1'; | ||
export { ConfigurationV1 } from './configuration/v1'; | ||
export { LocalTunnelDebuggerAPI } from './localtunneldebugger/versions'; | ||
export { LocalTunnelDebuggerV1 } from './localtunneldebugger/v1'; | ||
/** | ||
@@ -87,2 +92,6 @@ * Provides convenient access to the Kubernetes extension's API. | ||
readonly configuration: ConfigurationAPI; | ||
/** | ||
* Provides access to the Kubernetes extension's Local Tunnel Debugger API. | ||
*/ | ||
readonly localTunnelDebugger: LocalTunnelDebuggerAPI; | ||
} | ||
@@ -149,3 +158,3 @@ /** | ||
*/ | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 | ClusterExplorerV1_1 ? "clusterexplorer" : T extends HelmV1 ? "helm" : T extends CloudExplorerV1 ? "cloudexplorer" : T extends ConfigurationV1 ? "configuration" : "invalid_api_interface"; | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 | ClusterExplorerV1_1 ? "clusterexplorer" : T extends HelmV1 ? "helm" : T extends CloudExplorerV1 ? "cloudexplorer" : T extends ConfigurationV1 ? "configuration" : T extends LocalTunnelDebuggerV1 ? "localtunneldebugger" : "invalid_api_interface"; | ||
/** | ||
@@ -155,2 +164,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 | ClusterExplorerV1_1 ? "v1" | "v1_1" : T extends HelmV1 ? "v1" : T extends CloudExplorerV1 ? "v1" : T extends ConfigurationV1 ? "v1" : "invalid_api_interface"; | ||
export declare type Version<T> = T extends ClusterProviderV1 ? "v1" : T extends KubectlV1 ? "v1" : T extends ClusterExplorerV1 | ClusterExplorerV1_1 ? "v1" | "v1_1" : T extends HelmV1 ? "v1" : T extends CloudExplorerV1 ? "v1" : T extends ConfigurationV1 | ConfigurationV1_1 ? "v1" | "v1_1" : T extends LocalTunnelDebuggerV1 ? "v1" : "invalid_api_interface"; |
{ | ||
"name": "vscode-kubernetes-tools-api", | ||
"version": "1.2.0", | ||
"version": "1.3.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88447
61
1740