mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
refactor(app): migrate app summary section [EE-6239] (#10910)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
This commit is contained in:
parent
7a4314032a
commit
abf517de28
61 changed files with 1461 additions and 661 deletions
41
app/kubernetes/models/application/models/appConstants.ts
Normal file
41
app/kubernetes/models/application/models/appConstants.ts
Normal file
|
@ -0,0 +1,41 @@
|
|||
import {
|
||||
AppType,
|
||||
AppDataAccessPolicy,
|
||||
DeploymentType,
|
||||
} from '@/react/kubernetes/applications/types';
|
||||
import { ServiceType } from '@/react/kubernetes/services/types';
|
||||
|
||||
// The following constants are used by angular views and can be removed once they are no longer referenced
|
||||
export const KubernetesApplicationTypes: Record<AppType, AppType> = {
|
||||
Deployment: 'Deployment',
|
||||
StatefulSet: 'StatefulSet',
|
||||
DaemonSet: 'DaemonSet',
|
||||
Pod: 'Pod',
|
||||
Helm: 'Helm',
|
||||
} as const;
|
||||
|
||||
export const KubernetesApplicationDeploymentTypes: Record<
|
||||
DeploymentType,
|
||||
DeploymentType
|
||||
> = {
|
||||
Global: 'Global',
|
||||
Replicated: 'Replicated',
|
||||
} as const;
|
||||
|
||||
export const KubernetesApplicationDataAccessPolicies: Record<
|
||||
AppDataAccessPolicy,
|
||||
AppDataAccessPolicy
|
||||
> = {
|
||||
Isolated: 'Isolated',
|
||||
Shared: 'Shared',
|
||||
} as const;
|
||||
|
||||
export const KubernetesApplicationServiceTypes: Record<
|
||||
ServiceType,
|
||||
ServiceType
|
||||
> = {
|
||||
ClusterIP: 'ClusterIP',
|
||||
NodePort: 'NodePort',
|
||||
LoadBalancer: 'LoadBalancer',
|
||||
ExternalName: 'ExternalName',
|
||||
} as const;
|
Loading…
Add table
Add a link
Reference in a new issue