| // 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 { |
| // Path to the client offload directory relative to the results directory |
| // Intended for log-data which is needed synchronously with high reliability |
| SynchronousOffloadDir string `protobuf:"bytes,1,opt,name=synchronous_offload_dir,json=synchronousOffloadDir,proto3" json:"synchronous_offload_dir,omitempty"` |
| // 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) GetSynchronousOffloadDir() string { |
| if m != nil { |
| return m.SynchronousOffloadDir |
| } |
| return "" |
| } |
| |
| 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{ |
| // 389 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0xab, 0xd3, 0x40, |
| 0x14, 0x85, 0x89, 0xef, 0xf9, 0xc0, 0x89, 0x3c, 0xdf, 0x8b, 0x55, 0xbb, 0x53, 0x03, 0x42, 0x45, |
| 0x4c, 0xa0, 0x15, 0x17, 0x82, 0x9b, 0x34, 0x2e, 0x0a, 0xa2, 0x10, 0x75, 0x23, 0xc2, 0x70, 0x9b, |
| 0x4e, 0xd2, 0xa1, 0x99, 0xb9, 0xc3, 0xdc, 0x89,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