5 Commits

Author SHA1 Message Date
zeaslity
06b044dabc 新增Harbor管理功能和优化文件操作工具
- 在Base.go中添加Harbor安装、启动、停止和卸载子命令
- 实现Harbor本地安装流程,包括配置文件修改和容器检查
- 在Excutor.go中改进命令执行错误处理
- 在FileUtils.go中新增MoveFileToAnother方法,优化文件移动逻辑
- 修复DockerCompose本地安装命令的文件路径和移动方法
2025-03-07 10:58:20 +08:00
zeaslity
16c041e3eb Add base system configuration commands for agent-wdd
- Implemented new base commands for system configuration:
  * swap: Disable system swap
  * selinux: Disable SELinux
  * firewall: Stop and disable firewalld and ufw
  * sysconfig: Modify system sysctl configuration
  * ssh: Add SSH-related subcommands (key, port, config)

- Updated Config.go to initialize ConfigCache with default values
- Added new utility functions in FileUtils.go for file content manipulation
- Extended Excutor.go with HardCodeCommandExecutor method
2025-02-27 10:57:58 +08:00
zeaslity
e8f0e0d4a9 123 2025-02-26 17:49:03 +08:00
zeaslity
b8170e00d4 愉快的使用cursor 2025-02-26 09:25:24 +08:00
zeaslity
e826b55240 [agent-wdd] 完成自定义log部分;完成info network部分; 项目结构基本完成 2025-02-11 17:27:41 +08:00