Files
lens/dashboard/client/components/+config-autoscalers/hpa.store.ts
T
2020-03-15 09:52:02 +02:00

13 lines
418 B
TypeScript

import { autobind } from "../../utils";
import { KubeObjectStore } from "../../kube-object.store";
import { HorizontalPodAutoscaler, hpaApi } from "../../api/endpoints/hpa.api";
import { apiManager } from "../../api/api-manager";
@autobind()
export class HPAStore extends KubeObjectStore<HorizontalPodAutoscaler> {
api = hpaApi
}
export const hpaStore = new HPAStore();
apiManager.registerStore(hpaApi, hpaStore);