Skip to content

Commit

Permalink
feat: add create etcd cluster and weed cluster function
Browse files Browse the repository at this point in the history
Signed-off-by: sjcsjc123 <1401189096@qq.com>
  • Loading branch information
sjcsjc123 committed Oct 26, 2023
1 parent aab9a54 commit b75e8a6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions utils/weed/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b75e8a6

Please sign in to comment.