github.com/koderover/helm@v2.17.0+incompatible/pkg/proto/hapi/release/test_run.pb.go (about)

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