|
|
|
// Code generated by protoc-gen-go.
|
|
|
|
// source: hapi/release/test_run.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
package release
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
type TestRun_Status int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
TestRun_UNKNOWN TestRun_Status = 0
|
|
|
|
TestRun_SUCCESS TestRun_Status = 1
|
|
|
|
TestRun_FAILURE TestRun_Status = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
var TestRun_Status_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "SUCCESS",
|
|
|
|
2: "FAILURE",
|
|
|
|
}
|
|
|
|
var TestRun_Status_value = map[string]int32{
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
"SUCCESS": 1,
|
|
|
|
"FAILURE": 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x TestRun_Status) String() string {
|
|
|
|
return proto.EnumName(TestRun_Status_name, int32(x))
|
|
|
|
}
|
|
|
|
func (TestRun_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 0} }
|
|
|
|
|
|
|
|
type TestRun struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
|
|
Status TestRun_Status `protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
|
|
|
|
Info string `protobuf:"bytes,3,opt,name=info" json:"info,omitempty"`
|
|
|
|
StartedAt *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt" json:"started_at,omitempty"`
|
|
|
|
CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TestRun) Reset() { *m = TestRun{} }
|
|
|
|
func (m *TestRun) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TestRun) ProtoMessage() {}
|
|
|
|
func (*TestRun) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
|
|
|
|
|
|
|
func (m *TestRun) GetStartedAt() *google_protobuf.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.StartedAt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TestRun) GetCompletedAt() *google_protobuf.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CompletedAt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*TestRun)(nil), "hapi.release.TestRun")
|
|
|
|
proto.RegisterEnum("hapi.release.TestRun_Status", TestRun_Status_name, TestRun_Status_value)
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("hapi/release/test_run.proto", fileDescriptor4) }
|
|
|
|
|
|
|
|
var fileDescriptor4 = []byte{
|
|
|
|
// 265 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x8f, 0x41, 0x4b, 0xfb, 0x40,
|
|
|
|
0x14, 0xc4, 0xff, 0xc9, 0xbf, 0x26, 0x64, 0x53, 0x24, 0xec, 0x29, 0x54, 0xc1, 0xd0, 0x53, 0x4e,
|
|
|
|
0xbb, 0x50, 0xbd, 0x78, 0xf0, 0x10, 0x4b, 0x05, 0x51, 0x22, 0x6c, 0x1a, 0x04, 0x2f, 0x65, 0xab,
|
|
|
|
0xaf, 0x35, 0x90, 0x64, 0x43, 0xf6, 0xe5, 0x8b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