Implement endpoints section (#246)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala authored and GitHub committed 2020-04-13 18:20:19 +03:00
1 parent bd1b8069fd
commit f12b2b6a99
15 files changed
+522 -1

No files matched your search

@@ -0,0 +1,12 @@
import { KubeObjectStore } from "../../kube-object.store";
import { autobind } from "../../utils";
import { Endpoint, endpointApi } from "../../api/endpoints/endpoint.api";
import { apiManager } from "../../api/api-manager";
@autobind()
export class EndpointStore extends KubeObjectStore<Endpoint> {
api = endpointApi
}
export const endpointStore = new EndpointStore();
apiManager.registerStore(endpointApi, endpointStore);