@k8slens/extensions 5.6.0-git.55a977554d.0 → 5.6.0-git.647e798093.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| @@ -2,6 +2,7 @@ | |
| 2 2 | 
             
             * Copyright (c) OpenLens Authors. All rights reserved.
         | 
| 3 3 | 
             
             * Licensed under MIT License. See LICENSE in root directory for more information.
         | 
| 4 4 | 
             
             */
         | 
| 5 | 
            +
            /// <reference types="node" />
         | 
| 5 6 | 
             
            import type { KubeObjectConstructor, KubeJsonApiDataFor, KubeObjectMetadata, KubeObjectScope } from "./kube-object";
         | 
| 6 7 | 
             
            import { KubeObject } from "./kube-object";
         | 
| 7 8 | 
             
            import type { IKubeWatchEvent } from "./kube-watch-event";
         | 
| @@ -10,6 +11,7 @@ import { KubeJsonApi } from "./kube-json-api"; | |
| 10 11 | 
             
            import type { Disposer } from "../utils";
         | 
| 11 12 | 
             
            import type { RequestInit } from "node-fetch";
         | 
| 12 13 | 
             
            import type AbortController from "abort-controller";
         | 
| 14 | 
            +
            import { Agent } from "https";
         | 
| 13 15 | 
             
            import type { Patch } from "rfc6902";
         | 
| 14 16 | 
             
            import type { PartialDeep } from "type-fest";
         | 
| 15 17 | 
             
            /**
         | 
| @@ -137,6 +139,13 @@ export interface IRemoteKubeApiConfig { | |
| 137 139 | 
             
                    clientCertificateData?: string;
         | 
| 138 140 | 
             
                    clientKeyData?: string;
         | 
| 139 141 | 
             
                };
         | 
| 142 | 
            +
                /**
         | 
| 143 | 
            +
                 * Custom instance of https.agent to use for the requests
         | 
| 144 | 
            +
                 *
         | 
| 145 | 
            +
                 * @remarks the custom agent replaced default agent, options skipTLSVerify,
         | 
| 146 | 
            +
                 * clientCertificateData, clientKeyData and caData are ignored.
         | 
| 147 | 
            +
                 */
         | 
| 148 | 
            +
                agent?: Agent;
         | 
| 140 149 | 
             
            }
         | 
| 141 150 | 
             
            export declare function forCluster<Object extends KubeObject<any, any, KubeObjectScope>, Api extends KubeApi<Object>, Data extends KubeJsonApiDataFor<Object>>(cluster: ILocalKubeApiConfig, kubeClass: KubeObjectConstructor<Object, Data>, apiClass: new (apiOpts: KubeApiOptions<Object>) => Api): Api;
         | 
| 142 151 | 
             
            export declare function forCluster<Object extends KubeObject<any, any, KubeObjectScope>, Data extends KubeJsonApiDataFor<Object>>(cluster: ILocalKubeApiConfig, kubeClass: KubeObjectConstructor<Object, Data>, apiClass?: new (apiOpts: KubeApiOptions<Object>) => KubeApi<Object>): KubeApi<Object>;
         | 
    
        package/package.json
    CHANGED
    
    | @@ -2,7 +2,7 @@ | |
| 2 2 | 
             
              "name": "@k8slens/extensions",
         | 
| 3 3 | 
             
              "productName": "OpenLens extensions",
         | 
| 4 4 | 
             
              "description": "OpenLens - Open Source Kubernetes IDE: extensions",
         | 
| 5 | 
            -
              "version": "5.6.0-git. | 
| 5 | 
            +
              "version": "5.6.0-git.647e798093.0",
         | 
| 6 6 | 
             
              "copyright": "© 2021 OpenLens Authors",
         | 
| 7 7 | 
             
              "license": "MIT",
         | 
| 8 8 | 
             
              "main": "dist/src/extensions/extension-api.js",
         |