2024-04-02 19:10:22 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
2024-04-02 20:27:20 +00:00
|
|
|
import { VolumesDatatable } from '@/react/kubernetes/volumes/ListView/VolumesDatatable';
|
|
|
|
import { StorageDatatable } from '@/react/kubernetes/volumes/ListView/StorageDatatable';
|
2024-04-02 19:10:22 +00:00
|
|
|
|
|
|
|
export const volumesModule = angular
|
|
|
|
.module('portainer.kubernetes.react.components.volumes', [])
|
|
|
|
.component(
|
|
|
|
'kubernetesVolumesDatatable',
|
|
|
|
r2a(withUIRouter(withCurrentUser(VolumesDatatable)), [
|
|
|
|
'dataset',
|
|
|
|
'onRemove',
|
|
|
|
'onRefresh',
|
|
|
|
])
|
2024-04-02 20:27:20 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'kubernetesVolumesStoragesDatatable',
|
|
|
|
r2a(withUIRouter(withCurrentUser(StorageDatatable)), [
|
|
|
|
'dataset',
|
|
|
|
'onRefresh',
|
|
|
|
])
|
2024-04-02 19:10:22 +00:00
|
|
|
).name;
|