Documentation ¶
Overview ¶
Package testlabdata provides Firebase Test Lab type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.firebase.testlab.testMatrix.v1.completed
Index ¶
- Variables
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetClient() string
- func (x *ClientInfo) GetDetails() map[string]string
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- type OutcomeSummary
- func (OutcomeSummary) Descriptor() protoreflect.EnumDescriptor
- func (x OutcomeSummary) Enum() *OutcomeSummary
- func (OutcomeSummary) EnumDescriptor() ([]byte, []int)deprecated
- func (x OutcomeSummary) Number() protoreflect.EnumNumber
- func (x OutcomeSummary) String() string
- func (OutcomeSummary) Type() protoreflect.EnumType
- type ResultStorage
- func (*ResultStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ResultStorage) GetGcsPath() string
- func (x *ResultStorage) GetResultsUri() string
- func (x *ResultStorage) GetToolResultsExecution() string
- func (x *ResultStorage) GetToolResultsHistory() string
- func (*ResultStorage) ProtoMessage()
- func (x *ResultStorage) ProtoReflect() protoreflect.Message
- func (x *ResultStorage) Reset()
- func (x *ResultStorage) String() string
- type TestMatrixEventData
- func (*TestMatrixEventData) Descriptor() ([]byte, []int)deprecated
- func (x *TestMatrixEventData) GetClientInfo() *ClientInfo
- func (x *TestMatrixEventData) GetCreateTime() *timestamppb.Timestamp
- func (x *TestMatrixEventData) GetInvalidMatrixDetails() string
- func (x *TestMatrixEventData) GetOutcomeSummary() OutcomeSummary
- func (x *TestMatrixEventData) GetResultStorage() *ResultStorage
- func (x *TestMatrixEventData) GetState() TestState
- func (x *TestMatrixEventData) GetTestMatrixId() string
- func (*TestMatrixEventData) ProtoMessage()
- func (x *TestMatrixEventData) ProtoReflect() protoreflect.Message
- func (x *TestMatrixEventData) Reset()
- func (x *TestMatrixEventData) String() string
- type TestState
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestState_name = map[int32]string{ 0: "TEST_STATE_UNSPECIFIED", 1: "VALIDATING", 2: "PENDING", 3: "FINISHED", 4: "ERROR", 5: "INVALID", } TestState_value = map[string]int32{ "TEST_STATE_UNSPECIFIED": 0, "VALIDATING": 1, "PENDING": 2, "FINISHED": 3, "ERROR": 4, "INVALID": 5, } )
Enum value maps for TestState.
View Source
var ( OutcomeSummary_name = map[int32]string{ 0: "OUTCOME_SUMMARY_UNSPECIFIED", 1: "SUCCESS", 2: "FAILURE", 3: "INCONCLUSIVE", 4: "SKIPPED", } OutcomeSummary_value = map[string]int32{ "OUTCOME_SUMMARY_UNSPECIFIED": 0, "SUCCESS": 1, "FAILURE": 2, "INCONCLUSIVE": 3, "SKIPPED": 4, } )
Enum value maps for OutcomeSummary.
View Source
var File_firebase_testlab_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
type ClientInfo struct { // Client name, such as "gcloud". Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // Map of detailed information about the client. Details map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Information about the client which invoked the test.
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetClient ¶
func (x *ClientInfo) GetClient() string
func (*ClientInfo) GetDetails ¶
func (x *ClientInfo) GetDetails() map[string]string
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type OutcomeSummary ¶
type OutcomeSummary int32
Outcome summary for a finished test matrix.
const ( // The default value. This value is used if the state is omitted. OutcomeSummary_OUTCOME_SUMMARY_UNSPECIFIED OutcomeSummary = 0 // The test matrix run was successful, for instance: // - All test cases passed. // - No crash of the application under test was detected. OutcomeSummary_SUCCESS OutcomeSummary = 1 // A run failed, for instance: // - One or more test case failed. // - A test timed out. // - The application under test crashed. OutcomeSummary_FAILURE OutcomeSummary = 2 // Something unexpected happened. The test run should still be considered // unsuccessful but this is likely a transient problem and re-running the // test might be successful. OutcomeSummary_INCONCLUSIVE OutcomeSummary = 3 // All tests were skipped. OutcomeSummary_SKIPPED OutcomeSummary = 4 )
func (OutcomeSummary) Descriptor ¶
func (OutcomeSummary) Descriptor() protoreflect.EnumDescriptor
func (OutcomeSummary) Enum ¶
func (x OutcomeSummary) Enum() *OutcomeSummary
func (OutcomeSummary) EnumDescriptor
deprecated
func (OutcomeSummary) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutcomeSummary.Descriptor instead.
func (OutcomeSummary) Number ¶
func (x OutcomeSummary) Number() protoreflect.EnumNumber
func (OutcomeSummary) String ¶
func (x OutcomeSummary) String() string
func (OutcomeSummary) Type ¶
func (OutcomeSummary) Type() protoreflect.EnumType
type ResultStorage ¶
type ResultStorage struct { // Tool Results history resource containing test results. Format is // `projects/{project_id}/histories/{history_id}`. // See https://firebase.google.com/docs/test-lab/reference/toolresults/rest // for more information. ToolResultsHistory string `protobuf:"bytes,1,opt,name=tool_results_history,json=toolResultsHistory,proto3" json:"tool_results_history,omitempty"` // Tool Results execution resource containing test results. Format is // `projects/{project_id}/histories/{history_id}/executions/{execution_id}`. // Optional, can be omitted in erroneous test states. // See https://firebase.google.com/docs/test-lab/reference/toolresults/rest // for more information. ToolResultsExecution string `protobuf:"bytes,2,opt,name=tool_results_execution,json=toolResultsExecution,proto3" json:"tool_results_execution,omitempty"` // URI to the test results in the Firebase Web Console. ResultsUri string `protobuf:"bytes,3,opt,name=results_uri,json=resultsUri,proto3" json:"results_uri,omitempty"` // Location in Google Cloud Storage where test results are written to. // In the form "gs://bucket/path/to/somewhere". GcsPath string `protobuf:"bytes,4,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"` // contains filtered or unexported fields }
Locations where test results are stored.
func (*ResultStorage) Descriptor
deprecated
func (*ResultStorage) Descriptor() ([]byte, []int)
Deprecated: Use ResultStorage.ProtoReflect.Descriptor instead.
func (*ResultStorage) GetGcsPath ¶
func (x *ResultStorage) GetGcsPath() string
func (*ResultStorage) GetResultsUri ¶
func (x *ResultStorage) GetResultsUri() string
func (*ResultStorage) GetToolResultsExecution ¶
func (x *ResultStorage) GetToolResultsExecution() string
func (*ResultStorage) GetToolResultsHistory ¶
func (x *ResultStorage) GetToolResultsHistory() string
func (*ResultStorage) ProtoMessage ¶
func (*ResultStorage) ProtoMessage()
func (*ResultStorage) ProtoReflect ¶
func (x *ResultStorage) ProtoReflect() protoreflect.Message
func (*ResultStorage) Reset ¶
func (x *ResultStorage) Reset()
func (*ResultStorage) String ¶
func (x *ResultStorage) String() string
type TestMatrixEventData ¶
type TestMatrixEventData struct { // Time the test matrix was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // State of the test matrix. State TestState `protobuf:"varint,2,opt,name=state,proto3,enum=google.events.firebase.testlab.v1.TestState" json:"state,omitempty"` // Code that describes why the test matrix is considered invalid. Only set for // matrices in the INVALID state. InvalidMatrixDetails string `protobuf:"bytes,3,opt,name=invalid_matrix_details,json=invalidMatrixDetails,proto3" json:"invalid_matrix_details,omitempty"` // Outcome summary of the test matrix. OutcomeSummary OutcomeSummary `` /* 158-byte string literal not displayed */ // Locations where test results are stored. ResultStorage *ResultStorage `protobuf:"bytes,5,opt,name=result_storage,json=resultStorage,proto3" json:"result_storage,omitempty"` // Information provided by the client that created the test matrix. ClientInfo *ClientInfo `protobuf:"bytes,6,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` // ID of the test matrix this event belongs to. TestMatrixId string `protobuf:"bytes,7,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,omitempty"` // contains filtered or unexported fields }
The data within all Firebase test matrix events.
func (*TestMatrixEventData) Descriptor
deprecated
func (*TestMatrixEventData) Descriptor() ([]byte, []int)
Deprecated: Use TestMatrixEventData.ProtoReflect.Descriptor instead.
func (*TestMatrixEventData) GetClientInfo ¶
func (x *TestMatrixEventData) GetClientInfo() *ClientInfo
func (*TestMatrixEventData) GetCreateTime ¶
func (x *TestMatrixEventData) GetCreateTime() *timestamppb.Timestamp
func (*TestMatrixEventData) GetInvalidMatrixDetails ¶
func (x *TestMatrixEventData) GetInvalidMatrixDetails() string
func (*TestMatrixEventData) GetOutcomeSummary ¶
func (x *TestMatrixEventData) GetOutcomeSummary() OutcomeSummary
func (*TestMatrixEventData) GetResultStorage ¶
func (x *TestMatrixEventData) GetResultStorage() *ResultStorage
func (*TestMatrixEventData) GetState ¶
func (x *TestMatrixEventData) GetState() TestState
func (*TestMatrixEventData) GetTestMatrixId ¶
func (x *TestMatrixEventData) GetTestMatrixId() string
func (*TestMatrixEventData) ProtoMessage ¶
func (*TestMatrixEventData) ProtoMessage()
func (*TestMatrixEventData) ProtoReflect ¶
func (x *TestMatrixEventData) ProtoReflect() protoreflect.Message
func (*TestMatrixEventData) Reset ¶
func (x *TestMatrixEventData) Reset()
func (*TestMatrixEventData) String ¶
func (x *TestMatrixEventData) String() string
type TestState ¶
type TestState int32
Possible test states for a test matrix.
const ( // The default value. This value is used if the state is omitted. TestState_TEST_STATE_UNSPECIFIED TestState = 0 // The test matrix is being validated. TestState_VALIDATING TestState = 1 // The test matrix is waiting for resources to become available. TestState_PENDING TestState = 2 // The test matrix has completed normally. TestState_FINISHED TestState = 3 // The test matrix has completed because of an infrastructure failure. TestState_ERROR TestState = 4 // The test matrix was not run because the provided inputs are not valid. TestState_INVALID TestState = 5 )
func (TestState) Descriptor ¶
func (TestState) Descriptor() protoreflect.EnumDescriptor
func (TestState) EnumDescriptor
deprecated
func (TestState) Number ¶
func (x TestState) Number() protoreflect.EnumNumber
func (TestState) Type ¶
func (TestState) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.