mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
13 lines
481 B
TypeScript
13 lines
481 B
TypeScript
import { KubeObjectStore } from "../../kube-object.store";
|
|
import { autobind } from "../../utils";
|
|
import { ResourceQuota, resourceQuotaApi } from "../../api/endpoints/resource-quota.api";
|
|
import { apiManager } from "../../api/api-manager";
|
|
|
|
@autobind()
|
|
export class ResourceQuotasStore extends KubeObjectStore<ResourceQuota> {
|
|
api = resourceQuotaApi
|
|
}
|
|
|
|
export const resourceQuotaStore = new ResourceQuotasStore();
|
|
apiManager.registerStore(resourceQuotaApi, resourceQuotaStore);
|