mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Adding injectable for hpa v1 metric parser
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
2f470de324
commit
8d8993798e
@ -0,0 +1,11 @@
|
|||||||
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
|
import { HorizontalPodAutoscalerV1MetricParser } from "./hpa-v1-metric-parser";
|
||||||
|
|
||||||
|
const horizonalPodAutoscalerV1MetricParser = getInjectable({
|
||||||
|
id: "horizontal-pod-autoscaler-v1-metric-parser",
|
||||||
|
instantiate: () => {
|
||||||
|
return new HorizontalPodAutoscalerV1MetricParser();
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default horizonalPodAutoscalerV1MetricParser;
|
||||||
Loading…
Reference in New Issue
Block a user