mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 11:47:36 +08:00
61dd996806
* perf(api): optimized k8s processing mode * perf(api): change cornjob to cronjob
33 lines
609 B
Go
33 lines
609 B
Go
package model
|
|
|
|
const (
|
|
//Deployment -
|
|
Deployment = "Deployment"
|
|
//Job -
|
|
Job = "Job"
|
|
//CronJob -
|
|
CronJob = "CronJob"
|
|
//StateFulSet -
|
|
StateFulSet = "StatefulSet"
|
|
//Service -
|
|
Service = "Service"
|
|
//PVC -
|
|
PVC = "PersistentVolumeClaim"
|
|
//Ingress -
|
|
Ingress = "Ingress"
|
|
//NetworkPolicy -
|
|
NetworkPolicy = "NetworkPolicy"
|
|
//ConfigMap -
|
|
ConfigMap = "ConfigMap"
|
|
//Secret -
|
|
Secret = "Secret"
|
|
//ServiceAccount -
|
|
ServiceAccount = "ServiceAccount"
|
|
//RoleBinding -
|
|
RoleBinding = "RoleBinding"
|
|
//HorizontalPodAutoscaler -
|
|
HorizontalPodAutoscaler = "HorizontalPodAutoscaler"
|
|
//Role -
|
|
Role = "Role"
|
|
)
|