github.com/sgoings/helm@v2.0.0-alpha.2.0.20170406211108-734e92851ac3+incompatible/pkg/proto/hapi/release/status.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: hapi/release/status.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 _ "github.com/golang/protobuf/ptypes/any" 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 Status_Code int32 18 19 const ( 20 // Status_UNKNOWN indicates that a release is in an uncertain state. 21 Status_UNKNOWN Status_Code = 0 22 // Status_DEPLOYED indicates that the release has been pushed to Kubernetes. 23 Status_DEPLOYED Status_Code = 1 24 // Status_DELETED indicates that a release has been deleted from Kubermetes. 25 Status_DELETED Status_Code = 2 26 // Status_SUPERSEDED indicates that this release object is outdated and a newer one exists. 27 Status_SUPERSEDED Status_Code = 3 28 // Status_FAILED indicates that the release was not successfully deployed. 29 Status_FAILED Status_Code = 4 30 // Status_DELETING indicates that a delete operation is underway. 31 Status_DELETING Status_Code = 5 32 ) 33 34 var Status_Code_name = map[int32]string{ 35 0: "UNKNOWN", 36 1: "DEPLOYED", 37 2: "DELETED", 38 3: "SUPERSEDED", 39 4: "FAILED", 40 5: "DELETING", 41 } 42 var Status_Code_value = map[string]int32{ 43 "UNKNOWN": 0, 44 "DEPLOYED": 1, 45 "DELETED": 2, 46 "SUPERSEDED": 3, 47 "FAILED": 4, 48 "DELETING": 5, 49 } 50 51 func (x Status_Code) String() string { 52 return proto.EnumName(Status_Code_name, int32(x)) 53 } 54 func (Status_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} } 55 56 // Status defines the status of a release. 57 type Status struct { 58 Code Status_Code `protobuf:"varint,1,opt,name=code,enum=hapi.release.Status_Code" json:"code,omitempty"` 59 // Cluster resources as kubectl would print them. 60 Resources string `protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"` 61 // Contains the rendered templates/NOTES.txt if available 62 Notes string `protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"` 63 // LastTestSuiteRun provides results on the last test run on a release 64 LastTestSuiteRun *TestSuite `protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun" json:"last_test_suite_run,omitempty"` 65 } 66 67 func (m *Status) Reset() { *m = Status{} } 68 func (m *Status) String() string { return proto.CompactTextString(m) } 69 func (*Status) ProtoMessage() {} 70 func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} } 71 72 func (m *Status) GetLastTestSuiteRun() *TestSuite { 73 if m != nil { 74 return m.LastTestSuiteRun 75 } 76 return nil 77 } 78 79 func init() { 80 proto.RegisterType((*Status)(nil), "hapi.release.Status") 81 proto.RegisterEnum("hapi.release.Status_Code", Status_Code_name, Status_Code_value) 82 } 83 84 func init() { proto.RegisterFile("hapi/release/status.proto", fileDescriptor3) } 85 86 var fileDescriptor3 = []byte{ 87 // 291 bytes of a gzipped FileDescriptorProto 88 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x90, 0xdf, 0x6a, 0xc2, 0x30, 89 0x14, 0xc6, 0x57, 0xad, 0x3a, 0x8f, 0x22, 0x21, 0x1b, 0xac, 0xca, 0x06, 0xc5, 0xab, 0xde, 0xac, 90 0x05, 0xf7, 0x04, 0xdb, 0x12, 0x87, 0xac, 0x54, 0x69, 0x2b, 0xfb, 0x73, 0x53, 0xaa, 0x9e, 0x39, 91 0xa1, 0x34, 0xd2, 0x24, 0x17, 0x7b, 0x88, 0xbd, 0xf3, 0x68, 0x2b, 0x74, 0x5e, 0x7e, 0xf9, 0xfd, 92 0x4e, 0xce, 0xc7, 0x81, 0xf1, 0x77, 0x7a, 0x3c, 0x78, 0x05, 0x66, 0x98, 0x4a, 0xf4, 0xa4, 0x4a, 93 0x95, 0x96, 0xee, 0xb1, 0x10, 0x4a, 0xd0, 0x61, 0x89, 0x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