grpcserver

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(k *keploy.Keploy, logger *zap.Logger, svc regression2.Service, m mock.Service, tc tcSvc.Service, hs *historyConfig.HistCfg, listener net.Listener, testExport bool, testReportPath string, telemetry telemetry.Service, cl http.Client) error

Types

type Server

type Server struct {
	proto.UnimplementedRegressionServiceServer
	// contains filtered or unexported fields
}

func (*Server) DeNoise

func (srv *Server) DeNoise(ctx context.Context, request *proto.TestReq) (*proto.DeNoiseResponse, error)

func (*Server) End

func (srv *Server) End(ctx context.Context, request *proto.EndRequest) (*proto.EndResponse, error)

func (*Server) GetMocks added in v0.5.0

func (srv *Server) GetMocks(ctx context.Context, request *proto.GetMockReq) (*proto.GetMockResp, error)

func (*Server) GetTC

func (srv *Server) GetTC(ctx context.Context, request *proto.GetTCRequest) (*proto.TestCase, error)

func (*Server) GetTCS

func (srv *Server) GetTCS(ctx context.Context, request *proto.GetTCSRequest) (*proto.GetTCSResponse, error)

func (*Server) PostTC

func (srv *Server) PostTC(ctx context.Context, request *proto.TestCaseReq) (*proto.PostTCResponse, error)

func (*Server) PutMock added in v0.5.0

func (srv *Server) PutMock(ctx context.Context, request *proto.PutMockReq) (*proto.PutMockResp, error)

func (*Server) Start

func (srv *Server) Start(ctx context.Context, request *proto.StartRequest) (*proto.StartResponse, error)

func (*Server) StartMocking added in v0.5.2

func (srv *Server) StartMocking(ctx context.Context, request *proto.StartMockReq) (*proto.StartMockResp, error)

func (*Server) Test

func (srv *Server) Test(ctx context.Context, request *proto.TestReq) (*proto.TestResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL