mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 09:49:40 +02:00
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
41 lines
1 KiB
TypeScript
41 lines
1 KiB
TypeScript
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;
|