| // 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 "" |
| } |
| |
| // 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"` |
| 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{2} |
| } |
| |
| 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 init() { |
| proto.RegisterType((*BotEnvironment)(nil), "test_platform.phosphorus.BotEnvironment") |
| proto.RegisterType((*TaskEnvironment)(nil), "test_platform.phosphorus.TaskEnvironment") |
| proto.RegisterType((*Config)(nil), "test_platform.phosphorus.Config") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/phosphorus/common.proto", fileDescriptor_6d57f1c2e65b1971) |
| } |
| |
| var fileDescriptor_6d57f1c2e65b1971 = []byte{ |
| // 311 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4b, 0xfb, 0x40, |
| 0x14, 0xc4, 0xc9, 0xbf, 0xa5, 0xf0, 0x7f, 0x91, 0x5a, 0x22, 0x62, 0x6f, 0x6a, 0x41, 0xa8, 0x07, |
| 0x77, 0xa1, 0x05, 0x0f, 0x82, 0x97, 0x58, 0x0f, 0x5e, 0x14, 0x82, 0x27, 0x2f, 0x61, 0xdb, 0x6e, |
| 0xd2, 0xa5, 0xd9, 0x7d, 0xcb, 0xbe, 0x8d, 0xe0, 0xd9, 0x8f, 0xe6, 0x17, 0x93, 0xac, 0x96, 0xa6, |
| 0x42, 0x8e, 0x3b, 0xf3, 0x9b, 0x65, 0x98, 0x07, 0x57, 0x5e, 0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