mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
17 lines
654 B
TypeScript
17 lines
654 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
import type { PodSecurityPolicy } from "../../../common/k8s-api/endpoints";
|
|
import { pspApi } from "../../../common/k8s-api/endpoints";
|
|
import { KubeObjectStore } from "../../../common/k8s-api/kube-object.store";
|
|
import { apiManager } from "../../../common/k8s-api/api-manager";
|
|
|
|
export class PodSecurityPoliciesStore extends KubeObjectStore<PodSecurityPolicy> {
|
|
api = pspApi;
|
|
}
|
|
|
|
export const podSecurityPoliciesStore = new PodSecurityPoliciesStore();
|
|
apiManager.registerStore(podSecurityPoliciesStore);
|