github.com/caicloud/helm@v2.5.0+incompatible/pkg/proto/hapi/release/test_run.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: hapi/release/test_run.proto 3 // DO NOT EDIT! 4 5 package release 6 7 import proto "github.com/golang/protobuf/proto" 8 import fmt "fmt" 9 import math "math" 10 import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 type TestRun_Status int32 18 19 const ( 20 TestRun_UNKNOWN TestRun_Status = 0 21 TestRun_SUCCESS TestRun_Status = 1 22 TestRun_FAILURE TestRun_Status = 2 23 TestRun_RUNNING TestRun_Status = 3 24 ) 25 26 var TestRun_Status_name = map[int32]string{ 27 0: "UNKNOWN", 28 1: "SUCCESS", 29 2: "FAILURE", 30 3: "RUNNING", 31 } 32 var TestRun_Status_value = map[string]int32{ 33 "UNKNOWN": 0, 34 "SUCCESS": 1, 35 "FAILURE": 2, 36 "RUNNING": 3, 37 } 38 39 func (x TestRun_Status) String() string { 40 return proto.EnumName(TestRun_Status_name, int32(x)) 41 } 42 func (TestRun_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 0} } 43 44 type TestRun struct { 45 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 46 Status TestRun_Status `protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"` 47 Info string `protobuf:"bytes,3,opt,name=info" json:"info,omitempty"` 48 StartedAt *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt" json:"started_at,omitempty"` 49 CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"` 50 } 51 52 func (m *TestRun) Reset() { *m = TestRun{} } 53 func (m *TestRun) String() string { return proto.CompactTextString(m) } 54 func (*TestRun) ProtoMessage() {} 55 func (*TestRun) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} } 56 57 func (m *TestRun) GetName() string { 58 if m != nil { 59 return m.Name 60 } 61 return "" 62 } 63 64 func (m *TestRun) GetStatus() TestRun_Status { 65 if m != nil { 66 return m.Status 67 } 68 return TestRun_UNKNOWN 69 } 70 71 func (m *TestRun) GetInfo() string { 72 if m != nil { 73 return m.Info 74 } 75 return "" 76 } 77 78 func (m *TestRun) GetStartedAt() *google_protobuf.Timestamp { 79 if m != nil { 80 return m.StartedAt 81 } 82 return nil 83 } 84 85 func (m *TestRun) GetCompletedAt() *google_protobuf.Timestamp { 86 if m != nil { 87 return m.CompletedAt 88 } 89 return nil 90 } 91 92 func init() { 93 proto.RegisterType((*TestRun)(nil), "hapi.release.TestRun") 94 proto.RegisterEnum("hapi.release.TestRun_Status", TestRun_Status_name, TestRun_Status_value) 95 } 96 97 func init() { proto.RegisterFile("hapi/release/test_run.proto", fileDescriptor4) } 98 99 var fileDescriptor4 = []byte{ 100 // 274 bytes of a gzipped FileDescriptorProto 101 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0xc1, 0x4b, 0xfb, 0x30, 102 0x1c, 0xc5, 0x7f, 0xe9, 0xf6, 0x6b, 0x69, 0x3a, 0xa4, 0xe4, 0x54, 0xa6, 0x60, 0xd9, 0xa9, 0xa7, 103 0x14, 0xa6, 0x17, 0x41, 0x0f, 0x75, 0x4c, 0x19, 0x4a, 0x84, 0x74, 0x45, 0xf0, 0x32, 0x32, 0xcd, 104 0x66, 0xa1, 0x6d, 0x4a, 0xf3, 0xed, 0xdf, 0xe3, 0xbf, 0x2a, 0x69, 0x33, 0xf1, 0xe6, 0xed, 0xfb, 105 0x78, 0x9f, 0xf7, 0xf2, 0x82, 0xcf, 0x3f, 0x45, 0x5b, 0xa6, 0x9d, 0xac, 0xa4, 0xd0, 0x32, 0x05, 106 0xa9, 0x61, 0xd7, 0xf5, 0x0d, 0x6d, 0x3b, 0x05, 0x8a, 0xcc, 0x8c, 0x49, 0xad, 0x39, 0xbf, 0x3c, 107 0x2a, 0x75, 0xac, 0x64, 0x3a, 0x78, 0xfb, 0xfe, 0x90, 0x42, 0x59, 0x4b, 0x0d, 0xa2, 0x6e, 0x47, 108 0x7c, 0xf1, 0xe5, 0x60, 0x6f, 0x2b, 0x35, 0xf0, 0xbe, 0x21, 0x04, 0x4f, 0x1b, 0x51, 0xcb, 0x08, 109 0xc5, 0x28, 0xf1, 0xf9, 0x70, 0x93, 0x6b, 0xec, 0x6a, 0x10, 0xd0, 0xeb, 0xc8, 0x89, 0x51, 0x72, 110 0xb6, 0xbc, 0xa0, 0xbf, 0xfb, 0xa9, 0x8d, 0xd2, 0x7c, 0x60, 0xb8, 0x65, 0x4d, 0x53, 0xd9, 0x1c, 111 0x54, 0x34, 0x19, 0x9b, 0xcc, 0x4d, 0x6e, 0x30, 0xd6, 0x20, 0x3a, 0x90, 0x1f, 0x3b, 0x01, 0xd1, 112 0x34, 0x46, 0x49, 0xb0, 0x9c, 0xd3, 0x71, 0x1f, 0x3d, 0xed, 0xa3, 0xdb, 0xd3, 0x3e, 0xee, 0x5b, 113 0x3a, 0x03, 0x72, 0x87, 0x67, 0xef, 0xaa, 0x6e, 0x2b, 0x69, 0xc3, 0xff, 0xff, 0x0c, 0x07, 0x3f, 114 0x7c, 0x06, 0x8b, 0x5b, 0xec, 0x8e, 0xfb, 0x48, 0x80, 0xbd, 0x82, 0x3d, 0xb1, 0x97, 0x57, 0x16, 115 0xfe, 0x33, 0x22, 0x2f, 0x56, 0xab, 0x75, 0x9e, 0x87, 0xc8, 0x88, 0x87, 0x6c, 0xf3, 0x5c, 0xf0, 116 0x75, 0xe8, 0x18, 0xc1, 0x0b, 0xc6, 0x36, 0xec, 0x31, 0x9c, 0xdc, 0xfb, 0x6f, 0x9e, 0xfd, 0xed, 117 0xde, 0x1d, 0x5e, 0xba, 0xfa, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x31, 0x86, 0x46, 0xdb, 0x81, 0x01, 118 0x00, 0x00, 119 }