tec-rubbish maker

Results 4 comments of tec-rubbish maker

你好,我想申请完成这个题目,我将在下面描述的对题目的大概思路 本题目主要是对于curveadm hosts 这个读取主机目录的命令进行修改,在文件中,我发现,读取进入的Hosts以Host []map[string]interface{} `mapstructure:"hosts"` 的形式进行读取,并最终在db/curveadm结构体中以string的形式进行存储,在使用curveadm hosts ssh 时,通过hosts.ParseHosts,GetHost等方式,将字符串解析为HostConfig结构体,并进行使用的方式,来对最开始读入的信息进行使用 我认为主要需要修改的有以下几点: 1.修改hosts文件下的get方法(hc.GetHost()等一些与变量名有关的,从map中读取数据的方法) 2.修改和host/hosts变量有关的报错信息(在internal/errno模块下的error常量)/显示(目前观察到的主要是有关curveadm hosts show和curveadm hosts ls命令有关的文件) 以上是我对这个题目的理解,可能还有很多错误,但是还是希望能再次得到社区的机会,更多的参与到社区的开源活动中,并得到知识和实践上的收获

Hello, I wish to apply to complete this task. Below is an outline of my general approach to the problem: I speculate that this task mainly involves modifications to the...

Hello, I encountered some problems during development and hope to get your help. 1. When trying this interface in the document, I guessed that address is the address of the...

Hello tutor, I am currently developing the code of this function, and I have encountered some problems and would like to ask your opinion I observed that in kubeadm,image list...