gauge_messages

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package gauge_messages is a generated protocol buffer package.

It is generated from these files:

spec.proto
messages.proto

It has these top-level messages:

ProtoSpec
ProtoItem
ProtoScenario
Span
ProtoTableDrivenScenario
ProtoStep
ProtoConcept
ProtoTags
Fragment
Parameter
ProtoComment
ProtoTable
ProtoTableRow
ProtoStepExecutionResult
ProtoExecutionResult
ProtoHookFailure
ProtoSuiteResult
ProtoSpecResult
ProtoStepValue
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

Index

Constants

This section is empty.

Variables

View Source
var ExecutionStatus_name = map[int32]string{
	0: "NOTEXECUTED",
	1: "PASSED",
	2: "FAILED",
	3: "SKIPPED",
}
View Source
var ExecutionStatus_value = map[string]int32{
	"NOTEXECUTED": 0,
	"PASSED":      1,
	"FAILED":      2,
	"SKIPPED":     3,
}
View Source
var Fragment_FragmentType_name = map[int32]string{
	1: "Text",
	2: "Parameter",
}
View Source
var Fragment_FragmentType_value = map[string]int32{
	"Text":      1,
	"Parameter": 2,
}
View Source
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",
}
View Source
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,
}
View Source
var Parameter_ParameterType_name = map[int32]string{
	1: "Static",
	2: "Dynamic",
	3: "Special_String",
	4: "Special_Table",
	5: "Table",
}
View Source
var Parameter_ParameterType_value = map[string]int32{
	"Static":         1,
	"Dynamic":        2,
	"Special_String": 3,
	"Special_Table":  4,
	"Table":          5,
}
View Source
var ProtoExecutionResult_ErrorType_name = map[int32]string{
	1: "ASSERTION",
	2: "VERIFICATION",
}
View Source
var ProtoExecutionResult_ErrorType_value = map[string]int32{
	"ASSERTION":    1,
	"VERIFICATION": 2,
}
View Source
var ProtoItem_ItemType_name = map[int32]string{
	1: "Step",
	2: "Comment",
	3: "Concept",
	4: "Scenario",
	5: "TableDrivenScenario",
	6: "Table",
	7: "Tags",
}
View Source
var ProtoItem_ItemType_value = map[string]int32{
	"Step":                1,
	"Comment":             2,
	"Concept":             3,
	"Scenario":            4,
	"TableDrivenScenario": 5,
	"Table":               6,
	"Tags":                7,
}
View Source
var StepValidateResponse_ErrorType_name = map[int32]string{
	0: "STEP_IMPLEMENTATION_NOT_FOUND",
	1: "DUPLICATE_STEP_IMPLEMENTATION",
}
View Source
var StepValidateResponse_ErrorType_value = map[string]int32{
	"STEP_IMPLEMENTATION_NOT_FOUND": 0,
	"DUPLICATE_STEP_IMPLEMENTATION": 1,
}

Functions

This section is empty.

Types

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 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 ExecutionStatus

type ExecutionStatus int32

/ Execution Status

const (
	ExecutionStatus_NOTEXECUTED ExecutionStatus = 0
	ExecutionStatus_PASSED      ExecutionStatus = 1
	ExecutionStatus_FAILED      ExecutionStatus = 2
	ExecutionStatus_SKIPPED     ExecutionStatus = 3
)
const Default_ProtoScenario_ExecutionStatus ExecutionStatus = ExecutionStatus_NOTEXECUTED

func (ExecutionStatus) Enum

func (x ExecutionStatus) Enum() *ExecutionStatus

func (ExecutionStatus) EnumDescriptor

func (ExecutionStatus) EnumDescriptor() ([]byte, []int)

func (ExecutionStatus) String

func (x ExecutionStatus) String() string

func (*ExecutionStatus) UnmarshalJSON

func (x *ExecutionStatus) UnmarshalJSON(data []byte) error

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 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) Descriptor() ([]byte, []int)

func (*Fragment) GetFragmentType

func (m *Fragment) GetFragmentType() Fragment_FragmentType

func (*Fragment) GetParameter

func (m *Fragment) GetParameter() *Parameter

func (*Fragment) GetText

func (m *Fragment) GetText() string

func (*Fragment) ProtoMessage

func (*Fragment) ProtoMessage()

func (*Fragment) Reset

func (m *Fragment) Reset()

func (*Fragment) String

func (m *Fragment) String() string

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 (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 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) Descriptor() ([]byte, []int)

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 (m *Message) GetMessageId() int64

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 added in v1.1.0

func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

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 (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) Descriptor() ([]byte, []int)

func (*Parameter) GetName

func (m *Parameter) GetName() string

func (*Parameter) GetParameterType

func (m *Parameter) GetParameterType() Parameter_ParameterType

func (*Parameter) GetTable

func (m *Parameter) GetTable() *ProtoTable

func (*Parameter) GetValue

func (m *Parameter) GetValue() string

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

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 (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 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 (*ProtoExecutionResult) GetExecutionTime

func (m *ProtoExecutionResult) GetExecutionTime() int64

func (*ProtoExecutionResult) GetFailed

func (m *ProtoExecutionResult) GetFailed() bool

func (*ProtoExecutionResult) GetMessage added in v1.0.4

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 (ProtoExecutionResult_ErrorType) EnumDescriptor

func (ProtoExecutionResult_ErrorType) EnumDescriptor() ([]byte, []int)

func (ProtoExecutionResult_ErrorType) 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) Descriptor() ([]byte, []int)

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) GetStep

func (m *ProtoItem) GetStep() *ProtoStep

func (*ProtoItem) GetTable

func (m *ProtoItem) GetTable() *ProtoTable

func (*ProtoItem) GetTableDrivenScenario

func (m *ProtoItem) GetTableDrivenScenario() *ProtoTableDrivenScenario

func (*ProtoItem) GetTags added in v1.0.4

func (m *ProtoItem) GetTags() *ProtoTags

func (*ProtoItem) ProtoMessage

func (*ProtoItem) ProtoMessage()

func (*ProtoItem) Reset

func (m *ProtoItem) Reset()

func (*ProtoItem) String

func (m *ProtoItem) String() string

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 (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"`
	// / Flag to indicate if the Scenario execution is skipped
	Skipped *bool `protobuf:"varint,9,req,name=skipped" json:"skipped,omitempty"`
	// / Holds the error messages for skipping scenario from execution
	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,omitempty"`
	// / Collection of Teardown steps. The Teardown steps are executed after every run.
	TearDownSteps []*ProtoItem `protobuf:"bytes,12,rep,name=tearDownSteps" json:"tearDownSteps,omitempty"`
	// / Span(start, end) of scenario
	Span *Span `protobuf:"bytes,13,opt,name=span" json:"span,omitempty"`
	// / Execution status for the scenario
	ExecutionStatus  *ExecutionStatus `protobuf:"varint,14,opt,name=executionStatus,enum=gauge.messages.ExecutionStatus,def=0" json:"executionStatus,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) GetExecutionStatus

func (m *ProtoScenario) GetExecutionStatus() ExecutionStatus

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 added in v1.1.0

func (m *ProtoScenario) GetSkipErrors() []string

func (*ProtoScenario) GetSkipped added in v1.1.0

func (m *ProtoScenario) GetSkipped() bool

func (*ProtoScenario) GetSpan

func (m *ProtoScenario) GetSpan() *Span

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) Descriptor() ([]byte, []int)

func (*ProtoSpec) GetFileName

func (m *ProtoSpec) GetFileName() string

func (*ProtoSpec) GetIsTableDriven

func (m *ProtoSpec) GetIsTableDriven() bool

func (*ProtoSpec) GetItems

func (m *ProtoSpec) GetItems() []*ProtoItem

func (*ProtoSpec) GetPostHookFailure

func (m *ProtoSpec) GetPostHookFailure() *ProtoHookFailure

func (*ProtoSpec) GetPreHookFailure

func (m *ProtoSpec) GetPreHookFailure() *ProtoHookFailure

func (*ProtoSpec) GetSpecHeading

func (m *ProtoSpec) GetSpecHeading() string

func (*ProtoSpec) GetTags

func (m *ProtoSpec) GetTags() []string

func (*ProtoSpec) ProtoMessage

func (*ProtoSpec) ProtoMessage()

func (*ProtoSpec) Reset

func (m *ProtoSpec) Reset()

func (*ProtoSpec) String

func (m *ProtoSpec) String() string

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"`
	// / Holds the row numbers, for which the execution skipped.
	SkippedDataTableRows []int32 `protobuf:"varint,10,rep,name=skippedDataTableRows" json:"skippedDataTableRows,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 added in v1.1.0

func (m *ProtoSpecResult) GetScenarioSkippedCount() int32

func (*ProtoSpecResult) GetSkipped added in v1.1.0

func (m *ProtoSpecResult) GetSkipped() bool

func (*ProtoSpecResult) GetSkippedDataTableRows

func (m *ProtoSpecResult) GetSkippedDataTableRows() []int32

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) Descriptor() ([]byte, []int)

func (*ProtoStep) GetActualText

func (m *ProtoStep) GetActualText() string

func (*ProtoStep) GetFragments

func (m *ProtoStep) GetFragments() []*Fragment

func (*ProtoStep) GetParsedText

func (m *ProtoStep) GetParsedText() string

func (*ProtoStep) GetStepExecutionResult

func (m *ProtoStep) GetStepExecutionResult() *ProtoStepExecutionResult

func (*ProtoStep) ProtoMessage

func (*ProtoStep) ProtoMessage()

func (*ProtoStep) Reset

func (m *ProtoStep) Reset()

func (*ProtoStep) String

func (m *ProtoStep) String() string

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 added in v1.1.0

func (m *ProtoStepExecutionResult) GetSkipped() bool

func (*ProtoStepExecutionResult) GetSkippedReason added in v1.1.0

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 added in v1.0.4

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 added in v1.0.4

func (m *ProtoSuiteResult) GetProjectName() string

func (*ProtoSuiteResult) GetSpecResults

func (m *ProtoSuiteResult) GetSpecResults() []*ProtoSpecResult

func (*ProtoSuiteResult) GetSpecsFailedCount

func (m *ProtoSuiteResult) GetSpecsFailedCount() int32

func (*ProtoSuiteResult) GetSpecsSkippedCount added in v1.1.0

func (m *ProtoSuiteResult) GetSpecsSkippedCount() int32

func (*ProtoSuiteResult) GetSuccessRate

func (m *ProtoSuiteResult) GetSuccessRate() float32

func (*ProtoSuiteResult) GetTags added in v1.0.4

func (m *ProtoSuiteResult) GetTags() string

func (*ProtoSuiteResult) GetTimestamp added in v1.0.4

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 {
	// / Scenario under Table driven execution
	Scenario *ProtoScenario `protobuf:"bytes,1,opt,name=scenario" json:"scenario,omitempty"`
	// / Row Index of data table against which the current scenario is executed
	TableRowIndex    *int32 `protobuf:"varint,2,opt,name=tableRowIndex" json:"tableRowIndex,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

/ A proto object representing a TableDrivenScenario

func (*ProtoTableDrivenScenario) Descriptor

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

func (*ProtoTableDrivenScenario) GetScenario

func (m *ProtoTableDrivenScenario) GetScenario() *ProtoScenario

func (*ProtoTableDrivenScenario) GetTableRowIndex

func (m *ProtoTableDrivenScenario) GetTableRowIndex() int32

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) Descriptor() ([]byte, []int)

func (*ProtoTags) GetTags

func (m *ProtoTags) GetTags() []string

func (*ProtoTags) ProtoMessage

func (*ProtoTags) ProtoMessage()

func (*ProtoTags) Reset

func (m *ProtoTags) Reset()

func (*ProtoTags) String

func (m *ProtoTags) String() string

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

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

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 (*ScenarioExecutionStartingRequest) 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 Span

type Span struct {
	Start            *int64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"`
	End              *int64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

/ A proto object representing a Span of content

func (*Span) Descriptor

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

func (*Span) GetEnd

func (m *Span) GetEnd() int64

func (*Span) GetStart

func (m *Span) GetStart() int64

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) String

func (m *Span) 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

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) Descriptor() ([]byte, []int)

func (*SpecInfo) GetFileName

func (m *SpecInfo) GetFileName() string

func (*SpecInfo) GetIsFailed

func (m *SpecInfo) GetIsFailed() bool

func (*SpecInfo) GetName

func (m *SpecInfo) GetName() string

func (*SpecInfo) GetTags

func (m *SpecInfo) GetTags() []string

func (*SpecInfo) ProtoMessage

func (*SpecInfo) ProtoMessage()

func (*SpecInfo) Reset

func (m *SpecInfo) Reset()

func (*SpecInfo) String

func (m *SpecInfo) String() string

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

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) Descriptor() ([]byte, []int)

func (*StepInfo) GetIsFailed

func (m *StepInfo) GetIsFailed() bool

func (*StepInfo) GetStep

func (m *StepInfo) GetStep() *ExecuteStepRequest

func (*StepInfo) ProtoMessage

func (*StepInfo) ProtoMessage()

func (*StepInfo) Reset

func (m *StepInfo) Reset()

func (*StepInfo) String

func (m *StepInfo) String() string

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 added in v1.1.0

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 added in v1.1.0

type StepValidateResponse_ErrorType int32
const (
	StepValidateResponse_STEP_IMPLEMENTATION_NOT_FOUND StepValidateResponse_ErrorType = 0
	StepValidateResponse_DUPLICATE_STEP_IMPLEMENTATION StepValidateResponse_ErrorType = 1
)

func (StepValidateResponse_ErrorType) Enum added in v1.1.0

func (StepValidateResponse_ErrorType) EnumDescriptor

func (StepValidateResponse_ErrorType) EnumDescriptor() ([]byte, []int)

func (StepValidateResponse_ErrorType) String added in v1.1.0

func (*StepValidateResponse_ErrorType) UnmarshalJSON added in v1.1.0

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 UnsupportedMessageResponse added in v1.1.0

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 added in v1.1.0

func (m *UnsupportedMessageResponse) GetMessage() string

func (*UnsupportedMessageResponse) ProtoMessage added in v1.1.0

func (*UnsupportedMessageResponse) ProtoMessage()

func (*UnsupportedMessageResponse) Reset added in v1.1.0

func (m *UnsupportedMessageResponse) Reset()

func (*UnsupportedMessageResponse) String added in v1.1.0

func (m *UnsupportedMessageResponse) String() string

Jump to

Keyboard shortcuts

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