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 2024 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-2024 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-2024 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
- Variables
- func GetProtos() map[string]string
- func MetadataStoreFunc(ctx context.Context, r *http.Request) (md metadata.MD)
- func RegisterMockHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMockHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MockClient) error
- func RegisterMockHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMockHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MockServer) error
- func RegisterMockServer(s grpc.ServiceRegistrar, srv MockServer)
- func RegisterRunnerExtensionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRunnerExtensionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RunnerExtensionClient) error
- func RegisterRunnerExtensionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRunnerExtensionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RunnerExtensionServer) error
- func RegisterRunnerExtensionServer(s grpc.ServiceRegistrar, srv RunnerExtensionServer)
- func RegisterRunnerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRunnerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RunnerClient) error
- func RegisterRunnerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRunnerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RunnerServer) error
- func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)
- func ToNormalStore(store *Store) (result testing.Store)
- func ToNormalSuite(suite *TestSuite) (result *testing.TestSuite)
- func ToNormalSuiteYAML(suite *TestSuite) ([]byte, error)
- func ToNormalTestCase(in *TestCase) (result testing.TestCase)
- func ToNormalTestCaseResult(testCaseResult *TestCaseResult) (result testing.TestCaseResult)
- type APISpec
- func (*APISpec) Descriptor() ([]byte, []int)deprecated
- func (x *APISpec) GetKind() string
- func (x *APISpec) GetRpc() *RPC
- func (x *APISpec) GetSecure() *Secure
- func (x *APISpec) GetUrl() string
- func (*APISpec) ProtoMessage()
- func (x *APISpec) ProtoReflect() protoreflect.Message
- func (x *APISpec) Reset()
- func (x *APISpec) String() string
- type BatchTestTask
- func (*BatchTestTask) Descriptor() ([]byte, []int)deprecated
- func (x *BatchTestTask) GetCaseName() string
- func (x *BatchTestTask) GetCount() int32
- func (x *BatchTestTask) GetInterval() string
- func (x *BatchTestTask) GetParameters() []*Pair
- func (x *BatchTestTask) GetSuiteName() string
- func (*BatchTestTask) ProtoMessage()
- func (x *BatchTestTask) ProtoReflect() protoreflect.Message
- func (x *BatchTestTask) Reset()
- func (x *BatchTestTask) String() string
- type CodeGenerateRequest
- func (*CodeGenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CodeGenerateRequest) GetGenerator() string
- func (x *CodeGenerateRequest) GetID() string
- func (x *CodeGenerateRequest) GetTestCase() string
- func (x *CodeGenerateRequest) GetTestSuite() string
- func (*CodeGenerateRequest) ProtoMessage()
- func (x *CodeGenerateRequest) ProtoReflect() protoreflect.Message
- func (x *CodeGenerateRequest) Reset()
- func (x *CodeGenerateRequest) String() string
- type CombineHandler
- type CommonResult
- func (*CommonResult) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResult) GetMessage() string
- func (x *CommonResult) GetSuccess() bool
- func (*CommonResult) ProtoMessage()
- func (x *CommonResult) ProtoReflect() protoreflect.Message
- func (x *CommonResult) Reset()
- func (x *CommonResult) String() string
- type ConditionalVerify
- func (*ConditionalVerify) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionalVerify) GetCondition() []string
- func (x *ConditionalVerify) GetVerify() []string
- func (*ConditionalVerify) ProtoMessage()
- func (x *ConditionalVerify) ProtoReflect() protoreflect.Message
- func (x *ConditionalVerify) Reset()
- func (x *ConditionalVerify) String() string
- type Empty
- type ExtManager
- type ExtensionStatus
- func (*ExtensionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionStatus) GetMessage() string
- func (x *ExtensionStatus) GetReadOnly() bool
- func (x *ExtensionStatus) GetReady() bool
- func (x *ExtensionStatus) GetVersion() string
- func (*ExtensionStatus) ProtoMessage()
- func (x *ExtensionStatus) ProtoReflect() protoreflect.Message
- func (x *ExtensionStatus) Reset()
- func (x *ExtensionStatus) String() string
- type FileData
- func (*FileData) Descriptor() ([]byte, []int)deprecated
- func (x *FileData) GetContentType() string
- func (x *FileData) GetData() []byte
- func (x *FileData) GetFilename() string
- func (*FileData) ProtoMessage()
- func (x *FileData) ProtoReflect() protoreflect.Message
- func (x *FileData) Reset()
- func (x *FileData) String() string
- type HTTPServer
- type HelloReply
- type HistoryCaseIdentity
- func (*HistoryCaseIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryCaseIdentity) GetHistorySuiteName() string
- func (x *HistoryCaseIdentity) GetID() string
- func (x *HistoryCaseIdentity) GetKind() string
- func (x *HistoryCaseIdentity) GetSuite() string
- func (x *HistoryCaseIdentity) GetTestcase() string
- func (*HistoryCaseIdentity) ProtoMessage()
- func (x *HistoryCaseIdentity) ProtoReflect() protoreflect.Message
- func (x *HistoryCaseIdentity) Reset()
- func (x *HistoryCaseIdentity) String() string
- type HistoryItems
- type HistorySuites
- type HistoryTestCase
- func (*HistoryTestCase) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryTestCase) GetCaseName() string
- func (x *HistoryTestCase) GetCreateTime() *timestamppb.Timestamp
- func (x *HistoryTestCase) GetHistoryHeader() []*Pair
- func (x *HistoryTestCase) GetHistorySuiteName() string
- func (x *HistoryTestCase) GetID() string
- func (x *HistoryTestCase) GetRequest() *Request
- func (x *HistoryTestCase) GetResponse() *Response
- func (x *HistoryTestCase) GetSuiteApi() string
- func (x *HistoryTestCase) GetSuiteName() string
- func (x *HistoryTestCase) GetSuiteParam() []*Pair
- func (x *HistoryTestCase) GetSuiteSpec() *APISpec
- func (*HistoryTestCase) ProtoMessage()
- func (x *HistoryTestCase) ProtoReflect() protoreflect.Message
- func (x *HistoryTestCase) Reset()
- func (x *HistoryTestCase) String() string
- type HistoryTestCases
- func (*HistoryTestCases) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryTestCases) GetData() []*HistoryTestCase
- func (*HistoryTestCases) ProtoMessage()
- func (x *HistoryTestCases) ProtoReflect() protoreflect.Message
- func (x *HistoryTestCases) Reset()
- func (x *HistoryTestCases) String() string
- type HistoryTestResult
- func (*HistoryTestResult) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryTestResult) GetCreateTime() *timestamppb.Timestamp
- func (x *HistoryTestResult) GetData() *HistoryTestCase
- func (x *HistoryTestResult) GetError() string
- func (x *HistoryTestResult) GetMessage() string
- func (x *HistoryTestResult) GetTestCaseResult() []*TestCaseResult
- func (*HistoryTestResult) ProtoMessage()
- func (x *HistoryTestResult) ProtoReflect() protoreflect.Message
- func (x *HistoryTestResult) Reset()
- func (x *HistoryTestResult) String() string
- type Items
- type MockClient
- type MockConfig
- func (*MockConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MockConfig) GetConfig() string
- func (x *MockConfig) GetPort() int32
- func (x *MockConfig) GetPrefix() string
- func (*MockConfig) ProtoMessage()
- func (x *MockConfig) ProtoReflect() protoreflect.Message
- func (x *MockConfig) Reset()
- func (x *MockConfig) String() string
- type MockServer
- type PProfData
- type PProfRequest
- type Pair
- type Pairs
- type RPC
- func (*RPC) Descriptor() ([]byte, []int)deprecated
- func (x *RPC) GetImport() []string
- func (x *RPC) GetProtofile() string
- func (x *RPC) GetProtoset() string
- func (x *RPC) GetRaw() string
- func (x *RPC) GetServerReflection() bool
- func (*RPC) ProtoMessage()
- func (x *RPC) ProtoReflect() protoreflect.Message
- func (x *RPC) Reset()
- func (x *RPC) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetApi() string
- func (x *Request) GetBody() string
- func (x *Request) GetCookie() []*Pair
- func (x *Request) GetForm() []*Pair
- func (x *Request) GetHeader() []*Pair
- func (x *Request) GetMethod() string
- func (x *Request) GetQuery() []*Pair
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBody() string
- func (x *Response) GetBodyFieldsExpect() []*Pair
- func (x *Response) GetConditionalVerify() []*ConditionalVerify
- func (x *Response) GetHeader() []*Pair
- func (x *Response) GetSchema() string
- func (x *Response) GetStatusCode() int32
- func (x *Response) GetVerify() []string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type RunnerClient
- type RunnerExtensionClient
- type RunnerExtensionServer
- type RunnerServer
- type Runner_BatchRunClient
- type Runner_BatchRunServer
- type Runner_FunctionsQueryStreamClient
- type Runner_FunctionsQueryStreamServer
- type Runner_RunTestSuiteClient
- type Runner_RunTestSuiteServer
- type SecertServiceGetable
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetDescription() string
- func (x *Secret) GetName() string
- func (x *Secret) GetValue() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type SecretServiceServer
- type Secrets
- type Secure
- func (*Secure) Descriptor() ([]byte, []int)deprecated
- func (x *Secure) GetCa() string
- func (x *Secure) GetCert() string
- func (x *Secure) GetInsecure() bool
- func (x *Secure) GetKey() string
- func (x *Secure) GetServerName() string
- func (*Secure) ProtoMessage()
- func (x *Secure) ProtoReflect() protoreflect.Message
- func (x *Secure) Reset()
- func (x *Secure) String() string
- type SimpleList
- type SimpleName
- type SimpleQuery
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetDescription() string
- func (x *Store) GetDisabled() bool
- func (x *Store) GetKind() *StoreKind
- func (x *Store) GetName() string
- func (x *Store) GetOwner() string
- func (x *Store) GetPassword() string
- func (x *Store) GetProperties() []*Pair
- func (x *Store) GetReadOnly() bool
- func (x *Store) GetReady() bool
- func (x *Store) GetUrl() string
- func (x *Store) GetUsername() string
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- type StoreKind
- func (*StoreKind) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKind) GetEnabled() bool
- func (x *StoreKind) GetName() string
- func (x *StoreKind) GetUrl() string
- func (*StoreKind) ProtoMessage()
- func (x *StoreKind) ProtoReflect() protoreflect.Message
- func (x *StoreKind) Reset()
- func (x *StoreKind) String() string
- type StoreKinds
- type Stores
- type Suite
- type Suites
- type TestCase
- func (*TestCase) Descriptor() ([]byte, []int)deprecated
- func (x *TestCase) GetName() string
- func (x *TestCase) GetRequest() *Request
- func (x *TestCase) GetResponse() *Response
- func (x *TestCase) GetServer() string
- func (x *TestCase) GetSuiteName() string
- func (*TestCase) ProtoMessage()
- func (x *TestCase) ProtoReflect() protoreflect.Message
- func (x *TestCase) Reset()
- func (x *TestCase) String() string
- type TestCaseDuplicate
- func (*TestCaseDuplicate) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseDuplicate) GetSourceCaseName() string
- func (x *TestCaseDuplicate) GetSourceSuiteName() string
- func (x *TestCaseDuplicate) GetTargetCaseName() string
- func (x *TestCaseDuplicate) GetTargetSuiteName() string
- func (*TestCaseDuplicate) ProtoMessage()
- func (x *TestCaseDuplicate) ProtoReflect() protoreflect.Message
- func (x *TestCaseDuplicate) Reset()
- func (x *TestCaseDuplicate) String() string
- type TestCaseIdentity
- func (*TestCaseIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseIdentity) GetParameters() []*Pair
- func (x *TestCaseIdentity) GetSuite() string
- func (x *TestCaseIdentity) GetTestcase() string
- func (*TestCaseIdentity) ProtoMessage()
- func (x *TestCaseIdentity) ProtoReflect() protoreflect.Message
- func (x *TestCaseIdentity) Reset()
- func (x *TestCaseIdentity) String() string
- type TestCaseResult
- func (*TestCaseResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseResult) GetBody() string
- func (x *TestCaseResult) GetError() string
- func (x *TestCaseResult) GetHeader() []*Pair
- func (x *TestCaseResult) GetId() string
- func (x *TestCaseResult) GetOutput() string
- func (x *TestCaseResult) GetStatusCode() int32
- func (*TestCaseResult) ProtoMessage()
- func (x *TestCaseResult) ProtoReflect() protoreflect.Message
- func (x *TestCaseResult) Reset()
- func (x *TestCaseResult) String() string
- type TestCaseWithSuite
- func (*TestCaseWithSuite) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseWithSuite) GetData() *TestCase
- func (x *TestCaseWithSuite) GetSuiteName() string
- func (*TestCaseWithSuite) ProtoMessage()
- func (x *TestCaseWithSuite) ProtoReflect() protoreflect.Message
- func (x *TestCaseWithSuite) Reset()
- func (x *TestCaseWithSuite) String() string
- type TestCases
- type TestResult
- func (*TestResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestResult) GetError() string
- func (x *TestResult) GetMessage() string
- func (x *TestResult) GetTestCaseResult() []*TestCaseResult
- func (*TestResult) ProtoMessage()
- func (x *TestResult) ProtoReflect() protoreflect.Message
- func (x *TestResult) Reset()
- func (x *TestResult) String() string
- type TestSuite
- func (*TestSuite) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuite) GetApi() string
- func (x *TestSuite) GetName() string
- func (x *TestSuite) GetParam() []*Pair
- func (x *TestSuite) GetSpec() *APISpec
- func (*TestSuite) ProtoMessage()
- func (x *TestSuite) ProtoReflect() protoreflect.Message
- func (x *TestSuite) Reset()
- func (x *TestSuite) String() string
- type TestSuiteDuplicate
- func (*TestSuiteDuplicate) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuiteDuplicate) GetSourceSuiteName() string
- func (x *TestSuiteDuplicate) GetTargetSuiteName() string
- func (*TestSuiteDuplicate) ProtoMessage()
- func (x *TestSuiteDuplicate) ProtoReflect() protoreflect.Message
- func (x *TestSuiteDuplicate) Reset()
- func (x *TestSuiteDuplicate) String() string
- type TestSuiteIdentity
- func (*TestSuiteIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuiteIdentity) GetApi() string
- func (x *TestSuiteIdentity) GetKind() string
- func (x *TestSuiteIdentity) GetName() string
- func (*TestSuiteIdentity) ProtoMessage()
- func (x *TestSuiteIdentity) ProtoReflect() protoreflect.Message
- func (x *TestSuiteIdentity) Reset()
- func (x *TestSuiteIdentity) String() string
- type TestSuiteSource
- func (*TestSuiteSource) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuiteSource) GetData() string
- func (x *TestSuiteSource) GetKind() string
- func (x *TestSuiteSource) GetUrl() string
- func (*TestSuiteSource) ProtoMessage()
- func (x *TestSuiteSource) ProtoReflect() protoreflect.Message
- func (x *TestSuiteSource) Reset()
- func (x *TestSuiteSource) String() string
- type TestSuiteWithCase
- func (*TestSuiteWithCase) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuiteWithCase) GetCase() *TestCase
- func (x *TestSuiteWithCase) GetSuite() *TestSuite
- func (*TestSuiteWithCase) ProtoMessage()
- func (x *TestSuiteWithCase) ProtoReflect() protoreflect.Message
- func (x *TestSuiteWithCase) Reset()
- func (x *TestSuiteWithCase) String() string
- type TestTask
- func (*TestTask) Descriptor() ([]byte, []int)deprecated
- func (x *TestTask) GetCaseName() string
- func (x *TestTask) GetData() string
- func (x *TestTask) GetEnv() map[string]string
- func (x *TestTask) GetKind() string
- func (x *TestTask) GetLevel() string
- func (x *TestTask) GetParameters() []*Pair
- func (*TestTask) ProtoMessage()
- func (x *TestTask) ProtoReflect() protoreflect.Message
- func (x *TestTask) Reset()
- func (x *TestTask) String() string
- type UnimplementedMockServer
- type UnimplementedRunnerExtensionServer
- type UnimplementedRunnerServer
- func (UnimplementedRunnerServer) BatchRun(Runner_BatchRunServer) error
- func (UnimplementedRunnerServer) ConvertTestSuite(context.Context, *CodeGenerateRequest) (*CommonResult, error)
- func (UnimplementedRunnerServer) CreateSecret(context.Context, *Secret) (*CommonResult, error)
- func (UnimplementedRunnerServer) CreateStore(context.Context, *Store) (*Store, error)
- func (UnimplementedRunnerServer) CreateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
- func (UnimplementedRunnerServer) CreateTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
- func (UnimplementedRunnerServer) DeleteAllHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error)
- func (UnimplementedRunnerServer) DeleteHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error)
- func (UnimplementedRunnerServer) DeleteSecret(context.Context, *Secret) (*CommonResult, error)
- func (UnimplementedRunnerServer) DeleteStore(context.Context, *Store) (*Store, error)
- func (UnimplementedRunnerServer) DeleteTestCase(context.Context, *TestCaseIdentity) (*HelloReply, error)
- func (UnimplementedRunnerServer) DeleteTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
- func (UnimplementedRunnerServer) DownloadResponseFile(context.Context, *TestCase) (*FileData, error)
- func (UnimplementedRunnerServer) DuplicateTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error)
- func (UnimplementedRunnerServer) DuplicateTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error)
- func (UnimplementedRunnerServer) FunctionsQuery(context.Context, *SimpleQuery) (*Pairs, error)
- func (UnimplementedRunnerServer) FunctionsQueryStream(Runner_FunctionsQueryStreamServer) error
- func (UnimplementedRunnerServer) GenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error)
- func (UnimplementedRunnerServer) GetHistorySuites(context.Context, *Empty) (*HistorySuites, error)
- func (UnimplementedRunnerServer) GetHistoryTestCase(context.Context, *HistoryTestCase) (*HistoryTestCase, error)
- func (UnimplementedRunnerServer) GetHistoryTestCaseWithResult(context.Context, *HistoryTestCase) (*HistoryTestResult, error)
- func (UnimplementedRunnerServer) GetSecrets(context.Context, *Empty) (*Secrets, error)
- func (UnimplementedRunnerServer) GetStoreKinds(context.Context, *Empty) (*StoreKinds, error)
- func (UnimplementedRunnerServer) GetStores(context.Context, *Empty) (*Stores, error)
- func (UnimplementedRunnerServer) GetSuggestedAPIs(context.Context, *TestSuiteIdentity) (*TestCases, error)
- func (UnimplementedRunnerServer) GetSuites(context.Context, *Empty) (*Suites, error)
- func (UnimplementedRunnerServer) GetTestCase(context.Context, *TestCaseIdentity) (*TestCase, error)
- func (UnimplementedRunnerServer) GetTestCaseAllHistory(context.Context, *TestCase) (*HistoryTestCases, error)
- func (UnimplementedRunnerServer) GetTestSuite(context.Context, *TestSuiteIdentity) (*TestSuite, error)
- func (UnimplementedRunnerServer) GetTestSuiteYaml(context.Context, *TestSuiteIdentity) (*YamlData, error)
- func (UnimplementedRunnerServer) GetVersion(context.Context, *Empty) (*Version, error)
- func (UnimplementedRunnerServer) HistoryGenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error)
- func (UnimplementedRunnerServer) ImportTestSuite(context.Context, *TestSuiteSource) (*CommonResult, error)
- func (UnimplementedRunnerServer) ListCodeGenerator(context.Context, *Empty) (*SimpleList, error)
- func (UnimplementedRunnerServer) ListConverter(context.Context, *Empty) (*SimpleList, error)
- func (UnimplementedRunnerServer) ListTestCase(context.Context, *TestSuiteIdentity) (*Suite, error)
- func (UnimplementedRunnerServer) PProf(context.Context, *PProfRequest) (*PProfData, error)
- func (UnimplementedRunnerServer) PopularHeaders(context.Context, *Empty) (*Pairs, error)
- func (UnimplementedRunnerServer) RenameTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error)
- func (UnimplementedRunnerServer) RenameTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error)
- func (UnimplementedRunnerServer) Run(context.Context, *TestTask) (*TestResult, error)
- func (UnimplementedRunnerServer) RunTestCase(context.Context, *TestCaseIdentity) (*TestCaseResult, error)
- func (UnimplementedRunnerServer) RunTestSuite(Runner_RunTestSuiteServer) error
- func (UnimplementedRunnerServer) Sample(context.Context, *Empty) (*HelloReply, error)
- func (UnimplementedRunnerServer) UpdateSecret(context.Context, *Secret) (*CommonResult, error)
- func (UnimplementedRunnerServer) UpdateStore(context.Context, *Store) (*Store, error)
- func (UnimplementedRunnerServer) UpdateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
- func (UnimplementedRunnerServer) UpdateTestSuite(context.Context, *TestSuite) (*HelloReply, error)
- func (UnimplementedRunnerServer) VerifyStore(context.Context, *SimpleQuery) (*ExtensionStatus, error)
- type UniqueSlice
- type UnsafeMockServer
- type UnsafeRunnerExtensionServer
- type UnsafeRunnerServer
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCommit() string
- func (x *Version) GetDate() string
- func (x *Version) GetVersion() string
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type YamlData
Constants ¶
const (
HeaderKeyStoreName = "X-Store-Name"
)
Variables ¶
var ErrDownloadNotSupport = errors.New("no support")
var ExecutionCountNum = promauto.NewCounter(prometheus.CounterOpts{
Name: "atest_execution_count",
Help: "The total number of request execution",
})
var ExecutionFailNum = promauto.NewCounter(prometheus.CounterOpts{
Name: "atest_execution_fail",
Help: "The total number of request execution fail",
})
var ExecutionSuccessNum = promauto.NewCounter(prometheus.CounterOpts{
Name: "atest_execution_success",
Help: "The total number of request execution success",
})
var File_pkg_server_server_proto protoreflect.FileDescriptor
var (
GrpcMaxRecvMsgSize int
)
var Mock_ServiceDesc = grpc.ServiceDesc{ ServiceName: "server.Mock", HandlerType: (*MockServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Reload", Handler: _Mock_Reload_Handler, }, { MethodName: "GetConfig", Handler: _Mock_GetConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/server/server.proto", }
Mock_ServiceDesc is the grpc.ServiceDesc for Mock service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RequestCounter = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "http_requests_total", Help: "The total number of HTTP requests", }, []string{"method", "source", "path"})
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)
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: "DuplicateTestSuite", Handler: _Runner_DuplicateTestSuite_Handler, }, { MethodName: "RenameTestSuite", Handler: _Runner_RenameTestSuite_Handler, }, { MethodName: "GetTestSuiteYaml", Handler: _Runner_GetTestSuiteYaml_Handler, }, { MethodName: "ListTestCase", Handler: _Runner_ListTestCase_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: "DuplicateTestCase", Handler: _Runner_DuplicateTestCase_Handler, }, { MethodName: "RenameTestCase", Handler: _Runner_RenameTestCase_Handler, }, { MethodName: "GetSuggestedAPIs", Handler: _Runner_GetSuggestedAPIs_Handler, }, { MethodName: "GetHistorySuites", Handler: _Runner_GetHistorySuites_Handler, }, { MethodName: "GetHistoryTestCaseWithResult", Handler: _Runner_GetHistoryTestCaseWithResult_Handler, }, { MethodName: "GetHistoryTestCase", Handler: _Runner_GetHistoryTestCase_Handler, }, { MethodName: "DeleteHistoryTestCase", Handler: _Runner_DeleteHistoryTestCase_Handler, }, { MethodName: "DeleteAllHistoryTestCase", Handler: _Runner_DeleteAllHistoryTestCase_Handler, }, { MethodName: "GetTestCaseAllHistory", Handler: _Runner_GetTestCaseAllHistory_Handler, }, { MethodName: "ListCodeGenerator", Handler: _Runner_ListCodeGenerator_Handler, }, { MethodName: "GenerateCode", Handler: _Runner_GenerateCode_Handler, }, { MethodName: "HistoryGenerateCode", Handler: _Runner_HistoryGenerateCode_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: "DownloadResponseFile", Handler: _Runner_DownloadResponseFile_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: "RunTestSuite", Handler: _Runner_RunTestSuite_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "BatchRun", Handler: _Runner_BatchRun_Handler, ServerStreams: true, ClientStreams: true, }, { 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)
var SwaggerJSON []byte
Functions ¶
func MetadataStoreFunc ¶ added in v0.0.13
MetadataStoreFunc is a function that extracts metadata from a request.
func RegisterMockHandler ¶ added in v0.0.17
RegisterMockHandler registers the http handlers for service Mock to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMockHandlerClient ¶ added in v0.0.17
RegisterMockHandlerClient registers the http handlers for service Mock to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MockClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MockClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MockClient" to call the correct interceptors.
func RegisterMockHandlerFromEndpoint ¶ added in v0.0.17
func RegisterMockHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMockHandlerFromEndpoint is same as RegisterMockHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMockHandlerServer ¶ added in v0.0.17
RegisterMockHandlerServer registers the http handlers for service Mock to "mux". UnaryRPC :call MockServer 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 RegisterMockHandlerFromEndpoint instead.
func RegisterMockServer ¶ added in v0.0.17
func RegisterMockServer(s grpc.ServiceRegistrar, srv MockServer)
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
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
ToNormalStore convert the GRPC store to normal store
func ToNormalSuite ¶ added in v0.0.14
func ToNormalSuiteYAML ¶ added in v0.0.15
func ToNormalTestCase ¶ added in v0.0.14
func ToNormalTestCaseResult ¶ added in v0.0.18
func ToNormalTestCaseResult(testCaseResult *TestCaseResult) (result testing.TestCaseResult)
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 ToGRPCTestSuiteSpec ¶ added in v0.0.18
func (*APISpec) Descriptor
deprecated
added in
v0.0.13
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
type BatchTestTask ¶ added in v0.0.18
type BatchTestTask struct { SuiteName string `protobuf:"bytes,1,opt,name=suiteName,proto3" json:"suiteName,omitempty"` CaseName string `protobuf:"bytes,2,opt,name=caseName,proto3" json:"caseName,omitempty"` Parameters []*Pair `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Interval string `protobuf:"bytes,5,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*BatchTestTask) Descriptor
deprecated
added in
v0.0.18
func (*BatchTestTask) Descriptor() ([]byte, []int)
Deprecated: Use BatchTestTask.ProtoReflect.Descriptor instead.
func (*BatchTestTask) GetCaseName ¶ added in v0.0.18
func (x *BatchTestTask) GetCaseName() string
func (*BatchTestTask) GetCount ¶ added in v0.0.18
func (x *BatchTestTask) GetCount() int32
func (*BatchTestTask) GetInterval ¶ added in v0.0.18
func (x *BatchTestTask) GetInterval() string
func (*BatchTestTask) GetParameters ¶ added in v0.0.18
func (x *BatchTestTask) GetParameters() []*Pair
func (*BatchTestTask) GetSuiteName ¶ added in v0.0.18
func (x *BatchTestTask) GetSuiteName() string
func (*BatchTestTask) ProtoMessage ¶ added in v0.0.18
func (*BatchTestTask) ProtoMessage()
func (*BatchTestTask) ProtoReflect ¶ added in v0.0.18
func (x *BatchTestTask) ProtoReflect() protoreflect.Message
func (*BatchTestTask) Reset ¶ added in v0.0.18
func (x *BatchTestTask) Reset()
func (*BatchTestTask) String ¶ added in v0.0.18
func (x *BatchTestTask) 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"` ID string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,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) GetID ¶ added in v0.0.18
func (x *CodeGenerateRequest) GetID() 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 CombineHandler ¶ added in v0.0.17
func NewDefaultCombineHandler ¶ added in v0.0.17
func NewDefaultCombineHandler() CombineHandler
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) ProtoMessage ¶ added in v0.0.8
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶ added in v0.0.12
func (x *Empty) ProtoReflect() protoreflect.Message
type ExtManager ¶ added in v0.0.14
type ExtManager interface { Start(name, socket string) (err error) StopAll() (err error) WithDownloader(downloader.PlatformAwareOCIDownloader) }
func NewStoreExtManager ¶ added in v0.0.14
func NewStoreExtManager(execer fakeruntime.Execer) ExtManager
func NewStoreExtManagerInstance ¶ added in v0.0.17
func NewStoreExtManagerInstance(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 FileData ¶ added in v0.0.18
type FileData struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*FileData) Descriptor
deprecated
added in
v0.0.18
func (*FileData) GetContentType ¶ added in v0.0.18
func (*FileData) GetFilename ¶ added in v0.0.18
func (*FileData) ProtoMessage ¶ added in v0.0.18
func (*FileData) ProtoMessage()
func (*FileData) ProtoReflect ¶ added in v0.0.18
func (x *FileData) ProtoReflect() protoreflect.Message
type HTTPServer ¶ added in v0.0.13
type HTTPServer interface { Serve(lis net.Listener) error WithHandler(handler http.Handler) Shutdown(ctx context.Context) error GetPort() string }
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 HistoryCaseIdentity ¶ added in v0.0.18
type HistoryCaseIdentity 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"` HistorySuiteName string `protobuf:"bytes,3,opt,name=historySuiteName,proto3" json:"historySuiteName,omitempty"` Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` ID string `protobuf:"bytes,5,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*HistoryCaseIdentity) Descriptor
deprecated
added in
v0.0.18
func (*HistoryCaseIdentity) Descriptor() ([]byte, []int)
Deprecated: Use HistoryCaseIdentity.ProtoReflect.Descriptor instead.
func (*HistoryCaseIdentity) GetHistorySuiteName ¶ added in v0.0.18
func (x *HistoryCaseIdentity) GetHistorySuiteName() string
func (*HistoryCaseIdentity) GetID ¶ added in v0.0.18
func (x *HistoryCaseIdentity) GetID() string
func (*HistoryCaseIdentity) GetKind ¶ added in v0.0.18
func (x *HistoryCaseIdentity) GetKind() string
func (*HistoryCaseIdentity) GetSuite ¶ added in v0.0.18
func (x *HistoryCaseIdentity) GetSuite() string
func (*HistoryCaseIdentity) GetTestcase ¶ added in v0.0.18
func (x *HistoryCaseIdentity) GetTestcase() string
func (*HistoryCaseIdentity) ProtoMessage ¶ added in v0.0.18
func (*HistoryCaseIdentity) ProtoMessage()
func (*HistoryCaseIdentity) ProtoReflect ¶ added in v0.0.18
func (x *HistoryCaseIdentity) ProtoReflect() protoreflect.Message
func (*HistoryCaseIdentity) Reset ¶ added in v0.0.18
func (x *HistoryCaseIdentity) Reset()
func (*HistoryCaseIdentity) String ¶ added in v0.0.18
func (x *HistoryCaseIdentity) String() string
type HistoryItems ¶ added in v0.0.18
type HistoryItems struct { Data []*HistoryCaseIdentity `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*HistoryItems) Descriptor
deprecated
added in
v0.0.18
func (*HistoryItems) Descriptor() ([]byte, []int)
Deprecated: Use HistoryItems.ProtoReflect.Descriptor instead.
func (*HistoryItems) GetData ¶ added in v0.0.18
func (x *HistoryItems) GetData() []*HistoryCaseIdentity
func (*HistoryItems) ProtoMessage ¶ added in v0.0.18
func (*HistoryItems) ProtoMessage()
func (*HistoryItems) ProtoReflect ¶ added in v0.0.18
func (x *HistoryItems) ProtoReflect() protoreflect.Message
func (*HistoryItems) Reset ¶ added in v0.0.18
func (x *HistoryItems) Reset()
func (*HistoryItems) String ¶ added in v0.0.18
func (x *HistoryItems) String() string
type HistorySuites ¶ added in v0.0.18
type HistorySuites struct { Data map[string]*HistoryItems `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HistorySuites) Descriptor
deprecated
added in
v0.0.18
func (*HistorySuites) Descriptor() ([]byte, []int)
Deprecated: Use HistorySuites.ProtoReflect.Descriptor instead.
func (*HistorySuites) GetData ¶ added in v0.0.18
func (x *HistorySuites) GetData() map[string]*HistoryItems
func (*HistorySuites) ProtoMessage ¶ added in v0.0.18
func (*HistorySuites) ProtoMessage()
func (*HistorySuites) ProtoReflect ¶ added in v0.0.18
func (x *HistorySuites) ProtoReflect() protoreflect.Message
func (*HistorySuites) Reset ¶ added in v0.0.18
func (x *HistorySuites) Reset()
func (*HistorySuites) String ¶ added in v0.0.18
func (x *HistorySuites) String() string
type HistoryTestCase ¶ added in v0.0.18
type HistoryTestCase struct { CaseName string `protobuf:"bytes,1,opt,name=caseName,proto3" json:"caseName,omitempty"` SuiteName string `protobuf:"bytes,2,opt,name=suiteName,proto3" json:"suiteName,omitempty"` HistorySuiteName string `protobuf:"bytes,3,opt,name=historySuiteName,proto3" json:"historySuiteName,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createTime,proto3" json:"createTime,omitempty"` SuiteParam []*Pair `protobuf:"bytes,5,rep,name=suiteParam,proto3" json:"suiteParam,omitempty"` SuiteSpec *APISpec `protobuf:"bytes,6,opt,name=suiteSpec,proto3" json:"suiteSpec,omitempty"` SuiteApi string `protobuf:"bytes,7,opt,name=suiteApi,proto3" json:"suiteApi,omitempty"` Request *Request `protobuf:"bytes,8,opt,name=request,proto3" json:"request,omitempty"` Response *Response `protobuf:"bytes,9,opt,name=response,proto3" json:"response,omitempty"` ID string `protobuf:"bytes,10,opt,name=ID,proto3" json:"ID,omitempty"` HistoryHeader []*Pair `protobuf:"bytes,11,rep,name=historyHeader,proto3" json:"historyHeader,omitempty"` // contains filtered or unexported fields }
func ConvertToGRPCHistoryTestCase ¶ added in v0.0.18
func ConvertToGRPCHistoryTestCase(historyTestcase testing.HistoryTestCase) (result *HistoryTestCase)
func (*HistoryTestCase) Descriptor
deprecated
added in
v0.0.18
func (*HistoryTestCase) Descriptor() ([]byte, []int)
Deprecated: Use HistoryTestCase.ProtoReflect.Descriptor instead.
func (*HistoryTestCase) GetCaseName ¶ added in v0.0.18
func (x *HistoryTestCase) GetCaseName() string
func (*HistoryTestCase) GetCreateTime ¶ added in v0.0.18
func (x *HistoryTestCase) GetCreateTime() *timestamppb.Timestamp
func (*HistoryTestCase) GetHistoryHeader ¶ added in v0.0.18
func (x *HistoryTestCase) GetHistoryHeader() []*Pair
func (*HistoryTestCase) GetHistorySuiteName ¶ added in v0.0.18
func (x *HistoryTestCase) GetHistorySuiteName() string
func (*HistoryTestCase) GetID ¶ added in v0.0.18
func (x *HistoryTestCase) GetID() string
func (*HistoryTestCase) GetRequest ¶ added in v0.0.18
func (x *HistoryTestCase) GetRequest() *Request
func (*HistoryTestCase) GetResponse ¶ added in v0.0.18
func (x *HistoryTestCase) GetResponse() *Response
func (*HistoryTestCase) GetSuiteApi ¶ added in v0.0.18
func (x *HistoryTestCase) GetSuiteApi() string
func (*HistoryTestCase) GetSuiteName ¶ added in v0.0.18
func (x *HistoryTestCase) GetSuiteName() string
func (*HistoryTestCase) GetSuiteParam ¶ added in v0.0.18
func (x *HistoryTestCase) GetSuiteParam() []*Pair
func (*HistoryTestCase) GetSuiteSpec ¶ added in v0.0.18
func (x *HistoryTestCase) GetSuiteSpec() *APISpec
func (*HistoryTestCase) ProtoMessage ¶ added in v0.0.18
func (*HistoryTestCase) ProtoMessage()
func (*HistoryTestCase) ProtoReflect ¶ added in v0.0.18
func (x *HistoryTestCase) ProtoReflect() protoreflect.Message
func (*HistoryTestCase) Reset ¶ added in v0.0.18
func (x *HistoryTestCase) Reset()
func (*HistoryTestCase) String ¶ added in v0.0.18
func (x *HistoryTestCase) String() string
type HistoryTestCases ¶ added in v0.0.18
type HistoryTestCases struct { Data []*HistoryTestCase `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*HistoryTestCases) Descriptor
deprecated
added in
v0.0.18
func (*HistoryTestCases) Descriptor() ([]byte, []int)
Deprecated: Use HistoryTestCases.ProtoReflect.Descriptor instead.
func (*HistoryTestCases) GetData ¶ added in v0.0.18
func (x *HistoryTestCases) GetData() []*HistoryTestCase
func (*HistoryTestCases) ProtoMessage ¶ added in v0.0.18
func (*HistoryTestCases) ProtoMessage()
func (*HistoryTestCases) ProtoReflect ¶ added in v0.0.18
func (x *HistoryTestCases) ProtoReflect() protoreflect.Message
func (*HistoryTestCases) Reset ¶ added in v0.0.18
func (x *HistoryTestCases) Reset()
func (*HistoryTestCases) String ¶ added in v0.0.18
func (x *HistoryTestCases) String() string
type HistoryTestResult ¶ added in v0.0.18
type HistoryTestResult 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"` Data *HistoryTestCase `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"` // contains filtered or unexported fields }
func ToGRPCHistoryTestCaseResult ¶ added in v0.0.18
func ToGRPCHistoryTestCaseResult(historyTestResult testing.HistoryTestResult) (result *HistoryTestResult)
func (*HistoryTestResult) Descriptor
deprecated
added in
v0.0.18
func (*HistoryTestResult) Descriptor() ([]byte, []int)
Deprecated: Use HistoryTestResult.ProtoReflect.Descriptor instead.
func (*HistoryTestResult) GetCreateTime ¶ added in v0.0.18
func (x *HistoryTestResult) GetCreateTime() *timestamppb.Timestamp
func (*HistoryTestResult) GetData ¶ added in v0.0.18
func (x *HistoryTestResult) GetData() *HistoryTestCase
func (*HistoryTestResult) GetError ¶ added in v0.0.18
func (x *HistoryTestResult) GetError() string
func (*HistoryTestResult) GetMessage ¶ added in v0.0.18
func (x *HistoryTestResult) GetMessage() string
func (*HistoryTestResult) GetTestCaseResult ¶ added in v0.0.18
func (x *HistoryTestResult) GetTestCaseResult() []*TestCaseResult
func (*HistoryTestResult) ProtoMessage ¶ added in v0.0.18
func (*HistoryTestResult) ProtoMessage()
func (*HistoryTestResult) ProtoReflect ¶ added in v0.0.18
func (x *HistoryTestResult) ProtoReflect() protoreflect.Message
func (*HistoryTestResult) Reset ¶ added in v0.0.18
func (x *HistoryTestResult) Reset()
func (*HistoryTestResult) String ¶ added in v0.0.18
func (x *HistoryTestResult) 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) ProtoMessage ¶ added in v0.0.13
func (*Items) ProtoMessage()
func (*Items) ProtoReflect ¶ added in v0.0.13
func (x *Items) ProtoReflect() protoreflect.Message
type MockClient ¶ added in v0.0.17
type MockClient interface { Reload(ctx context.Context, in *MockConfig, opts ...grpc.CallOption) (*Empty, error) GetConfig(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MockConfig, error) }
MockClient is the client API for Mock 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 NewMockClient ¶ added in v0.0.17
func NewMockClient(cc grpc.ClientConnInterface) MockClient
type MockConfig ¶ added in v0.0.17
type MockConfig struct { Prefix string `protobuf:"bytes,1,opt,name=Prefix,proto3" json:"Prefix,omitempty"` Config string `protobuf:"bytes,2,opt,name=Config,proto3" json:"Config,omitempty"` Port int32 `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
func (*MockConfig) Descriptor
deprecated
added in
v0.0.17
func (*MockConfig) Descriptor() ([]byte, []int)
Deprecated: Use MockConfig.ProtoReflect.Descriptor instead.
func (*MockConfig) GetConfig ¶ added in v0.0.17
func (x *MockConfig) GetConfig() string
func (*MockConfig) GetPort ¶ added in v0.0.18
func (x *MockConfig) GetPort() int32
func (*MockConfig) GetPrefix ¶ added in v0.0.17
func (x *MockConfig) GetPrefix() string
func (*MockConfig) ProtoMessage ¶ added in v0.0.17
func (*MockConfig) ProtoMessage()
func (*MockConfig) ProtoReflect ¶ added in v0.0.17
func (x *MockConfig) ProtoReflect() protoreflect.Message
func (*MockConfig) Reset ¶ added in v0.0.17
func (x *MockConfig) Reset()
func (*MockConfig) String ¶ added in v0.0.17
func (x *MockConfig) String() string
type MockServer ¶ added in v0.0.17
type MockServer interface { Reload(context.Context, *MockConfig) (*Empty, error) GetConfig(context.Context, *Empty) (*MockConfig, error) // contains filtered or unexported methods }
MockServer is the server API for Mock service. All implementations must embed UnimplementedMockServer for forward compatibility
func NewMockServerController ¶ added in v0.0.17
func NewMockServerController(mockWriter mock.ReaderAndWriter, loader mock.Loadable, combinePort int) MockServer
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) ProtoMessage ¶ added in v0.0.15
func (*PProfData) ProtoMessage()
func (*PProfData) ProtoReflect ¶ added in v0.0.15
func (x *PProfData) ProtoReflect() protoreflect.Message
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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Pair) Descriptor
deprecated
added in
v0.0.13
func (*Pair) GetDescription ¶ added in v0.0.18
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
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) ProtoMessage ¶ added in v0.0.13
func (*Pairs) ProtoMessage()
func (*Pairs) ProtoReflect ¶ added in v0.0.13
func (x *Pairs) ProtoReflect() protoreflect.Message
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) GetProtofile ¶ added in v0.0.14
func (*RPC) GetProtoset ¶ added in v0.0.14
func (*RPC) GetServerReflection ¶ added in v0.0.14
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
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"` Cookie []*Pair `protobuf:"bytes,5,rep,name=cookie,proto3" json:"cookie,omitempty"` Form []*Pair `protobuf:"bytes,6,rep,name=form,proto3" json:"form,omitempty"` Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
added in
v0.0.13
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
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) GetBodyFieldsExpect ¶ added in v0.0.13
func (*Response) GetConditionalVerify ¶ added in v0.0.14
func (x *Response) GetConditionalVerify() []*ConditionalVerify
func (*Response) GetStatusCode ¶ added in v0.0.13
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
type RunnerClient ¶
type RunnerClient interface { // belong to a specific store Run(ctx context.Context, in *TestTask, opts ...grpc.CallOption) (*TestResult, error) RunTestSuite(ctx context.Context, opts ...grpc.CallOption) (Runner_RunTestSuiteClient, error) // test suites related 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) DuplicateTestSuite(ctx context.Context, in *TestSuiteDuplicate, opts ...grpc.CallOption) (*HelloReply, error) RenameTestSuite(ctx context.Context, in *TestSuiteDuplicate, opts ...grpc.CallOption) (*HelloReply, error) GetTestSuiteYaml(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*YamlData, error) // test cases related ListTestCase(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*Suite, error) // run target test case of a specific test suite RunTestCase(ctx context.Context, in *TestCaseIdentity, opts ...grpc.CallOption) (*TestCaseResult, error) BatchRun(ctx context.Context, opts ...grpc.CallOption) (Runner_BatchRunClient, 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) DuplicateTestCase(ctx context.Context, in *TestCaseDuplicate, opts ...grpc.CallOption) (*HelloReply, error) RenameTestCase(ctx context.Context, in *TestCaseDuplicate, opts ...grpc.CallOption) (*HelloReply, error) GetSuggestedAPIs(ctx context.Context, in *TestSuiteIdentity, opts ...grpc.CallOption) (*TestCases, error) // history test related GetHistorySuites(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HistorySuites, error) GetHistoryTestCaseWithResult(ctx context.Context, in *HistoryTestCase, opts ...grpc.CallOption) (*HistoryTestResult, error) GetHistoryTestCase(ctx context.Context, in *HistoryTestCase, opts ...grpc.CallOption) (*HistoryTestCase, error) DeleteHistoryTestCase(ctx context.Context, in *HistoryTestCase, opts ...grpc.CallOption) (*HelloReply, error) DeleteAllHistoryTestCase(ctx context.Context, in *HistoryTestCase, opts ...grpc.CallOption) (*HelloReply, error) GetTestCaseAllHistory(ctx context.Context, in *TestCase, opts ...grpc.CallOption) (*HistoryTestCases, 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) HistoryGenerateCode(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) (*Version, error) Sample(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HelloReply, error) DownloadResponseFile(ctx context.Context, in *TestCase, opts ...grpc.CallOption) (*FileData, 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) RunTestSuite(Runner_RunTestSuiteServer) error // test suites related 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) DuplicateTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error) RenameTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error) GetTestSuiteYaml(context.Context, *TestSuiteIdentity) (*YamlData, error) // test cases related ListTestCase(context.Context, *TestSuiteIdentity) (*Suite, error) // run target test case of a specific test suite RunTestCase(context.Context, *TestCaseIdentity) (*TestCaseResult, error) BatchRun(Runner_BatchRunServer) 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) DuplicateTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error) RenameTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error) GetSuggestedAPIs(context.Context, *TestSuiteIdentity) (*TestCases, error) // history test related GetHistorySuites(context.Context, *Empty) (*HistorySuites, error) GetHistoryTestCaseWithResult(context.Context, *HistoryTestCase) (*HistoryTestResult, error) GetHistoryTestCase(context.Context, *HistoryTestCase) (*HistoryTestCase, error) DeleteHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error) DeleteAllHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error) GetTestCaseAllHistory(context.Context, *TestCase) (*HistoryTestCases, error) // code generator ListCodeGenerator(context.Context, *Empty) (*SimpleList, error) GenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error) HistoryGenerateCode(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) (*Version, error) Sample(context.Context, *Empty) (*HelloReply, error) DownloadResponseFile(context.Context, *TestCase) (*FileData, 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, grpcMaxRecvMsgSize int) 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_BatchRunClient ¶ added in v0.0.18
type Runner_BatchRunClient interface { Send(*BatchTestTask) error Recv() (*TestResult, error) grpc.ClientStream }
type Runner_BatchRunServer ¶ added in v0.0.18
type Runner_BatchRunServer interface { Send(*TestResult) error Recv() (*BatchTestTask, error) grpc.ServerStream }
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 Runner_RunTestSuiteClient ¶ added in v0.0.17
type Runner_RunTestSuiteClient interface { Send(*TestSuiteIdentity) error Recv() (*TestResult, error) grpc.ClientStream }
type Runner_RunTestSuiteServer ¶ added in v0.0.17
type Runner_RunTestSuiteServer interface { Send(*TestResult) error Recv() (*TestSuiteIdentity, error) grpc.ServerStream }
type SecertServiceGetable ¶ added in v0.0.13
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) GetDescription ¶ added in v0.0.13
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
type SecretServiceServer ¶ added in v0.0.13
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) ProtoMessage ¶ added in v0.0.13
func (*Secrets) ProtoMessage()
func (*Secrets) ProtoReflect ¶ added in v0.0.13
func (x *Secrets) ProtoReflect() protoreflect.Message
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) GetInsecure ¶ added in v0.0.14
func (*Secure) GetServerName ¶ added in v0.0.14
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
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
ToGRPCStore convert the normal store to GRPC store
func (*Store) Descriptor
deprecated
added in
v0.0.13
func (*Store) GetDescription ¶ added in v0.0.13
func (*Store) GetDisabled ¶ added in v0.0.15
func (*Store) GetPassword ¶ added in v0.0.13
func (*Store) GetProperties ¶ added in v0.0.13
func (*Store) GetReadOnly ¶ added in v0.0.15
func (*Store) GetUsername ¶ added in v0.0.13
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
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) GetEnabled ¶ added in v0.0.14
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
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) ProtoMessage ¶ added in v0.0.13
func (*Stores) ProtoMessage()
func (*Stores) ProtoReflect ¶ added in v0.0.13
func (x *Stores) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v0.0.13
func (*Suite) ProtoMessage()
func (*Suite) ProtoReflect ¶ added in v0.0.13
func (x *Suite) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v0.0.13
func (*Suites) ProtoMessage()
func (*Suites) ProtoReflect ¶ added in v0.0.13
func (x *Suites) ProtoReflect() protoreflect.Message
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"` Server string `protobuf:"bytes,5,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func ToGRPCTestCase ¶ added in v0.0.14
func (*TestCase) Descriptor
deprecated
added in
v0.0.13
func (*TestCase) GetRequest ¶ added in v0.0.13
func (*TestCase) GetResponse ¶ added in v0.0.13
func (*TestCase) GetSuiteName ¶ added in v0.0.13
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
type TestCaseDuplicate ¶ added in v0.0.17
type TestCaseDuplicate struct { SourceSuiteName string `protobuf:"bytes,1,opt,name=sourceSuiteName,proto3" json:"sourceSuiteName,omitempty"` SourceCaseName string `protobuf:"bytes,2,opt,name=sourceCaseName,proto3" json:"sourceCaseName,omitempty"` TargetSuiteName string `protobuf:"bytes,3,opt,name=targetSuiteName,proto3" json:"targetSuiteName,omitempty"` TargetCaseName string `protobuf:"bytes,4,opt,name=targetCaseName,proto3" json:"targetCaseName,omitempty"` // contains filtered or unexported fields }
func (*TestCaseDuplicate) Descriptor
deprecated
added in
v0.0.17
func (*TestCaseDuplicate) Descriptor() ([]byte, []int)
Deprecated: Use TestCaseDuplicate.ProtoReflect.Descriptor instead.
func (*TestCaseDuplicate) GetSourceCaseName ¶ added in v0.0.17
func (x *TestCaseDuplicate) GetSourceCaseName() string
func (*TestCaseDuplicate) GetSourceSuiteName ¶ added in v0.0.17
func (x *TestCaseDuplicate) GetSourceSuiteName() string
func (*TestCaseDuplicate) GetTargetCaseName ¶ added in v0.0.17
func (x *TestCaseDuplicate) GetTargetCaseName() string
func (*TestCaseDuplicate) GetTargetSuiteName ¶ added in v0.0.17
func (x *TestCaseDuplicate) GetTargetSuiteName() string
func (*TestCaseDuplicate) ProtoMessage ¶ added in v0.0.17
func (*TestCaseDuplicate) ProtoMessage()
func (*TestCaseDuplicate) ProtoReflect ¶ added in v0.0.17
func (x *TestCaseDuplicate) ProtoReflect() protoreflect.Message
func (*TestCaseDuplicate) Reset ¶ added in v0.0.17
func (x *TestCaseDuplicate) Reset()
func (*TestCaseDuplicate) String ¶ added in v0.0.17
func (x *TestCaseDuplicate) 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) ProtoMessage ¶ added in v0.0.13
func (*TestCases) ProtoMessage()
func (*TestCases) ProtoReflect ¶ added in v0.0.13
func (x *TestCases) ProtoReflect() protoreflect.Message
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 (*TestSuite) Descriptor
deprecated
added in
v0.0.13
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
type TestSuiteDuplicate ¶ added in v0.0.17
type TestSuiteDuplicate struct { SourceSuiteName string `protobuf:"bytes,1,opt,name=sourceSuiteName,proto3" json:"sourceSuiteName,omitempty"` TargetSuiteName string `protobuf:"bytes,2,opt,name=targetSuiteName,proto3" json:"targetSuiteName,omitempty"` // contains filtered or unexported fields }
func (*TestSuiteDuplicate) Descriptor
deprecated
added in
v0.0.17
func (*TestSuiteDuplicate) Descriptor() ([]byte, []int)
Deprecated: Use TestSuiteDuplicate.ProtoReflect.Descriptor instead.
func (*TestSuiteDuplicate) GetSourceSuiteName ¶ added in v0.0.17
func (x *TestSuiteDuplicate) GetSourceSuiteName() string
func (*TestSuiteDuplicate) GetTargetSuiteName ¶ added in v0.0.17
func (x *TestSuiteDuplicate) GetTargetSuiteName() string
func (*TestSuiteDuplicate) ProtoMessage ¶ added in v0.0.17
func (*TestSuiteDuplicate) ProtoMessage()
func (*TestSuiteDuplicate) ProtoReflect ¶ added in v0.0.17
func (x *TestSuiteDuplicate) ProtoReflect() protoreflect.Message
func (*TestSuiteDuplicate) Reset ¶ added in v0.0.17
func (x *TestSuiteDuplicate) Reset()
func (*TestSuiteDuplicate) String ¶ added in v0.0.17
func (x *TestSuiteDuplicate) 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) GetCaseName ¶ added in v0.0.8
func (*TestTask) GetParameters ¶ added in v0.0.14
func (*TestTask) ProtoMessage ¶
func (*TestTask) ProtoMessage()
func (*TestTask) ProtoReflect ¶ added in v0.0.12
func (x *TestTask) ProtoReflect() protoreflect.Message
type UnimplementedMockServer ¶ added in v0.0.17
type UnimplementedMockServer struct { }
UnimplementedMockServer must be embedded to have forward compatible implementations.
func (UnimplementedMockServer) GetConfig ¶ added in v0.0.17
func (UnimplementedMockServer) GetConfig(context.Context, *Empty) (*MockConfig, error)
func (UnimplementedMockServer) Reload ¶ added in v0.0.17
func (UnimplementedMockServer) Reload(context.Context, *MockConfig) (*Empty, error)
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
func (UnimplementedRunnerExtensionServer) Run(context.Context, *TestSuiteWithCase) (*CommonResult, error)
type UnimplementedRunnerServer ¶
type UnimplementedRunnerServer struct { }
UnimplementedRunnerServer must be embedded to have forward compatible implementations.
func (UnimplementedRunnerServer) BatchRun ¶ added in v0.0.18
func (UnimplementedRunnerServer) BatchRun(Runner_BatchRunServer) error
func (UnimplementedRunnerServer) ConvertTestSuite ¶ added in v0.0.13
func (UnimplementedRunnerServer) ConvertTestSuite(context.Context, *CodeGenerateRequest) (*CommonResult, error)
func (UnimplementedRunnerServer) CreateSecret ¶ added in v0.0.13
func (UnimplementedRunnerServer) CreateSecret(context.Context, *Secret) (*CommonResult, error)
func (UnimplementedRunnerServer) CreateStore ¶ added in v0.0.13
func (UnimplementedRunnerServer) CreateTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) CreateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
func (UnimplementedRunnerServer) CreateTestSuite ¶ added in v0.0.13
func (UnimplementedRunnerServer) CreateTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
func (UnimplementedRunnerServer) DeleteAllHistoryTestCase ¶ added in v0.0.18
func (UnimplementedRunnerServer) DeleteAllHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error)
func (UnimplementedRunnerServer) DeleteHistoryTestCase ¶ added in v0.0.18
func (UnimplementedRunnerServer) DeleteHistoryTestCase(context.Context, *HistoryTestCase) (*HelloReply, error)
func (UnimplementedRunnerServer) DeleteSecret ¶ added in v0.0.13
func (UnimplementedRunnerServer) DeleteSecret(context.Context, *Secret) (*CommonResult, error)
func (UnimplementedRunnerServer) DeleteStore ¶ added in v0.0.13
func (UnimplementedRunnerServer) DeleteTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) DeleteTestCase(context.Context, *TestCaseIdentity) (*HelloReply, error)
func (UnimplementedRunnerServer) DeleteTestSuite ¶ added in v0.0.13
func (UnimplementedRunnerServer) DeleteTestSuite(context.Context, *TestSuiteIdentity) (*HelloReply, error)
func (UnimplementedRunnerServer) DownloadResponseFile ¶ added in v0.0.18
func (UnimplementedRunnerServer) DuplicateTestCase ¶ added in v0.0.17
func (UnimplementedRunnerServer) DuplicateTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error)
func (UnimplementedRunnerServer) DuplicateTestSuite ¶ added in v0.0.17
func (UnimplementedRunnerServer) DuplicateTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error)
func (UnimplementedRunnerServer) FunctionsQuery ¶ added in v0.0.13
func (UnimplementedRunnerServer) FunctionsQuery(context.Context, *SimpleQuery) (*Pairs, error)
func (UnimplementedRunnerServer) FunctionsQueryStream ¶ added in v0.0.13
func (UnimplementedRunnerServer) FunctionsQueryStream(Runner_FunctionsQueryStreamServer) error
func (UnimplementedRunnerServer) GenerateCode ¶ added in v0.0.13
func (UnimplementedRunnerServer) GenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error)
func (UnimplementedRunnerServer) GetHistorySuites ¶ added in v0.0.18
func (UnimplementedRunnerServer) GetHistorySuites(context.Context, *Empty) (*HistorySuites, error)
func (UnimplementedRunnerServer) GetHistoryTestCase ¶ added in v0.0.18
func (UnimplementedRunnerServer) GetHistoryTestCase(context.Context, *HistoryTestCase) (*HistoryTestCase, error)
func (UnimplementedRunnerServer) GetHistoryTestCaseWithResult ¶ added in v0.0.18
func (UnimplementedRunnerServer) GetHistoryTestCaseWithResult(context.Context, *HistoryTestCase) (*HistoryTestResult, error)
func (UnimplementedRunnerServer) GetSecrets ¶ added in v0.0.13
func (UnimplementedRunnerServer) GetStoreKinds ¶ added in v0.0.13
func (UnimplementedRunnerServer) GetStoreKinds(context.Context, *Empty) (*StoreKinds, error)
func (UnimplementedRunnerServer) GetSuggestedAPIs ¶ added in v0.0.13
func (UnimplementedRunnerServer) GetSuggestedAPIs(context.Context, *TestSuiteIdentity) (*TestCases, error)
func (UnimplementedRunnerServer) GetTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) GetTestCase(context.Context, *TestCaseIdentity) (*TestCase, error)
func (UnimplementedRunnerServer) GetTestCaseAllHistory ¶ added in v0.0.18
func (UnimplementedRunnerServer) GetTestCaseAllHistory(context.Context, *TestCase) (*HistoryTestCases, error)
func (UnimplementedRunnerServer) GetTestSuite ¶ added in v0.0.13
func (UnimplementedRunnerServer) GetTestSuite(context.Context, *TestSuiteIdentity) (*TestSuite, error)
func (UnimplementedRunnerServer) GetTestSuiteYaml ¶ added in v0.0.17
func (UnimplementedRunnerServer) GetTestSuiteYaml(context.Context, *TestSuiteIdentity) (*YamlData, error)
func (UnimplementedRunnerServer) GetVersion ¶ added in v0.0.8
func (UnimplementedRunnerServer) HistoryGenerateCode ¶ added in v0.0.18
func (UnimplementedRunnerServer) HistoryGenerateCode(context.Context, *CodeGenerateRequest) (*CommonResult, error)
func (UnimplementedRunnerServer) ImportTestSuite ¶ added in v0.0.14
func (UnimplementedRunnerServer) ImportTestSuite(context.Context, *TestSuiteSource) (*CommonResult, error)
func (UnimplementedRunnerServer) ListCodeGenerator ¶ added in v0.0.13
func (UnimplementedRunnerServer) ListCodeGenerator(context.Context, *Empty) (*SimpleList, error)
func (UnimplementedRunnerServer) ListConverter ¶ added in v0.0.13
func (UnimplementedRunnerServer) ListConverter(context.Context, *Empty) (*SimpleList, error)
func (UnimplementedRunnerServer) ListTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) ListTestCase(context.Context, *TestSuiteIdentity) (*Suite, error)
func (UnimplementedRunnerServer) PProf ¶ added in v0.0.15
func (UnimplementedRunnerServer) PProf(context.Context, *PProfRequest) (*PProfData, error)
func (UnimplementedRunnerServer) PopularHeaders ¶ added in v0.0.13
func (UnimplementedRunnerServer) RenameTestCase ¶ added in v0.0.18
func (UnimplementedRunnerServer) RenameTestCase(context.Context, *TestCaseDuplicate) (*HelloReply, error)
func (UnimplementedRunnerServer) RenameTestSuite ¶ added in v0.0.18
func (UnimplementedRunnerServer) RenameTestSuite(context.Context, *TestSuiteDuplicate) (*HelloReply, error)
func (UnimplementedRunnerServer) Run ¶
func (UnimplementedRunnerServer) Run(context.Context, *TestTask) (*TestResult, error)
func (UnimplementedRunnerServer) RunTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) RunTestCase(context.Context, *TestCaseIdentity) (*TestCaseResult, error)
func (UnimplementedRunnerServer) RunTestSuite ¶ added in v0.0.17
func (UnimplementedRunnerServer) RunTestSuite(Runner_RunTestSuiteServer) error
func (UnimplementedRunnerServer) Sample ¶ added in v0.0.12
func (UnimplementedRunnerServer) Sample(context.Context, *Empty) (*HelloReply, error)
func (UnimplementedRunnerServer) UpdateSecret ¶ added in v0.0.13
func (UnimplementedRunnerServer) UpdateSecret(context.Context, *Secret) (*CommonResult, error)
func (UnimplementedRunnerServer) UpdateStore ¶ added in v0.0.13
func (UnimplementedRunnerServer) UpdateTestCase ¶ added in v0.0.13
func (UnimplementedRunnerServer) UpdateTestCase(context.Context, *TestCaseWithSuite) (*HelloReply, error)
func (UnimplementedRunnerServer) UpdateTestSuite ¶ added in v0.0.13
func (UnimplementedRunnerServer) UpdateTestSuite(context.Context, *TestSuite) (*HelloReply, error)
func (UnimplementedRunnerServer) VerifyStore ¶ added in v0.0.13
func (UnimplementedRunnerServer) VerifyStore(context.Context, *SimpleQuery) (*ExtensionStatus, error)
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 UnsafeMockServer ¶ added in v0.0.17
type UnsafeMockServer interface {
// contains filtered or unexported methods
}
UnsafeMockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MockServer will result in compilation errors.
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.
type Version ¶ added in v0.0.18
type Version struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
added in
v0.0.18
func (*Version) GetVersion ¶ added in v0.0.18
func (*Version) ProtoMessage ¶ added in v0.0.18
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶ added in v0.0.18
func (x *Version) ProtoReflect() protoreflect.Message
type YamlData ¶ added in v0.0.17
type YamlData struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*YamlData) Descriptor
deprecated
added in
v0.0.17
func (*YamlData) ProtoMessage ¶ added in v0.0.17
func (*YamlData) ProtoMessage()
func (*YamlData) ProtoReflect ¶ added in v0.0.17
func (x *YamlData) ProtoReflect() protoreflect.Message