Files
lens/src/renderer/components/dock/logs/call-for-logs.injectable.ts
T
2022-03-03 14:40:53 +01:00

14 lines
418 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import { podsApi } from "../../../../common/k8s-api/endpoints";
const callForLogsInjectable = getInjectable({
id: "call-for-logs",
instantiate: () => podsApi.getLogs,
});
export default callForLogsInjectable;