[Agent][Deploy] - cmii update accomplish

This commit is contained in:
zeaslity
2024-06-14 18:01:50 +08:00
parent f3db4a9ff6
commit 32a9c8f8ee
49 changed files with 9762 additions and 8982 deletions

22
agent-deploy/b_nfs/DeployNFS.go Executable file
View File

@@ -0,0 +1,22 @@
package b_nfs
import (
"wdd.io/agent-common/logger"
"wdd.io/agent-deploy/z_dep"
)
var (
log = logger.Log
)
type NfsDeployConfig struct {
NfsLocalPath string
}
func NFSDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
return commonEnv.ParseCommonEnvToApplyFile(CmiiNfsTemplate, z_dep.NfsApplyFilePath)
}
func NFSTestDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
return commonEnv.ParseCommonEnvToApplyFile(CmiiNFSTestTemplate, z_dep.NfsTestApplyFilePath)
}