Documentation ¶
Overview ¶
Package gauge_messages is a generated protocol buffer package.
It is generated from these files:
api.proto api_v2.proto messages.proto spec.proto
It has these top-level messages:
GetProjectRootRequest GetProjectRootResponse GetInstallationRootRequest GetInstallationRootResponse GetAllStepsRequest GetAllStepsResponse GetAllSpecsRequest GetAllSpecsResponse GetAllConceptsRequest GetAllConceptsResponse ConceptInfo GetStepValueRequest GetStepValueResponse GetLanguagePluginLibPathRequest GetLanguagePluginLibPathResponse ErrorResponse PerformRefactoringRequest PerformRefactoringResponse ExtractConceptInfoRequest ExtractConceptRequest TextInfo Step ExtractConceptResponse FormatSpecsRequest FormatSpecsResponse UnsupportedApiMessageResponse APIMessage ExecutionRequest ExecutionResponse KillProcessRequest ExecutionStatusResponse ExecutionStartingRequest ExecutionEndingRequest SpecExecutionStartingRequest SpecExecutionEndingRequest ScenarioExecutionStartingRequest ScenarioExecutionEndingRequest StepExecutionStartingRequest StepExecutionEndingRequest ExecutionInfo SpecInfo ScenarioInfo StepInfo ExecuteStepRequest StepValidateRequest StepValidateResponse SuiteExecutionResult StepNamesRequest StepNamesResponse ScenarioDataStoreInitRequest SpecDataStoreInitRequest SuiteDataStoreInitRequest ParameterPosition RefactorRequest RefactorResponse StepNameRequest StepNameResponse UnsupportedMessageResponse Message ProtoSpec ProtoItem ProtoScenario ProtoTableDrivenScenario ProtoStep ProtoConcept ProtoTags Fragment Parameter ProtoComment ProtoTable ProtoTableRow ProtoStepExecutionResult ProtoExecutionResult ProtoHookFailure ProtoSuiteResult ProtoSpecResult ProtoStepValue
Index ¶
- Variables
- type APIMessage
- func (*APIMessage) Descriptor() ([]byte, []int)
- func (m *APIMessage) GetAllConceptsRequest() *GetAllConceptsRequest
- func (m *APIMessage) GetAllConceptsResponse() *GetAllConceptsResponse
- func (m *APIMessage) GetAllSpecsRequest() *GetAllSpecsRequest
- func (m *APIMessage) GetAllSpecsResponse() *GetAllSpecsResponse
- func (m *APIMessage) GetAllStepsRequest() *GetAllStepsRequest
- func (m *APIMessage) GetAllStepsResponse() *GetAllStepsResponse
- func (m *APIMessage) GetError() *ErrorResponse
- func (m *APIMessage) GetExecutionRequest() *ExecutionRequest
- func (m *APIMessage) GetExecutionResponse() *ExecutionResponse
- func (m *APIMessage) GetExtractConceptRequest() *ExtractConceptRequest
- func (m *APIMessage) GetExtractConceptResponse() *ExtractConceptResponse
- func (m *APIMessage) GetFormatSpecsRequest() *FormatSpecsRequest
- func (m *APIMessage) GetFormatSpecsResponse() *FormatSpecsResponse
- func (m *APIMessage) GetInstallationRootRequest() *GetInstallationRootRequest
- func (m *APIMessage) GetInstallationRootResponse() *GetInstallationRootResponse
- func (m *APIMessage) GetLibPathRequest() *GetLanguagePluginLibPathRequest
- func (m *APIMessage) GetLibPathResponse() *GetLanguagePluginLibPathResponse
- func (m *APIMessage) GetMessageId() int64
- func (m *APIMessage) GetMessageType() APIMessage_APIMessageType
- func (m *APIMessage) GetPerformRefactoringRequest() *PerformRefactoringRequest
- func (m *APIMessage) GetPerformRefactoringResponse() *PerformRefactoringResponse
- func (m *APIMessage) GetProjectRootRequest() *GetProjectRootRequest
- func (m *APIMessage) GetProjectRootResponse() *GetProjectRootResponse
- func (m *APIMessage) GetStepValueRequest() *GetStepValueRequest
- func (m *APIMessage) GetStepValueResponse() *GetStepValueResponse
- func (m *APIMessage) GetUnsupportedApiMessageResponse() *UnsupportedApiMessageResponse
- func (*APIMessage) ProtoMessage()
- func (m *APIMessage) Reset()
- func (m *APIMessage) String() string
- type APIMessage_APIMessageType
- type ConceptInfo
- type ErrorResponse
- type ExecuteStepRequest
- func (*ExecuteStepRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteStepRequest) GetActualStepText() string
- func (m *ExecuteStepRequest) GetParameters() []*Parameter
- func (m *ExecuteStepRequest) GetParsedStepText() string
- func (m *ExecuteStepRequest) GetScenarioFailing() bool
- func (*ExecuteStepRequest) ProtoMessage()
- func (m *ExecuteStepRequest) Reset()
- func (m *ExecuteStepRequest) String() string
- type ExecutionEndingRequest
- type ExecutionInfo
- func (*ExecutionInfo) Descriptor() ([]byte, []int)
- func (m *ExecutionInfo) GetCurrentScenario() *ScenarioInfo
- func (m *ExecutionInfo) GetCurrentSpec() *SpecInfo
- func (m *ExecutionInfo) GetCurrentStep() *StepInfo
- func (m *ExecutionInfo) GetStacktrace() string
- func (*ExecutionInfo) ProtoMessage()
- func (m *ExecutionInfo) Reset()
- func (m *ExecutionInfo) String() string
- type ExecutionRequest
- func (*ExecutionRequest) Descriptor() ([]byte, []int)
- func (m *ExecutionRequest) GetEnvironment() string
- func (m *ExecutionRequest) GetGroup() int32
- func (m *ExecutionRequest) GetIsParallel() bool
- func (m *ExecutionRequest) GetLogLevel() ExecutionRequest_LogLevel
- func (m *ExecutionRequest) GetParallelStreams() int32
- func (m *ExecutionRequest) GetSimpleConsole() bool
- func (m *ExecutionRequest) GetSort() bool
- func (m *ExecutionRequest) GetSpecs() []string
- func (m *ExecutionRequest) GetStrategy() ExecutionRequest_Strategy
- func (m *ExecutionRequest) GetTableRows() string
- func (m *ExecutionRequest) GetTags() string
- func (m *ExecutionRequest) GetWorkingDir() string
- func (*ExecutionRequest) ProtoMessage()
- func (m *ExecutionRequest) Reset()
- func (m *ExecutionRequest) String() string
- type ExecutionRequest_LogLevel
- type ExecutionRequest_Strategy
- type ExecutionResponse
- func (*ExecutionResponse) Descriptor() ([]byte, []int)
- func (m *ExecutionResponse) GetError() []*ExecutionResponse_ExecutionError
- func (m *ExecutionResponse) GetExecutionTime() int64
- func (m *ExecutionResponse) GetID() string
- func (m *ExecutionResponse) GetStatus() ExecutionResponse_Status
- func (m *ExecutionResponse) GetStdout() string
- func (m *ExecutionResponse) GetType() ExecutionResponse_ExecutionResponseType
- func (*ExecutionResponse) ProtoMessage()
- func (m *ExecutionResponse) Reset()
- func (m *ExecutionResponse) String() string
- type ExecutionResponse_ExecutionError
- func (*ExecutionResponse_ExecutionError) Descriptor() ([]byte, []int)
- func (m *ExecutionResponse_ExecutionError) GetErrorMessage() string
- func (m *ExecutionResponse_ExecutionError) GetScreenShot() []byte
- func (m *ExecutionResponse_ExecutionError) GetStackTrace() string
- func (*ExecutionResponse_ExecutionError) ProtoMessage()
- func (m *ExecutionResponse_ExecutionError) Reset()
- func (m *ExecutionResponse_ExecutionError) String() string
- type ExecutionResponse_ExecutionResponseType
- func (x ExecutionResponse_ExecutionResponseType) Enum() *ExecutionResponse_ExecutionResponseType
- func (ExecutionResponse_ExecutionResponseType) EnumDescriptor() ([]byte, []int)
- func (x ExecutionResponse_ExecutionResponseType) String() string
- func (x *ExecutionResponse_ExecutionResponseType) UnmarshalJSON(data []byte) error
- type ExecutionResponse_Status
- type ExecutionStartingRequest
- type ExecutionStatusResponse
- type ExtractConceptInfoRequest
- type ExtractConceptRequest
- func (*ExtractConceptRequest) Descriptor() ([]byte, []int)
- func (m *ExtractConceptRequest) GetChangeAcrossProject() bool
- func (m *ExtractConceptRequest) GetConceptFileName() string
- func (m *ExtractConceptRequest) GetConceptName() *Step
- func (m *ExtractConceptRequest) GetSelectedTextInfo() *TextInfo
- func (m *ExtractConceptRequest) GetSteps() []*Step
- func (*ExtractConceptRequest) ProtoMessage()
- func (m *ExtractConceptRequest) Reset()
- func (m *ExtractConceptRequest) String() string
- type ExtractConceptResponse
- func (*ExtractConceptResponse) Descriptor() ([]byte, []int)
- func (m *ExtractConceptResponse) GetError() string
- func (m *ExtractConceptResponse) GetFilesChanged() []string
- func (m *ExtractConceptResponse) GetIsSuccess() bool
- func (*ExtractConceptResponse) ProtoMessage()
- func (m *ExtractConceptResponse) Reset()
- func (m *ExtractConceptResponse) String() string
- type FormatSpecsRequest
- type FormatSpecsResponse
- type Fragment
- type Fragment_FragmentType
- type GetAllConceptsRequest
- type GetAllConceptsResponse
- type GetAllSpecsRequest
- type GetAllSpecsResponse
- type GetAllStepsRequest
- type GetAllStepsResponse
- type GetInstallationRootRequest
- type GetInstallationRootResponse
- type GetLanguagePluginLibPathRequest
- type GetLanguagePluginLibPathResponse
- type GetProjectRootRequest
- type GetProjectRootResponse
- type GetStepValueRequest
- type GetStepValueResponse
- type KillProcessRequest
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetExecuteStepRequest() *ExecuteStepRequest
- func (m *Message) GetExecutionEndingRequest() *ExecutionEndingRequest
- func (m *Message) GetExecutionStartingRequest() *ExecutionStartingRequest
- func (m *Message) GetExecutionStatusResponse() *ExecutionStatusResponse
- func (m *Message) GetKillProcessRequest() *KillProcessRequest
- func (m *Message) GetMessageId() int64
- func (m *Message) GetMessageType() Message_MessageType
- func (m *Message) GetRefactorRequest() *RefactorRequest
- func (m *Message) GetRefactorResponse() *RefactorResponse
- func (m *Message) GetScenarioDataStoreInitRequest() *ScenarioDataStoreInitRequest
- func (m *Message) GetScenarioExecutionEndingRequest() *ScenarioExecutionEndingRequest
- func (m *Message) GetScenarioExecutionStartingRequest() *ScenarioExecutionStartingRequest
- func (m *Message) GetSpecDataStoreInitRequest() *SpecDataStoreInitRequest
- func (m *Message) GetSpecExecutionEndingRequest() *SpecExecutionEndingRequest
- func (m *Message) GetSpecExecutionStartingRequest() *SpecExecutionStartingRequest
- func (m *Message) GetStepExecutionEndingRequest() *StepExecutionEndingRequest
- func (m *Message) GetStepExecutionStartingRequest() *StepExecutionStartingRequest
- func (m *Message) GetStepNameRequest() *StepNameRequest
- func (m *Message) GetStepNameResponse() *StepNameResponse
- func (m *Message) GetStepNamesRequest() *StepNamesRequest
- func (m *Message) GetStepNamesResponse() *StepNamesResponse
- func (m *Message) GetStepValidateRequest() *StepValidateRequest
- func (m *Message) GetStepValidateResponse() *StepValidateResponse
- func (m *Message) GetSuiteDataStoreInitRequest() *SuiteDataStoreInitRequest
- func (m *Message) GetSuiteExecutionResult() *SuiteExecutionResult
- func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- type Message_MessageType
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)
- func (m *Parameter) GetName() string
- func (m *Parameter) GetParameterType() Parameter_ParameterType
- func (m *Parameter) GetTable() *ProtoTable
- func (m *Parameter) GetValue() string
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) String() string
- type ParameterPosition
- type Parameter_ParameterType
- type PerformRefactoringRequest
- func (*PerformRefactoringRequest) Descriptor() ([]byte, []int)
- func (m *PerformRefactoringRequest) GetNewStep() string
- func (m *PerformRefactoringRequest) GetOldStep() string
- func (*PerformRefactoringRequest) ProtoMessage()
- func (m *PerformRefactoringRequest) Reset()
- func (m *PerformRefactoringRequest) String() string
- type PerformRefactoringResponse
- func (*PerformRefactoringResponse) Descriptor() ([]byte, []int)
- func (m *PerformRefactoringResponse) GetErrors() []string
- func (m *PerformRefactoringResponse) GetFilesChanged() []string
- func (m *PerformRefactoringResponse) GetSuccess() bool
- func (*PerformRefactoringResponse) ProtoMessage()
- func (m *PerformRefactoringResponse) Reset()
- func (m *PerformRefactoringResponse) String() string
- type ProtoComment
- type ProtoConcept
- func (*ProtoConcept) Descriptor() ([]byte, []int)
- func (m *ProtoConcept) GetConceptExecutionResult() *ProtoStepExecutionResult
- func (m *ProtoConcept) GetConceptStep() *ProtoStep
- func (m *ProtoConcept) GetSteps() []*ProtoItem
- func (*ProtoConcept) ProtoMessage()
- func (m *ProtoConcept) Reset()
- func (m *ProtoConcept) String() string
- type ProtoExecutionResult
- func (*ProtoExecutionResult) Descriptor() ([]byte, []int)
- func (m *ProtoExecutionResult) GetErrorMessage() string
- func (m *ProtoExecutionResult) GetErrorType() ProtoExecutionResult_ErrorType
- func (m *ProtoExecutionResult) GetExecutionTime() int64
- func (m *ProtoExecutionResult) GetFailed() bool
- func (m *ProtoExecutionResult) GetMessage() []string
- func (m *ProtoExecutionResult) GetRecoverableError() bool
- func (m *ProtoExecutionResult) GetScreenShot() []byte
- func (m *ProtoExecutionResult) GetStackTrace() string
- func (*ProtoExecutionResult) ProtoMessage()
- func (m *ProtoExecutionResult) Reset()
- func (m *ProtoExecutionResult) String() string
- type ProtoExecutionResult_ErrorType
- type ProtoHookFailure
- func (*ProtoHookFailure) Descriptor() ([]byte, []int)
- func (m *ProtoHookFailure) GetErrorMessage() string
- func (m *ProtoHookFailure) GetScreenShot() []byte
- func (m *ProtoHookFailure) GetStackTrace() string
- func (*ProtoHookFailure) ProtoMessage()
- func (m *ProtoHookFailure) Reset()
- func (m *ProtoHookFailure) String() string
- type ProtoItem
- func (*ProtoItem) Descriptor() ([]byte, []int)
- func (m *ProtoItem) GetComment() *ProtoComment
- func (m *ProtoItem) GetConcept() *ProtoConcept
- func (m *ProtoItem) GetItemType() ProtoItem_ItemType
- func (m *ProtoItem) GetScenario() *ProtoScenario
- func (m *ProtoItem) GetStep() *ProtoStep
- func (m *ProtoItem) GetTable() *ProtoTable
- func (m *ProtoItem) GetTableDrivenScenario() *ProtoTableDrivenScenario
- func (m *ProtoItem) GetTags() *ProtoTags
- func (*ProtoItem) ProtoMessage()
- func (m *ProtoItem) Reset()
- func (m *ProtoItem) String() string
- type ProtoItem_ItemType
- type ProtoScenario
- func (*ProtoScenario) Descriptor() ([]byte, []int)
- func (m *ProtoScenario) GetContexts() []*ProtoItem
- func (m *ProtoScenario) GetExecutionTime() int64
- func (m *ProtoScenario) GetFailed() bool
- func (m *ProtoScenario) GetID() string
- func (m *ProtoScenario) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoScenario) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoScenario) GetScenarioHeading() string
- func (m *ProtoScenario) GetScenarioItems() []*ProtoItem
- func (m *ProtoScenario) GetSkipErrors() []string
- func (m *ProtoScenario) GetSkipped() bool
- func (m *ProtoScenario) GetTags() []string
- func (m *ProtoScenario) GetTearDownSteps() []*ProtoItem
- func (*ProtoScenario) ProtoMessage()
- func (m *ProtoScenario) Reset()
- func (m *ProtoScenario) String() string
- type ProtoSpec
- func (*ProtoSpec) Descriptor() ([]byte, []int)
- func (m *ProtoSpec) GetFileName() string
- func (m *ProtoSpec) GetIsTableDriven() bool
- func (m *ProtoSpec) GetItems() []*ProtoItem
- func (m *ProtoSpec) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoSpec) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoSpec) GetSpecHeading() string
- func (m *ProtoSpec) GetTags() []string
- func (*ProtoSpec) ProtoMessage()
- func (m *ProtoSpec) Reset()
- func (m *ProtoSpec) String() string
- type ProtoSpecResult
- func (*ProtoSpecResult) Descriptor() ([]byte, []int)
- func (m *ProtoSpecResult) GetExecutionTime() int64
- func (m *ProtoSpecResult) GetFailed() bool
- func (m *ProtoSpecResult) GetFailedDataTableRows() []int32
- func (m *ProtoSpecResult) GetProtoSpec() *ProtoSpec
- func (m *ProtoSpecResult) GetScenarioCount() int32
- func (m *ProtoSpecResult) GetScenarioFailedCount() int32
- func (m *ProtoSpecResult) GetScenarioSkippedCount() int32
- func (m *ProtoSpecResult) GetSkipped() bool
- func (*ProtoSpecResult) ProtoMessage()
- func (m *ProtoSpecResult) Reset()
- func (m *ProtoSpecResult) String() string
- type ProtoStep
- func (*ProtoStep) Descriptor() ([]byte, []int)
- func (m *ProtoStep) GetActualText() string
- func (m *ProtoStep) GetFragments() []*Fragment
- func (m *ProtoStep) GetParsedText() string
- func (m *ProtoStep) GetStepExecutionResult() *ProtoStepExecutionResult
- func (*ProtoStep) ProtoMessage()
- func (m *ProtoStep) Reset()
- func (m *ProtoStep) String() string
- type ProtoStepExecutionResult
- func (*ProtoStepExecutionResult) Descriptor() ([]byte, []int)
- func (m *ProtoStepExecutionResult) GetExecutionResult() *ProtoExecutionResult
- func (m *ProtoStepExecutionResult) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoStepExecutionResult) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoStepExecutionResult) GetSkipped() bool
- func (m *ProtoStepExecutionResult) GetSkippedReason() string
- func (*ProtoStepExecutionResult) ProtoMessage()
- func (m *ProtoStepExecutionResult) Reset()
- func (m *ProtoStepExecutionResult) String() string
- type ProtoStepValue
- func (*ProtoStepValue) Descriptor() ([]byte, []int)
- func (m *ProtoStepValue) GetParameterizedStepValue() string
- func (m *ProtoStepValue) GetParameters() []string
- func (m *ProtoStepValue) GetStepValue() string
- func (*ProtoStepValue) ProtoMessage()
- func (m *ProtoStepValue) Reset()
- func (m *ProtoStepValue) String() string
- type ProtoSuiteResult
- func (*ProtoSuiteResult) Descriptor() ([]byte, []int)
- func (m *ProtoSuiteResult) GetEnvironment() string
- func (m *ProtoSuiteResult) GetExecutionTime() int64
- func (m *ProtoSuiteResult) GetFailed() bool
- func (m *ProtoSuiteResult) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoSuiteResult) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoSuiteResult) GetProjectName() string
- func (m *ProtoSuiteResult) GetSpecResults() []*ProtoSpecResult
- func (m *ProtoSuiteResult) GetSpecsFailedCount() int32
- func (m *ProtoSuiteResult) GetSpecsSkippedCount() int32
- func (m *ProtoSuiteResult) GetSuccessRate() float32
- func (m *ProtoSuiteResult) GetTags() string
- func (m *ProtoSuiteResult) GetTimestamp() string
- func (*ProtoSuiteResult) ProtoMessage()
- func (m *ProtoSuiteResult) Reset()
- func (m *ProtoSuiteResult) String() string
- type ProtoTable
- type ProtoTableDrivenScenario
- type ProtoTableRow
- type ProtoTags
- type RefactorRequest
- func (*RefactorRequest) Descriptor() ([]byte, []int)
- func (m *RefactorRequest) GetNewStepValue() *ProtoStepValue
- func (m *RefactorRequest) GetOldStepValue() *ProtoStepValue
- func (m *RefactorRequest) GetParamPositions() []*ParameterPosition
- func (*RefactorRequest) ProtoMessage()
- func (m *RefactorRequest) Reset()
- func (m *RefactorRequest) String() string
- type RefactorResponse
- func (*RefactorResponse) Descriptor() ([]byte, []int)
- func (m *RefactorResponse) GetError() string
- func (m *RefactorResponse) GetFilesChanged() []string
- func (m *RefactorResponse) GetSuccess() bool
- func (*RefactorResponse) ProtoMessage()
- func (m *RefactorResponse) Reset()
- func (m *RefactorResponse) String() string
- type ScenarioDataStoreInitRequest
- type ScenarioExecutionEndingRequest
- func (*ScenarioExecutionEndingRequest) Descriptor() ([]byte, []int)
- func (m *ScenarioExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
- func (*ScenarioExecutionEndingRequest) ProtoMessage()
- func (m *ScenarioExecutionEndingRequest) Reset()
- func (m *ScenarioExecutionEndingRequest) String() string
- type ScenarioExecutionStartingRequest
- func (*ScenarioExecutionStartingRequest) Descriptor() ([]byte, []int)
- func (m *ScenarioExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
- func (*ScenarioExecutionStartingRequest) ProtoMessage()
- func (m *ScenarioExecutionStartingRequest) Reset()
- func (m *ScenarioExecutionStartingRequest) String() string
- type ScenarioInfo
- type SpecDataStoreInitRequest
- type SpecExecutionEndingRequest
- type SpecExecutionStartingRequest
- type SpecInfo
- type Step
- type StepExecutionEndingRequest
- type StepExecutionStartingRequest
- type StepInfo
- type StepNameRequest
- type StepNameResponse
- func (*StepNameResponse) Descriptor() ([]byte, []int)
- func (m *StepNameResponse) GetHasAlias() bool
- func (m *StepNameResponse) GetIsStepPresent() bool
- func (m *StepNameResponse) GetStepName() []string
- func (*StepNameResponse) ProtoMessage()
- func (m *StepNameResponse) Reset()
- func (m *StepNameResponse) String() string
- type StepNamesRequest
- type StepNamesResponse
- type StepValidateRequest
- type StepValidateResponse
- func (*StepValidateResponse) Descriptor() ([]byte, []int)
- func (m *StepValidateResponse) GetErrorMessage() string
- func (m *StepValidateResponse) GetErrorType() StepValidateResponse_ErrorType
- func (m *StepValidateResponse) GetIsValid() bool
- func (*StepValidateResponse) ProtoMessage()
- func (m *StepValidateResponse) Reset()
- func (m *StepValidateResponse) String() string
- type StepValidateResponse_ErrorType
- type SuiteDataStoreInitRequest
- type SuiteExecutionResult
- type TextInfo
- type UnsupportedApiMessageResponse
- type UnsupportedMessageResponse
Constants ¶
This section is empty.
Variables ¶
var APIMessage_APIMessageType_name = map[int32]string{
1: "GetProjectRootRequest",
2: "GetProjectRootResponse",
3: "GetInstallationRootRequest",
4: "GetInstallationRootResponse",
5: "GetAllStepsRequest",
6: "GetAllStepResponse",
7: "GetAllSpecsRequest",
8: "GetAllSpecsResponse",
9: "GetStepValueRequest",
10: "GetStepValueResponse",
11: "GetLanguagePluginLibPathRequest",
12: "GetLanguagePluginLibPathResponse",
13: "ErrorResponse",
14: "GetAllConceptsRequest",
15: "GetAllConceptsResponse",
16: "PerformRefactoringRequest",
17: "PerformRefactoringResponse",
18: "ExtractConceptRequest",
19: "ExtractConceptResponse",
20: "FormatSpecsRequest",
21: "FormatSpecsResponse",
22: "UnsupportedApiMessageResponse",
23: "ExecutionRequest",
24: "ExecutionResponse",
}
var APIMessage_APIMessageType_value = map[string]int32{
"GetProjectRootRequest": 1,
"GetProjectRootResponse": 2,
"GetInstallationRootRequest": 3,
"GetInstallationRootResponse": 4,
"GetAllStepsRequest": 5,
"GetAllStepResponse": 6,
"GetAllSpecsRequest": 7,
"GetAllSpecsResponse": 8,
"GetStepValueRequest": 9,
"GetStepValueResponse": 10,
"GetLanguagePluginLibPathRequest": 11,
"GetLanguagePluginLibPathResponse": 12,
"ErrorResponse": 13,
"GetAllConceptsRequest": 14,
"GetAllConceptsResponse": 15,
"PerformRefactoringRequest": 16,
"PerformRefactoringResponse": 17,
"ExtractConceptRequest": 18,
"ExtractConceptResponse": 19,
"FormatSpecsRequest": 20,
"FormatSpecsResponse": 21,
"UnsupportedApiMessageResponse": 22,
"ExecutionRequest": 23,
"ExecutionResponse": 24,
}
var ExecutionRequest_LogLevel_name = map[int32]string{
0: "INFO",
1: "DEBUG",
2: "WARNING",
3: "ERROR",
}
var ExecutionRequest_LogLevel_value = map[string]int32{
"INFO": 0,
"DEBUG": 1,
"WARNING": 2,
"ERROR": 3,
}
var ExecutionRequest_Strategy_name = map[int32]string{
0: "LAZY",
1: "EAGER",
}
var ExecutionRequest_Strategy_value = map[string]int32{
"LAZY": 0,
"EAGER": 1,
}
var ExecutionResponse_ExecutionResponseType_name = map[int32]string{
0: "ScenarioResult",
1: "BeforeSuiteHookResult",
2: "AfterSuiteHookResult",
3: "BeforeSpecHookResult",
4: "AfterSpecHookResult",
5: "SuiteDataStoreInitResult",
6: "SpecDataStoreInitResult",
7: "ValidationResult",
}
var ExecutionResponse_ExecutionResponseType_value = map[string]int32{
"ScenarioResult": 0,
"BeforeSuiteHookResult": 1,
"AfterSuiteHookResult": 2,
"BeforeSpecHookResult": 3,
"AfterSpecHookResult": 4,
"SuiteDataStoreInitResult": 5,
"SpecDataStoreInitResult": 6,
"ValidationResult": 7,
}
var ExecutionResponse_Status_name = map[int32]string{
0: "PASSED",
1: "FAILED",
2: "SKIPPED",
}
var ExecutionResponse_Status_value = map[string]int32{
"PASSED": 0,
"FAILED": 1,
"SKIPPED": 2,
}
var Fragment_FragmentType_name = map[int32]string{
1: "Text",
2: "Parameter",
}
var Fragment_FragmentType_value = map[string]int32{
"Text": 1,
"Parameter": 2,
}
var Message_MessageType_name = map[int32]string{
0: "ExecutionStarting",
1: "SpecExecutionStarting",
2: "SpecExecutionEnding",
3: "ScenarioExecutionStarting",
4: "ScenarioExecutionEnding",
5: "StepExecutionStarting",
6: "StepExecutionEnding",
7: "ExecuteStep",
8: "ExecutionEnding",
9: "StepValidateRequest",
10: "StepValidateResponse",
11: "ExecutionStatusResponse",
12: "StepNamesRequest",
13: "StepNamesResponse",
14: "KillProcessRequest",
15: "SuiteExecutionResult",
16: "ScenarioDataStoreInit",
17: "SpecDataStoreInit",
18: "SuiteDataStoreInit",
19: "StepNameRequest",
20: "StepNameResponse",
21: "RefactorRequest",
22: "RefactorResponse",
23: "UnsupportedMessageResponse",
}
var Message_MessageType_value = map[string]int32{
"ExecutionStarting": 0,
"SpecExecutionStarting": 1,
"SpecExecutionEnding": 2,
"ScenarioExecutionStarting": 3,
"ScenarioExecutionEnding": 4,
"StepExecutionStarting": 5,
"StepExecutionEnding": 6,
"ExecuteStep": 7,
"ExecutionEnding": 8,
"StepValidateRequest": 9,
"StepValidateResponse": 10,
"ExecutionStatusResponse": 11,
"StepNamesRequest": 12,
"StepNamesResponse": 13,
"KillProcessRequest": 14,
"SuiteExecutionResult": 15,
"ScenarioDataStoreInit": 16,
"SpecDataStoreInit": 17,
"SuiteDataStoreInit": 18,
"StepNameRequest": 19,
"StepNameResponse": 20,
"RefactorRequest": 21,
"RefactorResponse": 22,
"UnsupportedMessageResponse": 23,
}
var Parameter_ParameterType_name = map[int32]string{
1: "Static",
2: "Dynamic",
3: "Special_String",
4: "Special_Table",
5: "Table",
}
var Parameter_ParameterType_value = map[string]int32{
"Static": 1,
"Dynamic": 2,
"Special_String": 3,
"Special_Table": 4,
"Table": 5,
}
var ProtoExecutionResult_ErrorType_name = map[int32]string{
1: "ASSERTION",
2: "VERIFICATION",
}
var ProtoExecutionResult_ErrorType_value = map[string]int32{
"ASSERTION": 1,
"VERIFICATION": 2,
}
var ProtoItem_ItemType_name = map[int32]string{
1: "Step",
2: "Comment",
3: "Concept",
4: "Scenario",
5: "TableDrivenScenario",
6: "Table",
7: "Tags",
}
var ProtoItem_ItemType_value = map[string]int32{
"Step": 1,
"Comment": 2,
"Concept": 3,
"Scenario": 4,
"TableDrivenScenario": 5,
"Table": 6,
"Tags": 7,
}
var StepValidateResponse_ErrorType_name = map[int32]string{
0: "STEP_IMPLEMENTATION_NOT_FOUND",
}
var StepValidateResponse_ErrorType_value = map[string]int32{
"STEP_IMPLEMENTATION_NOT_FOUND": 0,
}
Functions ¶
This section is empty.
Types ¶
type APIMessage ¶
type APIMessage struct { // / Type of API call being made MessageType *APIMessage_APIMessageType `protobuf:"varint,1,req,name=messageType,enum=gauge.messages.APIMessage_APIMessageType" json:"messageType,omitempty"` // / A unique id to represent this message. A response to the message should copy over this value. // / This is used to synchronize messages & responses MessageId *int64 `protobuf:"varint,2,req,name=messageId" json:"messageId,omitempty"` // / [GetProjectRootRequest](#gauge.messages.GetProjectRootRequest) ProjectRootRequest *GetProjectRootRequest `protobuf:"bytes,3,opt,name=projectRootRequest" json:"projectRootRequest,omitempty"` // / [GetProjectRootResponse](#gauge.messages.GetProjectRootResponse) ProjectRootResponse *GetProjectRootResponse `protobuf:"bytes,4,opt,name=projectRootResponse" json:"projectRootResponse,omitempty"` // / [GetInstallationRootRequest](#gauge.messages.GetInstallationRootRequest) InstallationRootRequest *GetInstallationRootRequest `protobuf:"bytes,5,opt,name=installationRootRequest" json:"installationRootRequest,omitempty"` // / [GetInstallationRootResponse](#gauge.messages.GetInstallationRootResponse) InstallationRootResponse *GetInstallationRootResponse `protobuf:"bytes,6,opt,name=installationRootResponse" json:"installationRootResponse,omitempty"` // / [GetAllStepsRequest](#gauge.messages.GetAllStepsRequest) AllStepsRequest *GetAllStepsRequest `protobuf:"bytes,7,opt,name=allStepsRequest" json:"allStepsRequest,omitempty"` // / [GetAllStepsResponse](#gauge.messages.GetAllStepsResponse) AllStepsResponse *GetAllStepsResponse `protobuf:"bytes,8,opt,name=allStepsResponse" json:"allStepsResponse,omitempty"` // / [GetAllSpecsRequest](#gauge.messages.GetAllSpecsRequest) AllSpecsRequest *GetAllSpecsRequest `protobuf:"bytes,9,opt,name=allSpecsRequest" json:"allSpecsRequest,omitempty"` // / [GetAllSpecsResponse](#gauge.messages.GetAllSpecsResponse) AllSpecsResponse *GetAllSpecsResponse `protobuf:"bytes,10,opt,name=allSpecsResponse" json:"allSpecsResponse,omitempty"` // / [GetStepValueRequest](#gauge.messages.GetStepValueRequest) StepValueRequest *GetStepValueRequest `protobuf:"bytes,11,opt,name=stepValueRequest" json:"stepValueRequest,omitempty"` // / [GetStepValueResponse](#gauge.messages.GetStepValueResponse) StepValueResponse *GetStepValueResponse `protobuf:"bytes,12,opt,name=stepValueResponse" json:"stepValueResponse,omitempty"` // / [GetLanguagePluginLibPathRequest](#gauge.messages.GetLanguagePluginLibPathRequest) LibPathRequest *GetLanguagePluginLibPathRequest `protobuf:"bytes,13,opt,name=libPathRequest" json:"libPathRequest,omitempty"` // / [GetLanguagePluginLibPathResponse](#gauge.messages.GetLanguagePluginLibPathResponse) LibPathResponse *GetLanguagePluginLibPathResponse `protobuf:"bytes,14,opt,name=libPathResponse" json:"libPathResponse,omitempty"` // / [ErrorResponse](#gauge.messages.ErrorResponse) Error *ErrorResponse `protobuf:"bytes,15,opt,name=error" json:"error,omitempty"` // / [GetAllConceptsRequest](#gauge.messages.GetAllConceptsRequest) AllConceptsRequest *GetAllConceptsRequest `protobuf:"bytes,16,opt,name=allConceptsRequest" json:"allConceptsRequest,omitempty"` // / [GetAllConceptsResponse](#gauge.messages.GetAllConceptsResponse) AllConceptsResponse *GetAllConceptsResponse `protobuf:"bytes,17,opt,name=allConceptsResponse" json:"allConceptsResponse,omitempty"` // / [PerformRefactoringRequest](#gauge.messages.PerformRefactoringRequest) PerformRefactoringRequest *PerformRefactoringRequest `protobuf:"bytes,18,opt,name=performRefactoringRequest" json:"performRefactoringRequest,omitempty"` // / [PerformRefactoringResponse](#gauge.messages.PerformRefactoringResponse) PerformRefactoringResponse *PerformRefactoringResponse `protobuf:"bytes,19,opt,name=performRefactoringResponse" json:"performRefactoringResponse,omitempty"` // / [ExtractConceptRequest](#gauge.messages.ExtractConceptRequest) ExtractConceptRequest *ExtractConceptRequest `protobuf:"bytes,20,opt,name=extractConceptRequest" json:"extractConceptRequest,omitempty"` // / [ExtractConceptResponse](#gauge.messages.ExtractConceptResponse) ExtractConceptResponse *ExtractConceptResponse `protobuf:"bytes,21,opt,name=extractConceptResponse" json:"extractConceptResponse,omitempty"` // / [FormatSpecsRequest] (#gauge.messages.FormatSpecsRequest) FormatSpecsRequest *FormatSpecsRequest `protobuf:"bytes,22,opt,name=formatSpecsRequest" json:"formatSpecsRequest,omitempty"` // / [FormatSpecsResponse] (#gauge.messages.FormatSpecsResponse) FormatSpecsResponse *FormatSpecsResponse `protobuf:"bytes,23,opt,name=formatSpecsResponse" json:"formatSpecsResponse,omitempty"` // / [UnsupportedApiMessageResponse] (#gauge.messages.UnsupportedApiMessageResponse) UnsupportedApiMessageResponse *UnsupportedApiMessageResponse `protobuf:"bytes,24,opt,name=unsupportedApiMessageResponse" json:"unsupportedApiMessageResponse,omitempty"` // / [ExecutionRequest] (#gauge.messages.ExecutionRequest) ExecutionRequest *ExecutionRequest `protobuf:"bytes,25,opt,name=executionRequest" json:"executionRequest,omitempty"` // / [ExecutionResponse] (#gauge.messages.ExecutionResponse) ExecutionResponse *ExecutionResponse `protobuf:"bytes,26,opt,name=executionResponse" json:"executionResponse,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A generic message composing of all possible operations. / One of the Request/Response fields will have value, depending on the MessageType set.
func (*APIMessage) Descriptor ¶
func (*APIMessage) Descriptor() ([]byte, []int)
func (*APIMessage) GetAllConceptsRequest ¶
func (m *APIMessage) GetAllConceptsRequest() *GetAllConceptsRequest
func (*APIMessage) GetAllConceptsResponse ¶
func (m *APIMessage) GetAllConceptsResponse() *GetAllConceptsResponse
func (*APIMessage) GetAllSpecsRequest ¶
func (m *APIMessage) GetAllSpecsRequest() *GetAllSpecsRequest
func (*APIMessage) GetAllSpecsResponse ¶
func (m *APIMessage) GetAllSpecsResponse() *GetAllSpecsResponse
func (*APIMessage) GetAllStepsRequest ¶
func (m *APIMessage) GetAllStepsRequest() *GetAllStepsRequest
func (*APIMessage) GetAllStepsResponse ¶
func (m *APIMessage) GetAllStepsResponse() *GetAllStepsResponse
func (*APIMessage) GetError ¶
func (m *APIMessage) GetError() *ErrorResponse
func (*APIMessage) GetExecutionRequest ¶
func (m *APIMessage) GetExecutionRequest() *ExecutionRequest
func (*APIMessage) GetExecutionResponse ¶
func (m *APIMessage) GetExecutionResponse() *ExecutionResponse
func (*APIMessage) GetExtractConceptRequest ¶
func (m *APIMessage) GetExtractConceptRequest() *ExtractConceptRequest
func (*APIMessage) GetExtractConceptResponse ¶
func (m *APIMessage) GetExtractConceptResponse() *ExtractConceptResponse
func (*APIMessage) GetFormatSpecsRequest ¶
func (m *APIMessage) GetFormatSpecsRequest() *FormatSpecsRequest
func (*APIMessage) GetFormatSpecsResponse ¶
func (m *APIMessage) GetFormatSpecsResponse() *FormatSpecsResponse
func (*APIMessage) GetInstallationRootRequest ¶
func (m *APIMessage) GetInstallationRootRequest() *GetInstallationRootRequest
func (*APIMessage) GetInstallationRootResponse ¶
func (m *APIMessage) GetInstallationRootResponse() *GetInstallationRootResponse
func (*APIMessage) GetLibPathRequest ¶
func (m *APIMessage) GetLibPathRequest() *GetLanguagePluginLibPathRequest
func (*APIMessage) GetLibPathResponse ¶
func (m *APIMessage) GetLibPathResponse() *GetLanguagePluginLibPathResponse
func (*APIMessage) GetMessageId ¶
func (m *APIMessage) GetMessageId() int64
func (*APIMessage) GetMessageType ¶
func (m *APIMessage) GetMessageType() APIMessage_APIMessageType
func (*APIMessage) GetPerformRefactoringRequest ¶
func (m *APIMessage) GetPerformRefactoringRequest() *PerformRefactoringRequest
func (*APIMessage) GetPerformRefactoringResponse ¶
func (m *APIMessage) GetPerformRefactoringResponse() *PerformRefactoringResponse
func (*APIMessage) GetProjectRootRequest ¶
func (m *APIMessage) GetProjectRootRequest() *GetProjectRootRequest
func (*APIMessage) GetProjectRootResponse ¶
func (m *APIMessage) GetProjectRootResponse() *GetProjectRootResponse
func (*APIMessage) GetStepValueRequest ¶
func (m *APIMessage) GetStepValueRequest() *GetStepValueRequest
func (*APIMessage) GetStepValueResponse ¶
func (m *APIMessage) GetStepValueResponse() *GetStepValueResponse
func (*APIMessage) GetUnsupportedApiMessageResponse ¶
func (m *APIMessage) GetUnsupportedApiMessageResponse() *UnsupportedApiMessageResponse
func (*APIMessage) ProtoMessage ¶
func (*APIMessage) ProtoMessage()
func (*APIMessage) Reset ¶
func (m *APIMessage) Reset()
func (*APIMessage) String ¶
func (m *APIMessage) String() string
type APIMessage_APIMessageType ¶
type APIMessage_APIMessageType int32
const ( APIMessage_GetProjectRootRequest APIMessage_APIMessageType = 1 APIMessage_GetProjectRootResponse APIMessage_APIMessageType = 2 APIMessage_GetInstallationRootRequest APIMessage_APIMessageType = 3 APIMessage_GetInstallationRootResponse APIMessage_APIMessageType = 4 APIMessage_GetAllStepsRequest APIMessage_APIMessageType = 5 APIMessage_GetAllStepResponse APIMessage_APIMessageType = 6 APIMessage_GetAllSpecsRequest APIMessage_APIMessageType = 7 APIMessage_GetAllSpecsResponse APIMessage_APIMessageType = 8 APIMessage_GetStepValueRequest APIMessage_APIMessageType = 9 APIMessage_GetStepValueResponse APIMessage_APIMessageType = 10 APIMessage_GetLanguagePluginLibPathRequest APIMessage_APIMessageType = 11 APIMessage_GetLanguagePluginLibPathResponse APIMessage_APIMessageType = 12 APIMessage_ErrorResponse APIMessage_APIMessageType = 13 APIMessage_GetAllConceptsRequest APIMessage_APIMessageType = 14 APIMessage_GetAllConceptsResponse APIMessage_APIMessageType = 15 APIMessage_PerformRefactoringRequest APIMessage_APIMessageType = 16 APIMessage_PerformRefactoringResponse APIMessage_APIMessageType = 17 APIMessage_ExtractConceptRequest APIMessage_APIMessageType = 18 APIMessage_ExtractConceptResponse APIMessage_APIMessageType = 19 APIMessage_FormatSpecsRequest APIMessage_APIMessageType = 20 APIMessage_FormatSpecsResponse APIMessage_APIMessageType = 21 APIMessage_UnsupportedApiMessageResponse APIMessage_APIMessageType = 22 APIMessage_ExecutionRequest APIMessage_APIMessageType = 23 APIMessage_ExecutionResponse APIMessage_APIMessageType = 24 )
func (APIMessage_APIMessageType) Enum ¶
func (x APIMessage_APIMessageType) Enum() *APIMessage_APIMessageType
func (APIMessage_APIMessageType) EnumDescriptor ¶
func (APIMessage_APIMessageType) EnumDescriptor() ([]byte, []int)
func (APIMessage_APIMessageType) String ¶
func (x APIMessage_APIMessageType) String() string
func (*APIMessage_APIMessageType) UnmarshalJSON ¶
func (x *APIMessage_APIMessageType) UnmarshalJSON(data []byte) error
type ConceptInfo ¶
type ConceptInfo struct { // / The text that defines a concept StepValue *ProtoStepValue `protobuf:"bytes,1,req,name=stepValue" json:"stepValue,omitempty"` // / The absolute path to the file that contains the Concept Filepath *string `protobuf:"bytes,2,req,name=filepath" json:"filepath,omitempty"` // / The line number in the file where the concept is defined. LineNumber *int32 `protobuf:"varint,3,req,name=lineNumber" json:"lineNumber,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Details of a Concept
func (*ConceptInfo) Descriptor ¶
func (*ConceptInfo) Descriptor() ([]byte, []int)
func (*ConceptInfo) GetFilepath ¶
func (m *ConceptInfo) GetFilepath() string
func (*ConceptInfo) GetLineNumber ¶
func (m *ConceptInfo) GetLineNumber() int32
func (*ConceptInfo) GetStepValue ¶
func (m *ConceptInfo) GetStepValue() *ProtoStepValue
func (*ConceptInfo) ProtoMessage ¶
func (*ConceptInfo) ProtoMessage()
func (*ConceptInfo) Reset ¶
func (m *ConceptInfo) Reset()
func (*ConceptInfo) String ¶
func (m *ConceptInfo) String() string
type ErrorResponse ¶
type ErrorResponse struct { // / Actual error message Error *string `protobuf:"bytes,1,req,name=error" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A generic failure response
func (*ErrorResponse) Descriptor ¶
func (*ErrorResponse) Descriptor() ([]byte, []int)
func (*ErrorResponse) GetError ¶
func (m *ErrorResponse) GetError() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) Reset ¶
func (m *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (m *ErrorResponse) String() string
type ExecuteStepRequest ¶
type ExecuteStepRequest struct { // / Contains the actual text of the Step being executed. // / This contains the parameters as defined in the Spec. ActualStepText *string `protobuf:"bytes,1,req,name=actualStepText" json:"actualStepText,omitempty"` // / Contains the parsed text of the Step being executed. // / The paramters are replaced with placeholders. ParsedStepText *string `protobuf:"bytes,2,req,name=parsedStepText" json:"parsedStepText,omitempty"` // / Flag to indicate if the execution of the Scenario, containing the current Step, failed. ScenarioFailing *bool `protobuf:"varint,3,opt,name=scenarioFailing" json:"scenarioFailing,omitempty"` // / Collection of parameters applicable to the current Step. Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters" json:"parameters,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request sent ot the runner to Execute a Step
func (*ExecuteStepRequest) Descriptor ¶
func (*ExecuteStepRequest) Descriptor() ([]byte, []int)
func (*ExecuteStepRequest) GetActualStepText ¶
func (m *ExecuteStepRequest) GetActualStepText() string
func (*ExecuteStepRequest) GetParameters ¶
func (m *ExecuteStepRequest) GetParameters() []*Parameter
func (*ExecuteStepRequest) GetParsedStepText ¶
func (m *ExecuteStepRequest) GetParsedStepText() string
func (*ExecuteStepRequest) GetScenarioFailing ¶
func (m *ExecuteStepRequest) GetScenarioFailing() bool
func (*ExecuteStepRequest) ProtoMessage ¶
func (*ExecuteStepRequest) ProtoMessage()
func (*ExecuteStepRequest) Reset ¶
func (m *ExecuteStepRequest) Reset()
func (*ExecuteStepRequest) String ¶
func (m *ExecuteStepRequest) String() string
type ExecutionEndingRequest ¶
type ExecutionEndingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook.
func (*ExecutionEndingRequest) Descriptor ¶
func (*ExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*ExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *ExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ExecutionEndingRequest) ProtoMessage ¶
func (*ExecutionEndingRequest) ProtoMessage()
func (*ExecutionEndingRequest) Reset ¶
func (m *ExecutionEndingRequest) Reset()
func (*ExecutionEndingRequest) String ¶
func (m *ExecutionEndingRequest) String() string
type ExecutionInfo ¶
type ExecutionInfo struct { // / Holds the information of the current Spec. Valid in context of Spec execution. CurrentSpec *SpecInfo `protobuf:"bytes,1,opt,name=currentSpec" json:"currentSpec,omitempty"` // / Holds the information of the current Scenario. Valid in context of Scenario execution. CurrentScenario *ScenarioInfo `protobuf:"bytes,2,opt,name=currentScenario" json:"currentScenario,omitempty"` // / Holds the information of the current Step. Valid in context of Step execution. CurrentStep *StepInfo `protobuf:"bytes,3,opt,name=currentStep" json:"currentStep,omitempty"` // / Stacktrace of the execution. Valid only if there is an error in execution. Stacktrace *string `protobuf:"bytes,4,opt,name=stacktrace" json:"stacktrace,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Contains details of the execution. / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set.
func (*ExecutionInfo) Descriptor ¶
func (*ExecutionInfo) Descriptor() ([]byte, []int)
func (*ExecutionInfo) GetCurrentScenario ¶
func (m *ExecutionInfo) GetCurrentScenario() *ScenarioInfo
func (*ExecutionInfo) GetCurrentSpec ¶
func (m *ExecutionInfo) GetCurrentSpec() *SpecInfo
func (*ExecutionInfo) GetCurrentStep ¶
func (m *ExecutionInfo) GetCurrentStep() *StepInfo
func (*ExecutionInfo) GetStacktrace ¶
func (m *ExecutionInfo) GetStacktrace() string
func (*ExecutionInfo) ProtoMessage ¶
func (*ExecutionInfo) ProtoMessage()
func (*ExecutionInfo) Reset ¶
func (m *ExecutionInfo) Reset()
func (*ExecutionInfo) String ¶
func (m *ExecutionInfo) String() string
type ExecutionRequest ¶
type ExecutionRequest struct { // Each ExecutionRequest can ask to execute multiple spec files or multiple scenarios in a spec or a directory or all Specs []string `protobuf:"bytes,1,rep,name=specs" json:"specs,omitempty"` // Tag expression to filter specs and scenarios during execution. Default: "" Tags *string `protobuf:"bytes,2,opt,name=tags" json:"tags,omitempty"` // The working directory for gauge. WorkingDir *string `protobuf:"bytes,3,opt,name=workingDir" json:"workingDir,omitempty"` // Environment to choose for gauge. Environment *string `protobuf:"bytes,4,opt,name=environment" json:"environment,omitempty"` LogLevel *ExecutionRequest_LogLevel `protobuf:"varint,5,opt,name=logLevel,enum=gauge.messages.ExecutionRequest_LogLevel" json:"logLevel,omitempty"` // Whether to run gauge in parallel mode. IsParallel *bool `protobuf:"varint,6,opt,name=isParallel" json:"isParallel,omitempty"` // If isParallel is true, this specifies how many parallel streams to run. ParallelStreams *int32 `protobuf:"varint,7,opt,name=parallelStreams" json:"parallelStreams,omitempty"` // Specify which group of specs to execute, based on number of parallel streams. Works only when strategy is EAGER. Group *int32 `protobuf:"varint,8,opt,name=group" json:"group,omitempty"` // Toggles simple console reporting SimpleConsole *bool `protobuf:"varint,9,opt,name=simpleConsole" json:"simpleConsole,omitempty"` // If true, sorts execution of specifications alphabetically Sort *bool `protobuf:"varint,10,opt,name=sort" json:"sort,omitempty"` Strategy *ExecutionRequest_Strategy `protobuf:"varint,11,opt,name=strategy,enum=gauge.messages.ExecutionRequest_Strategy" json:"strategy,omitempty"` // Specify against which rows of datatable the scenarios should be executed TableRows *string `protobuf:"bytes,12,opt,name=tableRows" json:"tableRows,omitempty"` XXX_unrecognized []byte `json:"-"` }
ExecutionRequest defines the structure of requests that the API's consumers can send to request execution of specs/scenarios
func (*ExecutionRequest) Descriptor ¶
func (*ExecutionRequest) Descriptor() ([]byte, []int)
func (*ExecutionRequest) GetEnvironment ¶
func (m *ExecutionRequest) GetEnvironment() string
func (*ExecutionRequest) GetGroup ¶
func (m *ExecutionRequest) GetGroup() int32
func (*ExecutionRequest) GetIsParallel ¶
func (m *ExecutionRequest) GetIsParallel() bool
func (*ExecutionRequest) GetLogLevel ¶
func (m *ExecutionRequest) GetLogLevel() ExecutionRequest_LogLevel
func (*ExecutionRequest) GetParallelStreams ¶
func (m *ExecutionRequest) GetParallelStreams() int32
func (*ExecutionRequest) GetSimpleConsole ¶
func (m *ExecutionRequest) GetSimpleConsole() bool
func (*ExecutionRequest) GetSort ¶
func (m *ExecutionRequest) GetSort() bool
func (*ExecutionRequest) GetSpecs ¶
func (m *ExecutionRequest) GetSpecs() []string
func (*ExecutionRequest) GetStrategy ¶
func (m *ExecutionRequest) GetStrategy() ExecutionRequest_Strategy
func (*ExecutionRequest) GetTableRows ¶
func (m *ExecutionRequest) GetTableRows() string
func (*ExecutionRequest) GetTags ¶
func (m *ExecutionRequest) GetTags() string
func (*ExecutionRequest) GetWorkingDir ¶
func (m *ExecutionRequest) GetWorkingDir() string
func (*ExecutionRequest) ProtoMessage ¶
func (*ExecutionRequest) ProtoMessage()
func (*ExecutionRequest) Reset ¶
func (m *ExecutionRequest) Reset()
func (*ExecutionRequest) String ¶
func (m *ExecutionRequest) String() string
type ExecutionRequest_LogLevel ¶
type ExecutionRequest_LogLevel int32
Types of log level that gauge supports
const ( ExecutionRequest_INFO ExecutionRequest_LogLevel = 0 ExecutionRequest_DEBUG ExecutionRequest_LogLevel = 1 ExecutionRequest_WARNING ExecutionRequest_LogLevel = 2 ExecutionRequest_ERROR ExecutionRequest_LogLevel = 3 )
func (ExecutionRequest_LogLevel) Enum ¶
func (x ExecutionRequest_LogLevel) Enum() *ExecutionRequest_LogLevel
func (ExecutionRequest_LogLevel) EnumDescriptor ¶
func (ExecutionRequest_LogLevel) EnumDescriptor() ([]byte, []int)
func (ExecutionRequest_LogLevel) String ¶
func (x ExecutionRequest_LogLevel) String() string
func (*ExecutionRequest_LogLevel) UnmarshalJSON ¶
func (x *ExecutionRequest_LogLevel) UnmarshalJSON(data []byte) error
type ExecutionRequest_Strategy ¶
type ExecutionRequest_Strategy int32
Strategies for parallelization
const ( ExecutionRequest_LAZY ExecutionRequest_Strategy = 0 ExecutionRequest_EAGER ExecutionRequest_Strategy = 1 )
func (ExecutionRequest_Strategy) Enum ¶
func (x ExecutionRequest_Strategy) Enum() *ExecutionRequest_Strategy
func (ExecutionRequest_Strategy) EnumDescriptor ¶
func (ExecutionRequest_Strategy) EnumDescriptor() ([]byte, []int)
func (ExecutionRequest_Strategy) String ¶
func (x ExecutionRequest_Strategy) String() string
func (*ExecutionRequest_Strategy) UnmarshalJSON ¶
func (x *ExecutionRequest_Strategy) UnmarshalJSON(data []byte) error
type ExecutionResponse ¶
type ExecutionResponse struct { Type *ExecutionResponse_ExecutionResponseType `protobuf:"varint,1,req,name=type,enum=gauge.messages.ExecutionResponse_ExecutionResponseType" json:"type,omitempty"` // An identifier for the current execution result ID *string `protobuf:"bytes,2,opt,name=ID,json=iD" json:"ID,omitempty"` Status *ExecutionResponse_Status `protobuf:"varint,3,opt,name=status,enum=gauge.messages.ExecutionResponse_Status" json:"status,omitempty"` // Contains the Execution error and its details Error []*ExecutionResponse_ExecutionError `protobuf:"bytes,4,rep,name=error" json:"error,omitempty"` ExecutionTime *int64 `protobuf:"varint,5,opt,name=executionTime" json:"executionTime,omitempty"` // Contains the console output messages Stdout *string `protobuf:"bytes,6,opt,name=stdout" json:"stdout,omitempty"` XXX_unrecognized []byte `json:"-"` }
ExecutionResponse defines the structure of response for ExecutionRequest message
func (*ExecutionResponse) Descriptor ¶
func (*ExecutionResponse) Descriptor() ([]byte, []int)
func (*ExecutionResponse) GetError ¶
func (m *ExecutionResponse) GetError() []*ExecutionResponse_ExecutionError
func (*ExecutionResponse) GetExecutionTime ¶
func (m *ExecutionResponse) GetExecutionTime() int64
func (*ExecutionResponse) GetID ¶
func (m *ExecutionResponse) GetID() string
func (*ExecutionResponse) GetStatus ¶
func (m *ExecutionResponse) GetStatus() ExecutionResponse_Status
func (*ExecutionResponse) GetStdout ¶
func (m *ExecutionResponse) GetStdout() string
func (*ExecutionResponse) GetType ¶
func (m *ExecutionResponse) GetType() ExecutionResponse_ExecutionResponseType
func (*ExecutionResponse) ProtoMessage ¶
func (*ExecutionResponse) ProtoMessage()
func (*ExecutionResponse) Reset ¶
func (m *ExecutionResponse) Reset()
func (*ExecutionResponse) String ¶
func (m *ExecutionResponse) String() string
type ExecutionResponse_ExecutionError ¶
type ExecutionResponse_ExecutionError struct { // Stacktrace from the failure StackTrace *string `protobuf:"bytes,1,opt,name=stackTrace" json:"stackTrace,omitempty"` // Error message from the failure ErrorMessage *string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` // Byte array holding the screenshot taken at the time of failure. ScreenShot []byte `protobuf:"bytes,3,opt,name=screenShot" json:"screenShot,omitempty"` XXX_unrecognized []byte `json:"-"` }
Specifies the execution time ExecutionError represents the failure during execution along with details of failure
func (*ExecutionResponse_ExecutionError) Descriptor ¶
func (*ExecutionResponse_ExecutionError) Descriptor() ([]byte, []int)
func (*ExecutionResponse_ExecutionError) GetErrorMessage ¶
func (m *ExecutionResponse_ExecutionError) GetErrorMessage() string
func (*ExecutionResponse_ExecutionError) GetScreenShot ¶
func (m *ExecutionResponse_ExecutionError) GetScreenShot() []byte
func (*ExecutionResponse_ExecutionError) GetStackTrace ¶
func (m *ExecutionResponse_ExecutionError) GetStackTrace() string
func (*ExecutionResponse_ExecutionError) ProtoMessage ¶
func (*ExecutionResponse_ExecutionError) ProtoMessage()
func (*ExecutionResponse_ExecutionError) Reset ¶
func (m *ExecutionResponse_ExecutionError) Reset()
func (*ExecutionResponse_ExecutionError) String ¶
func (m *ExecutionResponse_ExecutionError) String() string
type ExecutionResponse_ExecutionResponseType ¶
type ExecutionResponse_ExecutionResponseType int32
Types of Execution result
const ( ExecutionResponse_ScenarioResult ExecutionResponse_ExecutionResponseType = 0 ExecutionResponse_BeforeSuiteHookResult ExecutionResponse_ExecutionResponseType = 1 ExecutionResponse_AfterSuiteHookResult ExecutionResponse_ExecutionResponseType = 2 ExecutionResponse_BeforeSpecHookResult ExecutionResponse_ExecutionResponseType = 3 ExecutionResponse_AfterSpecHookResult ExecutionResponse_ExecutionResponseType = 4 ExecutionResponse_SuiteDataStoreInitResult ExecutionResponse_ExecutionResponseType = 5 ExecutionResponse_SpecDataStoreInitResult ExecutionResponse_ExecutionResponseType = 6 ExecutionResponse_ValidationResult ExecutionResponse_ExecutionResponseType = 7 )
func (ExecutionResponse_ExecutionResponseType) EnumDescriptor ¶
func (ExecutionResponse_ExecutionResponseType) EnumDescriptor() ([]byte, []int)
func (ExecutionResponse_ExecutionResponseType) String ¶
func (x ExecutionResponse_ExecutionResponseType) String() string
func (*ExecutionResponse_ExecutionResponseType) UnmarshalJSON ¶
func (x *ExecutionResponse_ExecutionResponseType) UnmarshalJSON(data []byte) error
type ExecutionResponse_Status ¶
type ExecutionResponse_Status int32
Specifies the execution status
const ( ExecutionResponse_PASSED ExecutionResponse_Status = 0 ExecutionResponse_FAILED ExecutionResponse_Status = 1 ExecutionResponse_SKIPPED ExecutionResponse_Status = 2 )
func (ExecutionResponse_Status) Enum ¶
func (x ExecutionResponse_Status) Enum() *ExecutionResponse_Status
func (ExecutionResponse_Status) EnumDescriptor ¶
func (ExecutionResponse_Status) EnumDescriptor() ([]byte, []int)
func (ExecutionResponse_Status) String ¶
func (x ExecutionResponse_Status) String() string
func (*ExecutionResponse_Status) UnmarshalJSON ¶
func (x *ExecutionResponse_Status) UnmarshalJSON(data []byte) error
type ExecutionStartingRequest ¶
type ExecutionStartingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook.
func (*ExecutionStartingRequest) Descriptor ¶
func (*ExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*ExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *ExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ExecutionStartingRequest) ProtoMessage ¶
func (*ExecutionStartingRequest) ProtoMessage()
func (*ExecutionStartingRequest) Reset ¶
func (m *ExecutionStartingRequest) Reset()
func (*ExecutionStartingRequest) String ¶
func (m *ExecutionStartingRequest) String() string
type ExecutionStatusResponse ¶
type ExecutionStatusResponse struct { ExecutionResult *ProtoExecutionResult `protobuf:"bytes,1,req,name=executionResult" json:"executionResult,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sends to any request which needs a execution status as response / usually step execution, hooks etc will return this
func (*ExecutionStatusResponse) Descriptor ¶
func (*ExecutionStatusResponse) Descriptor() ([]byte, []int)
func (*ExecutionStatusResponse) GetExecutionResult ¶
func (m *ExecutionStatusResponse) GetExecutionResult() *ProtoExecutionResult
func (*ExecutionStatusResponse) ProtoMessage ¶
func (*ExecutionStatusResponse) ProtoMessage()
func (*ExecutionStatusResponse) Reset ¶
func (m *ExecutionStatusResponse) Reset()
func (*ExecutionStatusResponse) String ¶
func (m *ExecutionStatusResponse) String() string
type ExtractConceptInfoRequest ¶
type ExtractConceptInfoRequest struct { // / The text blob containing steps that should be refactored to concept. Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to perform Extract to Concept refactoring / The runner does not do the refactoring here, instead it provides inputs enabling the IDE to do refactoring
func (*ExtractConceptInfoRequest) Descriptor ¶
func (*ExtractConceptInfoRequest) Descriptor() ([]byte, []int)
func (*ExtractConceptInfoRequest) GetText ¶
func (m *ExtractConceptInfoRequest) GetText() string
func (*ExtractConceptInfoRequest) ProtoMessage ¶
func (*ExtractConceptInfoRequest) ProtoMessage()
func (*ExtractConceptInfoRequest) Reset ¶
func (m *ExtractConceptInfoRequest) Reset()
func (*ExtractConceptInfoRequest) String ¶
func (m *ExtractConceptInfoRequest) String() string
type ExtractConceptRequest ¶
type ExtractConceptRequest struct { // / The Concept name given by the user ConceptName *Step `protobuf:"bytes,1,req,name=conceptName" json:"conceptName,omitempty"` // / steps to extract Steps []*Step `protobuf:"bytes,2,rep,name=steps" json:"steps,omitempty"` // / Flag indicating if refactoring should be done across project ChangeAcrossProject *bool `protobuf:"varint,3,req,name=changeAcrossProject" json:"changeAcrossProject,omitempty"` // / The concept filename in which extracted concept will be added ConceptFileName *string `protobuf:"bytes,4,req,name=conceptFileName" json:"conceptFileName,omitempty"` // / Info related to selected text, required only if changeAcrossProject is false SelectedTextInfo *TextInfo `protobuf:"bytes,5,opt,name=selectedTextInfo" json:"selectedTextInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to perform Extract to Concept refactoring
func (*ExtractConceptRequest) Descriptor ¶
func (*ExtractConceptRequest) Descriptor() ([]byte, []int)
func (*ExtractConceptRequest) GetChangeAcrossProject ¶
func (m *ExtractConceptRequest) GetChangeAcrossProject() bool
func (*ExtractConceptRequest) GetConceptFileName ¶
func (m *ExtractConceptRequest) GetConceptFileName() string
func (*ExtractConceptRequest) GetConceptName ¶
func (m *ExtractConceptRequest) GetConceptName() *Step
func (*ExtractConceptRequest) GetSelectedTextInfo ¶
func (m *ExtractConceptRequest) GetSelectedTextInfo() *TextInfo
func (*ExtractConceptRequest) GetSteps ¶
func (m *ExtractConceptRequest) GetSteps() []*Step
func (*ExtractConceptRequest) ProtoMessage ¶
func (*ExtractConceptRequest) ProtoMessage()
func (*ExtractConceptRequest) Reset ¶
func (m *ExtractConceptRequest) Reset()
func (*ExtractConceptRequest) String ¶
func (m *ExtractConceptRequest) String() string
type ExtractConceptResponse ¶
type ExtractConceptResponse struct { // / Flag indicating Success IsSuccess *bool `protobuf:"varint,1,req,name=isSuccess" json:"isSuccess,omitempty"` // / Error message if the refactoring was unsuccessful. Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` // / Collection of files that were changed as part of the Refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to perform Extract to Concept refactoring
func (*ExtractConceptResponse) Descriptor ¶
func (*ExtractConceptResponse) Descriptor() ([]byte, []int)
func (*ExtractConceptResponse) GetError ¶
func (m *ExtractConceptResponse) GetError() string
func (*ExtractConceptResponse) GetFilesChanged ¶
func (m *ExtractConceptResponse) GetFilesChanged() []string
func (*ExtractConceptResponse) GetIsSuccess ¶
func (m *ExtractConceptResponse) GetIsSuccess() bool
func (*ExtractConceptResponse) ProtoMessage ¶
func (*ExtractConceptResponse) ProtoMessage()
func (*ExtractConceptResponse) Reset ¶
func (m *ExtractConceptResponse) Reset()
func (*ExtractConceptResponse) String ¶
func (m *ExtractConceptResponse) String() string
type FormatSpecsRequest ¶
type FormatSpecsRequest struct { // / Specs to be formatted Specs []string `protobuf:"bytes,1,rep,name=specs" json:"specs,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to format spec files
func (*FormatSpecsRequest) Descriptor ¶
func (*FormatSpecsRequest) Descriptor() ([]byte, []int)
func (*FormatSpecsRequest) GetSpecs ¶
func (m *FormatSpecsRequest) GetSpecs() []string
func (*FormatSpecsRequest) ProtoMessage ¶
func (*FormatSpecsRequest) ProtoMessage()
func (*FormatSpecsRequest) Reset ¶
func (m *FormatSpecsRequest) Reset()
func (*FormatSpecsRequest) String ¶
func (m *FormatSpecsRequest) String() string
type FormatSpecsResponse ¶
type FormatSpecsResponse struct { // / Errors occurred on formatting Errors []string `protobuf:"bytes,1,rep,name=errors" json:"errors,omitempty"` // / Warnings occurred on formatting Warnings []string `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response on formatting spec files
func (*FormatSpecsResponse) Descriptor ¶
func (*FormatSpecsResponse) Descriptor() ([]byte, []int)
func (*FormatSpecsResponse) GetErrors ¶
func (m *FormatSpecsResponse) GetErrors() []string
func (*FormatSpecsResponse) GetWarnings ¶
func (m *FormatSpecsResponse) GetWarnings() []string
func (*FormatSpecsResponse) ProtoMessage ¶
func (*FormatSpecsResponse) ProtoMessage()
func (*FormatSpecsResponse) Reset ¶
func (m *FormatSpecsResponse) Reset()
func (*FormatSpecsResponse) String ¶
func (m *FormatSpecsResponse) String() string
type Fragment ¶
type Fragment struct { // / Type of Fragment, valid values are Text, Parameter FragmentType *Fragment_FragmentType `protobuf:"varint,1,req,name=fragmentType,enum=gauge.messages.Fragment_FragmentType" json:"fragmentType,omitempty"` // / Text part of the Fragment, valid only if FragmentType=Text Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` // / Parameter part of the Fragment, valid only if FragmentType=Parameter Parameter *Parameter `protobuf:"bytes,3,opt,name=parameter" json:"parameter,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Fragment. / Fragments, put together make up A Step
func (*Fragment) Descriptor ¶
func (*Fragment) GetFragmentType ¶
func (m *Fragment) GetFragmentType() Fragment_FragmentType
func (*Fragment) GetParameter ¶
func (*Fragment) ProtoMessage ¶
func (*Fragment) ProtoMessage()
type Fragment_FragmentType ¶
type Fragment_FragmentType int32
/ Enum representing the types of Fragment
const ( Fragment_Text Fragment_FragmentType = 1 Fragment_Parameter Fragment_FragmentType = 2 )
func (Fragment_FragmentType) Enum ¶
func (x Fragment_FragmentType) Enum() *Fragment_FragmentType
func (Fragment_FragmentType) EnumDescriptor ¶
func (Fragment_FragmentType) EnumDescriptor() ([]byte, []int)
func (Fragment_FragmentType) String ¶
func (x Fragment_FragmentType) String() string
func (*Fragment_FragmentType) UnmarshalJSON ¶
func (x *Fragment_FragmentType) UnmarshalJSON(data []byte) error
type GetAllConceptsRequest ¶
type GetAllConceptsRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request to get all Concepts in the project
func (*GetAllConceptsRequest) Descriptor ¶
func (*GetAllConceptsRequest) Descriptor() ([]byte, []int)
func (*GetAllConceptsRequest) ProtoMessage ¶
func (*GetAllConceptsRequest) ProtoMessage()
func (*GetAllConceptsRequest) Reset ¶
func (m *GetAllConceptsRequest) Reset()
func (*GetAllConceptsRequest) String ¶
func (m *GetAllConceptsRequest) String() string
type GetAllConceptsResponse ¶
type GetAllConceptsResponse struct { // / Holds a collection of Concepts that are defined in the project. Concepts []*ConceptInfo `protobuf:"bytes,1,rep,name=concepts" json:"concepts,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to GetAllConceptsResponse
func (*GetAllConceptsResponse) Descriptor ¶
func (*GetAllConceptsResponse) Descriptor() ([]byte, []int)
func (*GetAllConceptsResponse) GetConcepts ¶
func (m *GetAllConceptsResponse) GetConcepts() []*ConceptInfo
func (*GetAllConceptsResponse) ProtoMessage ¶
func (*GetAllConceptsResponse) ProtoMessage()
func (*GetAllConceptsResponse) Reset ¶
func (m *GetAllConceptsResponse) Reset()
func (*GetAllConceptsResponse) String ¶
func (m *GetAllConceptsResponse) String() string
type GetAllSpecsRequest ¶
type GetAllSpecsRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request to get all Specs in the project
func (*GetAllSpecsRequest) Descriptor ¶
func (*GetAllSpecsRequest) Descriptor() ([]byte, []int)
func (*GetAllSpecsRequest) ProtoMessage ¶
func (*GetAllSpecsRequest) ProtoMessage()
func (*GetAllSpecsRequest) Reset ¶
func (m *GetAllSpecsRequest) Reset()
func (*GetAllSpecsRequest) String ¶
func (m *GetAllSpecsRequest) String() string
type GetAllSpecsResponse ¶
type GetAllSpecsResponse struct { // / Holds a collection of Specs that are defined in the project. Specs []*ProtoSpec `protobuf:"bytes,1,rep,name=specs" json:"specs,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to GetAllSpecsRequest
func (*GetAllSpecsResponse) Descriptor ¶
func (*GetAllSpecsResponse) Descriptor() ([]byte, []int)
func (*GetAllSpecsResponse) GetSpecs ¶
func (m *GetAllSpecsResponse) GetSpecs() []*ProtoSpec
func (*GetAllSpecsResponse) ProtoMessage ¶
func (*GetAllSpecsResponse) ProtoMessage()
func (*GetAllSpecsResponse) Reset ¶
func (m *GetAllSpecsResponse) Reset()
func (*GetAllSpecsResponse) String ¶
func (m *GetAllSpecsResponse) String() string
type GetAllStepsRequest ¶
type GetAllStepsRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request to get all Steps in the project
func (*GetAllStepsRequest) Descriptor ¶
func (*GetAllStepsRequest) Descriptor() ([]byte, []int)
func (*GetAllStepsRequest) ProtoMessage ¶
func (*GetAllStepsRequest) ProtoMessage()
func (*GetAllStepsRequest) Reset ¶
func (m *GetAllStepsRequest) Reset()
func (*GetAllStepsRequest) String ¶
func (m *GetAllStepsRequest) String() string
type GetAllStepsResponse ¶
type GetAllStepsResponse struct { // / Holds a collection of Steps that are defined in the project. AllSteps []*ProtoStepValue `protobuf:"bytes,1,rep,name=allSteps" json:"allSteps,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to GetAllStepsRequest
func (*GetAllStepsResponse) Descriptor ¶
func (*GetAllStepsResponse) Descriptor() ([]byte, []int)
func (*GetAllStepsResponse) GetAllSteps ¶
func (m *GetAllStepsResponse) GetAllSteps() []*ProtoStepValue
func (*GetAllStepsResponse) ProtoMessage ¶
func (*GetAllStepsResponse) ProtoMessage()
func (*GetAllStepsResponse) Reset ¶
func (m *GetAllStepsResponse) Reset()
func (*GetAllStepsResponse) String ¶
func (m *GetAllStepsResponse) String() string
type GetInstallationRootRequest ¶
type GetInstallationRootRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request to get the Root Directory of the Gauge installation
func (*GetInstallationRootRequest) Descriptor ¶
func (*GetInstallationRootRequest) Descriptor() ([]byte, []int)
func (*GetInstallationRootRequest) ProtoMessage ¶
func (*GetInstallationRootRequest) ProtoMessage()
func (*GetInstallationRootRequest) Reset ¶
func (m *GetInstallationRootRequest) Reset()
func (*GetInstallationRootRequest) String ¶
func (m *GetInstallationRootRequest) String() string
type GetInstallationRootResponse ¶
type GetInstallationRootResponse struct { // / Holds the absolute path of the Gauge installation directory InstallationRoot *string `protobuf:"bytes,1,req,name=installationRoot" json:"installationRoot,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response of GetInstallationRootRequest
func (*GetInstallationRootResponse) Descriptor ¶
func (*GetInstallationRootResponse) Descriptor() ([]byte, []int)
func (*GetInstallationRootResponse) GetInstallationRoot ¶
func (m *GetInstallationRootResponse) GetInstallationRoot() string
func (*GetInstallationRootResponse) ProtoMessage ¶
func (*GetInstallationRootResponse) ProtoMessage()
func (*GetInstallationRootResponse) Reset ¶
func (m *GetInstallationRootResponse) Reset()
func (*GetInstallationRootResponse) String ¶
func (m *GetInstallationRootResponse) String() string
type GetLanguagePluginLibPathRequest ¶
type GetLanguagePluginLibPathRequest struct { // / The language to locate the lib directory for. Language *string `protobuf:"bytes,1,req,name=language" json:"language,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to get the location of language plugin's Lib directory
func (*GetLanguagePluginLibPathRequest) Descriptor ¶
func (*GetLanguagePluginLibPathRequest) Descriptor() ([]byte, []int)
func (*GetLanguagePluginLibPathRequest) GetLanguage ¶
func (m *GetLanguagePluginLibPathRequest) GetLanguage() string
func (*GetLanguagePluginLibPathRequest) ProtoMessage ¶
func (*GetLanguagePluginLibPathRequest) ProtoMessage()
func (*GetLanguagePluginLibPathRequest) Reset ¶
func (m *GetLanguagePluginLibPathRequest) Reset()
func (*GetLanguagePluginLibPathRequest) String ¶
func (m *GetLanguagePluginLibPathRequest) String() string
type GetLanguagePluginLibPathResponse ¶
type GetLanguagePluginLibPathResponse struct { // / Absolute path to the Lib directory of the language. Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to GetLanguagePluginLibPathRequest
func (*GetLanguagePluginLibPathResponse) Descriptor ¶
func (*GetLanguagePluginLibPathResponse) Descriptor() ([]byte, []int)
func (*GetLanguagePluginLibPathResponse) GetPath ¶
func (m *GetLanguagePluginLibPathResponse) GetPath() string
func (*GetLanguagePluginLibPathResponse) ProtoMessage ¶
func (*GetLanguagePluginLibPathResponse) ProtoMessage()
func (*GetLanguagePluginLibPathResponse) Reset ¶
func (m *GetLanguagePluginLibPathResponse) Reset()
func (*GetLanguagePluginLibPathResponse) String ¶
func (m *GetLanguagePluginLibPathResponse) String() string
type GetProjectRootRequest ¶
type GetProjectRootRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request to get the Root Directory of the project
func (*GetProjectRootRequest) Descriptor ¶
func (*GetProjectRootRequest) Descriptor() ([]byte, []int)
func (*GetProjectRootRequest) ProtoMessage ¶
func (*GetProjectRootRequest) ProtoMessage()
func (*GetProjectRootRequest) Reset ¶
func (m *GetProjectRootRequest) Reset()
func (*GetProjectRootRequest) String ¶
func (m *GetProjectRootRequest) String() string
type GetProjectRootResponse ¶
type GetProjectRootResponse struct { // / Holds the absolute path of the Project Root directory. ProjectRoot *string `protobuf:"bytes,1,req,name=projectRoot" json:"projectRoot,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response of GetProjectRootRequest.
func (*GetProjectRootResponse) Descriptor ¶
func (*GetProjectRootResponse) Descriptor() ([]byte, []int)
func (*GetProjectRootResponse) GetProjectRoot ¶
func (m *GetProjectRootResponse) GetProjectRoot() string
func (*GetProjectRootResponse) ProtoMessage ¶
func (*GetProjectRootResponse) ProtoMessage()
func (*GetProjectRootResponse) Reset ¶
func (m *GetProjectRootResponse) Reset()
func (*GetProjectRootResponse) String ¶
func (m *GetProjectRootResponse) String() string
type GetStepValueRequest ¶
type GetStepValueRequest struct { // / The text of the Step. StepText *string `protobuf:"bytes,1,req,name=stepText" json:"stepText,omitempty"` // / Flag to indicate if the Step has an inline table. HasInlineTable *bool `protobuf:"varint,2,opt,name=hasInlineTable" json:"hasInlineTable,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to get a Step Value.
func (*GetStepValueRequest) Descriptor ¶
func (*GetStepValueRequest) Descriptor() ([]byte, []int)
func (*GetStepValueRequest) GetHasInlineTable ¶
func (m *GetStepValueRequest) GetHasInlineTable() bool
func (*GetStepValueRequest) GetStepText ¶
func (m *GetStepValueRequest) GetStepText() string
func (*GetStepValueRequest) ProtoMessage ¶
func (*GetStepValueRequest) ProtoMessage()
func (*GetStepValueRequest) Reset ¶
func (m *GetStepValueRequest) Reset()
func (*GetStepValueRequest) String ¶
func (m *GetStepValueRequest) String() string
type GetStepValueResponse ¶
type GetStepValueResponse struct { // / The Step corresponding to the request provided. StepValue *ProtoStepValue `protobuf:"bytes,1,req,name=stepValue" json:"stepValue,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to GetStepValueRequest
func (*GetStepValueResponse) Descriptor ¶
func (*GetStepValueResponse) Descriptor() ([]byte, []int)
func (*GetStepValueResponse) GetStepValue ¶
func (m *GetStepValueResponse) GetStepValue() *ProtoStepValue
func (*GetStepValueResponse) ProtoMessage ¶
func (*GetStepValueResponse) ProtoMessage()
func (*GetStepValueResponse) Reset ¶
func (m *GetStepValueResponse) Reset()
func (*GetStepValueResponse) String ¶
func (m *GetStepValueResponse) String() string
type KillProcessRequest ¶
type KillProcessRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Default request. Tells the runner to shutdown.
func (*KillProcessRequest) Descriptor ¶
func (*KillProcessRequest) Descriptor() ([]byte, []int)
func (*KillProcessRequest) ProtoMessage ¶
func (*KillProcessRequest) ProtoMessage()
func (*KillProcessRequest) Reset ¶
func (m *KillProcessRequest) Reset()
func (*KillProcessRequest) String ¶
func (m *KillProcessRequest) String() string
type Message ¶
type Message struct { MessageType *Message_MessageType `protobuf:"varint,1,req,name=messageType,enum=gauge.messages.Message_MessageType" json:"messageType,omitempty"` // / A unique id to represent this message. A response to the message should copy over this value. // / This is used to synchronize messages & responses MessageId *int64 `protobuf:"varint,2,req,name=messageId" json:"messageId,omitempty"` // / [ExecutionStartingRequest](#gauge.messages.ExecutionStartingRequest) ExecutionStartingRequest *ExecutionStartingRequest `protobuf:"bytes,3,opt,name=executionStartingRequest" json:"executionStartingRequest,omitempty"` // / [SpecExecutionStartingRequest](#gauge.messages.SpecExecutionStartingRequest) SpecExecutionStartingRequest *SpecExecutionStartingRequest `protobuf:"bytes,4,opt,name=specExecutionStartingRequest" json:"specExecutionStartingRequest,omitempty"` // / [SpecExecutionEndingRequest](#gauge.messages.SpecExecutionEndingRequest) SpecExecutionEndingRequest *SpecExecutionEndingRequest `protobuf:"bytes,5,opt,name=specExecutionEndingRequest" json:"specExecutionEndingRequest,omitempty"` // / [ScenarioExecutionStartingRequest](#gauge.messages.ScenarioExecutionStartingRequest) ScenarioExecutionStartingRequest *ScenarioExecutionStartingRequest `protobuf:"bytes,6,opt,name=scenarioExecutionStartingRequest" json:"scenarioExecutionStartingRequest,omitempty"` // / [ScenarioExecutionEndingRequest](#gauge.messages.ScenarioExecutionEndingRequest) ScenarioExecutionEndingRequest *ScenarioExecutionEndingRequest `protobuf:"bytes,7,opt,name=scenarioExecutionEndingRequest" json:"scenarioExecutionEndingRequest,omitempty"` // / [StepExecutionStartingRequest](#gauge.messages.StepExecutionStartingRequest) StepExecutionStartingRequest *StepExecutionStartingRequest `protobuf:"bytes,8,opt,name=stepExecutionStartingRequest" json:"stepExecutionStartingRequest,omitempty"` // / [StepExecutionEndingRequest](#gauge.messages.StepExecutionEndingRequest) StepExecutionEndingRequest *StepExecutionEndingRequest `protobuf:"bytes,9,opt,name=stepExecutionEndingRequest" json:"stepExecutionEndingRequest,omitempty"` // / [ExecuteStepRequest](#gauge.messages.ExecuteStepRequest) ExecuteStepRequest *ExecuteStepRequest `protobuf:"bytes,10,opt,name=executeStepRequest" json:"executeStepRequest,omitempty"` // / [ExecutionEndingRequest](#gauge.messages.ExecutionEndingRequest) ExecutionEndingRequest *ExecutionEndingRequest `protobuf:"bytes,11,opt,name=executionEndingRequest" json:"executionEndingRequest,omitempty"` // / [StepValidateRequest](#gauge.messages.StepValidateRequest) StepValidateRequest *StepValidateRequest `protobuf:"bytes,12,opt,name=stepValidateRequest" json:"stepValidateRequest,omitempty"` // / [StepValidateResponse](#gauge.messages.StepValidateResponse) StepValidateResponse *StepValidateResponse `protobuf:"bytes,13,opt,name=stepValidateResponse" json:"stepValidateResponse,omitempty"` // / [ExecutionStatusResponse](#gauge.messages.ExecutionStatusResponse) ExecutionStatusResponse *ExecutionStatusResponse `protobuf:"bytes,14,opt,name=executionStatusResponse" json:"executionStatusResponse,omitempty"` // / [StepNamesRequest](#gauge.messages.StepNamesRequest) StepNamesRequest *StepNamesRequest `protobuf:"bytes,15,opt,name=stepNamesRequest" json:"stepNamesRequest,omitempty"` // / [StepNamesResponse](#gauge.messages.StepNamesResponse) StepNamesResponse *StepNamesResponse `protobuf:"bytes,16,opt,name=stepNamesResponse" json:"stepNamesResponse,omitempty"` // / [SuiteExecutionResult ](#gauge.messages.SuiteExecutionResult ) SuiteExecutionResult *SuiteExecutionResult `protobuf:"bytes,17,opt,name=suiteExecutionResult" json:"suiteExecutionResult,omitempty"` // / [KillProcessRequest](#gauge.messages.KillProcessRequest) KillProcessRequest *KillProcessRequest `protobuf:"bytes,18,opt,name=killProcessRequest" json:"killProcessRequest,omitempty"` // / [ScenarioDataStoreInitRequest](#gauge.messages.ScenarioDataStoreInitRequest) ScenarioDataStoreInitRequest *ScenarioDataStoreInitRequest `protobuf:"bytes,19,opt,name=scenarioDataStoreInitRequest" json:"scenarioDataStoreInitRequest,omitempty"` // / [SpecDataStoreInitRequest](#gauge.messages.SpecDataStoreInitRequest) SpecDataStoreInitRequest *SpecDataStoreInitRequest `protobuf:"bytes,20,opt,name=specDataStoreInitRequest" json:"specDataStoreInitRequest,omitempty"` // / [SuiteDataStoreInitRequest](#gauge.messages.SuiteDataStoreInitRequest) SuiteDataStoreInitRequest *SuiteDataStoreInitRequest `protobuf:"bytes,21,opt,name=suiteDataStoreInitRequest" json:"suiteDataStoreInitRequest,omitempty"` // / [StepNameRequest](#gauge.messages.StepNameRequest) StepNameRequest *StepNameRequest `protobuf:"bytes,22,opt,name=stepNameRequest" json:"stepNameRequest,omitempty"` // / [StepNameResponse](#gauge.messages.StepNameResponse) StepNameResponse *StepNameResponse `protobuf:"bytes,23,opt,name=stepNameResponse" json:"stepNameResponse,omitempty"` // / [RefactorRequest](#gauge.messages.RefactorRequest) RefactorRequest *RefactorRequest `protobuf:"bytes,24,opt,name=refactorRequest" json:"refactorRequest,omitempty"` // / [RefactorResponse](#gauge.messages.RefactorResponse) RefactorResponse *RefactorResponse `protobuf:"bytes,25,opt,name=refactorResponse" json:"refactorResponse,omitempty"` // / [UnsupportedMessageResponse](#gauge.messages.UnsupportedMessageResponse) UnsupportedMessageResponse *UnsupportedMessageResponse `protobuf:"bytes,26,opt,name=unsupportedMessageResponse" json:"unsupportedMessageResponse,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ This is the message which gets transferred all the time / with proper message type set / One of the Request/Response fields will have value, depending on the MessageType set.
func (*Message) Descriptor ¶
func (*Message) GetExecuteStepRequest ¶
func (m *Message) GetExecuteStepRequest() *ExecuteStepRequest
func (*Message) GetExecutionEndingRequest ¶
func (m *Message) GetExecutionEndingRequest() *ExecutionEndingRequest
func (*Message) GetExecutionStartingRequest ¶
func (m *Message) GetExecutionStartingRequest() *ExecutionStartingRequest
func (*Message) GetExecutionStatusResponse ¶
func (m *Message) GetExecutionStatusResponse() *ExecutionStatusResponse
func (*Message) GetKillProcessRequest ¶
func (m *Message) GetKillProcessRequest() *KillProcessRequest
func (*Message) GetMessageId ¶
func (*Message) GetMessageType ¶
func (m *Message) GetMessageType() Message_MessageType
func (*Message) GetRefactorRequest ¶
func (m *Message) GetRefactorRequest() *RefactorRequest
func (*Message) GetRefactorResponse ¶
func (m *Message) GetRefactorResponse() *RefactorResponse
func (*Message) GetScenarioDataStoreInitRequest ¶
func (m *Message) GetScenarioDataStoreInitRequest() *ScenarioDataStoreInitRequest
func (*Message) GetScenarioExecutionEndingRequest ¶
func (m *Message) GetScenarioExecutionEndingRequest() *ScenarioExecutionEndingRequest
func (*Message) GetScenarioExecutionStartingRequest ¶
func (m *Message) GetScenarioExecutionStartingRequest() *ScenarioExecutionStartingRequest
func (*Message) GetSpecDataStoreInitRequest ¶
func (m *Message) GetSpecDataStoreInitRequest() *SpecDataStoreInitRequest
func (*Message) GetSpecExecutionEndingRequest ¶
func (m *Message) GetSpecExecutionEndingRequest() *SpecExecutionEndingRequest
func (*Message) GetSpecExecutionStartingRequest ¶
func (m *Message) GetSpecExecutionStartingRequest() *SpecExecutionStartingRequest
func (*Message) GetStepExecutionEndingRequest ¶
func (m *Message) GetStepExecutionEndingRequest() *StepExecutionEndingRequest
func (*Message) GetStepExecutionStartingRequest ¶
func (m *Message) GetStepExecutionStartingRequest() *StepExecutionStartingRequest
func (*Message) GetStepNameRequest ¶
func (m *Message) GetStepNameRequest() *StepNameRequest
func (*Message) GetStepNameResponse ¶
func (m *Message) GetStepNameResponse() *StepNameResponse
func (*Message) GetStepNamesRequest ¶
func (m *Message) GetStepNamesRequest() *StepNamesRequest
func (*Message) GetStepNamesResponse ¶
func (m *Message) GetStepNamesResponse() *StepNamesResponse
func (*Message) GetStepValidateRequest ¶
func (m *Message) GetStepValidateRequest() *StepValidateRequest
func (*Message) GetStepValidateResponse ¶
func (m *Message) GetStepValidateResponse() *StepValidateResponse
func (*Message) GetSuiteDataStoreInitRequest ¶
func (m *Message) GetSuiteDataStoreInitRequest() *SuiteDataStoreInitRequest
func (*Message) GetSuiteExecutionResult ¶
func (m *Message) GetSuiteExecutionResult() *SuiteExecutionResult
func (*Message) GetUnsupportedMessageResponse ¶
func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_MessageType ¶
type Message_MessageType int32
const ( Message_ExecutionStarting Message_MessageType = 0 Message_SpecExecutionStarting Message_MessageType = 1 Message_SpecExecutionEnding Message_MessageType = 2 Message_ScenarioExecutionStarting Message_MessageType = 3 Message_ScenarioExecutionEnding Message_MessageType = 4 Message_StepExecutionStarting Message_MessageType = 5 Message_StepExecutionEnding Message_MessageType = 6 Message_ExecuteStep Message_MessageType = 7 Message_ExecutionEnding Message_MessageType = 8 Message_StepValidateRequest Message_MessageType = 9 Message_StepValidateResponse Message_MessageType = 10 Message_ExecutionStatusResponse Message_MessageType = 11 Message_StepNamesRequest Message_MessageType = 12 Message_StepNamesResponse Message_MessageType = 13 Message_KillProcessRequest Message_MessageType = 14 Message_SuiteExecutionResult Message_MessageType = 15 Message_ScenarioDataStoreInit Message_MessageType = 16 Message_SpecDataStoreInit Message_MessageType = 17 Message_SuiteDataStoreInit Message_MessageType = 18 Message_StepNameRequest Message_MessageType = 19 Message_StepNameResponse Message_MessageType = 20 Message_RefactorRequest Message_MessageType = 21 Message_RefactorResponse Message_MessageType = 22 Message_UnsupportedMessageResponse Message_MessageType = 23 )
func (Message_MessageType) Enum ¶
func (x Message_MessageType) Enum() *Message_MessageType
func (Message_MessageType) EnumDescriptor ¶
func (Message_MessageType) EnumDescriptor() ([]byte, []int)
func (Message_MessageType) String ¶
func (x Message_MessageType) String() string
func (*Message_MessageType) UnmarshalJSON ¶
func (x *Message_MessageType) UnmarshalJSON(data []byte) error
type Parameter ¶
type Parameter struct { // / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table ParameterType *Parameter_ParameterType `protobuf:"varint,1,req,name=parameterType,enum=gauge.messages.Parameter_ParameterType" json:"parameterType,omitempty"` // / Holds the value of the parameter Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // / Holds the name of the parameter, used as Key to lookup the value. Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // / Holds the table value, if parameterType=Table or Special_Table Table *ProtoTable `protobuf:"bytes,4,opt,name=table" json:"table,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Fragment.
func (*Parameter) Descriptor ¶
func (*Parameter) GetParameterType ¶
func (m *Parameter) GetParameterType() Parameter_ParameterType
func (*Parameter) GetTable ¶
func (m *Parameter) GetTable() *ProtoTable
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
type ParameterPosition ¶
type ParameterPosition struct { OldPosition *int32 `protobuf:"varint,1,req,name=oldPosition" json:"oldPosition,omitempty"` NewPosition *int32 `protobuf:"varint,2,req,name=newPosition" json:"newPosition,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Holds the new and old positions of a parameter. / Used when refactoring a Step.
func (*ParameterPosition) Descriptor ¶
func (*ParameterPosition) Descriptor() ([]byte, []int)
func (*ParameterPosition) GetNewPosition ¶
func (m *ParameterPosition) GetNewPosition() int32
func (*ParameterPosition) GetOldPosition ¶
func (m *ParameterPosition) GetOldPosition() int32
func (*ParameterPosition) ProtoMessage ¶
func (*ParameterPosition) ProtoMessage()
func (*ParameterPosition) Reset ¶
func (m *ParameterPosition) Reset()
func (*ParameterPosition) String ¶
func (m *ParameterPosition) String() string
type Parameter_ParameterType ¶
type Parameter_ParameterType int32
/ Enum representing types of Parameter.
const ( Parameter_Static Parameter_ParameterType = 1 Parameter_Dynamic Parameter_ParameterType = 2 Parameter_Special_String Parameter_ParameterType = 3 Parameter_Special_Table Parameter_ParameterType = 4 Parameter_Table Parameter_ParameterType = 5 )
func (Parameter_ParameterType) Enum ¶
func (x Parameter_ParameterType) Enum() *Parameter_ParameterType
func (Parameter_ParameterType) EnumDescriptor ¶
func (Parameter_ParameterType) EnumDescriptor() ([]byte, []int)
func (Parameter_ParameterType) String ¶
func (x Parameter_ParameterType) String() string
func (*Parameter_ParameterType) UnmarshalJSON ¶
func (x *Parameter_ParameterType) UnmarshalJSON(data []byte) error
type PerformRefactoringRequest ¶
type PerformRefactoringRequest struct { // / Step to refactor OldStep *string `protobuf:"bytes,1,req,name=oldStep" json:"oldStep,omitempty"` // / Change to be made NewStep *string `protobuf:"bytes,2,req,name=newStep" json:"newStep,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request to perform a Refactor
func (*PerformRefactoringRequest) Descriptor ¶
func (*PerformRefactoringRequest) Descriptor() ([]byte, []int)
func (*PerformRefactoringRequest) GetNewStep ¶
func (m *PerformRefactoringRequest) GetNewStep() string
func (*PerformRefactoringRequest) GetOldStep ¶
func (m *PerformRefactoringRequest) GetOldStep() string
func (*PerformRefactoringRequest) ProtoMessage ¶
func (*PerformRefactoringRequest) ProtoMessage()
func (*PerformRefactoringRequest) Reset ¶
func (m *PerformRefactoringRequest) Reset()
func (*PerformRefactoringRequest) String ¶
func (m *PerformRefactoringRequest) String() string
type PerformRefactoringResponse ¶
type PerformRefactoringResponse struct { // / Flag indicating Success Success *bool `protobuf:"varint,1,req,name=success" json:"success,omitempty"` // / Error message if the refactoring was unsuccessful. Errors []string `protobuf:"bytes,2,rep,name=errors" json:"errors,omitempty"` // / Collection of files that were changed as part of the Refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to PerformRefactoringRequest
func (*PerformRefactoringResponse) Descriptor ¶
func (*PerformRefactoringResponse) Descriptor() ([]byte, []int)
func (*PerformRefactoringResponse) GetErrors ¶
func (m *PerformRefactoringResponse) GetErrors() []string
func (*PerformRefactoringResponse) GetFilesChanged ¶
func (m *PerformRefactoringResponse) GetFilesChanged() []string
func (*PerformRefactoringResponse) GetSuccess ¶
func (m *PerformRefactoringResponse) GetSuccess() bool
func (*PerformRefactoringResponse) ProtoMessage ¶
func (*PerformRefactoringResponse) ProtoMessage()
func (*PerformRefactoringResponse) Reset ¶
func (m *PerformRefactoringResponse) Reset()
func (*PerformRefactoringResponse) String ¶
func (m *PerformRefactoringResponse) String() string
type ProtoComment ¶
type ProtoComment struct { // / Text representing the Comment. Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Comment.
func (*ProtoComment) Descriptor ¶
func (*ProtoComment) Descriptor() ([]byte, []int)
func (*ProtoComment) GetText ¶
func (m *ProtoComment) GetText() string
func (*ProtoComment) ProtoMessage ¶
func (*ProtoComment) ProtoMessage()
func (*ProtoComment) Reset ¶
func (m *ProtoComment) Reset()
func (*ProtoComment) String ¶
func (m *ProtoComment) String() string
type ProtoConcept ¶
type ProtoConcept struct { // / Represents the Step value of a Concept. ConceptStep *ProtoStep `protobuf:"bytes,1,req,name=conceptStep" json:"conceptStep,omitempty"` // / Collection of Steps in the given concepts. Steps []*ProtoItem `protobuf:"bytes,2,rep,name=steps" json:"steps,omitempty"` // / Holds the execution result. ConceptExecutionResult *ProtoStepExecutionResult `protobuf:"bytes,3,opt,name=conceptExecutionResult" json:"conceptExecutionResult,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Concept is a type of step, that can have multiple Steps. / But from a caller's perspective, it is still used as any other Step / A proto object representing a Concept
func (*ProtoConcept) Descriptor ¶
func (*ProtoConcept) Descriptor() ([]byte, []int)
func (*ProtoConcept) GetConceptExecutionResult ¶
func (m *ProtoConcept) GetConceptExecutionResult() *ProtoStepExecutionResult
func (*ProtoConcept) GetConceptStep ¶
func (m *ProtoConcept) GetConceptStep() *ProtoStep
func (*ProtoConcept) GetSteps ¶
func (m *ProtoConcept) GetSteps() []*ProtoItem
func (*ProtoConcept) ProtoMessage ¶
func (*ProtoConcept) ProtoMessage()
func (*ProtoConcept) Reset ¶
func (m *ProtoConcept) Reset()
func (*ProtoConcept) String ¶
func (m *ProtoConcept) String() string
type ProtoExecutionResult ¶
type ProtoExecutionResult struct { // / Flag to indicate failure Failed *bool `protobuf:"varint,1,req,name=failed" json:"failed,omitempty"` // / Flag to indicate if the error is recoverable from. RecoverableError *bool `protobuf:"varint,2,opt,name=recoverableError" json:"recoverableError,omitempty"` // / The actual error message. ErrorMessage *string `protobuf:"bytes,3,opt,name=errorMessage" json:"errorMessage,omitempty"` // / Stacktrace of the error StackTrace *string `protobuf:"bytes,4,opt,name=stackTrace" json:"stackTrace,omitempty"` // / Byte array containing screenshot taken at the time of failure. ScreenShot []byte `protobuf:"bytes,5,opt,name=screenShot" json:"screenShot,omitempty"` // / Holds the time taken for executing this scenario. ExecutionTime *int64 `protobuf:"varint,6,req,name=executionTime" json:"executionTime,omitempty"` // / Additional information at exec time to be available on reports Message []string `protobuf:"bytes,7,rep,name=message" json:"message,omitempty"` // / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION ErrorType *ProtoExecutionResult_ErrorType `protobuf:"varint,8,opt,name=errorType,enum=gauge.messages.ProtoExecutionResult_ErrorType,def=1" json:"errorType,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing the result of an execution
func (*ProtoExecutionResult) Descriptor ¶
func (*ProtoExecutionResult) Descriptor() ([]byte, []int)
func (*ProtoExecutionResult) GetErrorMessage ¶
func (m *ProtoExecutionResult) GetErrorMessage() string
func (*ProtoExecutionResult) GetErrorType ¶
func (m *ProtoExecutionResult) GetErrorType() ProtoExecutionResult_ErrorType
func (*ProtoExecutionResult) GetExecutionTime ¶
func (m *ProtoExecutionResult) GetExecutionTime() int64
func (*ProtoExecutionResult) GetFailed ¶
func (m *ProtoExecutionResult) GetFailed() bool
func (*ProtoExecutionResult) GetMessage ¶
func (m *ProtoExecutionResult) GetMessage() []string
func (*ProtoExecutionResult) GetRecoverableError ¶
func (m *ProtoExecutionResult) GetRecoverableError() bool
func (*ProtoExecutionResult) GetScreenShot ¶
func (m *ProtoExecutionResult) GetScreenShot() []byte
func (*ProtoExecutionResult) GetStackTrace ¶
func (m *ProtoExecutionResult) GetStackTrace() string
func (*ProtoExecutionResult) ProtoMessage ¶
func (*ProtoExecutionResult) ProtoMessage()
func (*ProtoExecutionResult) Reset ¶
func (m *ProtoExecutionResult) Reset()
func (*ProtoExecutionResult) String ¶
func (m *ProtoExecutionResult) String() string
type ProtoExecutionResult_ErrorType ¶
type ProtoExecutionResult_ErrorType int32
const ( ProtoExecutionResult_ASSERTION ProtoExecutionResult_ErrorType = 1 ProtoExecutionResult_VERIFICATION ProtoExecutionResult_ErrorType = 2 )
const Default_ProtoExecutionResult_ErrorType ProtoExecutionResult_ErrorType = ProtoExecutionResult_ASSERTION
func (ProtoExecutionResult_ErrorType) Enum ¶
func (x ProtoExecutionResult_ErrorType) Enum() *ProtoExecutionResult_ErrorType
func (ProtoExecutionResult_ErrorType) EnumDescriptor ¶
func (ProtoExecutionResult_ErrorType) EnumDescriptor() ([]byte, []int)
func (ProtoExecutionResult_ErrorType) String ¶
func (x ProtoExecutionResult_ErrorType) String() string
func (*ProtoExecutionResult_ErrorType) UnmarshalJSON ¶
func (x *ProtoExecutionResult_ErrorType) UnmarshalJSON(data []byte) error
type ProtoHookFailure ¶
type ProtoHookFailure struct { // / Stacktrace from the failure StackTrace *string `protobuf:"bytes,1,req,name=stackTrace" json:"stackTrace,omitempty"` // / Error message from the failure ErrorMessage *string `protobuf:"bytes,2,req,name=errorMessage" json:"errorMessage,omitempty"` // / Byte array holding the screenshot taken at the time of failure. ScreenShot []byte `protobuf:"bytes,3,opt,name=screenShot" json:"screenShot,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a pre-hook failure. / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.
func (*ProtoHookFailure) Descriptor ¶
func (*ProtoHookFailure) Descriptor() ([]byte, []int)
func (*ProtoHookFailure) GetErrorMessage ¶
func (m *ProtoHookFailure) GetErrorMessage() string
func (*ProtoHookFailure) GetScreenShot ¶
func (m *ProtoHookFailure) GetScreenShot() []byte
func (*ProtoHookFailure) GetStackTrace ¶
func (m *ProtoHookFailure) GetStackTrace() string
func (*ProtoHookFailure) ProtoMessage ¶
func (*ProtoHookFailure) ProtoMessage()
func (*ProtoHookFailure) Reset ¶
func (m *ProtoHookFailure) Reset()
func (*ProtoHookFailure) String ¶
func (m *ProtoHookFailure) String() string
type ProtoItem ¶
type ProtoItem struct { // / Itemtype of the current ProtoItem ItemType *ProtoItem_ItemType `protobuf:"varint,1,req,name=itemType,enum=gauge.messages.ProtoItem_ItemType" json:"itemType,omitempty"` // / Holds the Step definition. Valid only if ItemType = Step Step *ProtoStep `protobuf:"bytes,2,opt,name=step" json:"step,omitempty"` // / Holds the Concept definition. Valid only if ItemType = Concept Concept *ProtoConcept `protobuf:"bytes,3,opt,name=concept" json:"concept,omitempty"` // / Holds the Scenario definition. Valid only if ItemType = Scenario Scenario *ProtoScenario `protobuf:"bytes,4,opt,name=scenario" json:"scenario,omitempty"` // / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario TableDrivenScenario *ProtoTableDrivenScenario `protobuf:"bytes,5,opt,name=tableDrivenScenario" json:"tableDrivenScenario,omitempty"` // / Holds the Comment definition. Valid only if ItemType = Comment Comment *ProtoComment `protobuf:"bytes,6,opt,name=comment" json:"comment,omitempty"` // / Holds the Table definition. Valid only if ItemType = Table Table *ProtoTable `protobuf:"bytes,7,opt,name=table" json:"table,omitempty"` // / Holds the Tags definition. Valid only if ItemType = Tags Tags *ProtoTags `protobuf:"bytes,8,opt,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Container for all valid Items under a Specification.
func (*ProtoItem) Descriptor ¶
func (*ProtoItem) GetComment ¶
func (m *ProtoItem) GetComment() *ProtoComment
func (*ProtoItem) GetConcept ¶
func (m *ProtoItem) GetConcept() *ProtoConcept
func (*ProtoItem) GetItemType ¶
func (m *ProtoItem) GetItemType() ProtoItem_ItemType
func (*ProtoItem) GetScenario ¶
func (m *ProtoItem) GetScenario() *ProtoScenario
func (*ProtoItem) GetTable ¶
func (m *ProtoItem) GetTable() *ProtoTable
func (*ProtoItem) GetTableDrivenScenario ¶
func (m *ProtoItem) GetTableDrivenScenario() *ProtoTableDrivenScenario
func (*ProtoItem) ProtoMessage ¶
func (*ProtoItem) ProtoMessage()
type ProtoItem_ItemType ¶
type ProtoItem_ItemType int32
/ Enumerates various item types that the proto item can contain. Valid types are: Step, Comment, Concept, Scenario, TableDrivenScenario, Table, Tags
const ( ProtoItem_Step ProtoItem_ItemType = 1 ProtoItem_Comment ProtoItem_ItemType = 2 ProtoItem_Concept ProtoItem_ItemType = 3 ProtoItem_Scenario ProtoItem_ItemType = 4 ProtoItem_TableDrivenScenario ProtoItem_ItemType = 5 ProtoItem_Table ProtoItem_ItemType = 6 ProtoItem_Tags ProtoItem_ItemType = 7 )
func (ProtoItem_ItemType) Enum ¶
func (x ProtoItem_ItemType) Enum() *ProtoItem_ItemType
func (ProtoItem_ItemType) EnumDescriptor ¶
func (ProtoItem_ItemType) EnumDescriptor() ([]byte, []int)
func (ProtoItem_ItemType) String ¶
func (x ProtoItem_ItemType) String() string
func (*ProtoItem_ItemType) UnmarshalJSON ¶
func (x *ProtoItem_ItemType) UnmarshalJSON(data []byte) error
type ProtoScenario ¶
type ProtoScenario struct { // / Heading of the given Scenario ScenarioHeading *string `protobuf:"bytes,1,req,name=scenarioHeading" json:"scenarioHeading,omitempty"` // / Flag to indicate if the Scenario execution failed Failed *bool `protobuf:"varint,2,req,name=failed" json:"failed,omitempty"` // / Collection of Context steps. The Context steps are executed before every run. Contexts []*ProtoItem `protobuf:"bytes,3,rep,name=contexts" json:"contexts,omitempty"` // / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables ScenarioItems []*ProtoItem `protobuf:"bytes,4,rep,name=scenarioItems" json:"scenarioItems,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error. PreHookFailure *ProtoHookFailure `protobuf:"bytes,5,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error. PostHookFailure *ProtoHookFailure `protobuf:"bytes,6,opt,name=postHookFailure" json:"postHookFailure,omitempty"` // / Contains a list of tags that are defined at the specification level. Scenario tags are not present here. Tags []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` // / Holds the time taken for executing this scenario. ExecutionTime *int64 `protobuf:"varint,8,opt,name=executionTime" json:"executionTime,omitempty"` Skipped *bool `protobuf:"varint,9,req,name=skipped" json:"skipped,omitempty"` SkipErrors []string `protobuf:"bytes,10,rep,name=skipErrors" json:"skipErrors,omitempty"` // / Holds the unique Identifier of a scenario. ID *string `protobuf:"bytes,11,opt,name=ID,json=iD" json:"ID,omitempty"` // / Collection of Teardown steps. The Teardown steps are executed after every run. TearDownSteps []*ProtoItem `protobuf:"bytes,12,rep,name=tearDownSteps" json:"tearDownSteps,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a Scenario
func (*ProtoScenario) Descriptor ¶
func (*ProtoScenario) Descriptor() ([]byte, []int)
func (*ProtoScenario) GetContexts ¶
func (m *ProtoScenario) GetContexts() []*ProtoItem
func (*ProtoScenario) GetExecutionTime ¶
func (m *ProtoScenario) GetExecutionTime() int64
func (*ProtoScenario) GetFailed ¶
func (m *ProtoScenario) GetFailed() bool
func (*ProtoScenario) GetID ¶
func (m *ProtoScenario) GetID() string
func (*ProtoScenario) GetPostHookFailure ¶
func (m *ProtoScenario) GetPostHookFailure() *ProtoHookFailure
func (*ProtoScenario) GetPreHookFailure ¶
func (m *ProtoScenario) GetPreHookFailure() *ProtoHookFailure
func (*ProtoScenario) GetScenarioHeading ¶
func (m *ProtoScenario) GetScenarioHeading() string
func (*ProtoScenario) GetScenarioItems ¶
func (m *ProtoScenario) GetScenarioItems() []*ProtoItem
func (*ProtoScenario) GetSkipErrors ¶
func (m *ProtoScenario) GetSkipErrors() []string
func (*ProtoScenario) GetSkipped ¶
func (m *ProtoScenario) GetSkipped() bool
func (*ProtoScenario) GetTags ¶
func (m *ProtoScenario) GetTags() []string
func (*ProtoScenario) GetTearDownSteps ¶
func (m *ProtoScenario) GetTearDownSteps() []*ProtoItem
func (*ProtoScenario) ProtoMessage ¶
func (*ProtoScenario) ProtoMessage()
func (*ProtoScenario) Reset ¶
func (m *ProtoScenario) Reset()
func (*ProtoScenario) String ¶
func (m *ProtoScenario) String() string
type ProtoSpec ¶
type ProtoSpec struct { // / Heading describing the Specification SpecHeading *string `protobuf:"bytes,1,req,name=specHeading" json:"specHeading,omitempty"` // / A collection of items that come under this step Items []*ProtoItem `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter. IsTableDriven *bool `protobuf:"varint,3,req,name=isTableDriven" json:"isTableDriven,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error. PreHookFailure *ProtoHookFailure `protobuf:"bytes,4,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error. PostHookFailure *ProtoHookFailure `protobuf:"bytes,5,opt,name=postHookFailure" json:"postHookFailure,omitempty"` // / Contains the filename for that holds this specification. FileName *string `protobuf:"bytes,6,req,name=fileName" json:"fileName,omitempty"` // / Contains a list of tags that are defined at the specification level. Scenario tags are not present here. Tags []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a Specification / A specification can contain Scenarios or Steps, besides Comments
func (*ProtoSpec) Descriptor ¶
func (*ProtoSpec) GetFileName ¶
func (*ProtoSpec) GetIsTableDriven ¶
func (*ProtoSpec) GetPostHookFailure ¶
func (m *ProtoSpec) GetPostHookFailure() *ProtoHookFailure
func (*ProtoSpec) GetPreHookFailure ¶
func (m *ProtoSpec) GetPreHookFailure() *ProtoHookFailure
func (*ProtoSpec) GetSpecHeading ¶
func (*ProtoSpec) ProtoMessage ¶
func (*ProtoSpec) ProtoMessage()
type ProtoSpecResult ¶
type ProtoSpecResult struct { // / Represents the corresponding Specification ProtoSpec *ProtoSpec `protobuf:"bytes,1,req,name=protoSpec" json:"protoSpec,omitempty"` // / Holds the number of Scenarios executed ScenarioCount *int32 `protobuf:"varint,2,req,name=scenarioCount" json:"scenarioCount,omitempty"` // / Holds the number of Scenarios failed ScenarioFailedCount *int32 `protobuf:"varint,3,req,name=scenarioFailedCount" json:"scenarioFailedCount,omitempty"` // / Flag to indicate failure Failed *bool `protobuf:"varint,4,req,name=failed" json:"failed,omitempty"` // / Holds the row numbers, which caused the execution to fail. FailedDataTableRows []int32 `protobuf:"varint,5,rep,name=failedDataTableRows" json:"failedDataTableRows,omitempty"` // / Holds the time taken for executing the spec. ExecutionTime *int64 `protobuf:"varint,6,opt,name=executionTime" json:"executionTime,omitempty"` Skipped *bool `protobuf:"varint,7,req,name=skipped" json:"skipped,omitempty"` ScenarioSkippedCount *int32 `protobuf:"varint,9,req,name=scenarioSkippedCount" json:"scenarioSkippedCount,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing the result of Spec execution.
func (*ProtoSpecResult) Descriptor ¶
func (*ProtoSpecResult) Descriptor() ([]byte, []int)
func (*ProtoSpecResult) GetExecutionTime ¶
func (m *ProtoSpecResult) GetExecutionTime() int64
func (*ProtoSpecResult) GetFailed ¶
func (m *ProtoSpecResult) GetFailed() bool
func (*ProtoSpecResult) GetFailedDataTableRows ¶
func (m *ProtoSpecResult) GetFailedDataTableRows() []int32
func (*ProtoSpecResult) GetProtoSpec ¶
func (m *ProtoSpecResult) GetProtoSpec() *ProtoSpec
func (*ProtoSpecResult) GetScenarioCount ¶
func (m *ProtoSpecResult) GetScenarioCount() int32
func (*ProtoSpecResult) GetScenarioFailedCount ¶
func (m *ProtoSpecResult) GetScenarioFailedCount() int32
func (*ProtoSpecResult) GetScenarioSkippedCount ¶
func (m *ProtoSpecResult) GetScenarioSkippedCount() int32
func (*ProtoSpecResult) GetSkipped ¶
func (m *ProtoSpecResult) GetSkipped() bool
func (*ProtoSpecResult) ProtoMessage ¶
func (*ProtoSpecResult) ProtoMessage()
func (*ProtoSpecResult) Reset ¶
func (m *ProtoSpecResult) Reset()
func (*ProtoSpecResult) String ¶
func (m *ProtoSpecResult) String() string
type ProtoStep ¶
type ProtoStep struct { // / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values. ActualText *string `protobuf:"bytes,1,req,name=actualText" json:"actualText,omitempty"` // / Contains the parsed text of the Step. This will have placeholders for the parameters. ParsedText *string `protobuf:"bytes,2,req,name=parsedText" json:"parsedText,omitempty"` // / Collection of a list of fragments for a Step. A fragment could be either text or parameter. Fragments []*Fragment `protobuf:"bytes,3,rep,name=fragments" json:"fragments,omitempty"` // / Holds the result from the execution. StepExecutionResult *ProtoStepExecutionResult `protobuf:"bytes,4,opt,name=stepExecutionResult" json:"stepExecutionResult,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a Step
func (*ProtoStep) Descriptor ¶
func (*ProtoStep) GetActualText ¶
func (*ProtoStep) GetFragments ¶
func (*ProtoStep) GetParsedText ¶
func (*ProtoStep) GetStepExecutionResult ¶
func (m *ProtoStep) GetStepExecutionResult() *ProtoStepExecutionResult
func (*ProtoStep) ProtoMessage ¶
func (*ProtoStep) ProtoMessage()
type ProtoStepExecutionResult ¶
type ProtoStepExecutionResult struct { // / The actual result of the execution ExecutionResult *ProtoExecutionResult `protobuf:"bytes,1,opt,name=executionResult" json:"executionResult,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error. PreHookFailure *ProtoHookFailure `protobuf:"bytes,2,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error. PostHookFailure *ProtoHookFailure `protobuf:"bytes,3,opt,name=postHookFailure" json:"postHookFailure,omitempty"` Skipped *bool `protobuf:"varint,4,req,name=skipped" json:"skipped,omitempty"` SkippedReason *string `protobuf:"bytes,5,opt,name=skippedReason" json:"skippedReason,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Step Execution result
func (*ProtoStepExecutionResult) Descriptor ¶
func (*ProtoStepExecutionResult) Descriptor() ([]byte, []int)
func (*ProtoStepExecutionResult) GetExecutionResult ¶
func (m *ProtoStepExecutionResult) GetExecutionResult() *ProtoExecutionResult
func (*ProtoStepExecutionResult) GetPostHookFailure ¶
func (m *ProtoStepExecutionResult) GetPostHookFailure() *ProtoHookFailure
func (*ProtoStepExecutionResult) GetPreHookFailure ¶
func (m *ProtoStepExecutionResult) GetPreHookFailure() *ProtoHookFailure
func (*ProtoStepExecutionResult) GetSkipped ¶
func (m *ProtoStepExecutionResult) GetSkipped() bool
func (*ProtoStepExecutionResult) GetSkippedReason ¶
func (m *ProtoStepExecutionResult) GetSkippedReason() string
func (*ProtoStepExecutionResult) ProtoMessage ¶
func (*ProtoStepExecutionResult) ProtoMessage()
func (*ProtoStepExecutionResult) Reset ¶
func (m *ProtoStepExecutionResult) Reset()
func (*ProtoStepExecutionResult) String ¶
func (m *ProtoStepExecutionResult) String() string
type ProtoStepValue ¶
type ProtoStepValue struct { // / The actual string value describing he Step StepValue *string `protobuf:"bytes,1,req,name=stepValue" json:"stepValue,omitempty"` // / The parameterized string value describing he Step. The parameters are replaced with placeholders. ParameterizedStepValue *string `protobuf:"bytes,2,req,name=parameterizedStepValue" json:"parameterizedStepValue,omitempty"` // / A collection of strings representing the parameters. Parameters []string `protobuf:"bytes,3,rep,name=parameters" json:"parameters,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a Step value.
func (*ProtoStepValue) Descriptor ¶
func (*ProtoStepValue) Descriptor() ([]byte, []int)
func (*ProtoStepValue) GetParameterizedStepValue ¶
func (m *ProtoStepValue) GetParameterizedStepValue() string
func (*ProtoStepValue) GetParameters ¶
func (m *ProtoStepValue) GetParameters() []string
func (*ProtoStepValue) GetStepValue ¶
func (m *ProtoStepValue) GetStepValue() string
func (*ProtoStepValue) ProtoMessage ¶
func (*ProtoStepValue) ProtoMessage()
func (*ProtoStepValue) Reset ¶
func (m *ProtoStepValue) Reset()
func (*ProtoStepValue) String ¶
func (m *ProtoStepValue) String() string
type ProtoSuiteResult ¶
type ProtoSuiteResult struct { // / Contains the result from the execution SpecResults []*ProtoSpecResult `protobuf:"bytes,1,rep,name=specResults" json:"specResults,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error PreHookFailure *ProtoHookFailure `protobuf:"bytes,2,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error PostHookFailure *ProtoHookFailure `protobuf:"bytes,3,opt,name=postHookFailure" json:"postHookFailure,omitempty"` // / Flag to indicate failure Failed *bool `protobuf:"varint,4,req,name=failed" json:"failed,omitempty"` // / Holds the count of number of Specifications that failed. SpecsFailedCount *int32 `protobuf:"varint,5,req,name=specsFailedCount" json:"specsFailedCount,omitempty"` // / Holds the time taken for executing the whole suite. ExecutionTime *int64 `protobuf:"varint,6,opt,name=executionTime" json:"executionTime,omitempty"` // / Holds a metric indicating the success rate of the execution. SuccessRate *float32 `protobuf:"fixed32,7,req,name=successRate" json:"successRate,omitempty"` // / The environment against which execution was done Environment *string `protobuf:"bytes,8,opt,name=environment" json:"environment,omitempty"` // / Tag expression used for filtering specification Tags *string `protobuf:"bytes,9,opt,name=tags" json:"tags,omitempty"` // / Project name ProjectName *string `protobuf:"bytes,10,req,name=projectName" json:"projectName,omitempty"` // / Timestamp of when execution started Timestamp *string `protobuf:"bytes,11,req,name=timestamp" json:"timestamp,omitempty"` SpecsSkippedCount *int32 `protobuf:"varint,12,req,name=specsSkippedCount" json:"specsSkippedCount,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing the result of entire Suite execution.
func (*ProtoSuiteResult) Descriptor ¶
func (*ProtoSuiteResult) Descriptor() ([]byte, []int)
func (*ProtoSuiteResult) GetEnvironment ¶
func (m *ProtoSuiteResult) GetEnvironment() string
func (*ProtoSuiteResult) GetExecutionTime ¶
func (m *ProtoSuiteResult) GetExecutionTime() int64
func (*ProtoSuiteResult) GetFailed ¶
func (m *ProtoSuiteResult) GetFailed() bool
func (*ProtoSuiteResult) GetPostHookFailure ¶
func (m *ProtoSuiteResult) GetPostHookFailure() *ProtoHookFailure
func (*ProtoSuiteResult) GetPreHookFailure ¶
func (m *ProtoSuiteResult) GetPreHookFailure() *ProtoHookFailure
func (*ProtoSuiteResult) GetProjectName ¶
func (m *ProtoSuiteResult) GetProjectName() string
func (*ProtoSuiteResult) GetSpecResults ¶
func (m *ProtoSuiteResult) GetSpecResults() []*ProtoSpecResult
func (*ProtoSuiteResult) GetSpecsFailedCount ¶
func (m *ProtoSuiteResult) GetSpecsFailedCount() int32
func (*ProtoSuiteResult) GetSpecsSkippedCount ¶
func (m *ProtoSuiteResult) GetSpecsSkippedCount() int32
func (*ProtoSuiteResult) GetSuccessRate ¶
func (m *ProtoSuiteResult) GetSuccessRate() float32
func (*ProtoSuiteResult) GetTags ¶
func (m *ProtoSuiteResult) GetTags() string
func (*ProtoSuiteResult) GetTimestamp ¶
func (m *ProtoSuiteResult) GetTimestamp() string
func (*ProtoSuiteResult) ProtoMessage ¶
func (*ProtoSuiteResult) ProtoMessage()
func (*ProtoSuiteResult) Reset ¶
func (m *ProtoSuiteResult) Reset()
func (*ProtoSuiteResult) String ¶
func (m *ProtoSuiteResult) String() string
type ProtoTable ¶
type ProtoTable struct { // / Contains the Headers for the table Headers *ProtoTableRow `protobuf:"bytes,1,req,name=headers" json:"headers,omitempty"` // / Contains the Rows for the table Rows []*ProtoTableRow `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Table.
func (*ProtoTable) Descriptor ¶
func (*ProtoTable) Descriptor() ([]byte, []int)
func (*ProtoTable) GetHeaders ¶
func (m *ProtoTable) GetHeaders() *ProtoTableRow
func (*ProtoTable) GetRows ¶
func (m *ProtoTable) GetRows() []*ProtoTableRow
func (*ProtoTable) ProtoMessage ¶
func (*ProtoTable) ProtoMessage()
func (*ProtoTable) Reset ¶
func (m *ProtoTable) Reset()
func (*ProtoTable) String ¶
func (m *ProtoTable) String() string
type ProtoTableDrivenScenario ¶
type ProtoTableDrivenScenario struct { // / Holds the Underlying scenario that is executed for every row in the table. Scenarios []*ProtoScenario `protobuf:"bytes,1,rep,name=scenarios" json:"scenarios,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing a TableDrivenScenario
func (*ProtoTableDrivenScenario) Descriptor ¶
func (*ProtoTableDrivenScenario) Descriptor() ([]byte, []int)
func (*ProtoTableDrivenScenario) GetScenarios ¶
func (m *ProtoTableDrivenScenario) GetScenarios() []*ProtoScenario
func (*ProtoTableDrivenScenario) ProtoMessage ¶
func (*ProtoTableDrivenScenario) ProtoMessage()
func (*ProtoTableDrivenScenario) Reset ¶
func (m *ProtoTableDrivenScenario) Reset()
func (*ProtoTableDrivenScenario) String ¶
func (m *ProtoTableDrivenScenario) String() string
type ProtoTableRow ¶
type ProtoTableRow struct { // / Represents the cells of a given table Cells []string `protobuf:"bytes,1,rep,name=cells" json:"cells,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Table.
func (*ProtoTableRow) Descriptor ¶
func (*ProtoTableRow) Descriptor() ([]byte, []int)
func (*ProtoTableRow) GetCells ¶
func (m *ProtoTableRow) GetCells() []string
func (*ProtoTableRow) ProtoMessage ¶
func (*ProtoTableRow) ProtoMessage()
func (*ProtoTableRow) Reset ¶
func (m *ProtoTableRow) Reset()
func (*ProtoTableRow) String ¶
func (m *ProtoTableRow) String() string
type ProtoTags ¶
type ProtoTags struct { // / A collection of Tags Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ A proto object representing Tags
func (*ProtoTags) Descriptor ¶
func (*ProtoTags) ProtoMessage ¶
func (*ProtoTags) ProtoMessage()
type RefactorRequest ¶
type RefactorRequest struct { // / Old value, used to lookup Step to refactor OldStepValue *ProtoStepValue `protobuf:"bytes,1,req,name=oldStepValue" json:"oldStepValue,omitempty"` // / New value, the to-be value of Step being refactored. NewStepValue *ProtoStepValue `protobuf:"bytes,2,req,name=newStepValue" json:"newStepValue,omitempty"` // / Holds parameter positions of all parameters. Contains old and new parameter positions. ParamPositions []*ParameterPosition `protobuf:"bytes,3,rep,name=paramPositions" json:"paramPositions,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Tells the runner to refactor the specified Step.
func (*RefactorRequest) Descriptor ¶
func (*RefactorRequest) Descriptor() ([]byte, []int)
func (*RefactorRequest) GetNewStepValue ¶
func (m *RefactorRequest) GetNewStepValue() *ProtoStepValue
func (*RefactorRequest) GetOldStepValue ¶
func (m *RefactorRequest) GetOldStepValue() *ProtoStepValue
func (*RefactorRequest) GetParamPositions ¶
func (m *RefactorRequest) GetParamPositions() []*ParameterPosition
func (*RefactorRequest) ProtoMessage ¶
func (*RefactorRequest) ProtoMessage()
func (*RefactorRequest) Reset ¶
func (m *RefactorRequest) Reset()
func (*RefactorRequest) String ¶
func (m *RefactorRequest) String() string
type RefactorResponse ¶
type RefactorResponse struct { // / Flag indicating the success of Refactor operation. Success *bool `protobuf:"varint,1,req,name=success" json:"success,omitempty"` // / Error message, valid only if Refactor wasn't successful Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` // / List of files that were affected because of the refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response of a RefactorRequest
func (*RefactorResponse) Descriptor ¶
func (*RefactorResponse) Descriptor() ([]byte, []int)
func (*RefactorResponse) GetError ¶
func (m *RefactorResponse) GetError() string
func (*RefactorResponse) GetFilesChanged ¶
func (m *RefactorResponse) GetFilesChanged() []string
func (*RefactorResponse) GetSuccess ¶
func (m *RefactorResponse) GetSuccess() bool
func (*RefactorResponse) ProtoMessage ¶
func (*RefactorResponse) ProtoMessage()
func (*RefactorResponse) Reset ¶
func (m *RefactorResponse) Reset()
func (*RefactorResponse) String ¶
func (m *RefactorResponse) String() string
type ScenarioDataStoreInitRequest ¶
type ScenarioDataStoreInitRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request runner to initialize Scenario DataStore / Scenario Datastore is reset after every Scenario execution.
func (*ScenarioDataStoreInitRequest) Descriptor ¶
func (*ScenarioDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*ScenarioDataStoreInitRequest) ProtoMessage ¶
func (*ScenarioDataStoreInitRequest) ProtoMessage()
func (*ScenarioDataStoreInitRequest) Reset ¶
func (m *ScenarioDataStoreInitRequest) Reset()
func (*ScenarioDataStoreInitRequest) String ¶
func (m *ScenarioDataStoreInitRequest) String() string
type ScenarioExecutionEndingRequest ¶
type ScenarioExecutionEndingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook.
func (*ScenarioExecutionEndingRequest) Descriptor ¶
func (*ScenarioExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*ScenarioExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *ScenarioExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ScenarioExecutionEndingRequest) ProtoMessage ¶
func (*ScenarioExecutionEndingRequest) ProtoMessage()
func (*ScenarioExecutionEndingRequest) Reset ¶
func (m *ScenarioExecutionEndingRequest) Reset()
func (*ScenarioExecutionEndingRequest) String ¶
func (m *ScenarioExecutionEndingRequest) String() string
type ScenarioExecutionStartingRequest ¶
type ScenarioExecutionStartingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook.
func (*ScenarioExecutionStartingRequest) Descriptor ¶
func (*ScenarioExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*ScenarioExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *ScenarioExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ScenarioExecutionStartingRequest) ProtoMessage ¶
func (*ScenarioExecutionStartingRequest) ProtoMessage()
func (*ScenarioExecutionStartingRequest) Reset ¶
func (m *ScenarioExecutionStartingRequest) Reset()
func (*ScenarioExecutionStartingRequest) String ¶
func (m *ScenarioExecutionStartingRequest) String() string
type ScenarioInfo ¶
type ScenarioInfo struct { // / Name of the current Scenario being executed. Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // / Flag to indicate if the current Scenario execution failed. IsFailed *bool `protobuf:"varint,2,req,name=isFailed" json:"isFailed,omitempty"` // / Tags relevant to the current Scenario execution. Tags []string `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Contains details of the Scenario execution.
func (*ScenarioInfo) Descriptor ¶
func (*ScenarioInfo) Descriptor() ([]byte, []int)
func (*ScenarioInfo) GetIsFailed ¶
func (m *ScenarioInfo) GetIsFailed() bool
func (*ScenarioInfo) GetName ¶
func (m *ScenarioInfo) GetName() string
func (*ScenarioInfo) GetTags ¶
func (m *ScenarioInfo) GetTags() []string
func (*ScenarioInfo) ProtoMessage ¶
func (*ScenarioInfo) ProtoMessage()
func (*ScenarioInfo) Reset ¶
func (m *ScenarioInfo) Reset()
func (*ScenarioInfo) String ¶
func (m *ScenarioInfo) String() string
type SpecDataStoreInitRequest ¶
type SpecDataStoreInitRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request runner to initialize Spec DataStore / Spec Datastore is reset after every Spec execution.
func (*SpecDataStoreInitRequest) Descriptor ¶
func (*SpecDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*SpecDataStoreInitRequest) ProtoMessage ¶
func (*SpecDataStoreInitRequest) ProtoMessage()
func (*SpecDataStoreInitRequest) Reset ¶
func (m *SpecDataStoreInitRequest) Reset()
func (*SpecDataStoreInitRequest) String ¶
func (m *SpecDataStoreInitRequest) String() string
type SpecExecutionEndingRequest ¶
type SpecExecutionEndingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook.
func (*SpecExecutionEndingRequest) Descriptor ¶
func (*SpecExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*SpecExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *SpecExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*SpecExecutionEndingRequest) ProtoMessage ¶
func (*SpecExecutionEndingRequest) ProtoMessage()
func (*SpecExecutionEndingRequest) Reset ¶
func (m *SpecExecutionEndingRequest) Reset()
func (*SpecExecutionEndingRequest) String ¶
func (m *SpecExecutionEndingRequest) String() string
type SpecExecutionStartingRequest ¶
type SpecExecutionStartingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook.
func (*SpecExecutionStartingRequest) Descriptor ¶
func (*SpecExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*SpecExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *SpecExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*SpecExecutionStartingRequest) ProtoMessage ¶
func (*SpecExecutionStartingRequest) ProtoMessage()
func (*SpecExecutionStartingRequest) Reset ¶
func (m *SpecExecutionStartingRequest) Reset()
func (*SpecExecutionStartingRequest) String ¶
func (m *SpecExecutionStartingRequest) String() string
type SpecInfo ¶
type SpecInfo struct { // / Name of the current Spec being executed. Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // / Full File path containing the current Spec being executed. FileName *string `protobuf:"bytes,2,req,name=fileName" json:"fileName,omitempty"` // / Flag to indicate if the current Spec execution failed. IsFailed *bool `protobuf:"varint,3,req,name=isFailed" json:"isFailed,omitempty"` // / Tags relevant to the current Spec execution. Tags []string `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Contains details of the Spec execution.
func (*SpecInfo) Descriptor ¶
func (*SpecInfo) GetFileName ¶
func (*SpecInfo) GetIsFailed ¶
func (*SpecInfo) ProtoMessage ¶
func (*SpecInfo) ProtoMessage()
type Step ¶
type Step struct { // / name of the step Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // / table present in step as parameter Table *string `protobuf:"bytes,2,opt,name=table" json:"table,omitempty"` // / name of table in concept heading, if it comes as a param to concept ParamTableName *string `protobuf:"bytes,3,opt,name=paramTableName" json:"paramTableName,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Step) Descriptor ¶
func (*Step) GetParamTableName ¶
func (*Step) ProtoMessage ¶
func (*Step) ProtoMessage()
type StepExecutionEndingRequest ¶
type StepExecutionEndingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at end of Step Execution. Tells the runner to execute `after_step` hook.
func (*StepExecutionEndingRequest) Descriptor ¶
func (*StepExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*StepExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *StepExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*StepExecutionEndingRequest) ProtoMessage ¶
func (*StepExecutionEndingRequest) ProtoMessage()
func (*StepExecutionEndingRequest) Reset ¶
func (m *StepExecutionEndingRequest) Reset()
func (*StepExecutionEndingRequest) String ¶
func (m *StepExecutionEndingRequest) String() string
type StepExecutionStartingRequest ¶
type StepExecutionStartingRequest struct { CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Sent at start of Step Execution. Tells the runner to execute `before_step` hook.
func (*StepExecutionStartingRequest) Descriptor ¶
func (*StepExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*StepExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *StepExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*StepExecutionStartingRequest) ProtoMessage ¶
func (*StepExecutionStartingRequest) ProtoMessage()
func (*StepExecutionStartingRequest) Reset ¶
func (m *StepExecutionStartingRequest) Reset()
func (*StepExecutionStartingRequest) String ¶
func (m *StepExecutionStartingRequest) String() string
type StepInfo ¶
type StepInfo struct { // / The current request to execute Step Step *ExecuteStepRequest `protobuf:"bytes,1,req,name=step" json:"step,omitempty"` // / Flag to indicate if the current Step execution failed. IsFailed *bool `protobuf:"varint,2,req,name=isFailed" json:"isFailed,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Contains details of the Step execution.
func (*StepInfo) Descriptor ¶
func (*StepInfo) GetIsFailed ¶
func (*StepInfo) GetStep ¶
func (m *StepInfo) GetStep() *ExecuteStepRequest
func (*StepInfo) ProtoMessage ¶
func (*StepInfo) ProtoMessage()
type StepNameRequest ¶
type StepNameRequest struct { // / Step text to lookup the Step. // / This is the parsed step value, i.e. with placeholders for parameters. StepValue *string `protobuf:"bytes,1,req,name=stepValue" json:"stepValue,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request for details on a Single Step.
func (*StepNameRequest) Descriptor ¶
func (*StepNameRequest) Descriptor() ([]byte, []int)
func (*StepNameRequest) GetStepValue ¶
func (m *StepNameRequest) GetStepValue() string
func (*StepNameRequest) ProtoMessage ¶
func (*StepNameRequest) ProtoMessage()
func (*StepNameRequest) Reset ¶
func (m *StepNameRequest) Reset()
func (*StepNameRequest) String ¶
func (m *StepNameRequest) String() string
type StepNameResponse ¶
type StepNameResponse struct { // / Flag indicating if there is a match for the given Step Text. IsStepPresent *bool `protobuf:"varint,1,req,name=isStepPresent" json:"isStepPresent,omitempty"` // / The Step name of the given step. StepName []string `protobuf:"bytes,2,rep,name=stepName" json:"stepName,omitempty"` // / Flag indicating if the given Step is an alias. HasAlias *bool `protobuf:"varint,3,req,name=hasAlias" json:"hasAlias,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to StepNameRequest.
func (*StepNameResponse) Descriptor ¶
func (*StepNameResponse) Descriptor() ([]byte, []int)
func (*StepNameResponse) GetHasAlias ¶
func (m *StepNameResponse) GetHasAlias() bool
func (*StepNameResponse) GetIsStepPresent ¶
func (m *StepNameResponse) GetIsStepPresent() bool
func (*StepNameResponse) GetStepName ¶
func (m *StepNameResponse) GetStepName() []string
func (*StepNameResponse) ProtoMessage ¶
func (*StepNameResponse) ProtoMessage()
func (*StepNameResponse) Reset ¶
func (m *StepNameResponse) Reset()
func (*StepNameResponse) String ¶
func (m *StepNameResponse) String() string
type StepNamesRequest ¶
type StepNamesRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Requests Gauge to give all Step Names.
func (*StepNamesRequest) Descriptor ¶
func (*StepNamesRequest) Descriptor() ([]byte, []int)
func (*StepNamesRequest) ProtoMessage ¶
func (*StepNamesRequest) ProtoMessage()
func (*StepNamesRequest) Reset ¶
func (m *StepNamesRequest) Reset()
func (*StepNamesRequest) String ¶
func (m *StepNamesRequest) String() string
type StepNamesResponse ¶
type StepNamesResponse struct { // / Collection of strings corresponding to Step texts. Steps []string `protobuf:"bytes,1,rep,name=steps" json:"steps,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response to StepNamesRequest
func (*StepNamesResponse) Descriptor ¶
func (*StepNamesResponse) Descriptor() ([]byte, []int)
func (*StepNamesResponse) GetSteps ¶
func (m *StepNamesResponse) GetSteps() []string
func (*StepNamesResponse) ProtoMessage ¶
func (*StepNamesResponse) ProtoMessage()
func (*StepNamesResponse) Reset ¶
func (m *StepNamesResponse) Reset()
func (*StepNamesResponse) String ¶
func (m *StepNamesResponse) String() string
type StepValidateRequest ¶
type StepValidateRequest struct { // / The text is used to lookup Step implementation StepText *string `protobuf:"bytes,1,req,name=stepText" json:"stepText,omitempty"` // / The number of paramters in the Step NumberOfParameters *int32 `protobuf:"varint,2,req,name=numberOfParameters" json:"numberOfParameters,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Request sent ot the runner to check if given Step is valid. / The runner should check if there is an implementation defined for the given Step Text.
func (*StepValidateRequest) Descriptor ¶
func (*StepValidateRequest) Descriptor() ([]byte, []int)
func (*StepValidateRequest) GetNumberOfParameters ¶
func (m *StepValidateRequest) GetNumberOfParameters() int32
func (*StepValidateRequest) GetStepText ¶
func (m *StepValidateRequest) GetStepText() string
func (*StepValidateRequest) ProtoMessage ¶
func (*StepValidateRequest) ProtoMessage()
func (*StepValidateRequest) Reset ¶
func (m *StepValidateRequest) Reset()
func (*StepValidateRequest) String ¶
func (m *StepValidateRequest) String() string
type StepValidateResponse ¶
type StepValidateResponse struct { IsValid *bool `protobuf:"varint,1,req,name=isValid" json:"isValid,omitempty"` ErrorMessage *string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` ErrorType *StepValidateResponse_ErrorType `protobuf:"varint,3,opt,name=errorType,enum=gauge.messages.StepValidateResponse_ErrorType" json:"errorType,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response of StepValidateRequest. / The runner tells the caller if the Request was valid, / i.e. an implementation exists for given Step text. / Returns an error message if it is an error response.
func (*StepValidateResponse) Descriptor ¶
func (*StepValidateResponse) Descriptor() ([]byte, []int)
func (*StepValidateResponse) GetErrorMessage ¶
func (m *StepValidateResponse) GetErrorMessage() string
func (*StepValidateResponse) GetErrorType ¶
func (m *StepValidateResponse) GetErrorType() StepValidateResponse_ErrorType
func (*StepValidateResponse) GetIsValid ¶
func (m *StepValidateResponse) GetIsValid() bool
func (*StepValidateResponse) ProtoMessage ¶
func (*StepValidateResponse) ProtoMessage()
func (*StepValidateResponse) Reset ¶
func (m *StepValidateResponse) Reset()
func (*StepValidateResponse) String ¶
func (m *StepValidateResponse) String() string
type StepValidateResponse_ErrorType ¶
type StepValidateResponse_ErrorType int32
const (
StepValidateResponse_STEP_IMPLEMENTATION_NOT_FOUND StepValidateResponse_ErrorType = 0
)
func (StepValidateResponse_ErrorType) Enum ¶
func (x StepValidateResponse_ErrorType) Enum() *StepValidateResponse_ErrorType
func (StepValidateResponse_ErrorType) EnumDescriptor ¶
func (StepValidateResponse_ErrorType) EnumDescriptor() ([]byte, []int)
func (StepValidateResponse_ErrorType) String ¶
func (x StepValidateResponse_ErrorType) String() string
func (*StepValidateResponse_ErrorType) UnmarshalJSON ¶
func (x *StepValidateResponse_ErrorType) UnmarshalJSON(data []byte) error
type SuiteDataStoreInitRequest ¶
type SuiteDataStoreInitRequest struct {
XXX_unrecognized []byte `json:"-"`
}
/ Request runner to initialize Suite DataStore / Suite Datastore is reset after every Suite execution.
func (*SuiteDataStoreInitRequest) Descriptor ¶
func (*SuiteDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*SuiteDataStoreInitRequest) ProtoMessage ¶
func (*SuiteDataStoreInitRequest) ProtoMessage()
func (*SuiteDataStoreInitRequest) Reset ¶
func (m *SuiteDataStoreInitRequest) Reset()
func (*SuiteDataStoreInitRequest) String ¶
func (m *SuiteDataStoreInitRequest) String() string
type SuiteExecutionResult ¶
type SuiteExecutionResult struct { SuiteResult *ProtoSuiteResult `protobuf:"bytes,1,req,name=suiteResult" json:"suiteResult,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Result of the Suite Execution.
func (*SuiteExecutionResult) Descriptor ¶
func (*SuiteExecutionResult) Descriptor() ([]byte, []int)
func (*SuiteExecutionResult) GetSuiteResult ¶
func (m *SuiteExecutionResult) GetSuiteResult() *ProtoSuiteResult
func (*SuiteExecutionResult) ProtoMessage ¶
func (*SuiteExecutionResult) ProtoMessage()
func (*SuiteExecutionResult) Reset ¶
func (m *SuiteExecutionResult) Reset()
func (*SuiteExecutionResult) String ¶
func (m *SuiteExecutionResult) String() string
type TextInfo ¶
type TextInfo struct { // / The filename from where concept is being extracted FileName *string `protobuf:"bytes,1,req,name=fileName" json:"fileName,omitempty"` // / storing the starting and ending line number of selected text StartingLineNo *int32 `protobuf:"varint,2,req,name=startingLineNo" json:"startingLineNo,omitempty"` EndLineNo *int32 `protobuf:"varint,3,req,name=endLineNo" json:"endLineNo,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TextInfo) Descriptor ¶
func (*TextInfo) GetEndLineNo ¶
func (*TextInfo) GetFileName ¶
func (*TextInfo) GetStartingLineNo ¶
func (*TextInfo) ProtoMessage ¶
func (*TextInfo) ProtoMessage()
type UnsupportedApiMessageResponse ¶
type UnsupportedApiMessageResponse struct {
XXX_unrecognized []byte `json:"-"`
}
/ Response when a API message request is not supported.
func (*UnsupportedApiMessageResponse) Descriptor ¶
func (*UnsupportedApiMessageResponse) Descriptor() ([]byte, []int)
func (*UnsupportedApiMessageResponse) ProtoMessage ¶
func (*UnsupportedApiMessageResponse) ProtoMessage()
func (*UnsupportedApiMessageResponse) Reset ¶
func (m *UnsupportedApiMessageResponse) Reset()
func (*UnsupportedApiMessageResponse) String ¶
func (m *UnsupportedApiMessageResponse) String() string
type UnsupportedMessageResponse ¶
type UnsupportedMessageResponse struct { Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
/ Response when a unsupported message request is sent.
func (*UnsupportedMessageResponse) Descriptor ¶
func (*UnsupportedMessageResponse) Descriptor() ([]byte, []int)
func (*UnsupportedMessageResponse) GetMessage ¶
func (m *UnsupportedMessageResponse) GetMessage() string
func (*UnsupportedMessageResponse) ProtoMessage ¶
func (*UnsupportedMessageResponse) ProtoMessage()
func (*UnsupportedMessageResponse) Reset ¶
func (m *UnsupportedMessageResponse) Reset()
func (*UnsupportedMessageResponse) String ¶
func (m *UnsupportedMessageResponse) String() string