| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/skylab_local_state/load.proto |
| |
| package skylab_local_state |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| skylab_test_runner "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner" |
| 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 |
| |
| // LoadRequest defines the input of `skylab_local_state load`. |
| type LoadRequest struct { |
| Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` |
| ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"` // Deprecated: Do not use. |
| // DUT hostname. |
| DutName string `protobuf:"bytes,3,opt,name=dut_name,json=dutName,proto3" json:"dut_name,omitempty"` |
| // Swarming run ID. Used in the results directory name. |
| RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` |
| // DUT ID, used in the name of the DUT state cache file. |
| DutId string `protobuf:"bytes,5,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` |
| // Test ID, used in the results directory name |
| TestId string `protobuf:"bytes,6,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *LoadRequest) Reset() { *m = LoadRequest{} } |
| func (m *LoadRequest) String() string { return proto.CompactTextString(m) } |
| func (*LoadRequest) ProtoMessage() {} |
| func (*LoadRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8da18a4489bdf85e, []int{0} |
| } |
| |
| func (m *LoadRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_LoadRequest.Unmarshal(m, b) |
| } |
| func (m *LoadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_LoadRequest.Marshal(b, m, deterministic) |
| } |
| func (m *LoadRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LoadRequest.Merge(m, src) |
| } |
| func (m *LoadRequest) XXX_Size() int { |
| return xxx_messageInfo_LoadRequest.Size(m) |
| } |
| func (m *LoadRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_LoadRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LoadRequest proto.InternalMessageInfo |
| |
| func (m *LoadRequest) GetConfig() *Config { |
| if m != nil { |
| return m.Config |
| } |
| return nil |
| } |
| |
| // Deprecated: Do not use. |
| func (m *LoadRequest) GetResultsDir() string { |
| if m != nil { |
| return m.ResultsDir |
| } |
| return "" |
| } |
| |
| func (m *LoadRequest) GetDutName() string { |
| if m != nil { |
| return m.DutName |
| } |
| return "" |
| } |
| |
| func (m *LoadRequest) GetRunId() string { |
| if m != nil { |
| return m.RunId |
| } |
| return "" |
| } |
| |
| func (m *LoadRequest) GetDutId() string { |
| if m != nil { |
| return m.DutId |
| } |
| return "" |
| } |
| |
| func (m *LoadRequest) GetTestId() string { |
| if m != nil { |
| return m.TestId |
| } |
| return "" |
| } |
| |
| // LoadResponse defines the output of `skylab_local_state load`. |
| type LoadResponse struct { |
| // What is currently installed on the DUT, e.g. |
| // "cros-version": "reef-release/R77-12345.0.0". |
| ProvisionableLabels map[string]string `protobuf:"bytes,1,rep,name=provisionable_labels,json=provisionableLabels,proto3" json:"provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // The path to the newly created directory containing the host info file. |
| ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"` |
| // Paths to future results archives. |
| // These paths depend on the path of the local results directory, so they |
| // become well-defined the moment the local directory is created. |
| // `skylab_local_state load` does not perform the offload to the locations, |
| // the offload happens asynchronously after the task finishes. |
| AsyncResults *skylab_test_runner.AsyncResults `protobuf:"bytes,3,opt,name=async_results,json=asyncResults,proto3" json:"async_results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *LoadResponse) Reset() { *m = LoadResponse{} } |
| func (m *LoadResponse) String() string { return proto.CompactTextString(m) } |
| func (*LoadResponse) ProtoMessage() {} |
| func (*LoadResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8da18a4489bdf85e, []int{1} |
| } |
| |
| func (m *LoadResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_LoadResponse.Unmarshal(m, b) |
| } |
| func (m *LoadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_LoadResponse.Marshal(b, m, deterministic) |
| } |
| func (m *LoadResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LoadResponse.Merge(m, src) |
| } |
| func (m *LoadResponse) XXX_Size() int { |
| return xxx_messageInfo_LoadResponse.Size(m) |
| } |
| func (m *LoadResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_LoadResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LoadResponse proto.InternalMessageInfo |
| |
| func (m *LoadResponse) GetProvisionableLabels() map[string]string { |
| if m != nil { |
| return m.ProvisionableLabels |
| } |
| return nil |
| } |
| |
| func (m *LoadResponse) GetResultsDir() string { |
| if m != nil { |
| return m.ResultsDir |
| } |
| return "" |
| } |
| |
| func (m *LoadResponse) GetAsyncResults() *skylab_test_runner.AsyncResults { |
| if m != nil { |
| return m.AsyncResults |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*LoadRequest)(nil), "test_platform.skylab_local_state.LoadRequest") |
| proto.RegisterType((*LoadResponse)(nil), "test_platform.skylab_local_state.LoadResponse") |
| proto.RegisterMapType((map[string]string)(nil), "test_platform.skylab_local_state.LoadResponse.ProvisionableLabelsEntry") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/skylab_local_state/load.proto", fileDescriptor_8da18a4489bdf85e) |
| } |
| |
| var fileDescriptor_8da18a4489bdf85e = []byte{ |
| // 411 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0x6a, 0x14, 0x31, |
| 0x18, 0x65, 0x76, 0xdd, 0xa9, 0xcd, 0x54, 0x90, 0x58, 0x31, 0xf6, 0xc6, 0xa5, 0xde, 0x2c, 0x88, |
| 0x09, 0xac, 0x37, 0xe2, 0x95, 0xd6, 0x3f, 0x56, 0x16, 0x91, 0x78, 0xe7, 0x4d, 0xc8, 0x4e, 0xb2, |
| 0x6b, 0x68, 0x26, 0xdf, 0x98, 0x9f, 0xc2, 0xfa, 0x84, 0x3e, 0x81, 0xcf, 0x23, 0x93, 0x59, 0x61, |
| 0x4a, 0x5b, 0xe6, 0x6e, 0xce, 0xc9, 0x39, 0x67, 0x4e, 0xbe, 0x7c, 0xe8, 0x45, 0xd4, 0x21, 0x8a, |
| 0xd6, 0xca, 0xb8, 0x05, 0xdf, 0xb0, 0x70, 0xb9, 0xb7, 0x72, 0x23, 0x2c, 0xd4, 0xd2, 0x8a, 0x10, |
| 0x65, 0xd4, 0xcc, 0x82, 0x54, 0xb4, 0xf5, 0x10, 0x01, 0xcf, 0xaf, 0x89, 0xe9, 0x4d, 0xf1, 0xd9, |
| 0xcb, 0xd1, 0xb8, 0x1a, 0x9a, 0x06, 0x5c, 0x1f, 0x78, 0x87, 0x3c, 0x93, 0x3e, 0x39, 0xa7, 0x3d, |
| 0xf3, 0x3a, 0x24, 0x1b, 0x7b, 0xf9, 0xf9, 0xdf, 0x02, 0x55, 0x6b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