2022-05-17 04:22:44 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2022-09-21 04:49:42 +00:00
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { IngressesDatatableView } from '@/kubernetes/react/views/networks/ingresses/IngressDatatable';
|
|
|
|
import { CreateIngressView } from '@/kubernetes/react/views/networks/ingresses/CreateIngressView';
|
2022-09-22 04:12:19 +00:00
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
2022-09-21 04:49:42 +00:00
|
|
|
|
|
|
|
export const viewsModule = angular
|
|
|
|
.module('portainer.kubernetes.react.views', [])
|
2022-09-22 04:12:19 +00:00
|
|
|
.component(
|
|
|
|
'kubernetesIngressesView',
|
|
|
|
r2a(
|
|
|
|
withUIRouter(withReactQuery(withCurrentUser(IngressesDatatableView))),
|
|
|
|
[]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'kubernetesIngressesCreateView',
|
|
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
|
|
|
|
).name;
|