mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
13 lines
418 B
TypeScript
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);
|