regression

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_grpc_regression_services_proto protoreflect.FileDescriptor
View Source
var RegressionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.RegressionService",
	HandlerType: (*RegressionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "End",
			Handler:    _RegressionService_End_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _RegressionService_Start_Handler,
		},
		{
			MethodName: "GetTC",
			Handler:    _RegressionService_GetTC_Handler,
		},
		{
			MethodName: "GetTCS",
			Handler:    _RegressionService_GetTCS_Handler,
		},
		{
			MethodName: "PostTC",
			Handler:    _RegressionService_PostTC_Handler,
		},
		{
			MethodName: "DeNoise",
			Handler:    _RegressionService_DeNoise_Handler,
		},
		{
			MethodName: "Test",
			Handler:    _RegressionService_Test_Handler,
		},
		{
			MethodName: "PutMock",
			Handler:    _RegressionService_PutMock_Handler,
		},
		{
			MethodName: "GetMocks",
			Handler:    _RegressionService_GetMocks_Handler,
		},
		{
			MethodName: "StartMocking",
			Handler:    _RegressionService_StartMocking_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "grpc/regression/services.proto",
}

RegressionService_ServiceDesc is the grpc.ServiceDesc for RegressionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRegressionServiceServer

func RegisterRegressionServiceServer(s grpc.ServiceRegistrar, srv RegressionServiceServer)

Types

type DataBytes

type DataBytes struct {
	Bin []byte `protobuf:"bytes,1,opt,name=Bin,proto3" json:"Bin,omitempty"`
	// contains filtered or unexported fields
}

func (*DataBytes) Descriptor deprecated

func (*DataBytes) Descriptor() ([]byte, []int)

Deprecated: Use DataBytes.ProtoReflect.Descriptor instead.

func (*DataBytes) GetBin

func (x *DataBytes) GetBin() []byte

func (*DataBytes) ProtoMessage

func (*DataBytes) ProtoMessage()

func (*DataBytes) ProtoReflect

func (x *DataBytes) ProtoReflect() protoreflect.Message

func (*DataBytes) Reset

func (x *DataBytes) Reset()

func (*DataBytes) String

func (x *DataBytes) String() string

type DeNoiseResponse

type DeNoiseResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeNoiseResponse) Descriptor deprecated

func (*DeNoiseResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeNoiseResponse.ProtoReflect.Descriptor instead.

func (*DeNoiseResponse) GetMessage

func (x *DeNoiseResponse) GetMessage() string

func (*DeNoiseResponse) ProtoMessage

func (*DeNoiseResponse) ProtoMessage()

func (*DeNoiseResponse) ProtoReflect

func (x *DeNoiseResponse) ProtoReflect() protoreflect.Message

func (*DeNoiseResponse) Reset

func (x *DeNoiseResponse) Reset()

func (*DeNoiseResponse) String

func (x *DeNoiseResponse) String() string

type Dependency

type Dependency struct {
	Name string            `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type string            `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Meta map[string]string `` /* 149-byte string literal not displayed */
	Data []*DataBytes      `protobuf:"bytes,4,rep,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*Dependency) Descriptor deprecated

func (*Dependency) Descriptor() ([]byte, []int)

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetData

func (x *Dependency) GetData() []*DataBytes

func (*Dependency) GetMeta

func (x *Dependency) GetMeta() map[string]string

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetType

func (x *Dependency) GetType() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

func (x *Dependency) ProtoReflect() protoreflect.Message

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type EndRequest

type EndRequest struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EndRequest) Descriptor deprecated

func (*EndRequest) Descriptor() ([]byte, []int)

Deprecated: Use EndRequest.ProtoReflect.Descriptor instead.

func (*EndRequest) GetId

func (x *EndRequest) GetId() string

func (*EndRequest) GetStatus

func (x *EndRequest) GetStatus() string

func (*EndRequest) ProtoMessage

func (*EndRequest) ProtoMessage()

func (*EndRequest) ProtoReflect

func (x *EndRequest) ProtoReflect() protoreflect.Message

func (*EndRequest) Reset

func (x *EndRequest) Reset()

func (*EndRequest) String

func (x *EndRequest) String() string

type EndResponse

type EndResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*EndResponse) Descriptor deprecated

func (*EndResponse) Descriptor() ([]byte, []int)

Deprecated: Use EndResponse.ProtoReflect.Descriptor instead.

func (*EndResponse) GetMessage

func (x *EndResponse) GetMessage() string

func (*EndResponse) ProtoMessage

func (*EndResponse) ProtoMessage()

func (*EndResponse) ProtoReflect

func (x *EndResponse) ProtoReflect() protoreflect.Message

func (*EndResponse) Reset

func (x *EndResponse) Reset()

func (*EndResponse) String

func (x *EndResponse) String() string

type GetMockReq added in v0.5.0

type GetMockReq struct {
	Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMockReq) Descriptor deprecated added in v0.5.0

func (*GetMockReq) Descriptor() ([]byte, []int)

Deprecated: Use GetMockReq.ProtoReflect.Descriptor instead.

func (*GetMockReq) GetName added in v0.5.0

func (x *GetMockReq) GetName() string

func (*GetMockReq) GetPath added in v0.5.0

func (x *GetMockReq) GetPath() string

func (*GetMockReq) ProtoMessage added in v0.5.0

func (*GetMockReq) ProtoMessage()

func (*GetMockReq) ProtoReflect added in v0.5.0

func (x *GetMockReq) ProtoReflect() protoreflect.Message

func (*GetMockReq) Reset added in v0.5.0

func (x *GetMockReq) Reset()

func (*GetMockReq) String added in v0.5.0

func (x *GetMockReq) String() string

type GetMockResp added in v0.5.0

type GetMockResp struct {
	Mocks []*Mock `protobuf:"bytes,1,rep,name=Mocks,proto3" json:"Mocks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMockResp) Descriptor deprecated added in v0.5.0

func (*GetMockResp) Descriptor() ([]byte, []int)

Deprecated: Use GetMockResp.ProtoReflect.Descriptor instead.

func (*GetMockResp) GetMocks added in v0.5.0

func (x *GetMockResp) GetMocks() []*Mock

func (*GetMockResp) ProtoMessage added in v0.5.0

func (*GetMockResp) ProtoMessage()

func (*GetMockResp) ProtoReflect added in v0.5.0

func (x *GetMockResp) ProtoReflect() protoreflect.Message

func (*GetMockResp) Reset added in v0.5.0

func (x *GetMockResp) Reset()

func (*GetMockResp) String added in v0.5.0

func (x *GetMockResp) String() string

type GetTCRequest

type GetTCRequest struct {
	Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTCRequest) Descriptor deprecated

func (*GetTCRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTCRequest.ProtoReflect.Descriptor instead.

func (*GetTCRequest) GetApp

func (x *GetTCRequest) GetApp() string

func (*GetTCRequest) GetId

func (x *GetTCRequest) GetId() string

func (*GetTCRequest) ProtoMessage

func (*GetTCRequest) ProtoMessage()

func (*GetTCRequest) ProtoReflect

func (x *GetTCRequest) ProtoReflect() protoreflect.Message

func (*GetTCRequest) Reset

func (x *GetTCRequest) Reset()

func (*GetTCRequest) String

func (x *GetTCRequest) String() string

type GetTCSRequest

type GetTCSRequest struct {
	App          string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	Offset       string `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit        string `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	TestCasePath string `protobuf:"bytes,4,opt,name=TestCasePath,proto3" json:"TestCasePath,omitempty"`
	MockPath     string `protobuf:"bytes,5,opt,name=MockPath,proto3" json:"MockPath,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTCSRequest) Descriptor deprecated

func (*GetTCSRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTCSRequest.ProtoReflect.Descriptor instead.

func (*GetTCSRequest) GetApp

func (x *GetTCSRequest) GetApp() string

func (*GetTCSRequest) GetLimit

func (x *GetTCSRequest) GetLimit() string

func (*GetTCSRequest) GetMockPath added in v0.5.3

func (x *GetTCSRequest) GetMockPath() string

func (*GetTCSRequest) GetOffset

func (x *GetTCSRequest) GetOffset() string

func (*GetTCSRequest) GetTestCasePath added in v0.5.3

func (x *GetTCSRequest) GetTestCasePath() string

func (*GetTCSRequest) ProtoMessage

func (*GetTCSRequest) ProtoMessage()

func (*GetTCSRequest) ProtoReflect

func (x *GetTCSRequest) ProtoReflect() protoreflect.Message

func (*GetTCSRequest) Reset

func (x *GetTCSRequest) Reset()

func (*GetTCSRequest) String

func (x *GetTCSRequest) String() string

type GetTCSResponse

type GetTCSResponse struct {
	Tcs []*TestCase `protobuf:"bytes,1,rep,name=tcs,proto3" json:"tcs,omitempty"`
	Eof bool        `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTCSResponse) Descriptor deprecated

func (*GetTCSResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTCSResponse.ProtoReflect.Descriptor instead.

func (*GetTCSResponse) GetEof added in v0.5.3

func (x *GetTCSResponse) GetEof() bool

func (*GetTCSResponse) GetTcs

func (x *GetTCSResponse) GetTcs() []*TestCase

func (*GetTCSResponse) ProtoMessage

func (*GetTCSResponse) ProtoMessage()

func (*GetTCSResponse) ProtoReflect

func (x *GetTCSResponse) ProtoReflect() protoreflect.Message

func (*GetTCSResponse) Reset

func (x *GetTCSResponse) Reset()

func (*GetTCSResponse) String

func (x *GetTCSResponse) String() string

type HttpReq

type HttpReq struct {
	Method     string             `protobuf:"bytes,1,opt,name=Method,proto3" json:"Method,omitempty"`
	ProtoMajor int64              `protobuf:"varint,2,opt,name=ProtoMajor,proto3" json:"ProtoMajor,omitempty"`
	ProtoMinor int64              `protobuf:"varint,3,opt,name=ProtoMinor,proto3" json:"ProtoMinor,omitempty"`
	URL        string             `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"`
	URLParams  map[string]string  `` /* 159-byte string literal not displayed */
	Header     map[string]*StrArr `` /* 153-byte string literal not displayed */
	Body       string             `protobuf:"bytes,7,opt,name=Body,proto3" json:"Body,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpReq) Descriptor deprecated

func (*HttpReq) Descriptor() ([]byte, []int)

Deprecated: Use HttpReq.ProtoReflect.Descriptor instead.

func (*HttpReq) GetBody

func (x *HttpReq) GetBody() string

func (*HttpReq) GetHeader

func (x *HttpReq) GetHeader() map[string]*StrArr

func (*HttpReq) GetMethod

func (x *HttpReq) GetMethod() string

func (*HttpReq) GetProtoMajor

func (x *HttpReq) GetProtoMajor() int64

func (*HttpReq) GetProtoMinor

func (x *HttpReq) GetProtoMinor() int64

func (*HttpReq) GetURL

func (x *HttpReq) GetURL() string

func (*HttpReq) GetURLParams

func (x *HttpReq) GetURLParams() map[string]string

func (*HttpReq) ProtoMessage

func (*HttpReq) ProtoMessage()

func (*HttpReq) ProtoReflect

func (x *HttpReq) ProtoReflect() protoreflect.Message

func (*HttpReq) Reset

func (x *HttpReq) Reset()

func (*HttpReq) String

func (x *HttpReq) String() string

type HttpResp

type HttpResp struct {
	StatusCode int64              `protobuf:"varint,1,opt,name=StatusCode,proto3" json:"StatusCode,omitempty"`
	Header     map[string]*StrArr `` /* 153-byte string literal not displayed */
	Body       string             `protobuf:"bytes,3,opt,name=Body,proto3" json:"Body,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpResp) Descriptor deprecated

func (*HttpResp) Descriptor() ([]byte, []int)

Deprecated: Use HttpResp.ProtoReflect.Descriptor instead.

func (*HttpResp) GetBody

func (x *HttpResp) GetBody() string

func (*HttpResp) GetHeader

func (x *HttpResp) GetHeader() map[string]*StrArr

func (*HttpResp) GetStatusCode

func (x *HttpResp) GetStatusCode() int64

func (*HttpResp) ProtoMessage

func (*HttpResp) ProtoMessage()

func (*HttpResp) ProtoReflect

func (x *HttpResp) ProtoReflect() protoreflect.Message

func (*HttpResp) Reset

func (x *HttpResp) Reset()

func (*HttpResp) String

func (x *HttpResp) String() string

type Method

type Method struct {
	Method string `protobuf:"bytes,1,opt,name=Method,proto3" json:"Method,omitempty"`
	// contains filtered or unexported fields
}

func (*Method) Descriptor deprecated

func (*Method) Descriptor() ([]byte, []int)

Deprecated: Use Method.ProtoReflect.Descriptor instead.

func (*Method) GetMethod

func (x *Method) GetMethod() string

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) ProtoReflect

func (x *Method) ProtoReflect() protoreflect.Message

func (*Method) Reset

func (x *Method) Reset()

func (*Method) String

func (x *Method) String() string

type Mock added in v0.5.0

type Mock struct {
	Version string           `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	Name    string           `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Kind    string           `protobuf:"bytes,3,opt,name=Kind,proto3" json:"Kind,omitempty"`
	Spec    *Mock_SpecSchema `protobuf:"bytes,4,opt,name=Spec,proto3" json:"Spec,omitempty"`
	// contains filtered or unexported fields
}

func (*Mock) Descriptor deprecated added in v0.5.0

func (*Mock) Descriptor() ([]byte, []int)

Deprecated: Use Mock.ProtoReflect.Descriptor instead.

func (*Mock) GetKind added in v0.5.0

func (x *Mock) GetKind() string

func (*Mock) GetName added in v0.5.0

func (x *Mock) GetName() string

func (*Mock) GetSpec added in v0.5.0

func (x *Mock) GetSpec() *Mock_SpecSchema

func (*Mock) GetVersion added in v0.5.0

func (x *Mock) GetVersion() string

func (*Mock) ProtoMessage added in v0.5.0

func (*Mock) ProtoMessage()

func (*Mock) ProtoReflect added in v0.5.0

func (x *Mock) ProtoReflect() protoreflect.Message

func (*Mock) Reset added in v0.5.0

func (x *Mock) Reset()

func (*Mock) String added in v0.5.0

func (x *Mock) String() string

type Mock_Object added in v0.5.0

type Mock_Object struct {
	Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*Mock_Object) Descriptor deprecated added in v0.5.0

func (*Mock_Object) Descriptor() ([]byte, []int)

Deprecated: Use Mock_Object.ProtoReflect.Descriptor instead.

func (*Mock_Object) GetData added in v0.5.0

func (x *Mock_Object) GetData() []byte

func (*Mock_Object) GetType added in v0.5.0

func (x *Mock_Object) GetType() string

func (*Mock_Object) ProtoMessage added in v0.5.0

func (*Mock_Object) ProtoMessage()

func (*Mock_Object) ProtoReflect added in v0.5.0

func (x *Mock_Object) ProtoReflect() protoreflect.Message

func (*Mock_Object) Reset added in v0.5.0

func (x *Mock_Object) Reset()

func (*Mock_Object) String added in v0.5.0

func (x *Mock_Object) String() string

type Mock_Request added in v0.5.0

type Mock_Request struct {
	Method     string             `protobuf:"bytes,1,opt,name=Method,proto3" json:"Method,omitempty"`
	ProtoMajor int64              `protobuf:"varint,2,opt,name=ProtoMajor,proto3" json:"ProtoMajor,omitempty"`
	ProtoMinor int64              `protobuf:"varint,3,opt,name=ProtoMinor,proto3" json:"ProtoMinor,omitempty"`
	URL        string             `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"`
	Header     map[string]*StrArr `` /* 153-byte string literal not displayed */
	Body       string             `protobuf:"bytes,6,opt,name=Body,proto3" json:"Body,omitempty"`
	// contains filtered or unexported fields
}

func (*Mock_Request) Descriptor deprecated added in v0.5.0

func (*Mock_Request) Descriptor() ([]byte, []int)

Deprecated: Use Mock_Request.ProtoReflect.Descriptor instead.

func (*Mock_Request) GetBody added in v0.5.0

func (x *Mock_Request) GetBody() string

func (*Mock_Request) GetHeader added in v0.5.2

func (x *Mock_Request) GetHeader() map[string]*StrArr

func (*Mock_Request) GetMethod added in v0.5.0

func (x *Mock_Request) GetMethod() string

func (*Mock_Request) GetProtoMajor added in v0.5.0

func (x *Mock_Request) GetProtoMajor() int64

func (*Mock_Request) GetProtoMinor added in v0.5.0

func (x *Mock_Request) GetProtoMinor() int64

func (*Mock_Request) GetURL added in v0.5.0

func (x *Mock_Request) GetURL() string

func (*Mock_Request) ProtoMessage added in v0.5.0

func (*Mock_Request) ProtoMessage()

func (*Mock_Request) ProtoReflect added in v0.5.0

func (x *Mock_Request) ProtoReflect() protoreflect.Message

func (*Mock_Request) Reset added in v0.5.0

func (x *Mock_Request) Reset()

func (*Mock_Request) String added in v0.5.0

func (x *Mock_Request) String() string

type Mock_SpecSchema added in v0.5.0

type Mock_SpecSchema struct {
	Metadata   map[string]string  `` /* 157-byte string literal not displayed */
	Objects    []*Mock_Object     `protobuf:"bytes,2,rep,name=Objects,proto3" json:"Objects,omitempty"`
	Req        *HttpReq           `protobuf:"bytes,3,opt,name=Req,proto3" json:"Req,omitempty"`
	Res        *HttpResp          `protobuf:"bytes,4,opt,name=Res,proto3" json:"Res,omitempty"`
	Mocks      []string           `protobuf:"bytes,5,rep,name=Mocks,proto3" json:"Mocks,omitempty"`
	Assertions map[string]*StrArr `` /* 161-byte string literal not displayed */
	Created    int64              `protobuf:"varint,7,opt,name=Created,proto3" json:"Created,omitempty"`
	// contains filtered or unexported fields
}

func (*Mock_SpecSchema) Descriptor deprecated added in v0.5.0

func (*Mock_SpecSchema) Descriptor() ([]byte, []int)

Deprecated: Use Mock_SpecSchema.ProtoReflect.Descriptor instead.

func (*Mock_SpecSchema) GetAssertions added in v0.5.2

func (x *Mock_SpecSchema) GetAssertions() map[string]*StrArr

func (*Mock_SpecSchema) GetCreated added in v0.5.4

func (x *Mock_SpecSchema) GetCreated() int64

func (*Mock_SpecSchema) GetMetadata added in v0.5.0

func (x *Mock_SpecSchema) GetMetadata() map[string]string

func (*Mock_SpecSchema) GetMocks added in v0.5.2

func (x *Mock_SpecSchema) GetMocks() []string

func (*Mock_SpecSchema) GetObjects added in v0.5.0

func (x *Mock_SpecSchema) GetObjects() []*Mock_Object

func (*Mock_SpecSchema) GetReq added in v0.5.0

func (x *Mock_SpecSchema) GetReq() *HttpReq

func (*Mock_SpecSchema) GetRes added in v0.5.0

func (x *Mock_SpecSchema) GetRes() *HttpResp

func (*Mock_SpecSchema) ProtoMessage added in v0.5.0

func (*Mock_SpecSchema) ProtoMessage()

func (*Mock_SpecSchema) ProtoReflect added in v0.5.0

func (x *Mock_SpecSchema) ProtoReflect() protoreflect.Message

func (*Mock_SpecSchema) Reset added in v0.5.0

func (x *Mock_SpecSchema) Reset()

func (*Mock_SpecSchema) String added in v0.5.0

func (x *Mock_SpecSchema) String() string

type PostTCResponse

type PostTCResponse struct {
	TcsId map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PostTCResponse) Descriptor deprecated

func (*PostTCResponse) Descriptor() ([]byte, []int)

Deprecated: Use PostTCResponse.ProtoReflect.Descriptor instead.

func (*PostTCResponse) GetTcsId

func (x *PostTCResponse) GetTcsId() map[string]string

func (*PostTCResponse) ProtoMessage

func (*PostTCResponse) ProtoMessage()

func (*PostTCResponse) ProtoReflect

func (x *PostTCResponse) ProtoReflect() protoreflect.Message

func (*PostTCResponse) Reset

func (x *PostTCResponse) Reset()

func (*PostTCResponse) String

func (x *PostTCResponse) String() string

type PutMockReq added in v0.5.0

type PutMockReq struct {
	Mock *Mock  `protobuf:"bytes,1,opt,name=Mock,proto3" json:"Mock,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"`
	// contains filtered or unexported fields
}

func (*PutMockReq) Descriptor deprecated added in v0.5.0

func (*PutMockReq) Descriptor() ([]byte, []int)

Deprecated: Use PutMockReq.ProtoReflect.Descriptor instead.

func (*PutMockReq) GetMock added in v0.5.0

func (x *PutMockReq) GetMock() *Mock

func (*PutMockReq) GetPath added in v0.5.0

func (x *PutMockReq) GetPath() string

func (*PutMockReq) ProtoMessage added in v0.5.0

func (*PutMockReq) ProtoMessage()

func (*PutMockReq) ProtoReflect added in v0.5.0

func (x *PutMockReq) ProtoReflect() protoreflect.Message

func (*PutMockReq) Reset added in v0.5.0

func (x *PutMockReq) Reset()

func (*PutMockReq) String added in v0.5.0

func (x *PutMockReq) String() string

type PutMockResp added in v0.5.0

type PutMockResp struct {
	Inserted int64 `protobuf:"varint,1,opt,name=Inserted,proto3" json:"Inserted,omitempty"`
	// contains filtered or unexported fields
}

func (*PutMockResp) Descriptor deprecated added in v0.5.0

func (*PutMockResp) Descriptor() ([]byte, []int)

Deprecated: Use PutMockResp.ProtoReflect.Descriptor instead.

func (*PutMockResp) GetInserted added in v0.5.0

func (x *PutMockResp) GetInserted() int64

func (*PutMockResp) ProtoMessage added in v0.5.0

func (*PutMockResp) ProtoMessage()

func (*PutMockResp) ProtoReflect added in v0.5.0

func (x *PutMockResp) ProtoReflect() protoreflect.Message

func (*PutMockResp) Reset added in v0.5.0

func (x *PutMockResp) Reset()

func (*PutMockResp) String added in v0.5.0

func (x *PutMockResp) String() string

type RegressionServiceClient

type RegressionServiceClient interface {
	End(ctx context.Context, in *EndRequest, opts ...grpc.CallOption) (*EndResponse, error)
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
	GetTC(ctx context.Context, in *GetTCRequest, opts ...grpc.CallOption) (*TestCase, error)
	GetTCS(ctx context.Context, in *GetTCSRequest, opts ...grpc.CallOption) (*GetTCSResponse, error)
	PostTC(ctx context.Context, in *TestCaseReq, opts ...grpc.CallOption) (*PostTCResponse, error)
	DeNoise(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*DeNoiseResponse, error)
	Test(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*TestResponse, error)
	PutMock(ctx context.Context, in *PutMockReq, opts ...grpc.CallOption) (*PutMockResp, error)
	GetMocks(ctx context.Context, in *GetMockReq, opts ...grpc.CallOption) (*GetMockResp, error)
	StartMocking(ctx context.Context, in *StartMockReq, opts ...grpc.CallOption) (*StartMockResp, error)
}

RegressionServiceClient is the client API for RegressionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RegressionServiceServer

type RegressionServiceServer interface {
	End(context.Context, *EndRequest) (*EndResponse, error)
	Start(context.Context, *StartRequest) (*StartResponse, error)
	GetTC(context.Context, *GetTCRequest) (*TestCase, error)
	GetTCS(context.Context, *GetTCSRequest) (*GetTCSResponse, error)
	PostTC(context.Context, *TestCaseReq) (*PostTCResponse, error)
	DeNoise(context.Context, *TestReq) (*DeNoiseResponse, error)
	Test(context.Context, *TestReq) (*TestResponse, error)
	PutMock(context.Context, *PutMockReq) (*PutMockResp, error)
	GetMocks(context.Context, *GetMockReq) (*GetMockResp, error)
	StartMocking(context.Context, *StartMockReq) (*StartMockResp, error)
	// contains filtered or unexported methods
}

RegressionServiceServer is the server API for RegressionService service. All implementations must embed UnimplementedRegressionServiceServer for forward compatibility

type StartMockReq added in v0.5.2

type StartMockReq struct {
	Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	Mode string `protobuf:"bytes,2,opt,name=Mode,proto3" json:"Mode,omitempty"`
	// contains filtered or unexported fields
}

func (*StartMockReq) Descriptor deprecated added in v0.5.2

func (*StartMockReq) Descriptor() ([]byte, []int)

Deprecated: Use StartMockReq.ProtoReflect.Descriptor instead.

func (*StartMockReq) GetMode added in v0.5.2

func (x *StartMockReq) GetMode() string

func (*StartMockReq) GetPath added in v0.5.2

func (x *StartMockReq) GetPath() string

func (*StartMockReq) ProtoMessage added in v0.5.2

func (*StartMockReq) ProtoMessage()

func (*StartMockReq) ProtoReflect added in v0.5.2

func (x *StartMockReq) ProtoReflect() protoreflect.Message

func (*StartMockReq) Reset added in v0.5.2

func (x *StartMockReq) Reset()

func (*StartMockReq) String added in v0.5.2

func (x *StartMockReq) String() string

type StartMockResp added in v0.5.2

type StartMockResp struct {
	Exists bool `protobuf:"varint,1,opt,name=Exists,proto3" json:"Exists,omitempty"`
	// contains filtered or unexported fields
}

func (*StartMockResp) Descriptor deprecated added in v0.5.2

func (*StartMockResp) Descriptor() ([]byte, []int)

Deprecated: Use StartMockResp.ProtoReflect.Descriptor instead.

func (*StartMockResp) GetExists added in v0.5.2

func (x *StartMockResp) GetExists() bool

func (*StartMockResp) ProtoMessage added in v0.5.2

func (*StartMockResp) ProtoMessage()

func (*StartMockResp) ProtoReflect added in v0.5.2

func (x *StartMockResp) ProtoReflect() protoreflect.Message

func (*StartMockResp) Reset added in v0.5.2

func (x *StartMockResp) Reset()

func (*StartMockResp) String added in v0.5.2

func (x *StartMockResp) String() string

type StartRequest

type StartRequest struct {
	Total string `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
	App   string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRequest) Descriptor deprecated

func (*StartRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.

func (*StartRequest) GetApp

func (x *StartRequest) GetApp() string

func (*StartRequest) GetTotal

func (x *StartRequest) GetTotal() string

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) ProtoReflect

func (x *StartRequest) ProtoReflect() protoreflect.Message

func (*StartRequest) Reset

func (x *StartRequest) Reset()

func (*StartRequest) String

func (x *StartRequest) String() string

type StartResponse

type StartResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartResponse) Descriptor deprecated

func (*StartResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.

func (*StartResponse) GetId

func (x *StartResponse) GetId() string

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) ProtoReflect

func (x *StartResponse) ProtoReflect() protoreflect.Message

func (*StartResponse) Reset

func (x *StartResponse) Reset()

func (*StartResponse) String

func (x *StartResponse) String() string

type StrArr

type StrArr struct {
	Value []string `protobuf:"bytes,1,rep,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*StrArr) Descriptor deprecated

func (*StrArr) Descriptor() ([]byte, []int)

Deprecated: Use StrArr.ProtoReflect.Descriptor instead.

func (*StrArr) GetValue

func (x *StrArr) GetValue() []string

func (*StrArr) ProtoMessage

func (*StrArr) ProtoMessage()

func (*StrArr) ProtoReflect

func (x *StrArr) ProtoReflect() protoreflect.Message

func (*StrArr) Reset

func (x *StrArr) Reset()

func (*StrArr) String

func (x *StrArr) String() string

type TestCase

type TestCase struct {
	Id       string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created  int64              `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64              `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Captured int64              `protobuf:"varint,4,opt,name=captured,proto3" json:"captured,omitempty"`
	CID      string             `protobuf:"bytes,5,opt,name=CID,proto3" json:"CID,omitempty"`
	AppID    string             `protobuf:"bytes,6,opt,name=appID,proto3" json:"appID,omitempty"`
	URI      string             `protobuf:"bytes,7,opt,name=URI,proto3" json:"URI,omitempty"`
	HttpReq  *HttpReq           `protobuf:"bytes,8,opt,name=HttpReq,proto3" json:"HttpReq,omitempty"`
	HttpResp *HttpResp          `protobuf:"bytes,9,opt,name=HttpResp,proto3" json:"HttpResp,omitempty"`
	Deps     []*Dependency      `protobuf:"bytes,10,rep,name=Deps,proto3" json:"Deps,omitempty"`
	AllKeys  map[string]*StrArr `` /* 156-byte string literal not displayed */
	Anchors  map[string]*StrArr `` /* 156-byte string literal not displayed */
	Noise    []string           `protobuf:"bytes,13,rep,name=noise,proto3" json:"noise,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCase) Descriptor deprecated

func (*TestCase) Descriptor() ([]byte, []int)

Deprecated: Use TestCase.ProtoReflect.Descriptor instead.

func (*TestCase) GetAllKeys

func (x *TestCase) GetAllKeys() map[string]*StrArr

func (*TestCase) GetAnchors

func (x *TestCase) GetAnchors() map[string]*StrArr

func (*TestCase) GetAppID

func (x *TestCase) GetAppID() string

func (*TestCase) GetCID

func (x *TestCase) GetCID() string

func (*TestCase) GetCaptured

func (x *TestCase) GetCaptured() int64

func (*TestCase) GetCreated

func (x *TestCase) GetCreated() int64

func (*TestCase) GetDeps

func (x *TestCase) GetDeps() []*Dependency

func (*TestCase) GetHttpReq

func (x *TestCase) GetHttpReq() *HttpReq

func (*TestCase) GetHttpResp

func (x *TestCase) GetHttpResp() *HttpResp

func (*TestCase) GetId

func (x *TestCase) GetId() string

func (*TestCase) GetNoise

func (x *TestCase) GetNoise() []string

func (*TestCase) GetURI

func (x *TestCase) GetURI() string

func (*TestCase) GetUpdated

func (x *TestCase) GetUpdated() int64

func (*TestCase) ProtoMessage

func (*TestCase) ProtoMessage()

func (*TestCase) ProtoReflect

func (x *TestCase) ProtoReflect() protoreflect.Message

func (*TestCase) Reset

func (x *TestCase) Reset()

func (*TestCase) String

func (x *TestCase) String() string

type TestCaseReq

type TestCaseReq struct {
	Captured     int64         `protobuf:"varint,1,opt,name=Captured,proto3" json:"Captured,omitempty"`
	AppID        string        `protobuf:"bytes,2,opt,name=AppID,proto3" json:"AppID,omitempty"`
	URI          string        `protobuf:"bytes,3,opt,name=URI,proto3" json:"URI,omitempty"`
	HttpReq      *HttpReq      `protobuf:"bytes,4,opt,name=HttpReq,proto3" json:"HttpReq,omitempty"`
	HttpResp     *HttpResp     `protobuf:"bytes,5,opt,name=HttpResp,proto3" json:"HttpResp,omitempty"`
	Dependency   []*Dependency `protobuf:"bytes,6,rep,name=Dependency,proto3" json:"Dependency,omitempty"`
	TestCasePath string        `protobuf:"bytes,7,opt,name=TestCasePath,proto3" json:"TestCasePath,omitempty"`
	MockPath     string        `protobuf:"bytes,8,opt,name=MockPath,proto3" json:"MockPath,omitempty"`
	Mocks        []*Mock       `protobuf:"bytes,9,rep,name=Mocks,proto3" json:"Mocks,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseReq) Descriptor deprecated

func (*TestCaseReq) Descriptor() ([]byte, []int)

Deprecated: Use TestCaseReq.ProtoReflect.Descriptor instead.

func (*TestCaseReq) GetAppID

func (x *TestCaseReq) GetAppID() string

func (*TestCaseReq) GetCaptured

func (x *TestCaseReq) GetCaptured() int64

func (*TestCaseReq) GetDependency

func (x *TestCaseReq) GetDependency() []*Dependency

func (*TestCaseReq) GetHttpReq

func (x *TestCaseReq) GetHttpReq() *HttpReq

func (*TestCaseReq) GetHttpResp

func (x *TestCaseReq) GetHttpResp() *HttpResp

func (*TestCaseReq) GetMockPath added in v0.5.3

func (x *TestCaseReq) GetMockPath() string

func (*TestCaseReq) GetMocks added in v0.5.3

func (x *TestCaseReq) GetMocks() []*Mock

func (*TestCaseReq) GetTestCasePath added in v0.5.3

func (x *TestCaseReq) GetTestCasePath() string

func (*TestCaseReq) GetURI

func (x *TestCaseReq) GetURI() string

func (*TestCaseReq) ProtoMessage

func (*TestCaseReq) ProtoMessage()

func (*TestCaseReq) ProtoReflect

func (x *TestCaseReq) ProtoReflect() protoreflect.Message

func (*TestCaseReq) Reset

func (x *TestCaseReq) Reset()

func (*TestCaseReq) String

func (x *TestCaseReq) String() string

type TestReq

type TestReq struct {
	ID           string    `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	AppID        string    `protobuf:"bytes,2,opt,name=AppID,proto3" json:"AppID,omitempty"`
	RunID        string    `protobuf:"bytes,3,opt,name=RunID,proto3" json:"RunID,omitempty"`
	Resp         *HttpResp `protobuf:"bytes,4,opt,name=Resp,proto3" json:"Resp,omitempty"`
	TestCasePath string    `protobuf:"bytes,5,opt,name=TestCasePath,proto3" json:"TestCasePath,omitempty"`
	MockPath     string    `protobuf:"bytes,6,opt,name=MockPath,proto3" json:"MockPath,omitempty"`
	// contains filtered or unexported fields
}

func (*TestReq) Descriptor deprecated

func (*TestReq) Descriptor() ([]byte, []int)

Deprecated: Use TestReq.ProtoReflect.Descriptor instead.

func (*TestReq) GetAppID

func (x *TestReq) GetAppID() string

func (*TestReq) GetID

func (x *TestReq) GetID() string

func (*TestReq) GetMockPath added in v0.5.3

func (x *TestReq) GetMockPath() string

func (*TestReq) GetResp

func (x *TestReq) GetResp() *HttpResp

func (*TestReq) GetRunID

func (x *TestReq) GetRunID() string

func (*TestReq) GetTestCasePath added in v0.5.3

func (x *TestReq) GetTestCasePath() string

func (*TestReq) ProtoMessage

func (*TestReq) ProtoMessage()

func (*TestReq) ProtoReflect

func (x *TestReq) ProtoReflect() protoreflect.Message

func (*TestReq) Reset

func (x *TestReq) Reset()

func (*TestReq) String

func (x *TestReq) String() string

type TestResponse

type TestResponse struct {
	Pass map[string]bool `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestResponse) Descriptor deprecated

func (*TestResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.

func (*TestResponse) GetPass

func (x *TestResponse) GetPass() map[string]bool

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) ProtoReflect

func (x *TestResponse) ProtoReflect() protoreflect.Message

func (*TestResponse) Reset

func (x *TestResponse) Reset()

func (*TestResponse) String

func (x *TestResponse) String() string

type UnimplementedRegressionServiceServer

type UnimplementedRegressionServiceServer struct {
}

UnimplementedRegressionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRegressionServiceServer) DeNoise

func (UnimplementedRegressionServiceServer) End

func (UnimplementedRegressionServiceServer) GetMocks added in v0.5.0

func (UnimplementedRegressionServiceServer) GetTC

func (UnimplementedRegressionServiceServer) GetTCS

func (UnimplementedRegressionServiceServer) PostTC

func (UnimplementedRegressionServiceServer) PutMock added in v0.5.0

func (UnimplementedRegressionServiceServer) Start

func (UnimplementedRegressionServiceServer) StartMocking added in v0.5.2

func (UnimplementedRegressionServiceServer) Test

type UnsafeRegressionServiceServer

type UnsafeRegressionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRegressionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegressionServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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