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';
|
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-11-07 06:03:11 +00:00
|
|
|
import { IngressesDatatableView } from '@/react/kubernetes/ingresses/IngressDatatable';
|
|
|
|
import { CreateIngressView } from '@/react/kubernetes/ingresses/CreateIngressView';
|
2023-03-02 19:45:19 +00:00
|
|
|
import { ServicesView } from '@/react/kubernetes/ServicesView';
|
2022-09-21 04:49:42 +00:00
|
|
|
|
|
|
|
export const viewsModule = angular
|
|
|
|
.module('portainer.kubernetes.react.views', [])
|
2023-03-02 19:45:19 +00:00
|
|
|
.component(
|
|
|
|
'kubernetesServicesView',
|
|
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(ServicesView))), [])
|
|
|
|
)
|
2022-09-22 04:12:19 +00:00
|
|
|
.component(
|
|
|
|
'kubernetesIngressesView',
|
|
|
|
r2a(
|
|
|
|
withUIRouter(withReactQuery(withCurrentUser(IngressesDatatableView))),
|
|
|
|
[]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'kubernetesIngressesCreateView',
|
|
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
|
|
|
|
).name;
|