functional/tester: add "EtcdClientEndpoints" to "Checker"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-04-11 19:22:54 -07:00
parent e9c4bad2d1
commit f574a9aaed
8 changed files with 62 additions and 32 deletions

View File

@ -20,6 +20,9 @@ import "github.com/coreos/etcd/functional/rpcpb"
type Checker interface {
// Type returns the checker type.
Type() rpcpb.Checker
// EtcdClientEndpoints returns the client endpoints of
// all checker target nodes..
EtcdClientEndpoints() []string
// Check returns an error if the system fails a consistency check.
Check() error
}