steps

package
v0.0.0-...-e3d6803 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_platform_steps_compute_backfill_proto protoreflect.FileDescriptor
View Source
var File_test_platform_steps_ctpv2_binary_proto protoreflect.FileDescriptor
View Source
var File_test_platform_steps_enumeration_proto protoreflect.FileDescriptor
View Source
var File_test_platform_steps_execution_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CTPv2BinaryBuildInput

type CTPv2BinaryBuildInput struct {
	Request       *test_platform.Request            `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	Requests      map[string]*test_platform.Request `` /* 157-byte string literal not displayed */
	Config        *config.Config                    `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	Ctpv2Request  *api.CTPv2Request                 `protobuf:"bytes,4,opt,name=ctpv2_request,json=ctpv2Request,proto3" json:"ctpv2_request,omitempty"`
	PartnerConfig *wrapperspb.BoolValue             `protobuf:"bytes,5,opt,name=partner_config,json=partnerConfig,proto3" json:"partner_config,omitempty"`
	// contains filtered or unexported fields
}

func (*CTPv2BinaryBuildInput) Descriptor deprecated

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

Deprecated: Use CTPv2BinaryBuildInput.ProtoReflect.Descriptor instead.

func (*CTPv2BinaryBuildInput) GetConfig

func (x *CTPv2BinaryBuildInput) GetConfig() *config.Config

func (*CTPv2BinaryBuildInput) GetCtpv2Request

func (x *CTPv2BinaryBuildInput) GetCtpv2Request() *api.CTPv2Request

func (*CTPv2BinaryBuildInput) GetPartnerConfig

func (x *CTPv2BinaryBuildInput) GetPartnerConfig() *wrapperspb.BoolValue

func (*CTPv2BinaryBuildInput) GetRequest

func (x *CTPv2BinaryBuildInput) GetRequest() *test_platform.Request

func (*CTPv2BinaryBuildInput) GetRequests

func (x *CTPv2BinaryBuildInput) GetRequests() map[string]*test_platform.Request

func (*CTPv2BinaryBuildInput) ProtoMessage

func (*CTPv2BinaryBuildInput) ProtoMessage()

func (*CTPv2BinaryBuildInput) ProtoReflect

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

func (*CTPv2BinaryBuildInput) Reset

func (x *CTPv2BinaryBuildInput) Reset()

func (*CTPv2BinaryBuildInput) String

func (x *CTPv2BinaryBuildInput) String() string

type CTPv2BinaryBuildOutput

type CTPv2BinaryBuildOutput struct {

	// A markdown string that should be used in Buildbucket as a summary of the
	// test_runner build.
	ErrorSummaryMarkdown string `protobuf:"bytes,1,opt,name=error_summary_markdown,json=errorSummaryMarkdown,proto3" json:"error_summary_markdown,omitempty"`
	// compressed result that will be read by upstream.
	CompressedResponses string `protobuf:"bytes,2,opt,name=compressed_responses,proto3" json:"compressed_responses,omitempty"`
	// compressed json result that will be read by upstream.
	CompressedJsonResponses string `protobuf:"bytes,3,opt,name=compressed_json_responses,proto3" json:"compressed_json_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*CTPv2BinaryBuildOutput) Descriptor deprecated

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

Deprecated: Use CTPv2BinaryBuildOutput.ProtoReflect.Descriptor instead.

func (*CTPv2BinaryBuildOutput) GetCompressedJsonResponses

func (x *CTPv2BinaryBuildOutput) GetCompressedJsonResponses() string

func (*CTPv2BinaryBuildOutput) GetCompressedResponses

func (x *CTPv2BinaryBuildOutput) GetCompressedResponses() string

func (*CTPv2BinaryBuildOutput) GetErrorSummaryMarkdown

func (x *CTPv2BinaryBuildOutput) GetErrorSummaryMarkdown() string

func (*CTPv2BinaryBuildOutput) ProtoMessage

func (*CTPv2BinaryBuildOutput) ProtoMessage()

func (*CTPv2BinaryBuildOutput) ProtoReflect

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

func (*CTPv2BinaryBuildOutput) Reset

func (x *CTPv2BinaryBuildOutput) Reset()

func (*CTPv2BinaryBuildOutput) String

func (x *CTPv2BinaryBuildOutput) String() string

type ComputeBackfillRequest

type ComputeBackfillRequest struct {
	Request     *test_platform.Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	Enumeration *EnumerationResponse   `protobuf:"bytes,2,opt,name=enumeration,proto3" json:"enumeration,omitempty"`
	Execution   *ExecuteResponse       `protobuf:"bytes,3,opt,name=execution,proto3" json:"execution,omitempty"`
	// contains filtered or unexported fields
}

ComputeBackfillRequest defines the input of the compute-backfill step.

func (*ComputeBackfillRequest) Descriptor deprecated

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

Deprecated: Use ComputeBackfillRequest.ProtoReflect.Descriptor instead.

func (*ComputeBackfillRequest) GetEnumeration

func (x *ComputeBackfillRequest) GetEnumeration() *EnumerationResponse

func (*ComputeBackfillRequest) GetExecution

func (x *ComputeBackfillRequest) GetExecution() *ExecuteResponse

func (*ComputeBackfillRequest) GetRequest

func (x *ComputeBackfillRequest) GetRequest() *test_platform.Request

func (*ComputeBackfillRequest) ProtoMessage

func (*ComputeBackfillRequest) ProtoMessage()

func (*ComputeBackfillRequest) ProtoReflect

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

func (*ComputeBackfillRequest) Reset

func (x *ComputeBackfillRequest) Reset()

func (*ComputeBackfillRequest) String

func (x *ComputeBackfillRequest) String() string

type ComputeBackfillRequests

type ComputeBackfillRequests struct {

	// Each ComputeBackfillRequest is handled independently.
	Requests       []*ComputeBackfillRequest          `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	TaggedRequests map[string]*ComputeBackfillRequest `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ComputeBackfillRequests) Descriptor deprecated

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

Deprecated: Use ComputeBackfillRequests.ProtoReflect.Descriptor instead.

func (*ComputeBackfillRequests) GetRequests

func (x *ComputeBackfillRequests) GetRequests() []*ComputeBackfillRequest

func (*ComputeBackfillRequests) GetTaggedRequests

func (x *ComputeBackfillRequests) GetTaggedRequests() map[string]*ComputeBackfillRequest

func (*ComputeBackfillRequests) ProtoMessage

func (*ComputeBackfillRequests) ProtoMessage()

func (*ComputeBackfillRequests) ProtoReflect

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

func (*ComputeBackfillRequests) Reset

func (x *ComputeBackfillRequests) Reset()

func (*ComputeBackfillRequests) String

func (x *ComputeBackfillRequests) String() string

type ComputeBackfillResponse

type ComputeBackfillResponse struct {
	Request *test_platform.Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

ComputeBackfillResponse defines the output of the compute-backfill step.

func (*ComputeBackfillResponse) Descriptor deprecated

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

Deprecated: Use ComputeBackfillResponse.ProtoReflect.Descriptor instead.

func (*ComputeBackfillResponse) GetRequest

func (*ComputeBackfillResponse) ProtoMessage

func (*ComputeBackfillResponse) ProtoMessage()

func (*ComputeBackfillResponse) ProtoReflect

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

func (*ComputeBackfillResponse) Reset

func (x *ComputeBackfillResponse) Reset()

func (*ComputeBackfillResponse) String

func (x *ComputeBackfillResponse) String() string

type ComputeBackfillResponses

type ComputeBackfillResponses struct {

	// Each ComputeBackfillResponse corresponds to a single
	// ComputeBackfillRequest handled independently.
	Responses []*ComputeBackfillResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// tagged_responses only contains responses for requests that need to be
	// backfilled. Successfully completed requests are not included.
	TaggedResponses map[string]*ComputeBackfillResponse `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ComputeBackfillResponses) Descriptor deprecated

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

Deprecated: Use ComputeBackfillResponses.ProtoReflect.Descriptor instead.

func (*ComputeBackfillResponses) GetResponses

func (*ComputeBackfillResponses) GetTaggedResponses

func (x *ComputeBackfillResponses) GetTaggedResponses() map[string]*ComputeBackfillResponse

func (*ComputeBackfillResponses) ProtoMessage

func (*ComputeBackfillResponses) ProtoMessage()

func (*ComputeBackfillResponses) ProtoReflect

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

func (*ComputeBackfillResponses) Reset

func (x *ComputeBackfillResponses) Reset()

func (*ComputeBackfillResponses) String

func (x *ComputeBackfillResponses) String() string

type EnumerationRequest

type EnumerationRequest struct {
	Metadata *test_platform.Request_Params_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	TestPlan *test_platform.Request_TestPlan        `protobuf:"bytes,4,opt,name=test_plan,json=testPlan,proto3" json:"test_plan,omitempty"`
	// contains filtered or unexported fields
}

EnumerationRequest defines the input of the test enumeration step.

func (*EnumerationRequest) Descriptor deprecated

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

Deprecated: Use EnumerationRequest.ProtoReflect.Descriptor instead.

func (*EnumerationRequest) GetMetadata

func (*EnumerationRequest) GetTestPlan

func (*EnumerationRequest) ProtoMessage

func (*EnumerationRequest) ProtoMessage()

func (*EnumerationRequest) ProtoReflect

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

func (*EnumerationRequest) Reset

func (x *EnumerationRequest) Reset()

func (*EnumerationRequest) String

func (x *EnumerationRequest) String() string

type EnumerationRequests

type EnumerationRequests struct {

	// Each EnumerationRequest is handled independently.
	Requests       []*EnumerationRequest          `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	TaggedRequests map[string]*EnumerationRequest `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnumerationRequests) Descriptor deprecated

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

Deprecated: Use EnumerationRequests.ProtoReflect.Descriptor instead.

func (*EnumerationRequests) GetRequests

func (x *EnumerationRequests) GetRequests() []*EnumerationRequest

func (*EnumerationRequests) GetTaggedRequests

func (x *EnumerationRequests) GetTaggedRequests() map[string]*EnumerationRequest

func (*EnumerationRequests) ProtoMessage

func (*EnumerationRequests) ProtoMessage()

func (*EnumerationRequests) ProtoReflect

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

func (*EnumerationRequests) Reset

func (x *EnumerationRequests) Reset()

func (*EnumerationRequests) String

func (x *EnumerationRequests) String() string

type EnumerationResponse

type EnumerationResponse struct {
	AutotestInvocations []*EnumerationResponse_AutotestInvocation `protobuf:"bytes,2,rep,name=autotest_invocations,json=autotestInvocations,proto3" json:"autotest_invocations,omitempty"`
	// If set, a summary of the errors encountered during enumeration.
	//
	// If set, the corresponding request's final verdict must reflect failure.
	//
	// autotest_invocations may be non-empty even when error_summary is set.
	// In that case all included autotest_invocations must be executed, despite
	// the error_summary.
	ErrorSummary string `protobuf:"bytes,3,opt,name=error_summary,json=errorSummary,proto3" json:"error_summary,omitempty"`
	// contains filtered or unexported fields
}

EnumerationResponse defines the output of the test enumeration step.

This is copied in test_platform.Request.Enumeration Keep in sync.

func (*EnumerationResponse) Descriptor deprecated

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

Deprecated: Use EnumerationResponse.ProtoReflect.Descriptor instead.

func (*EnumerationResponse) GetAutotestInvocations

func (x *EnumerationResponse) GetAutotestInvocations() []*EnumerationResponse_AutotestInvocation

func (*EnumerationResponse) GetErrorSummary

func (x *EnumerationResponse) GetErrorSummary() string

func (*EnumerationResponse) ProtoMessage

func (*EnumerationResponse) ProtoMessage()

func (*EnumerationResponse) ProtoReflect

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

func (*EnumerationResponse) Reset

func (x *EnumerationResponse) Reset()

func (*EnumerationResponse) String

func (x *EnumerationResponse) String() string

type EnumerationResponse_AutotestInvocation

type EnumerationResponse_AutotestInvocation struct {
	Test *api.AutotestTest `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
	// Passthrough arguments from test_platform.Request_Test
	TestArgs    string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// result_keyvals are autotest keyvals that should be included in the
	// results corresponding to this invocation.
	//
	// These keyvals are overridden by Request.Decorations.autotest_keyvals.
	ResultKeyvals map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnumerationResponse_AutotestInvocation) Descriptor deprecated

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

Deprecated: Use EnumerationResponse_AutotestInvocation.ProtoReflect.Descriptor instead.

func (*EnumerationResponse_AutotestInvocation) GetDisplayName

func (x *EnumerationResponse_AutotestInvocation) GetDisplayName() string

func (*EnumerationResponse_AutotestInvocation) GetResultKeyvals

func (x *EnumerationResponse_AutotestInvocation) GetResultKeyvals() map[string]string

func (*EnumerationResponse_AutotestInvocation) GetTest

func (*EnumerationResponse_AutotestInvocation) GetTestArgs

func (*EnumerationResponse_AutotestInvocation) ProtoMessage

func (*EnumerationResponse_AutotestInvocation) ProtoReflect

func (*EnumerationResponse_AutotestInvocation) Reset

func (*EnumerationResponse_AutotestInvocation) String

type EnumerationResponses

type EnumerationResponses struct {

	// Each EnumerationResponse corresponds to a single EnumerationRequest
	// handled independently.
	Responses       []*EnumerationResponse          `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	TaggedResponses map[string]*EnumerationResponse `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnumerationResponses) Descriptor deprecated

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

Deprecated: Use EnumerationResponses.ProtoReflect.Descriptor instead.

func (*EnumerationResponses) GetResponses

func (x *EnumerationResponses) GetResponses() []*EnumerationResponse

func (*EnumerationResponses) GetTaggedResponses

func (x *EnumerationResponses) GetTaggedResponses() map[string]*EnumerationResponse

func (*EnumerationResponses) ProtoMessage

func (*EnumerationResponses) ProtoMessage()

func (*EnumerationResponses) ProtoReflect

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

func (*EnumerationResponses) Reset

func (x *EnumerationResponses) Reset()

func (*EnumerationResponses) String

func (x *EnumerationResponses) String() string

type ExecuteRequest

type ExecuteRequest struct {

	// RequestParams are the request-wide parameters for the
	// cros_test_platform request. This includes all the request-wide information
	// needed in order to execute tests (e.g. labels, retry parameters,
	// scheduling parameters).
	RequestParams *test_platform.Request_Params `protobuf:"bytes,1,opt,name=request_params,json=requestParams,proto3" json:"request_params,omitempty"`
	Enumeration   *EnumerationResponse          `protobuf:"bytes,2,opt,name=enumeration,proto3" json:"enumeration,omitempty"`
	Config        *config.Config                `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

ExecuteRequest defines the input of the Execute step.

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetConfig

func (x *ExecuteRequest) GetConfig() *config.Config

func (*ExecuteRequest) GetEnumeration

func (x *ExecuteRequest) GetEnumeration() *EnumerationResponse

func (*ExecuteRequest) GetRequestParams

func (x *ExecuteRequest) GetRequestParams() *test_platform.Request_Params

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

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

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

type ExecuteRequests

type ExecuteRequests struct {

	// Each ExecuteRequest is handled independently.
	Requests       []*ExecuteRequest          `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	TaggedRequests map[string]*ExecuteRequest `` /* 191-byte string literal not displayed */
	// Build contains relevant information about the current test platform
	// buildbucket build.
	Build *execute.Build `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteRequests) Descriptor deprecated

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

Deprecated: Use ExecuteRequests.ProtoReflect.Descriptor instead.

func (*ExecuteRequests) GetBuild

func (x *ExecuteRequests) GetBuild() *execute.Build

func (*ExecuteRequests) GetRequests

func (x *ExecuteRequests) GetRequests() []*ExecuteRequest

func (*ExecuteRequests) GetTaggedRequests

func (x *ExecuteRequests) GetTaggedRequests() map[string]*ExecuteRequest

func (*ExecuteRequests) ProtoMessage

func (*ExecuteRequests) ProtoMessage()

func (*ExecuteRequests) ProtoReflect

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

func (*ExecuteRequests) Reset

func (x *ExecuteRequests) Reset()

func (*ExecuteRequests) String

func (x *ExecuteRequests) String() string

type ExecuteResponse

type ExecuteResponse struct {

	// Use consolidated_results instead.
	//
	// Deprecated: Do not use.
	TaskResults         []*ExecuteResponse_TaskResult         `protobuf:"bytes,1,rep,name=task_results,json=taskResults,proto3" json:"task_results,omitempty"`
	ConsolidatedResults []*ExecuteResponse_ConsolidatedResult `protobuf:"bytes,3,rep,name=consolidated_results,json=consolidatedResults,proto3" json:"consolidated_results,omitempty"`
	// State encodes the state of the overall execution, including the ultimate
	// verdict (taking into account any sub-task verdicts).
	State *test_platform.TaskState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ExecuteResponse defines the output of the Execute step.

func (*ExecuteResponse) Descriptor deprecated

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

Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.

func (*ExecuteResponse) GetConsolidatedResults

func (x *ExecuteResponse) GetConsolidatedResults() []*ExecuteResponse_ConsolidatedResult

func (*ExecuteResponse) GetState

func (x *ExecuteResponse) GetState() *test_platform.TaskState

func (*ExecuteResponse) GetTaskResults deprecated

func (x *ExecuteResponse) GetTaskResults() []*ExecuteResponse_TaskResult

Deprecated: Do not use.

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) ProtoReflect

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

func (*ExecuteResponse) Reset

func (x *ExecuteResponse) Reset()

func (*ExecuteResponse) String

func (x *ExecuteResponse) String() string

type ExecuteResponse_ConsolidatedResult

type ExecuteResponse_ConsolidatedResult struct {

	// result for each attempt of the corresponding enumeration.
	Attempts []*ExecuteResponse_TaskResult `protobuf:"bytes,1,rep,name=attempts,proto3" json:"attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse_ConsolidatedResult) Descriptor deprecated

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

Deprecated: Use ExecuteResponse_ConsolidatedResult.ProtoReflect.Descriptor instead.

func (*ExecuteResponse_ConsolidatedResult) GetAttempts

func (*ExecuteResponse_ConsolidatedResult) ProtoMessage

func (*ExecuteResponse_ConsolidatedResult) ProtoMessage()

func (*ExecuteResponse_ConsolidatedResult) ProtoReflect

func (*ExecuteResponse_ConsolidatedResult) Reset

func (*ExecuteResponse_ConsolidatedResult) String

type ExecuteResponse_TaskResult

type ExecuteResponse_TaskResult struct {

	// URL at which a human can view the task's run state (e.g. link to
	// swarming or cautotest job view).
	TaskUrl string                   `protobuf:"bytes,2,opt,name=task_url,json=taskUrl,proto3" json:"task_url,omitempty"`
	State   *test_platform.TaskState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Name    string                   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// URL at which a human can view the task's logs (e.g. a link to
	// stainless gs viewer for this task).
	LogUrl string `protobuf:"bytes,5,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"`
	// The attempt number, starting at 0.
	// Within an execution, the tuple (name, attempt) will be unique.
	Attempt int32 `protobuf:"varint,6,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// The results of individual test cases that were executed as part of
	// the task.
	TestCases []*ExecuteResponse_TaskResult_TestCaseResult `protobuf:"bytes,7,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
	// The results of steps run prior to running the actual tests
	// (e.g. provision).
	PrejobSteps []*ExecuteResponse_TaskResult_TestCaseResult `protobuf:"bytes,8,rep,name=prejob_steps,json=prejobSteps,proto3" json:"prejob_steps,omitempty"`
	// Logdata is the location at which the task's full output will
	// eventually be available. Not intended for human's to view; use
	// log_url instead.
	LogData *common.TaskLogData `protobuf:"bytes,9,opt,name=log_data,json=logData,proto3" json:"log_data,omitempty"`
	// Any rejected task dimensions from the task execution request,
	// stored as key-value pairs. This field is only populated if the
	// task was rejected by Swarming due to a lack of matching bot.
	// DEPRECATED: use rejected_dimensions instead, as it allows multiple
	// values for the same key. This will be deleted soon.
	// TODO(https://crbug.com/11798680)
	//
	// Deprecated: Do not use.
	RejectedTaskDimensions map[string]string `` /* 218-byte string literal not displayed */
	// Any rejected task dimensions from the task execution request,
	// stored as key-value pairs. This field is only populated if the
	// task was rejected by Swarming due to a lack of matching bot.
	RejectedDimensions []*ExecuteResponse_TaskResult_RejectedTaskDimension `protobuf:"bytes,12,rep,name=rejected_dimensions,json=rejectedDimensions,proto3" json:"rejected_dimensions,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse_TaskResult) Descriptor deprecated

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

Deprecated: Use ExecuteResponse_TaskResult.ProtoReflect.Descriptor instead.

func (*ExecuteResponse_TaskResult) GetAttempt

func (x *ExecuteResponse_TaskResult) GetAttempt() int32

func (*ExecuteResponse_TaskResult) GetLogData

func (*ExecuteResponse_TaskResult) GetLogUrl

func (x *ExecuteResponse_TaskResult) GetLogUrl() string

func (*ExecuteResponse_TaskResult) GetName

func (x *ExecuteResponse_TaskResult) GetName() string

func (*ExecuteResponse_TaskResult) GetPrejobSteps

func (*ExecuteResponse_TaskResult) GetRejectedDimensions

func (*ExecuteResponse_TaskResult) GetRejectedTaskDimensions deprecated

func (x *ExecuteResponse_TaskResult) GetRejectedTaskDimensions() map[string]string

Deprecated: Do not use.

func (*ExecuteResponse_TaskResult) GetState

func (*ExecuteResponse_TaskResult) GetTaskUrl

func (x *ExecuteResponse_TaskResult) GetTaskUrl() string

func (*ExecuteResponse_TaskResult) GetTestCases

func (*ExecuteResponse_TaskResult) ProtoMessage

func (*ExecuteResponse_TaskResult) ProtoMessage()

func (*ExecuteResponse_TaskResult) ProtoReflect

func (*ExecuteResponse_TaskResult) Reset

func (x *ExecuteResponse_TaskResult) Reset()

func (*ExecuteResponse_TaskResult) String

func (x *ExecuteResponse_TaskResult) String() string

type ExecuteResponse_TaskResult_RejectedTaskDimension

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

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) Descriptor deprecated

Deprecated: Use ExecuteResponse_TaskResult_RejectedTaskDimension.ProtoReflect.Descriptor instead.

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) GetKey

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) GetValue

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) ProtoMessage

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) ProtoReflect

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) Reset

func (*ExecuteResponse_TaskResult_RejectedTaskDimension) String

type ExecuteResponse_TaskResult_TestCaseResult

type ExecuteResponse_TaskResult_TestCaseResult struct {

	// Test case name which is generally independent from task name.
	// E.g. a task named "tast.critical-system" may have a test case
	// named "tast.audio.DevicePlay".
	// For tasks with a single test case it will generally be the same
	// as the task name, e.g. "logging_UserCrash".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Verdict describes whether the test case passed, failed, or had
	// some other indefinite verdict.
	Verdict test_platform.TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// A one line human readable description of what happened during
	// test case execution (e.g. error/warning message). Not intended
	// to be machine parseable. There's no guarantee that a given root
	// cause will always resolve to the same summary.
	HumanReadableSummary string `protobuf:"bytes,3,opt,name=human_readable_summary,json=humanReadableSummary,proto3" json:"human_readable_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse_TaskResult_TestCaseResult) Descriptor deprecated

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

Deprecated: Use ExecuteResponse_TaskResult_TestCaseResult.ProtoReflect.Descriptor instead.

func (*ExecuteResponse_TaskResult_TestCaseResult) GetHumanReadableSummary

func (x *ExecuteResponse_TaskResult_TestCaseResult) GetHumanReadableSummary() string

func (*ExecuteResponse_TaskResult_TestCaseResult) GetName

func (*ExecuteResponse_TaskResult_TestCaseResult) GetVerdict

func (*ExecuteResponse_TaskResult_TestCaseResult) ProtoMessage

func (*ExecuteResponse_TaskResult_TestCaseResult) ProtoReflect

func (*ExecuteResponse_TaskResult_TestCaseResult) Reset

func (*ExecuteResponse_TaskResult_TestCaseResult) String

type ExecuteResponses

type ExecuteResponses struct {

	// Each ExecuteResponse corresponds to a single ExecuteRequest handled
	// independently.
	Responses       []*ExecuteResponse          `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	TaggedResponses map[string]*ExecuteResponse `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExecuteResponses) Descriptor deprecated

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

Deprecated: Use ExecuteResponses.ProtoReflect.Descriptor instead.

func (*ExecuteResponses) GetResponses

func (x *ExecuteResponses) GetResponses() []*ExecuteResponse

func (*ExecuteResponses) GetTaggedResponses

func (x *ExecuteResponses) GetTaggedResponses() map[string]*ExecuteResponse

func (*ExecuteResponses) ProtoMessage

func (*ExecuteResponses) ProtoMessage()

func (*ExecuteResponses) ProtoReflect

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

func (*ExecuteResponses) Reset

func (x *ExecuteResponses) Reset()

func (*ExecuteResponses) String

func (x *ExecuteResponses) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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