[ Agent ] [ CMII ] - 新增版本更新的模式;新增部署模板;新增消息推送模块

This commit is contained in:
zeaslity
2024-01-18 14:22:11 +08:00
parent 6df4587106
commit ed2769062e
20 changed files with 1050 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
package k8s_exec
import "testing"
func TestCmiiBackendDeploymentConfig_ParseToApplyConf(t *testing.T) {
deploymentConfig := CmiiBackendDeploymentConfig{
Namespace: "uavcloud-dev",
AppName: "cmii-uav-gateway",
ImageTag: "5.2.0-123",
TagVersion: "5.2.0",
Replicas: "2",
}
deploymentConfig.ParseToApplyConf()
}