From b75e8a6d07f118b1a84a3c76d7b28a549ebc417c Mon Sep 17 00:00:00 2001 From: sjcsjc123 <1401189096@qq.com> Date: Wed, 27 Sep 2023 02:14:46 +0800 Subject: [PATCH] feat: add create etcd cluster and weed cluster function Signed-off-by: sjcsjc123 <1401189096@qq.com> --- utils/weed/interface.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/utils/weed/interface.go b/utils/weed/interface.go index 0bdc8ec3e6b..27072635a61 100644 --- a/utils/weed/interface.go +++ b/utils/weed/interface.go @@ -100,10 +100,15 @@ type Deployer interface { } type deployer struct { - config *Config - etcd Etcd - client Client + // config is the config of the weed cluster and etcd cluster. + config *Config + // etcd is the etcd cluster. + etcd Etcd + // client is the etcd client. + client Client + // weedMaster is the weed master node. weedMaster Master + // weedVolume is the weed volume node. weedVolume Volume }