| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/phosphorus/common.proto |
| |
| package phosphorus |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| 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 |
| |
| // BotEnvironment defines bot-specific parameters used by phosphorus. |
| type BotEnvironment struct { |
| // Absolute path to the autotest directory for the bot, e.g. |
| // "/usr/local/autotest". |
| AutotestDir string `protobuf:"bytes,1,opt,name=autotest_dir,json=autotestDir,proto3" json:"autotest_dir,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BotEnvironment) Reset() { *m = BotEnvironment{} } |
| func (m *BotEnvironment) String() string { return proto.CompactTextString(m) } |
| func (*BotEnvironment) ProtoMessage() {} |
| func (*BotEnvironment) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6d57f1c2e65b1971, []int{0} |
| } |
| |
| func (m *BotEnvironment) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BotEnvironment.Unmarshal(m, b) |
| } |
| func (m *BotEnvironment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BotEnvironment.Marshal(b, m, deterministic) |
| } |
| func (m *BotEnvironment) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BotEnvironment.Merge(m, src) |
| } |
| func (m *BotEnvironment) XXX_Size() int { |
| return xxx_messageInfo_BotEnvironment.Size(m) |
| } |
| func (m *BotEnvironment) XXX_DiscardUnknown() { |
| xxx_messageInfo_BotEnvironment.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BotEnvironment proto.InternalMessageInfo |
| |
| func (m *BotEnvironment) GetAutotestDir() string { |
| if m != nil { |
| return m.AutotestDir |
| } |
| return "" |
| } |
| |
| // TaskEnvironment defines task-specific parameters used by phosphorus. |
| type TaskEnvironment struct { |
| // Absolute path to the results directory for a given run. Include results of |
| // both tests and non-test tasks like provision |
| ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"` |
| // Absolute path to the results directory for a given run's tests. |
| // MUST be equal to ${results_dir}/autoserv_test if present. This restriction |
| // may be lifted in the future. |
| TestResultsDir string `protobuf:"bytes,3,opt,name=test_results_dir,json=testResultsDir,proto3" json:"test_results_dir,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,4,opt,name=ssp_base_image_name,json=sspBaseImageName,proto3" json:"ssp_base_image_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TaskEnvironment) Reset() { *m = TaskEnvironment{} } |
| func (m *TaskEnvironment) String() string { return proto.CompactTextString(m) } |
| func (*TaskEnvironment) ProtoMessage() {} |
| func (*TaskEnvironment) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6d57f1c2e65b1971, []int{1} |
| } |
| |
| func (m *TaskEnvironment) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TaskEnvironment.Unmarshal(m, b) |
| } |
| func (m *TaskEnvironment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TaskEnvironment.Marshal(b, m, deterministic) |
| } |
| func (m *TaskEnvironment) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TaskEnvironment.Merge(m, src) |
| } |
| func (m *TaskEnvironment) XXX_Size() int { |
| return xxx_messageInfo_TaskEnvironment.Size(m) |
| } |
| func (m *TaskEnvironment) XXX_DiscardUnknown() { |
| xxx_messageInfo_TaskEnvironment.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TaskEnvironment proto.InternalMessageInfo |
| |
| func (m *TaskEnvironment) GetResultsDir() string { |
| if m != nil { |
| return m.ResultsDir |
| } |
| return "" |
| } |
| |
| func (m *TaskEnvironment) GetTestResultsDir() string { |
| if m != nil { |
| return m.TestResultsDir |
| } |
| return "" |
| } |
| |
| func (m *TaskEnvironment) GetSspBaseImageName() string { |
| if m != nil { |
| return m.SspBaseImageName |
| } |
| return "" |
| } |
| |
| // Knobs specific to the step that uploads log-data to Google Storage. |
| type LogDataUploadStep struct { |
| // Controls the maximum number of files that may be uploaded concurrently. |
| // If unset, a hard-coded constant is used to limit concurrency (i.e., there |
| // is no way to request unlimited concurrent uploads). |
| MaxConcurrentUploads int32 `protobuf:"varint,1,opt,name=max_concurrent_uploads,json=maxConcurrentUploads,proto3" json:"max_concurrent_uploads,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *LogDataUploadStep) Reset() { *m = LogDataUploadStep{} } |
| func (m *LogDataUploadStep) String() string { return proto.CompactTextString(m) } |
| func (*LogDataUploadStep) ProtoMessage() {} |
| func (*LogDataUploadStep) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6d57f1c2e65b1971, []int{2} |
| } |
| |
| func (m *LogDataUploadStep) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_LogDataUploadStep.Unmarshal(m, b) |
| } |
| func (m *LogDataUploadStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_LogDataUploadStep.Marshal(b, m, deterministic) |
| } |
| func (m *LogDataUploadStep) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LogDataUploadStep.Merge(m, src) |
| } |
| func (m *LogDataUploadStep) XXX_Size() int { |
| return xxx_messageInfo_LogDataUploadStep.Size(m) |
| } |
| func (m *LogDataUploadStep) XXX_DiscardUnknown() { |
| xxx_messageInfo_LogDataUploadStep.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LogDataUploadStep proto.InternalMessageInfo |
| |
| func (m *LogDataUploadStep) GetMaxConcurrentUploads() int32 { |
| if m != nil { |
| return m.MaxConcurrentUploads |
| } |
| return 0 |
| } |
| |
| // Config defines configuration parameters common to phosphorus subcommands. |
| type Config struct { |
| Bot *BotEnvironment `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"` |
| Task *TaskEnvironment `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` |
| LogDataUploadStep *LogDataUploadStep `protobuf:"bytes,3,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_6d57f1c2e65b1971, []int{3} |
| } |
| |
| 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) GetBot() *BotEnvironment { |
| if m != nil { |
| return m.Bot |
| } |
| return nil |
| } |
| |
| func (m *Config) GetTask() *TaskEnvironment { |
| if m != nil { |
| return m.Task |
| } |
| return nil |
| } |
| |
| func (m *Config) GetLogDataUploadStep() *LogDataUploadStep { |
| if m != nil { |
| return m.LogDataUploadStep |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*BotEnvironment)(nil), "test_platform.phosphorus.BotEnvironment") |
| proto.RegisterType((*TaskEnvironment)(nil), "test_platform.phosphorus.TaskEnvironment") |
| proto.RegisterType((*LogDataUploadStep)(nil), "test_platform.phosphorus.LogDataUploadStep") |
| proto.RegisterType((*Config)(nil), "test_platform.phosphorus.Config") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/phosphorus/common.proto", fileDescriptor_6d57f1c2e65b1971) |
| } |
| |
| var fileDescriptor_6d57f1c2e65b1971 = []byte{ |
| // 384 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0xaa, 0xd3, 0x40, |
| 0x14, 0xc6, 0xc9, 0xbd, 0xf5, 0xa2, 0x13, 0xb9, 0xb6, 0xb1, 0x68, 0x77, 0x6a, 0x40, 0xa8, 0x88, |
| 0x09, 0xb4, 0xae, 0x04, 0x37, 0x69, 0x5c, 0x54, 0xc4, 0x45, 0xd4, 0x8d, 0x08, 0xc3, 0x69, 0x3a, |
| 0x49, 0x87, 0x66, 0xe6, 0x0c, 0x73, 0x26, 0x52, 0x5f, 0xc9, 0xb7, 0xf2, 0x4d, 0x24, 0x63, 0x6b, |
| 0xff, 0x5c, 0xb2, 0xcc, 0x77, 0x7e, 0xbf, 0x93, 0xe4, 0xe3, 0xb0, 0x97, 0x4e, 0x90, 0xe3, 0xa6, |
| 0x01, 0x57, 0xa1, 0x55, 0xa9, 0xd9, 0x20, 0x99, 0x0d, 0xda, 0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