Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunUpdateServer ¶
RunUpdateServer start a gRPC server listening to test server address and port
Types ¶
type Logger ¶
type Logger struct {
}
Logger implements the Logger interface required.
type TestInfo ¶
type TestInfo struct {
Endpoints []config.TestEndpoint
IsProxied bool
}
TestInfo contains the information such as backend's pod address, port and the type of the test.
type UpdateServer ¶
type UpdateServer struct {
pb.UnimplementedTestUpdaterServer
TestInfoChannel chan TestInfo
Srv *grpc.Server
Snapshot *cache.Snapshot
}
UpdateServer is used to implement testupdater.TestUpdater.
func (*UpdateServer) QuitTestUpdateServer ¶
QuitTestUpdateServer stop the UpdateServer.
func (*UpdateServer) UpdateTest ¶
func (us *UpdateServer) UpdateTest(ctx context.Context, in *pb.TestUpdateRequest) (*pb.TestUpdateReply, error)
UpdateTest implements testupdater.UpdateTest
Click to show internal directories.
Click to hide internal directories.