Rainbond/api/model/namespace_resource.go
张启航 61dd996806
perf: optimized k8s resource processing mode (#1255)
* perf(api): optimized k8s processing mode

* perf(api): change cornjob to cronjob
2022-07-31 22:36:28 +08:00

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"
)