blob: b13d99f6d4d88b9ad69d4e0e0a251b2224563aa8 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/skylab_test_runner/config.proto
package skylab_test_runner
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
phosphorus "go.chromium.org/chromiumos/infra/proto/go/test_platform/phosphorus"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Config defines configuration parameters of skylab_test_runner.
type Config struct {
Lab *Config_Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
Harness *Config_Harness `protobuf:"bytes,2,opt,name=harness,proto3" json:"harness,omitempty"`
Output *Config_Output `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
// Result flow topic: test_runner publishes messages to this topic at the
// start and the end of the build.
// The messages in this topic should be ACKed only by the result_flow
// pipeline.
ResultFlowPubsub *Config_PubSub `protobuf:"bytes,4,opt,name=result_flow_pubsub,json=resultFlowPubsub,proto3" json:"result_flow_pubsub,omitempty"`
LogDataUploadStep *phosphorus.LogDataUploadStep `protobuf:"bytes,5,opt,name=log_data_upload_step,json=logDataUploadStep,proto3" json:"log_data_upload_step,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_b2c5f9be4f684081, []int{0}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
func (m *Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config.Merge(m, src)
}
func (m *Config) XXX_Size() int {
return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
xxx_messageInfo_Config.DiscardUnknown(m)
}
var xxx_messageInfo_Config proto.InternalMessageInfo
func (m *Config) GetLab() *Config_Lab {
if m != nil {
return m.Lab
}
return nil
}
func (m *Config) GetHarness() *Config_Harness {
if m != nil {
return m.Harness
}
return nil
}
func (m *Config) GetOutput() *Config_Output {
if m != nil {
return m.Output
}
return nil
}
func (m *Config) GetResultFlowPubsub() *Config_PubSub {
if m != nil {
return m.ResultFlowPubsub
}
return nil
}
func (m *Config) GetLogDataUploadStep() *phosphorus.LogDataUploadStep {
if m != nil {
return m.LogDataUploadStep
}
return nil
}
// Lab defines configuration parameters related to the lab and the lab
// platform services.
type Config_Lab struct {
// Admin service host, e.g. foo.appspot.com.
AdminService string `protobuf:"bytes,1,opt,name=admin_service,json=adminService,proto3" json:"admin_service,omitempty"`
// Inventory V2 service host, e.g. cros-lab-inventory.appspot.com.
CrosInventoryService string `protobuf:"bytes,2,opt,name=cros_inventory_service,json=crosInventoryService,proto3" json:"cros_inventory_service,omitempty"`
// Unified Fleet System service host, e.g. ufs.api.cr.dev.
CrosUfsService string `protobuf:"bytes,3,opt,name=cros_ufs_service,json=crosUfsService,proto3" json:"cros_ufs_service,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config_Lab) Reset() { *m = Config_Lab{} }
func (m *Config_Lab) String() string { return proto.CompactTextString(m) }
func (*Config_Lab) ProtoMessage() {}
func (*Config_Lab) Descriptor() ([]byte, []int) {
return fileDescriptor_b2c5f9be4f684081, []int{0, 0}
}
func (m *Config_Lab) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config_Lab.Unmarshal(m, b)
}
func (m *Config_Lab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config_Lab.Marshal(b, m, deterministic)
}
func (m *Config_Lab) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config_Lab.Merge(m, src)
}
func (m *Config_Lab) XXX_Size() int {
return xxx_messageInfo_Config_Lab.Size(m)
}
func (m *Config_Lab) XXX_DiscardUnknown() {
xxx_messageInfo_Config_Lab.DiscardUnknown(m)
}
var xxx_messageInfo_Config_Lab proto.InternalMessageInfo
func (m *Config_Lab) GetAdminService() string {
if m != nil {
return m.AdminService
}
return ""
}
func (m *Config_Lab) GetCrosInventoryService() string {
if m != nil {
return m.CrosInventoryService
}
return ""
}
func (m *Config_Lab) GetCrosUfsService() string {
if m != nil {
return m.CrosUfsService
}
return ""
}
// Harness defines configuration parameters related to the test harness
// (autotest, tast, etc).
type Config_Harness struct {
// Autotest directory inside the drone container,
// e.g. "/usr/local/autotest".
AutotestDir string `protobuf:"bytes,1,opt,name=autotest_dir,json=autotestDir,proto3" json:"autotest_dir,omitempty"`
// Subdirectory, as relative path from the autotest results directory,
// to use for synchronous offloads
SynchOffloadSubdir string `protobuf:"bytes,2,opt,name=synch_offload_subdir,json=synchOffloadSubdir,proto3" json:"synch_offload_subdir,omitempty"`
// The name of the base lxc image used for Server Side Packaging (SSP).
//
// autoserv fetches the base image from a hard-coded path on Google
// Storage: gs://abci-ssp/autotest-containers/{name}.tar.xz
//
// See go/ctp-ssp for an overview of SSP.
SspBaseImageName string `protobuf:"bytes,3,opt,name=ssp_base_image_name,json=sspBaseImageName,proto3" json:"ssp_base_image_name,omitempty"`
// The maximum duration for prejobs (e.g. provisioning).
PrejobDeadlineSeconds int64 `protobuf:"varint,4,opt,name=prejob_deadline_seconds,json=prejobDeadlineSeconds,proto3" json:"prejob_deadline_seconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config_Harness) Reset() { *m = Config_Harness{} }
func (m *Config_Harness) String() string { return proto.CompactTextString(m) }
func (*Config_Harness) ProtoMessage() {}
func (*Config_Harness) Descriptor() ([]byte, []int) {
return fileDescriptor_b2c5f9be4f684081, []int{0, 1}
}
func (m *Config_Harness) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config_Harness.Unmarshal(m, b)
}
func (m *Config_Harness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config_Harness.Marshal(b, m, deterministic)
}
func (m *Config_Harness) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config_Harness.Merge(m, src)
}
func (m *Config_Harness) XXX_Size() int {
return xxx_messageInfo_Config_Harness.Size(m)
}
func (m *Config_Harness) XXX_DiscardUnknown() {
xxx_messageInfo_Config_Harness.DiscardUnknown(m)
}
var xxx_messageInfo_Config_Harness proto.InternalMessageInfo
func (m *Config_Harness) GetAutotestDir() string {
if m != nil {
return m.AutotestDir
}
return ""
}
func (m *Config_Harness) GetSynchOffloadSubdir() string {
if m != nil {
return m.SynchOffloadSubdir
}
return ""
}
func (m *Config_Harness) GetSspBaseImageName() string {
if m != nil {
return m.SspBaseImageName
}
return ""
}
func (m *Config_Harness) GetPrejobDeadlineSeconds() int64 {
if m != nil {
return m.PrejobDeadlineSeconds
}
return 0
}
// Output defines parameters around how the task will deliver output to
// the callers, e.g. Google Storage bucket.
type Config_Output struct {
// A Google Storage path to upload a specified subset of log-data
// synchronously.
// This synchronous upload mechanism is obviated by log_data_gs_dir.
GsRootDir string `protobuf:"bytes,1,opt,name=gs_root_dir,json=gsRootDir,proto3" json:"gs_root_dir,omitempty"`
// A Google Storage path prefix to upload all log-data to synchronously.
// Reflected in the test_platform.skylab_test_runner.Result.log_data
// returned by the task.
LogDataGsRoot string `protobuf:"bytes,2,opt,name=log_data_gs_root,json=logDataGsRoot,proto3" json:"log_data_gs_root,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config_Output) Reset() { *m = Config_Output{} }
func (m *Config_Output) String() string { return proto.CompactTextString(m) }
func (*Config_Output) ProtoMessage() {}
func (*Config_Output) Descriptor() ([]byte, []int) {
return fileDescriptor_b2c5f9be4f684081, []int{0, 2}
}
func (m *Config_Output) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config_Output.Unmarshal(m, b)
}
func (m *Config_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config_Output.Marshal(b, m, deterministic)
}
func (m *Config_Output) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config_Output.Merge(m, src)
}
func (m *Config_Output) XXX_Size() int {
return xxx_messageInfo_Config_Output.Size(m)
}
func (m *Config_Output) XXX_DiscardUnknown() {
xxx_messageInfo_Config_Output.DiscardUnknown(m)
}
var xxx_messageInfo_Config_Output proto.InternalMessageInfo
func (m *Config_Output) GetGsRootDir() string {
if m != nil {
return m.GsRootDir
}
return ""
}
func (m *Config_Output) GetLogDataGsRoot() string {
if m != nil {
return m.LogDataGsRoot
}
return ""
}
// PubSub defines the configuration parameters for PubSub topic.
type Config_PubSub struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config_PubSub) Reset() { *m = Config_PubSub{} }
func (m *Config_PubSub) String() string { return proto.CompactTextString(m) }
func (*Config_PubSub) ProtoMessage() {}
func (*Config_PubSub) Descriptor() ([]byte, []int) {
return fileDescriptor_b2c5f9be4f684081, []int{0, 3}
}
func (m *Config_PubSub) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config_PubSub.Unmarshal(m, b)
}
func (m *Config_PubSub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config_PubSub.Marshal(b, m, deterministic)
}
func (m *Config_PubSub) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config_PubSub.Merge(m, src)
}
func (m *Config_PubSub) XXX_Size() int {
return xxx_messageInfo_Config_PubSub.Size(m)
}
func (m *Config_PubSub) XXX_DiscardUnknown() {
xxx_messageInfo_Config_PubSub.DiscardUnknown(m)
}
var xxx_messageInfo_Config_PubSub proto.InternalMessageInfo
func (m *Config_PubSub) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *Config_PubSub) GetTopic() string {
if m != nil {
return m.Topic
}
return ""
}
func init() {
proto.RegisterType((*Config)(nil), "test_platform.skylab_test_runner.Config")
proto.RegisterType((*Config_Lab)(nil), "test_platform.skylab_test_runner.Config.Lab")
proto.RegisterType((*Config_Harness)(nil), "test_platform.skylab_test_runner.Config.Harness")
proto.RegisterType((*Config_Output)(nil), "test_platform.skylab_test_runner.Config.Output")
proto.RegisterType((*Config_PubSub)(nil), "test_platform.skylab_test_runner.Config.PubSub")
}
func init() {
proto.RegisterFile("test_platform/skylab_test_runner/config.proto", fileDescriptor_b2c5f9be4f684081)
}
var fileDescriptor_b2c5f9be4f684081 = []byte{
// 557 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x41, 0x4f, 0x14, 0x31,
0x14, 0xc7, 0xb3, 0xac, 0x2c, 0xa1, 0x80, 0x59, 0xeb, 0xaa, 0x93, 0x3d, 0x18, 0xd4, 0x18, 0x49,
0x94, 0x19, 0xa2, 0xc6, 0x78, 0xf2, 0x80, 0x44, 0x84, 0x6c, 0x04, 0x67, 0xc3, 0xc5, 0x68, 0x9a,
0x76, 0xa6, 0x33, 0x3b, 0x38, 0xd3, 0xd7, 0xf4, 0xb5, 0x10, 0xbe, 0x82, 0xdf, 0xcb, 0x6f, 0xe5,
0xc1, 0x6c, 0x3b, 0xb3, 0x0a, 0x1e, 0xc0, 0x63,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