Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Path to rdb executable RdbExecutablePath = "/usr/bin/rdb" // Path to result_adapter executable ResultAdapterExecutablePath = "/usr/bin/result_adapter" // Path to temp directory for rdb-publish RdbTempDirName = "rdb-publish-temp" // File name for test result json TestResultJsonFileName = "testResult.json" // File name for invocation-level properties json InvPropertiesFile = "invProperties.json" // File name for code sources under test CodeSourcesJsonFileName = "sources.jsonpb" // Result format for rdb ResultAdapterResultFormat = "cros-test-result" // MaxSizeInvocationProperties is the maximum size of the invocation level // properties stored in ResultDB. MaxSizeInvocationProperties = 16 * 1024 // 16 KB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RdbPublishService ¶
type RdbPublishService struct { RetryCount int CurrentInvocationId string TestResultProto *artifact.TestResult TesthausURL string TempDirPath string Sources *metadata.PublishRdbMetadata_Sources BaseVariant map[string]string }
func NewRdbPublishService ¶
func NewRdbPublishService(req *api.PublishRequest) (*RdbPublishService, error)
func (*RdbPublishService) UploadToRdb ¶
func (rps *RdbPublishService) UploadToRdb(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.