2024-04-02 20:12:34 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
|
|
import { NodeApplicationsDatatable } from '@/react/kubernetes/cluster/NodeView/NodeApplicationsDatatable/NodeApplicationsDatatable';
|
2024-04-18 07:14:09 +00:00
|
|
|
import { ResourceEventsDatatable } from '@/react/kubernetes/components/EventsDatatable/ResourceEventsDatatable';
|
|
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
2024-04-02 20:12:34 +00:00
|
|
|
|
|
|
|
export const clusterManagementModule = angular
|
|
|
|
.module('portainer.kubernetes.react.components.clusterManagement', [])
|
|
|
|
.component(
|
|
|
|
'kubernetesNodeApplicationsDatatable',
|
2024-10-01 01:15:51 +00:00
|
|
|
r2a(withUIRouter(withCurrentUser(NodeApplicationsDatatable)), [])
|
2024-04-18 07:14:09 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'resourceEventsDatatable',
|
|
|
|
r2a(
|
|
|
|
withUIRouter(withReactQuery(withCurrentUser(ResourceEventsDatatable))),
|
|
|
|
['resourceId', 'storageKey', 'namespace']
|
|
|
|
)
|
2024-04-02 20:12:34 +00:00
|
|
|
).name;
|