mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
2f43d242c4
commit
14f50a3f58
2 files changed
+2
-20
No files matched your search
@@ -1,19 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { getGlobalOverride } from "../test-utils/get-global-override";
|
|
||||||
import lensProxyCertificateInjectable from "./lens-proxy-certificate.injectable";
|
|
||||||
|
|
||||||
export default getGlobalOverride(lensProxyCertificateInjectable, () => {
|
|
||||||
return {
|
|
||||||
get: () => ({
|
|
||||||
public: "<public-data>",
|
|
||||||
private: "<private-data>",
|
|
||||||
cert: "<ca-data>",
|
|
||||||
}),
|
|
||||||
set: () => {},
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
@@ -2,7 +2,8 @@
|
|||||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import type { RequestChannel } from "./request-channel-listener-injection-token";
|
|
||||||
|
import type { RequestChannel } from "./request-channel";
|
||||||
|
|
||||||
export const getRequestChannel = <Request, Response>(id: string): RequestChannel<Request, Response> => ({
|
export const getRequestChannel = <Request, Response>(id: string): RequestChannel<Request, Response> => ({
|
||||||
id,
|
id,
|
||||||
|
|||||||
Reference in new issue
Block a user