ErrInvalidParams: "请求参数错误: {{ .detail }}" ErrTokenParse: "Token 生成错误: {{ .detail }}" ErrInitialPassword: "原密码错误" ErrInternalServer: "服务内部错误: {{ .detail }}" ErrRecordExist: "记录已存在" ErrRecordNotFound: "记录未能找到" ErrTransform: "类型转换失败: {{ .detail }}" ErrNotLogin: "用户未登录: {{ .detail }}" ErrPasswordExpired: "当前密码已过期: {{ .detail }}" ErrNotSupportType: "系统暂不支持当前类型: {{ .detail }}" ErrProxy: "请求错误,请检查该节点状态: {{ .detail }}" #common ErrDemoEnvironment: "演示服务器,禁止此操作!" ErrCmdTimeout: "命令执行超时!" ErrEntrance: "安全入口信息错误,请检查后重试!" ErrGroupIsDefault: '默认分组,无法删除' ErrGroupIsUsed: "分组正在使用中,无法删除" ErrLocalDelete: "无法删除本地节点!" ErrMasterAddr: "当前未设置主节点地址,无法添加节点!" #app ErrPortInUsed: "{{ .detail }} 端口已被占用!" ErrCreateHttpClient: "创建HTTP请求失败 {{.err}}" ErrHttpReqTimeOut: "请求超时 {{.err}}" ErrHttpReqFailed: "请求失败 {{.err}}" ErrHttpReqNotFound: "文件不存在" ErrNoSuchHost: "网络连接失败" #backup ErrBackupInUsed: "该备份账号已在计划任务中使用,无法删除" ErrBackupCheck: "备份账号测试连接失败 {{ .err}}" ErrBackupLocalDelete: "暂不支持删除本地服务器备份账号" #task #task TaskStart: "{{.name}} 任务开始 [START]" TaskEnd: "{{.name}} 任务结束 [COMPLETED]" TaskFailed: "{{.name}} 任务失败" TaskTimeout: "{{.name}} 超时" TaskSuccess: "{{.name}} 任务成功" TaskRetry: "开始第 {{.name}} 次重试" SubTaskSuccess: "{{ .name }} 成功" SubTaskFailed: "{{ .name }} 失败: {{ .err }}" TaskInstall: "安装" TaskUninstall: "卸载" TaskCreate: "创建" TaskDelete: "删除" TaskUpgrade: "升级" TaskUpdate: "更新" TaskRestart: "重启" TaskRollback: "回滚" SuccessStatus: "{{ .name }} 成功" FailedStatus: "{{ .name }} 失败 {{.err}}" PullImage: "拉取镜像" Start: "开始" Run: "启动" Stop: "停止" SubTask: "子任务" #upgrade node NodeUpgrade: "升级节点 {name}" NewSSHClient: "初始化 SSH 连接" BackupBeforeUpgrade: "升级前备份数据" UploadUpgradeFile: "下发升级所需文件" RestartAfterUpgrade: "升级后启动服务" #add node TaskAddNode: "添加节点" GenerateSSLInfo: "生成节点 SSL 信息" MakeAgentPackage: "生成节点安装包" SendAgent: "下发节点安装包" StartService: "启动服务"