| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/result_flow/ctp.proto |
| |
| package result_flow |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| 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 |
| |
| // CTPRequest defines the input of `result_flow ctp`. |
| type CTPRequest struct { |
| // The source config for fetching a CTP build. |
| Ctp *Source `protobuf:"bytes,1,opt,name=ctp,proto3" json:"ctp,omitempty"` |
| // The target to upload the result flow output. |
| TestPlanRun *Target `protobuf:"bytes,2,opt,name=test_plan_run,json=testPlanRun,proto3" json:"test_plan_run,omitempty"` |
| // Hard deadline for execution. |
| // |
| // CTP command should abort beyond this deadline. |
| Deadline *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CTPRequest) Reset() { *m = CTPRequest{} } |
| func (m *CTPRequest) String() string { return proto.CompactTextString(m) } |
| func (*CTPRequest) ProtoMessage() {} |
| func (*CTPRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0cd3889564661eb4, []int{0} |
| } |
| |
| func (m *CTPRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CTPRequest.Unmarshal(m, b) |
| } |
| func (m *CTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CTPRequest.Marshal(b, m, deterministic) |
| } |
| func (m *CTPRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CTPRequest.Merge(m, src) |
| } |
| func (m *CTPRequest) XXX_Size() int { |
| return xxx_messageInfo_CTPRequest.Size(m) |
| } |
| func (m *CTPRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CTPRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CTPRequest proto.InternalMessageInfo |
| |
| func (m *CTPRequest) GetCtp() *Source { |
| if m != nil { |
| return m.Ctp |
| } |
| return nil |
| } |
| |
| func (m *CTPRequest) GetTestPlanRun() *Target { |
| if m != nil { |
| return m.TestPlanRun |
| } |
| return nil |
| } |
| |
| func (m *CTPRequest) GetDeadline() *timestamp.Timestamp { |
| if m != nil { |
| return m.Deadline |
| } |
| return nil |
| } |
| |
| // CTPResponse defines the output of `result_flow ctp`. |
| type CTPResponse struct { |
| // `result_flow ctp` exits with exit code 0 unless there is an |
| // infrastructure failure. When the exit code is 0, `state` indicates the |
| // best known state of the ctp command execution (see comments on State enum). |
| State State `protobuf:"varint,1,opt,name=state,proto3,enum=test_platform.result_flow.State" json:"state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CTPResponse) Reset() { *m = CTPResponse{} } |
| func (m *CTPResponse) String() string { return proto.CompactTextString(m) } |
| func (*CTPResponse) ProtoMessage() {} |
| func (*CTPResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0cd3889564661eb4, []int{1} |
| } |
| |
| func (m *CTPResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CTPResponse.Unmarshal(m, b) |
| } |
| func (m *CTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CTPResponse.Marshal(b, m, deterministic) |
| } |
| func (m *CTPResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CTPResponse.Merge(m, src) |
| } |
| func (m *CTPResponse) XXX_Size() int { |
| return xxx_messageInfo_CTPResponse.Size(m) |
| } |
| func (m *CTPResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_CTPResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CTPResponse proto.InternalMessageInfo |
| |
| func (m *CTPResponse) GetState() State { |
| if m != nil { |
| return m.State |
| } |
| return State_STATE_UNSPECIFIED |
| } |
| |
| func init() { |
| proto.RegisterType((*CTPRequest)(nil), "test_platform.result_flow.CTPRequest") |
| proto.RegisterType((*CTPResponse)(nil), "test_platform.result_flow.CTPResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/result_flow/ctp.proto", fileDescriptor_0cd3889564661eb4) |
| } |
| |
| var fileDescriptor_0cd3889564661eb4 = []byte{ |
| // 271 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xd0, 0xc1, 0x4a, 0xf4, 0x30, |
| 0x10, 0x07, 0x70, 0xfa, 0x2d, 0x9f, 0x48, 0x8a, 0x1e, 0x7a, 0xaa, 0xbd, 0xb8, 0xae, 0x20, 0x9e, |
| 0x12, 0xd8, 0x85, 0x7d, 0x00, 0x97, 0xde, 0x97, 0xd8, 0x93, 0x97, 0x92, 0xed, 0x4e, 0x63, 0x21, |
| 0xc9, 0xd4, 0x64, 0x82, 0xaf, 0xe7, 0xa3, 0x49, 0x5b, 0x2b, 0x7a, 0xd8, 0xf5, 0x18, 0xf8, 0xcd, |
| 0xe4, 0xff, 0x1f, 0x76, 0x4f, 0x10, 0xa8, 0xee, 0x8d, 0xa2, 0x16, 0xbd, 0x15, 0x1e, 0x42, 0x34, |
| 0x54, 0xb7, 0x06, 0xdf, 0x45, 0x43, 0x3d, 0xef, 0x3d, 0x12, 0x66, 0x37, 0xbf, 0x10, 0xff, 0x81, |
| 0x8a, 0x87, 0x33, 0xf3, 0x68, 0x2d, 0xba, 0x69, 0x45, 0x71, 0xab, 0x11, 0xb5, 0x01, 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