[ Agent ] [ CMII ] - 新增版本更新的模式;新增部署模板;新增消息推送模块
This commit is contained in:
14
agent-go/message_pusher/push_template_test.go
Normal file
14
agent-go/message_pusher/push_template_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package message_pusher
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestDeployPush_ParseCmiiDeployTemplate(t *testing.T) {
|
||||
deployPush := DeployPush{
|
||||
Namespace: "casc",
|
||||
AppName: "sdasdas",
|
||||
Replicas: "dasdasd",
|
||||
DeployStatus: false,
|
||||
}
|
||||
|
||||
deployPush.ParseCmiiDeployTemplate()
|
||||
}
|
||||
Reference in New Issue
Block a user