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 <[email protected]>
  • Loading branch information
sjcsjc123 committed Sep 26, 2023
1 parent 9901511 commit 0be63ef
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 0be63ef

Please sign in to comment.