Skip to content

Commit

Permalink
renew etcd_test
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhibian committed Nov 11, 2023
1 parent 78bffb0 commit 1e65839
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 0 deletions.
192 changes: 192 additions & 0 deletions pkg/discovery/mock/mock_etcd_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pkg/discovery/mock/test_etcd_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package mock

import "go.etcd.io/etcd/client/v3"

type EtcdClient interface {
clientv3.KV
clientv3.Watcher
}

0 comments on commit 1e65839

Please sign in to comment.