摘要:
https://blog.csdn.net/ibless/article/details/107899009 阅读全文
摘要:
windows安装protoc 1. 下载需要的安装包:https://github.com/google/protobuf/releases 2. 将解压文件中的protoc.exe拷贝到c:\windows\system32中 3.go get -u github.com/golang/prot 阅读全文
摘要:
ssh-keygen -t ed25519 -C "xxx@example.com" 如果自定义.pub文件名 添加以下文件: cat C:/Users/.ssh/config Host github.com HostName github.com User git IdentityFile C:/ 阅读全文
摘要:
docker pull registry.aliyuncs.com/google_containers/csi-provisioner:v2.1.0 阅读全文
摘要:
Go:单元测试 测试用的文件名必须以 _test.go 结尾; 测试用的函数名必须以 Test 开头,一般来说:Test+被测试的函数名(第一个字母必须大写); func TestXx(t *testing.T) {},t 参数用于报告测试失败和附加的日志信息; go test 命令如果没有参数指定 阅读全文
摘要:
#kubectl config view #kubectl config delete-cluster kubernetes cp /etc/kubernetes/admin.conf $HOME/.kube/config 阅读全文
摘要:
// https://www.cnblogs.com/yangyuliufeng/p/13611126.html stopCH := make(chan struct{}) defer close(stopCH) sharedInformers := informers.NewSharedInfor 阅读全文