mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 19:08:35 +08:00
【修改】k8s 配置
This commit is contained in:
12
apps/devops/entity/k8s/statefulset.go
Normal file
12
apps/devops/entity/k8s/statefulset.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package k8s
|
||||
|
||||
type StatefulSetData struct {
|
||||
Namespace string `json:"namespace" binding:"required"`
|
||||
Name string `json:"name" binding:"required"`
|
||||
}
|
||||
|
||||
type ScaleStatefulSet struct {
|
||||
ScaleNumber *int32 `json:"scaleNumber" binding:"required"`
|
||||
Namespace string `json:"namespace" binding:"required"`
|
||||
Name string `json:"name" binding:"required"`
|
||||
}
|
||||
Reference in New Issue
Block a user