Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + const BackupDir + func BuildNamingService(namespace string, service string, token string) *service_manage.Service + func CopyDir(src string, dst string) error + func DeleteDir(path string) error + func DirExist(path string) bool + func FileExist(path string) bool + func GetGrpcServer() *grpc.Server + func InsertLog(s NamingTestSuite, logContent string) + func SameInstances(origInst, newInst []model.Instance) bool + func SelectInstanceSpecificNum(c *check.C, consumerAPI api.ConsumerAPI, targetIns model.Instance, ...) + func SetupMockDiscover(host string, port int) (*grpc.Server, net.Listener, mock.NamingServer) + func StartGrpcServer(svr *grpc.Server, listener net.Listener) + type NamingTestSuite interface + GetName func() string + type RegisteredInstance struct + Healthy bool + IP string + Listen bool + Port int