server

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 37 Imported by: 10

Documentation

Overview

Copyright 2023 API Testing Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 API Testing Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 API Testing Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package server provides a GRPC based server

Package server is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Copyright 2023 API Testing Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	HeaderKeyStoreName = "X-Store-Name"
)

Variables

View Source
var File_pkg_server_server_proto protoreflect.FileDescriptor
View Source
var RunnerExtension_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "server.RunnerExtension",
	HandlerType: (*RunnerExtensionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Run",
			Handler:    _RunnerExtension_Run_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/server/server.proto",
}

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

View Source
var Runner_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "server.Runner",
	HandlerType: (*RunnerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Run",
			Handler:    _Runner_Run_Handler,
		},
		{
			MethodName: "GetSuites",
			Handler:    _Runner_GetSuites_Handler,
		},
		{
			MethodName: "CreateTestSuite",
			Handler:    _Runner_CreateTestSuite_Handler,
		},
		{
			MethodName: "ImportTestSuite",
			Handler:    _Runner_ImportTestSuite_Handler,
		},
		{
			MethodName: "GetTestSuite",
			Handler:    _Runner_GetTestSuite_Handler,
		},
		{
			MethodName: "UpdateTestSuite",
			Handler:    _Runner_UpdateTestSuite_Handler,
		},
		{
			MethodName: "DeleteTestSuite",
			Handler:    _Runner_DeleteTestSuite_Handler,
		},
		{
			MethodName: "ListTestCase",
			Handler:    _Runner_ListTestCase_Handler,
		},
		{
			MethodName: "GetSuggestedAPIs",
			Handler:    _Runner_GetSuggestedAPIs_Handler,
		},
		{
			MethodName: "RunTestCase",
			Handler:    _Runner_RunTestCase_Handler,
		},
		{
			MethodName: "GetTestCase",
			Handler:    _Runner_GetTestCase_Handler,
		},
		{
			MethodName: "CreateTestCase",
			Handler:    _Runner_CreateTestCase_Handler,
		},
		{
			MethodName: "UpdateTestCase",
			Handler:    _Runner_UpdateTestCase_Handler,
		},
		{
			MethodName: "DeleteTestCase",
			Handler:    _Runner_DeleteTestCase_Handler,
		},
		{
			MethodName: "ListCodeGenerator",
			Handler:    _Runner_ListCodeGenerator_Handler,
		},
		{
			MethodName: "GenerateCode",
			Handler:    _Runner_GenerateCode_Handler,
		},
		{
			MethodName: "ListConverter",
			Handler:    _Runner_ListConverter_Handler,
		},
		{
			MethodName: "ConvertTestSuite",
			Handler:    _Runner_ConvertTestSuite_Handler,
		},
		{
			MethodName: "PopularHeaders",
			Handler:    _Runner_PopularHeaders_Handler,
		},
		{
			MethodName: "FunctionsQuery",
			Handler:    _Runner_FunctionsQuery_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _Runner_GetVersion_Handler,
		},
		{
			MethodName: "Sample",
			Handler:    _Runner_Sample_Handler,
		},
		{
			MethodName: "GetStoreKinds",
			Handler:    _Runner_GetStoreKinds_Handler,
		},
		{
			MethodName: "GetStores",
			Handler:    _Runner_GetStores_Handler,
		},
		{
			MethodName: "CreateStore",
			Handler:    _Runner_CreateStore_Handler,
		},
		{
			MethodName: "UpdateStore",
			Handler:    _Runner_UpdateStore_Handler,
		},
		{
			MethodName: "DeleteStore",
			Handler:    _Runner_DeleteStore_Handler,
		},
		{
			MethodName: "VerifyStore",
			Handler:    _Runner_VerifyStore_Handler,
		},
		{
			MethodName: "GetSecrets",
			Handler:    _Runner_GetSecrets_Handler,
		},
		{
			MethodName: "CreateSecret",
			Handler:    _Runner_CreateSecret_Handler,
		},
		{
			MethodName: "DeleteSecret",
			Handler:    _Runner_DeleteSecret_Handler,
		},
		{
			MethodName: "UpdateSecret",
			Handler:    _Runner_UpdateSecret_Handler,
		},
		{
			MethodName: "PProf",
			Handler:    _Runner_PProf_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "FunctionsQueryStream",
			Handler:       _Runner_FunctionsQueryStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "pkg/server/server.proto",
}

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

Functions

func GetProtos

func GetProtos() map[string]string

GetProtos returns the proto files. Key is filename, value is the content.

func MetadataStoreFunc added in v0.0.13

func MetadataStoreFunc(ctx context.Context, r *http.Request) (md metadata.MD)

MetadataStoreFunc is a function that extracts metadata from a request.

func RegisterRunnerExtensionHandler added in v0.0.16

func RegisterRunnerExtensionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRunnerExtensionHandler registers the http handlers for service RunnerExtension to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRunnerExtensionHandlerClient added in v0.0.16

func RegisterRunnerExtensionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RunnerExtensionClient) error

RegisterRunnerExtensionHandlerClient registers the http handlers for service RunnerExtension to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RunnerExtensionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RunnerExtensionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RunnerExtensionClient" to call the correct interceptors.

func RegisterRunnerExtensionHandlerFromEndpoint added in v0.0.16

func RegisterRunnerExtensionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRunnerExtensionHandlerFromEndpoint is same as RegisterRunnerExtensionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRunnerExtensionHandlerServer added in v0.0.16

func RegisterRunnerExtensionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RunnerExtensionServer) error

RegisterRunnerExtensionHandlerServer registers the http handlers for service RunnerExtension to "mux". UnaryRPC :call RunnerExtensionServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRunnerExtensionHandlerFromEndpoint instead.

func RegisterRunnerExtensionServer added in v0.0.16

func RegisterRunnerExtensionServer(s grpc.ServiceRegistrar, srv RunnerExtensionServer)

func RegisterRunnerHandler added in v0.0.13

func RegisterRunnerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRunnerHandler registers the http handlers for service Runner to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRunnerHandlerClient added in v0.0.13

func RegisterRunnerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RunnerClient) error

RegisterRunnerHandlerClient registers the http handlers for service Runner to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RunnerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RunnerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RunnerClient" to call the correct interceptors.

func RegisterRunnerHandlerFromEndpoint added in v0.0.13

func RegisterRunnerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRunnerHandlerFromEndpoint is same as RegisterRunnerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRunnerHandlerServer added in v0.0.13

func RegisterRunnerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RunnerServer) error

RegisterRunnerHandlerServer registers the http handlers for service Runner to "mux". UnaryRPC :call RunnerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRunnerHandlerFromEndpoint instead.

func RegisterRunnerServer

func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)

func ToNormalStore added in v0.0.13

func ToNormalStore(store *Store) (result testing.Store)

ToNormalStore convert the GRPC store to normal store

func ToNormalSuite added in v0.0.14

func ToNormalSuite(suite *TestSuite) (result *testing.TestSuite)

func ToNormalSuiteYAML added in v0.0.15

func ToNormalSuiteYAML(suite *TestSuite) ([]byte, error)

func ToNormalTestCase added in v0.0.14

func ToNormalTestCase(in *TestCase) (result testing.TestCase)

Types

type APISpec added in v0.0.13

type APISpec struct {
	Kind   string  `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Url    string  `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Rpc    *RPC    `protobuf:"bytes,3,opt,name=rpc,proto3" json:"rpc,omitempty"`
	Secure *Secure `protobuf:"bytes,4,opt,name=secure,proto3" json:"secure,omitempty"`
	// contains filtered or unexported fields
}

func (*APISpec) Descriptor deprecated added in v0.0.13

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

Deprecated: Use APISpec.ProtoReflect.Descriptor instead.

func (*APISpec) GetKind added in v0.0.13

func (x *APISpec) GetKind() string

func (*APISpec) GetRpc added in v0.0.14

func (x *APISpec) GetRpc() *RPC

func (*APISpec) GetSecure added in v0.0.14

func (x *APISpec) GetSecure() *Secure

func (*APISpec) GetUrl added in v0.0.13

func (x *APISpec) GetUrl() string

func (*APISpec) ProtoMessage added in v0.0.13

func (*APISpec) ProtoMessage()

func (*APISpec) ProtoReflect added in v0.0.13

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

func (*APISpec) Reset added in v0.0.13

func (x *APISpec) Reset()

func (*APISpec) String added in v0.0.13

func (x *APISpec) String() string

type CodeGenerateRequest added in v0.0.13

type CodeGenerateRequest struct {
	TestSuite string `protobuf:"bytes,1,opt,name=TestSuite,proto3" json:"TestSuite,omitempty"`
	TestCase  string `protobuf:"bytes,2,opt,name=TestCase,proto3" json:"TestCase,omitempty"`
	Generator string `protobuf:"bytes,3,opt,name=Generator,proto3" json:"Generator,omitempty"`
	// contains filtered or unexported fields
}

func (*CodeGenerateRequest) Descriptor deprecated added in v0.0.13

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

Deprecated: Use CodeGenerateRequest.ProtoReflect.Descriptor instead.

func (*CodeGenerateRequest) GetGenerator added in v0.0.13

func (x *CodeGenerateRequest) GetGenerator() string

func (*CodeGenerateRequest) GetTestCase added in v0.0.13

func (x *CodeGenerateRequest) GetTestCase() string

func (*CodeGenerateRequest) GetTestSuite added in v0.0.13

func (x *CodeGenerateRequest) GetTestSuite() string

func (*CodeGenerateRequest) ProtoMessage added in v0.0.13

func (*CodeGenerateRequest) ProtoMessage()

func (*CodeGenerateRequest) ProtoReflect added in v0.0.13

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

func (*CodeGenerateRequest) Reset added in v0.0.13

func (x *CodeGenerateRequest) Reset()

func (*CodeGenerateRequest) String added in v0.0.13

func (x *CodeGenerateRequest) String() string

type CommonResult added in v0.0.13

type CommonResult struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResult) Descriptor deprecated added in v0.0.13

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

Deprecated: Use CommonResult.ProtoReflect.Descriptor instead.

func (*CommonResult) GetMessage added in v0.0.13

func (x *CommonResult) GetMessage() string

func (*CommonResult) GetSuccess added in v0.0.13

func (x *CommonResult) GetSuccess() bool

func (*CommonResult) ProtoMessage added in v0.0.13

func (*CommonResult) ProtoMessage()

func (*CommonResult) ProtoReflect added in v0.0.13

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

func (*CommonResult) Reset added in v0.0.13

func (x *CommonResult) Reset()

func (*CommonResult) String added in v0.0.13

func (x *CommonResult) String() string

type ConditionalVerify added in v0.0.14

type ConditionalVerify struct {
	Condition []string `protobuf:"bytes,1,rep,name=condition,proto3" json:"condition,omitempty"`
	Verify    []string `protobuf:"bytes,2,rep,name=verify,proto3" json:"verify,omitempty"`
	// contains filtered or unexported fields
}

func (*ConditionalVerify) Descriptor deprecated added in v0.0.14

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

Deprecated: Use ConditionalVerify.ProtoReflect.Descriptor instead.

func (*ConditionalVerify) GetCondition added in v0.0.14

func (x *ConditionalVerify) GetCondition() []string

func (*ConditionalVerify) GetVerify added in v0.0.14

func (x *ConditionalVerify) GetVerify() []string

func (*ConditionalVerify) ProtoMessage added in v0.0.14

func (*ConditionalVerify) ProtoMessage()

func (*ConditionalVerify) ProtoReflect added in v0.0.14

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

func (*ConditionalVerify) Reset added in v0.0.14

func (x *ConditionalVerify) Reset()

func (*ConditionalVerify) String added in v0.0.14

func (x *ConditionalVerify) String() string

type Empty added in v0.0.8

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated added in v0.0.8

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage added in v0.0.8

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect added in v0.0.12

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

func (*Empty) Reset added in v0.0.8

func (x *Empty) Reset()

func (*Empty) String added in v0.0.8

func (x *Empty) String() string

type ExtManager added in v0.0.14

type ExtManager interface {
	Start(name, socket string) (err error)
	StopAll() (err error)
}

func NewStoreExtManager added in v0.0.14

func NewStoreExtManager(execer fakeruntime.Execer) ExtManager

type ExtensionStatus added in v0.0.15

type ExtensionStatus struct {
	Ready    bool   `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	ReadOnly bool   `protobuf:"varint,2,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Message  string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtensionStatus) Descriptor deprecated added in v0.0.15

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

Deprecated: Use ExtensionStatus.ProtoReflect.Descriptor instead.

func (*ExtensionStatus) GetMessage added in v0.0.15

func (x *ExtensionStatus) GetMessage() string

func (*ExtensionStatus) GetReadOnly added in v0.0.15

func (x *ExtensionStatus) GetReadOnly() bool

func (*ExtensionStatus) GetReady added in v0.0.15

func (x *ExtensionStatus) GetReady() bool

func (*ExtensionStatus) GetVersion added in v0.0.15

func (x *ExtensionStatus) GetVersion() string

func (*ExtensionStatus) ProtoMessage added in v0.0.15

func (*ExtensionStatus) ProtoMessage()

func (*ExtensionStatus) ProtoReflect added in v0.0.15

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

func (*ExtensionStatus) Reset added in v0.0.15

func (x *ExtensionStatus) Reset()

func (*ExtensionStatus) String added in v0.0.15

func (x *ExtensionStatus) String() string

type HTTPServer added in v0.0.13

type HTTPServer interface {
	Serve(lis net.Listener) error
	WithHandler(handler http.Handler)
	Shutdown(ctx context.Context) error
}

HTTPServer is an interface for serving HTTP requests

func NewDefaultHTTPServer added in v0.0.13

func NewDefaultHTTPServer() HTTPServer

NewDefaultHTTPServer creates a default HTTP server

func NewFakeHTTPServer added in v0.0.13

func NewFakeHTTPServer() HTTPServer

NewFakeHTTPServer creates a fake HTTP server

type HelloReply

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

func (*HelloReply) Descriptor deprecated

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

Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.

func (*HelloReply) GetError added in v0.0.9

func (x *HelloReply) GetError() string

func (*HelloReply) GetMessage

func (x *HelloReply) GetMessage() string

func (*HelloReply) ProtoMessage

func (*HelloReply) ProtoMessage()

func (*HelloReply) ProtoReflect added in v0.0.12

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

func (*HelloReply) Reset

func (x *HelloReply) Reset()

func (*HelloReply) String

func (x *HelloReply) String() string

type Items added in v0.0.13

type Items struct {
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Kind string   `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Items) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Items.ProtoReflect.Descriptor instead.

func (*Items) GetData added in v0.0.13

func (x *Items) GetData() []string

func (*Items) GetKind added in v0.0.14

func (x *Items) GetKind() string

func (*Items) ProtoMessage added in v0.0.13

func (*Items) ProtoMessage()

func (*Items) ProtoReflect added in v0.0.13

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

func (*Items) Reset added in v0.0.13

func (x *Items) Reset()

func (*Items) String added in v0.0.13

func (x *Items) String() string

type PProfData added in v0.0.15

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

func (*PProfData) Descriptor deprecated added in v0.0.15

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

Deprecated: Use PProfData.ProtoReflect.Descriptor instead.

func (*PProfData) GetData added in v0.0.15

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

func (*PProfData) ProtoMessage added in v0.0.15

func (*PProfData) ProtoMessage()

func (*PProfData) ProtoReflect added in v0.0.15

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

func (*PProfData) Reset added in v0.0.15

func (x *PProfData) Reset()

func (*PProfData) String added in v0.0.15

func (x *PProfData) String() string

type PProfRequest added in v0.0.15

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

func (*PProfRequest) Descriptor deprecated added in v0.0.15

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

Deprecated: Use PProfRequest.ProtoReflect.Descriptor instead.

func (*PProfRequest) GetName added in v0.0.15

func (x *PProfRequest) GetName() string

func (*PProfRequest) ProtoMessage added in v0.0.15

func (*PProfRequest) ProtoMessage()

func (*PProfRequest) ProtoReflect added in v0.0.15

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

func (*PProfRequest) Reset added in v0.0.15

func (x *PProfRequest) Reset()

func (*PProfRequest) String added in v0.0.15

func (x *PProfRequest) String() string

type Pair added in v0.0.13

type Pair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Pair) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Pair.ProtoReflect.Descriptor instead.

func (*Pair) GetKey added in v0.0.13

func (x *Pair) GetKey() string

func (*Pair) GetValue added in v0.0.13

func (x *Pair) GetValue() string

func (*Pair) ProtoMessage added in v0.0.13

func (*Pair) ProtoMessage()

func (*Pair) ProtoReflect added in v0.0.13

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

func (*Pair) Reset added in v0.0.13

func (x *Pair) Reset()

func (*Pair) String added in v0.0.13

func (x *Pair) String() string

type Pairs added in v0.0.13

type Pairs struct {
	Data []*Pair `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Pairs) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Pairs.ProtoReflect.Descriptor instead.

func (*Pairs) GetData added in v0.0.13

func (x *Pairs) GetData() []*Pair

func (*Pairs) ProtoMessage added in v0.0.13

func (*Pairs) ProtoMessage()

func (*Pairs) ProtoReflect added in v0.0.13

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

func (*Pairs) Reset added in v0.0.13

func (x *Pairs) Reset()

func (*Pairs) String added in v0.0.13

func (x *Pairs) String() string

type RPC added in v0.0.14

type RPC struct {
	Import           []string `protobuf:"bytes,1,rep,name=import,proto3" json:"import,omitempty"`
	ServerReflection bool     `protobuf:"varint,2,opt,name=serverReflection,proto3" json:"serverReflection,omitempty"`
	Protofile        string   `protobuf:"bytes,3,opt,name=protofile,proto3" json:"protofile,omitempty"`
	Protoset         string   `protobuf:"bytes,4,opt,name=protoset,proto3" json:"protoset,omitempty"`
	Raw              string   `protobuf:"bytes,5,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*RPC) Descriptor deprecated added in v0.0.14

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

Deprecated: Use RPC.ProtoReflect.Descriptor instead.

func (*RPC) GetImport added in v0.0.14

func (x *RPC) GetImport() []string

func (*RPC) GetProtofile added in v0.0.14

func (x *RPC) GetProtofile() string

func (*RPC) GetProtoset added in v0.0.14

func (x *RPC) GetProtoset() string

func (*RPC) GetRaw added in v0.0.14

func (x *RPC) GetRaw() string

func (*RPC) GetServerReflection added in v0.0.14

func (x *RPC) GetServerReflection() bool

func (*RPC) ProtoMessage added in v0.0.14

func (*RPC) ProtoMessage()

func (*RPC) ProtoReflect added in v0.0.14

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

func (*RPC) Reset added in v0.0.14

func (x *RPC) Reset()

func (*RPC) String added in v0.0.14

func (x *RPC) String() string

type Request added in v0.0.13

type Request struct {
	Api    string  `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Method string  `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Header []*Pair `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
	Query  []*Pair `protobuf:"bytes,4,rep,name=query,proto3" json:"query,omitempty"`
	Form   []*Pair `protobuf:"bytes,5,rep,name=form,proto3" json:"form,omitempty"`
	Body   string  `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetApi added in v0.0.13

func (x *Request) GetApi() string

func (*Request) GetBody added in v0.0.13

func (x *Request) GetBody() string

func (*Request) GetForm added in v0.0.13

func (x *Request) GetForm() []*Pair

func (*Request) GetHeader added in v0.0.13

func (x *Request) GetHeader() []*Pair

func (*Request) GetMethod added in v0.0.13

func (x *Request) GetMethod() string

func (*Request) GetQuery added in v0.0.13

func (x *Request) GetQuery() []*Pair

func (*Request) ProtoMessage added in v0.0.13

func (*Request) ProtoMessage()

func (*Request) ProtoReflect added in v0.0.13

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

func (*Request) Reset added in v0.0.13

func (x *Request) Reset()

func (*Request) String added in v0.0.13

func (x *Request) String() string

type Response added in v0.0.13

type Response struct {
	StatusCode        int32                `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	Body              string               `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Header            []*Pair              `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
	BodyFieldsExpect  []*Pair              `protobuf:"bytes,4,rep,name=bodyFieldsExpect,proto3" json:"bodyFieldsExpect,omitempty"`
	Verify            []string             `protobuf:"bytes,5,rep,name=verify,proto3" json:"verify,omitempty"`
	ConditionalVerify []*ConditionalVerify `protobuf:"bytes,6,rep,name=ConditionalVerify,proto3" json:"ConditionalVerify,omitempty"`
	Schema            string               `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetBody added in v0.0.13

func (x *Response) GetBody() string

func (*Response) GetBodyFieldsExpect added in v0.0.13

func (x *Response) GetBodyFieldsExpect() []*Pair

func (*Response) GetConditionalVerify added in v0.0.14

func (x *Response) GetConditionalVerify() []*ConditionalVerify

func (*Response) GetHeader added in v0.0.13

func (x *Response) GetHeader() []*Pair

func (*Response) GetSchema added in v0.0.13

func (x *Response) GetSchema() string

func (*Response) GetStatusCode added in v0.0.13

func (x *Response) GetStatusCode() int32

func (*Response) GetVerify added in v0.0.13

func (x *Response) GetVerify() []string

func (*Response) ProtoMessage added in v0.0.13

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v0.0.13

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

func (*Response) Reset added in v0.0.13

func (x *Response) Reset()

func (*Response) String added in v0.0.13

func (x *Response) String() string

type RunnerClient

type RunnerClient interface {
	// belong to a specific store
	Run(ctx context.Context, in *TestTask, opts ...grpc.CallOption) (*TestResult, error)
	GetSuites(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Suites, error)
	CreateTestSuite(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*HelloReply, error)
	ImportTestSuite(ctx context.Context, in *TestSuiteSource, opts ...grpc.CallOption) (*CommonResult, error)
	GetTestSuite(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*TestSuite, error)
	UpdateTestSuite(ctx context.Context, in *TestSuite, opts ...grpc.CallOption) (*HelloReply, error)
	DeleteTestSuite(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*HelloReply, error)
	// test cases related
	ListTestCase(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*Suite, error)
	GetSuggestedAPIs(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*TestCases, error)
	RunTestCase(ctx context.Context, in *TestCaseIdentity, opts ...grpc.CallOption) (*TestCaseResult, error)
	GetTestCase(ctx context.Context, in *TestCaseIdentity, opts ...grpc.CallOption) (*TestCase, error)
	CreateTestCase(ctx context.Context, in *TestCaseWithSuite, opts ...grpc.CallOption) (*HelloReply, error)
	UpdateTestCase(ctx context.Context, in *TestCaseWithSuite, opts ...grpc.CallOption) (*HelloReply, error)
	DeleteTestCase(ctx context.Context, in *TestCaseIdentity, opts ...grpc.CallOption) (*HelloReply, error)
	// code generator
	ListCodeGenerator(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SimpleList, error)
	GenerateCode(ctx context.Context, in *CodeGenerateRequest, opts ...grpc.CallOption) (*CommonResult, error)
	// converter
	ListConverter(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SimpleList, error)
	ConvertTestSuite(ctx context.Context, in *CodeGenerateRequest, opts ...grpc.CallOption) (*CommonResult, error)
	// common services
	PopularHeaders(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Pairs, error)
	FunctionsQuery(ctx context.Context, in *SimpleQuery, opts ...grpc.CallOption) (*Pairs, error)
	FunctionsQueryStream(ctx context.Context, opts ...grpc.CallOption) (Runner_FunctionsQueryStreamClient, error)
	GetVersion(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HelloReply, error)
	Sample(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HelloReply, error)
	// stores related interfaces
	GetStoreKinds(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StoreKinds, error)
	GetStores(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Stores, error)
	CreateStore(ctx context.Context, in *Store, opts ...grpc.CallOption) (*Store, error)
	UpdateStore(ctx context.Context, in *Store, opts ...grpc.CallOption) (*Store, error)
	DeleteStore(ctx context.Context, in *Store, opts ...grpc.CallOption) (*Store, error)
	VerifyStore(ctx context.Context, in *SimpleQuery, opts ...grpc.CallOption) (*ExtensionStatus, error)
	// secret related interfaces
	GetSecrets(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Secrets, error)
	CreateSecret(ctx context.Context, in *Secret, opts ...grpc.CallOption) (*CommonResult, error)
	DeleteSecret(ctx context.Context, in *Secret, opts ...grpc.CallOption) (*CommonResult, error)
	UpdateSecret(ctx context.Context, in *Secret, opts ...grpc.CallOption) (*CommonResult, error)
	// extension
	PProf(ctx context.Context, in *PProfRequest, opts ...grpc.CallOption) (*PProfData, error)
}

RunnerClient is the client API for Runner 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.

func NewFakeClient added in v0.0.9

func NewFakeClient(ctx context.Context, version string, err error) (RunnerClient, func())

NewFakeClient creates a fake client

func NewRunnerClient

func NewRunnerClient(cc grpc.ClientConnInterface) RunnerClient

type RunnerExtensionClient added in v0.0.16

type RunnerExtensionClient interface {
	Run(ctx context.Context, in *TestSuiteWithCase, opts ...grpc.CallOption) (*CommonResult, error)
}

RunnerExtensionClient is the client API for RunnerExtension 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.

func NewRunnerExtensionClient added in v0.0.16

func NewRunnerExtensionClient(cc grpc.ClientConnInterface) RunnerExtensionClient

type RunnerExtensionServer added in v0.0.16

type RunnerExtensionServer interface {
	Run(context.Context, *TestSuiteWithCase) (*CommonResult, error)
	// contains filtered or unexported methods
}

RunnerExtensionServer is the server API for RunnerExtension service. All implementations must embed UnimplementedRunnerExtensionServer for forward compatibility

type RunnerServer

type RunnerServer interface {
	// belong to a specific store
	Run(context.Context, *TestTask) (*TestResult, error)
	GetSuites(context.Context, *Empty) (*Suites, error)
	CreateTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
	ImportTestSuite(context.Context, *TestSuiteSource) (*CommonResult, error)
	GetTestSuite(context.Context, *TestSuiteIdentity) (*TestSuite, error)
	UpdateTestSuite(context.Context, *TestSuite) (*HelloReply, error)
	DeleteTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
	// test cases related
	ListTestCase(context.Context, *TestSuiteIdentity) (*Suite, error)
	GetSuggestedAPIs(context.Context, *TestSuiteIdentity) (*TestCases, error)
	RunTestCase(context.Context, *TestCaseIdentity) (*TestCaseResult, error)
	GetTestCase(context.Context, *TestCaseIdentity) (*TestCase, error)
	CreateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
	UpdateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
	DeleteTestCase(context.Context, *TestCaseIdentity) (*HelloReply, error)
	// code generator
	ListCodeGenerator(context.Context, *Empty) (*SimpleList, error)
	GenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error)
	// converter
	ListConverter(context.Context, *Empty) (*SimpleList, error)
	ConvertTestSuite(context.Context, *CodeGenerateRequest) (*CommonResult, error)
	// common services
	PopularHeaders(context.Context, *Empty) (*Pairs, error)
	FunctionsQuery(context.Context, *SimpleQuery) (*Pairs, error)
	FunctionsQueryStream(Runner_FunctionsQueryStreamServer) error
	GetVersion(context.Context, *Empty) (*HelloReply, error)
	Sample(context.Context, *Empty) (*HelloReply, error)
	// stores related interfaces
	GetStoreKinds(context.Context, *Empty) (*StoreKinds, error)
	GetStores(context.Context, *Empty) (*Stores, error)
	CreateStore(context.Context, *Store) (*Store, error)
	UpdateStore(context.Context, *Store) (*Store, error)
	DeleteStore(context.Context, *Store) (*Store, error)
	VerifyStore(context.Context, *SimpleQuery) (*ExtensionStatus, error)
	// secret related interfaces
	GetSecrets(context.Context, *Empty) (*Secrets, error)
	CreateSecret(context.Context, *Secret) (*CommonResult, error)
	DeleteSecret(context.Context, *Secret) (*CommonResult, error)
	UpdateSecret(context.Context, *Secret) (*CommonResult, error)
	// extension
	PProf(context.Context, *PProfRequest) (*PProfData, error)
	// contains filtered or unexported methods
}

RunnerServer is the server API for Runner service. All implementations must embed UnimplementedRunnerServer for forward compatibility

func NewRemoteServer

func NewRemoteServer(loader testing.Writer, storeWriterFactory testing.StoreWriterFactory, secretServer SecretServiceServer, storeExtMgr ExtManager, configDir string) RunnerServer

NewRemoteServer creates a remote server instance

func NewServer added in v0.0.9

func NewServer(version string, err error) RunnerServer

NewServer creates a fake server

type Runner_FunctionsQueryStreamClient added in v0.0.13

type Runner_FunctionsQueryStreamClient interface {
	Send(*SimpleQuery) error
	Recv() (*Pairs, error)
	grpc.ClientStream
}

type Runner_FunctionsQueryStreamServer added in v0.0.13

type Runner_FunctionsQueryStreamServer interface {
	Send(*Pairs) error
	Recv() (*SimpleQuery, error)
	grpc.ServerStream
}

type SecertServiceGetable added in v0.0.13

type SecertServiceGetable interface {
	GetSecret(context.Context, *Secret) (*Secret, error)
}

type Secret added in v0.0.13

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

func (*Secret) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetDescription added in v0.0.13

func (x *Secret) GetDescription() string

func (*Secret) GetName added in v0.0.13

func (x *Secret) GetName() string

func (*Secret) GetValue added in v0.0.13

func (x *Secret) GetValue() string

func (*Secret) ProtoMessage added in v0.0.13

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect added in v0.0.13

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

func (*Secret) Reset added in v0.0.13

func (x *Secret) Reset()

func (*Secret) String added in v0.0.13

func (x *Secret) String() string

type SecretServiceServer added in v0.0.13

type SecretServiceServer interface {
	GetSecrets(context.Context, *Empty) (*Secrets, error)
	CreateSecret(context.Context, *Secret) (*CommonResult, error)
	DeleteSecret(context.Context, *Secret) (*CommonResult, error)
	UpdateSecret(context.Context, *Secret) (*CommonResult, error)
}

type Secrets added in v0.0.13

type Secrets struct {
	Data []*Secret `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Secrets) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Secrets.ProtoReflect.Descriptor instead.

func (*Secrets) GetData added in v0.0.13

func (x *Secrets) GetData() []*Secret

func (*Secrets) ProtoMessage added in v0.0.13

func (*Secrets) ProtoMessage()

func (*Secrets) ProtoReflect added in v0.0.13

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

func (*Secrets) Reset added in v0.0.13

func (x *Secrets) Reset()

func (*Secrets) String added in v0.0.13

func (x *Secrets) String() string

type Secure added in v0.0.14

type Secure struct {
	Insecure   bool   `protobuf:"varint,1,opt,name=insecure,proto3" json:"insecure,omitempty"`
	Cert       string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
	Ca         string `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`
	ServerName string `protobuf:"bytes,4,opt,name=serverName,proto3" json:"serverName,omitempty"`
	Key        string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Secure) Descriptor deprecated added in v0.0.14

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

Deprecated: Use Secure.ProtoReflect.Descriptor instead.

func (*Secure) GetCa added in v0.0.14

func (x *Secure) GetCa() string

func (*Secure) GetCert added in v0.0.14

func (x *Secure) GetCert() string

func (*Secure) GetInsecure added in v0.0.14

func (x *Secure) GetInsecure() bool

func (*Secure) GetKey added in v0.0.14

func (x *Secure) GetKey() string

func (*Secure) GetServerName added in v0.0.14

func (x *Secure) GetServerName() string

func (*Secure) ProtoMessage added in v0.0.14

func (*Secure) ProtoMessage()

func (*Secure) ProtoReflect added in v0.0.14

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

func (*Secure) Reset added in v0.0.14

func (x *Secure) Reset()

func (*Secure) String added in v0.0.14

func (x *Secure) String() string

type SimpleList added in v0.0.13

type SimpleList struct {
	Data []*Pair `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleList) Descriptor deprecated added in v0.0.13

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

Deprecated: Use SimpleList.ProtoReflect.Descriptor instead.

func (*SimpleList) GetData added in v0.0.13

func (x *SimpleList) GetData() []*Pair

func (*SimpleList) ProtoMessage added in v0.0.13

func (*SimpleList) ProtoMessage()

func (*SimpleList) ProtoReflect added in v0.0.13

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

func (*SimpleList) Reset added in v0.0.13

func (x *SimpleList) Reset()

func (*SimpleList) String added in v0.0.13

func (x *SimpleList) String() string

type SimpleName added in v0.0.13

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

func (*SimpleName) Descriptor deprecated added in v0.0.13

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

Deprecated: Use SimpleName.ProtoReflect.Descriptor instead.

func (*SimpleName) GetName added in v0.0.13

func (x *SimpleName) GetName() string

func (*SimpleName) ProtoMessage added in v0.0.13

func (*SimpleName) ProtoMessage()

func (*SimpleName) ProtoReflect added in v0.0.13

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

func (*SimpleName) Reset added in v0.0.13

func (x *SimpleName) Reset()

func (*SimpleName) String added in v0.0.13

func (x *SimpleName) String() string

type SimpleQuery added in v0.0.13

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

func (*SimpleQuery) Descriptor deprecated added in v0.0.13

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

Deprecated: Use SimpleQuery.ProtoReflect.Descriptor instead.

func (*SimpleQuery) GetName added in v0.0.13

func (x *SimpleQuery) GetName() string

func (*SimpleQuery) ProtoMessage added in v0.0.13

func (*SimpleQuery) ProtoMessage()

func (*SimpleQuery) ProtoReflect added in v0.0.13

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

func (*SimpleQuery) Reset added in v0.0.13

func (x *SimpleQuery) Reset()

func (*SimpleQuery) String added in v0.0.13

func (x *SimpleQuery) String() string

type Store added in v0.0.13

type Store struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Owner       string     `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Description string     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Url         string     `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Username    string     `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password    string     `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Properties  []*Pair    `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	Kind        *StoreKind `protobuf:"bytes,8,opt,name=kind,proto3" json:"kind,omitempty"`
	Ready       bool       `protobuf:"varint,9,opt,name=ready,proto3" json:"ready,omitempty"`
	ReadOnly    bool       `protobuf:"varint,10,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	Disabled    bool       `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func ToGRPCStore added in v0.0.13

func ToGRPCStore(store testing.Store) (result *Store)

ToGRPCStore convert the normal store to GRPC store

func (*Store) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetDescription added in v0.0.13

func (x *Store) GetDescription() string

func (*Store) GetDisabled added in v0.0.15

func (x *Store) GetDisabled() bool

func (*Store) GetKind added in v0.0.13

func (x *Store) GetKind() *StoreKind

func (*Store) GetName added in v0.0.13

func (x *Store) GetName() string

func (*Store) GetOwner added in v0.0.15

func (x *Store) GetOwner() string

func (*Store) GetPassword added in v0.0.13

func (x *Store) GetPassword() string

func (*Store) GetProperties added in v0.0.13

func (x *Store) GetProperties() []*Pair

func (*Store) GetReadOnly added in v0.0.15

func (x *Store) GetReadOnly() bool

func (*Store) GetReady added in v0.0.13

func (x *Store) GetReady() bool

func (*Store) GetUrl added in v0.0.13

func (x *Store) GetUrl() string

func (*Store) GetUsername added in v0.0.13

func (x *Store) GetUsername() string

func (*Store) ProtoMessage added in v0.0.13

func (*Store) ProtoMessage()

func (*Store) ProtoReflect added in v0.0.13

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

func (*Store) Reset added in v0.0.13

func (x *Store) Reset()

func (*Store) String added in v0.0.13

func (x *Store) String() string

type StoreKind added in v0.0.13

type StoreKind struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url     string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Enabled bool   `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreKind) Descriptor deprecated added in v0.0.13

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

Deprecated: Use StoreKind.ProtoReflect.Descriptor instead.

func (*StoreKind) GetEnabled added in v0.0.14

func (x *StoreKind) GetEnabled() bool

func (*StoreKind) GetName added in v0.0.13

func (x *StoreKind) GetName() string

func (*StoreKind) GetUrl added in v0.0.13

func (x *StoreKind) GetUrl() string

func (*StoreKind) ProtoMessage added in v0.0.13

func (*StoreKind) ProtoMessage()

func (*StoreKind) ProtoReflect added in v0.0.13

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

func (*StoreKind) Reset added in v0.0.13

func (x *StoreKind) Reset()

func (*StoreKind) String added in v0.0.13

func (x *StoreKind) String() string

type StoreKinds added in v0.0.13

type StoreKinds struct {
	Data []*StoreKind `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreKinds) Descriptor deprecated added in v0.0.13

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

Deprecated: Use StoreKinds.ProtoReflect.Descriptor instead.

func (*StoreKinds) GetData added in v0.0.13

func (x *StoreKinds) GetData() []*StoreKind

func (*StoreKinds) ProtoMessage added in v0.0.13

func (*StoreKinds) ProtoMessage()

func (*StoreKinds) ProtoReflect added in v0.0.13

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

func (*StoreKinds) Reset added in v0.0.13

func (x *StoreKinds) Reset()

func (*StoreKinds) String added in v0.0.13

func (x *StoreKinds) String() string

type Stores added in v0.0.13

type Stores struct {
	Data []*Store `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Stores) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Stores.ProtoReflect.Descriptor instead.

func (*Stores) GetData added in v0.0.13

func (x *Stores) GetData() []*Store

func (*Stores) ProtoMessage added in v0.0.13

func (*Stores) ProtoMessage()

func (*Stores) ProtoReflect added in v0.0.13

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

func (*Stores) Reset added in v0.0.13

func (x *Stores) Reset()

func (*Stores) String added in v0.0.13

func (x *Stores) String() string

type Suite added in v0.0.13

type Suite struct {
	Name  string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Api   string      `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	Items []*TestCase `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Suite) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Suite.ProtoReflect.Descriptor instead.

func (*Suite) GetApi added in v0.0.13

func (x *Suite) GetApi() string

func (*Suite) GetItems added in v0.0.13

func (x *Suite) GetItems() []*TestCase

func (*Suite) GetName added in v0.0.13

func (x *Suite) GetName() string

func (*Suite) ProtoMessage added in v0.0.13

func (*Suite) ProtoMessage()

func (*Suite) ProtoReflect added in v0.0.13

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

func (*Suite) Reset added in v0.0.13

func (x *Suite) Reset()

func (*Suite) String added in v0.0.13

func (x *Suite) String() string

type Suites added in v0.0.13

type Suites struct {
	Data map[string]*Items `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Suites) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Suites.ProtoReflect.Descriptor instead.

func (*Suites) GetData added in v0.0.13

func (x *Suites) GetData() map[string]*Items

func (*Suites) ProtoMessage added in v0.0.13

func (*Suites) ProtoMessage()

func (*Suites) ProtoReflect added in v0.0.13

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

func (*Suites) Reset added in v0.0.13

func (x *Suites) Reset()

func (*Suites) String added in v0.0.13

func (x *Suites) String() string

type TestCase added in v0.0.13

type TestCase struct {
	Name      string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SuiteName string    `protobuf:"bytes,2,opt,name=suiteName,proto3" json:"suiteName,omitempty"`
	Request   *Request  `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	Response  *Response `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func ToGRPCTestCase added in v0.0.14

func ToGRPCTestCase(testCase testing.TestCase) (result *TestCase)

func (*TestCase) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestCase.ProtoReflect.Descriptor instead.

func (*TestCase) GetName added in v0.0.13

func (x *TestCase) GetName() string

func (*TestCase) GetRequest added in v0.0.13

func (x *TestCase) GetRequest() *Request

func (*TestCase) GetResponse added in v0.0.13

func (x *TestCase) GetResponse() *Response

func (*TestCase) GetSuiteName added in v0.0.13

func (x *TestCase) GetSuiteName() string

func (*TestCase) ProtoMessage added in v0.0.13

func (*TestCase) ProtoMessage()

func (*TestCase) ProtoReflect added in v0.0.13

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

func (*TestCase) Reset added in v0.0.13

func (x *TestCase) Reset()

func (*TestCase) String added in v0.0.13

func (x *TestCase) String() string

type TestCaseIdentity added in v0.0.13

type TestCaseIdentity struct {
	Suite      string  `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"`
	Testcase   string  `protobuf:"bytes,2,opt,name=testcase,proto3" json:"testcase,omitempty"`
	Parameters []*Pair `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseIdentity) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestCaseIdentity.ProtoReflect.Descriptor instead.

func (*TestCaseIdentity) GetParameters added in v0.0.14

func (x *TestCaseIdentity) GetParameters() []*Pair

func (*TestCaseIdentity) GetSuite added in v0.0.13

func (x *TestCaseIdentity) GetSuite() string

func (*TestCaseIdentity) GetTestcase added in v0.0.13

func (x *TestCaseIdentity) GetTestcase() string

func (*TestCaseIdentity) ProtoMessage added in v0.0.13

func (*TestCaseIdentity) ProtoMessage()

func (*TestCaseIdentity) ProtoReflect added in v0.0.13

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

func (*TestCaseIdentity) Reset added in v0.0.13

func (x *TestCaseIdentity) Reset()

func (*TestCaseIdentity) String added in v0.0.13

func (x *TestCaseIdentity) String() string

type TestCaseResult added in v0.0.13

type TestCaseResult struct {
	StatusCode int32   `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	Body       string  `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Header     []*Pair `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
	Error      string  `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	Id         string  `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Output     string  `protobuf:"bytes,6,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseResult) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestCaseResult.ProtoReflect.Descriptor instead.

func (*TestCaseResult) GetBody added in v0.0.13

func (x *TestCaseResult) GetBody() string

func (*TestCaseResult) GetError added in v0.0.13

func (x *TestCaseResult) GetError() string

func (*TestCaseResult) GetHeader added in v0.0.13

func (x *TestCaseResult) GetHeader() []*Pair

func (*TestCaseResult) GetId added in v0.0.13

func (x *TestCaseResult) GetId() string

func (*TestCaseResult) GetOutput added in v0.0.13

func (x *TestCaseResult) GetOutput() string

func (*TestCaseResult) GetStatusCode added in v0.0.13

func (x *TestCaseResult) GetStatusCode() int32

func (*TestCaseResult) ProtoMessage added in v0.0.13

func (*TestCaseResult) ProtoMessage()

func (*TestCaseResult) ProtoReflect added in v0.0.13

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

func (*TestCaseResult) Reset added in v0.0.13

func (x *TestCaseResult) Reset()

func (*TestCaseResult) String added in v0.0.13

func (x *TestCaseResult) String() string

type TestCaseWithSuite added in v0.0.13

type TestCaseWithSuite struct {
	SuiteName string    `protobuf:"bytes,1,opt,name=suiteName,proto3" json:"suiteName,omitempty"`
	Data      *TestCase `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseWithSuite) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestCaseWithSuite.ProtoReflect.Descriptor instead.

func (*TestCaseWithSuite) GetData added in v0.0.13

func (x *TestCaseWithSuite) GetData() *TestCase

func (*TestCaseWithSuite) GetSuiteName added in v0.0.13

func (x *TestCaseWithSuite) GetSuiteName() string

func (*TestCaseWithSuite) ProtoMessage added in v0.0.13

func (*TestCaseWithSuite) ProtoMessage()

func (*TestCaseWithSuite) ProtoReflect added in v0.0.13

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

func (*TestCaseWithSuite) Reset added in v0.0.13

func (x *TestCaseWithSuite) Reset()

func (*TestCaseWithSuite) String added in v0.0.13

func (x *TestCaseWithSuite) String() string

type TestCases added in v0.0.13

type TestCases struct {
	Data []*TestCase `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCases) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestCases.ProtoReflect.Descriptor instead.

func (*TestCases) GetData added in v0.0.13

func (x *TestCases) GetData() []*TestCase

func (*TestCases) ProtoMessage added in v0.0.13

func (*TestCases) ProtoMessage()

func (*TestCases) ProtoReflect added in v0.0.13

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

func (*TestCases) Reset added in v0.0.13

func (x *TestCases) Reset()

func (*TestCases) String added in v0.0.13

func (x *TestCases) String() string

type TestResult added in v0.0.13

type TestResult struct {
	Message        string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Error          string            `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	TestCaseResult []*TestCaseResult `protobuf:"bytes,3,rep,name=testCaseResult,proto3" json:"testCaseResult,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResult) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestResult.ProtoReflect.Descriptor instead.

func (*TestResult) GetError added in v0.0.13

func (x *TestResult) GetError() string

func (*TestResult) GetMessage added in v0.0.13

func (x *TestResult) GetMessage() string

func (*TestResult) GetTestCaseResult added in v0.0.13

func (x *TestResult) GetTestCaseResult() []*TestCaseResult

func (*TestResult) ProtoMessage added in v0.0.13

func (*TestResult) ProtoMessage()

func (*TestResult) ProtoReflect added in v0.0.13

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

func (*TestResult) Reset added in v0.0.13

func (x *TestResult) Reset()

func (*TestResult) String added in v0.0.13

func (x *TestResult) String() string

type TestSuite added in v0.0.13

type TestSuite struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Api   string   `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	Param []*Pair  `protobuf:"bytes,3,rep,name=param,proto3" json:"param,omitempty"`
	Spec  *APISpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func ToGRPCSuite added in v0.0.14

func ToGRPCSuite(suite *testing.TestSuite) (result *TestSuite)

func (*TestSuite) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestSuite.ProtoReflect.Descriptor instead.

func (*TestSuite) GetApi added in v0.0.13

func (x *TestSuite) GetApi() string

func (*TestSuite) GetName added in v0.0.13

func (x *TestSuite) GetName() string

func (*TestSuite) GetParam added in v0.0.13

func (x *TestSuite) GetParam() []*Pair

func (*TestSuite) GetSpec added in v0.0.13

func (x *TestSuite) GetSpec() *APISpec

func (*TestSuite) ProtoMessage added in v0.0.13

func (*TestSuite) ProtoMessage()

func (*TestSuite) ProtoReflect added in v0.0.13

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

func (*TestSuite) Reset added in v0.0.13

func (x *TestSuite) Reset()

func (*TestSuite) String added in v0.0.13

func (x *TestSuite) String() string

type TestSuiteIdentity added in v0.0.13

type TestSuiteIdentity struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Api  string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteIdentity) Descriptor deprecated added in v0.0.13

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

Deprecated: Use TestSuiteIdentity.ProtoReflect.Descriptor instead.

func (*TestSuiteIdentity) GetApi added in v0.0.13

func (x *TestSuiteIdentity) GetApi() string

func (*TestSuiteIdentity) GetKind added in v0.0.14

func (x *TestSuiteIdentity) GetKind() string

func (*TestSuiteIdentity) GetName added in v0.0.13

func (x *TestSuiteIdentity) GetName() string

func (*TestSuiteIdentity) ProtoMessage added in v0.0.13

func (*TestSuiteIdentity) ProtoMessage()

func (*TestSuiteIdentity) ProtoReflect added in v0.0.13

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

func (*TestSuiteIdentity) Reset added in v0.0.13

func (x *TestSuiteIdentity) Reset()

func (*TestSuiteIdentity) String added in v0.0.13

func (x *TestSuiteIdentity) String() string

type TestSuiteSource added in v0.0.14

type TestSuiteSource struct {
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteSource) Descriptor deprecated added in v0.0.14

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

Deprecated: Use TestSuiteSource.ProtoReflect.Descriptor instead.

func (*TestSuiteSource) GetData added in v0.0.14

func (x *TestSuiteSource) GetData() string

func (*TestSuiteSource) GetKind added in v0.0.14

func (x *TestSuiteSource) GetKind() string

func (*TestSuiteSource) GetUrl added in v0.0.14

func (x *TestSuiteSource) GetUrl() string

func (*TestSuiteSource) ProtoMessage added in v0.0.14

func (*TestSuiteSource) ProtoMessage()

func (*TestSuiteSource) ProtoReflect added in v0.0.14

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

func (*TestSuiteSource) Reset added in v0.0.14

func (x *TestSuiteSource) Reset()

func (*TestSuiteSource) String added in v0.0.14

func (x *TestSuiteSource) String() string

type TestSuiteWithCase added in v0.0.16

type TestSuiteWithCase struct {
	Suite *TestSuite `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"`
	Case  *TestCase  `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteWithCase) Descriptor deprecated added in v0.0.16

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

Deprecated: Use TestSuiteWithCase.ProtoReflect.Descriptor instead.

func (*TestSuiteWithCase) GetCase added in v0.0.16

func (x *TestSuiteWithCase) GetCase() *TestCase

func (*TestSuiteWithCase) GetSuite added in v0.0.16

func (x *TestSuiteWithCase) GetSuite() *TestSuite

func (*TestSuiteWithCase) ProtoMessage added in v0.0.16

func (*TestSuiteWithCase) ProtoMessage()

func (*TestSuiteWithCase) ProtoReflect added in v0.0.16

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

func (*TestSuiteWithCase) Reset added in v0.0.16

func (x *TestSuiteWithCase) Reset()

func (*TestSuiteWithCase) String added in v0.0.16

func (x *TestSuiteWithCase) String() string

type TestTask

type TestTask struct {
	Data       string            `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Kind       string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	CaseName   string            `protobuf:"bytes,3,opt,name=caseName,proto3" json:"caseName,omitempty"`
	Level      string            `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	Env        map[string]string `` /* 147-byte string literal not displayed */
	Parameters []*Pair           `protobuf:"bytes,6,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTask) Descriptor deprecated

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

Deprecated: Use TestTask.ProtoReflect.Descriptor instead.

func (*TestTask) GetCaseName added in v0.0.8

func (x *TestTask) GetCaseName() string

func (*TestTask) GetData

func (x *TestTask) GetData() string

func (*TestTask) GetEnv added in v0.0.8

func (x *TestTask) GetEnv() map[string]string

func (*TestTask) GetKind

func (x *TestTask) GetKind() string

func (*TestTask) GetLevel added in v0.0.9

func (x *TestTask) GetLevel() string

func (*TestTask) GetParameters added in v0.0.14

func (x *TestTask) GetParameters() []*Pair

func (*TestTask) ProtoMessage

func (*TestTask) ProtoMessage()

func (*TestTask) ProtoReflect added in v0.0.12

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

func (*TestTask) Reset

func (x *TestTask) Reset()

func (*TestTask) String

func (x *TestTask) String() string

type UnimplementedRunnerExtensionServer added in v0.0.16

type UnimplementedRunnerExtensionServer struct {
}

UnimplementedRunnerExtensionServer must be embedded to have forward compatible implementations.

func (UnimplementedRunnerExtensionServer) Run added in v0.0.16

type UnimplementedRunnerServer

type UnimplementedRunnerServer struct {
}

UnimplementedRunnerServer must be embedded to have forward compatible implementations.

func (UnimplementedRunnerServer) ConvertTestSuite added in v0.0.13

func (UnimplementedRunnerServer) CreateSecret added in v0.0.13

func (UnimplementedRunnerServer) CreateStore added in v0.0.13

func (UnimplementedRunnerServer) CreateTestCase added in v0.0.13

func (UnimplementedRunnerServer) CreateTestSuite added in v0.0.13

func (UnimplementedRunnerServer) DeleteSecret added in v0.0.13

func (UnimplementedRunnerServer) DeleteStore added in v0.0.13

func (UnimplementedRunnerServer) DeleteTestCase added in v0.0.13

func (UnimplementedRunnerServer) DeleteTestSuite added in v0.0.13

func (UnimplementedRunnerServer) FunctionsQuery added in v0.0.13

func (UnimplementedRunnerServer) FunctionsQueryStream added in v0.0.13

func (UnimplementedRunnerServer) GenerateCode added in v0.0.13

func (UnimplementedRunnerServer) GetSecrets added in v0.0.13

func (UnimplementedRunnerServer) GetStoreKinds added in v0.0.13

func (UnimplementedRunnerServer) GetStores added in v0.0.13

func (UnimplementedRunnerServer) GetSuggestedAPIs added in v0.0.13

func (UnimplementedRunnerServer) GetSuites added in v0.0.13

func (UnimplementedRunnerServer) GetTestCase added in v0.0.13

func (UnimplementedRunnerServer) GetTestSuite added in v0.0.13

func (UnimplementedRunnerServer) GetVersion added in v0.0.8

func (UnimplementedRunnerServer) ImportTestSuite added in v0.0.14

func (UnimplementedRunnerServer) ListCodeGenerator added in v0.0.13

func (UnimplementedRunnerServer) ListConverter added in v0.0.13

func (UnimplementedRunnerServer) ListTestCase added in v0.0.13

func (UnimplementedRunnerServer) PProf added in v0.0.15

func (UnimplementedRunnerServer) PopularHeaders added in v0.0.13

func (UnimplementedRunnerServer) PopularHeaders(context.Context, *Empty) (*Pairs, error)

func (UnimplementedRunnerServer) Run

func (UnimplementedRunnerServer) RunTestCase added in v0.0.13

func (UnimplementedRunnerServer) Sample added in v0.0.12

func (UnimplementedRunnerServer) UpdateSecret added in v0.0.13

func (UnimplementedRunnerServer) UpdateStore added in v0.0.13

func (UnimplementedRunnerServer) UpdateTestCase added in v0.0.13

func (UnimplementedRunnerServer) UpdateTestSuite added in v0.0.13

func (UnimplementedRunnerServer) VerifyStore added in v0.0.13

type UniqueSlice added in v0.0.9

type UniqueSlice[T comparable] struct {
	// contains filtered or unexported fields
}

UniqueSlice represents an unique slice

func (*UniqueSlice[T]) Exist added in v0.0.9

func (s *UniqueSlice[T]) Exist(item T) bool

Exist checks if the item exist, return true it exists

func (*UniqueSlice[T]) GetAll added in v0.0.9

func (s *UniqueSlice[T]) GetAll() []T

GetAll returns all the items

func (*UniqueSlice[T]) Push added in v0.0.9

func (s *UniqueSlice[T]) Push(item T) *UniqueSlice[T]

Push pushes an item if it's not exist

type UnsafeRunnerExtensionServer added in v0.0.16

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

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

type UnsafeRunnerServer

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

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

Jump to

Keyboard shortcuts

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