github.com/cloudposse/helm@v2.2.3+incompatible/pkg/proto/hapi/release/hook.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: hapi/release/hook.proto 3 // DO NOT EDIT! 4 5 /* 6 Package release is a generated protocol buffer package. 7 8 It is generated from these files: 9 hapi/release/hook.proto 10 hapi/release/info.proto 11 hapi/release/release.proto 12 hapi/release/status.proto 13 hapi/release/test_run.proto 14 hapi/release/test_suite.proto 15 16 It has these top-level messages: 17 Hook 18 Info 19 Release 20 Status 21 TestRun 22 TestSuite 23 */ 24 package release 25 26 import proto "github.com/golang/protobuf/proto" 27 import fmt "fmt" 28 import math "math" 29 import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" 30 31 // Reference imports to suppress errors if they are not otherwise used. 32 var _ = proto.Marshal 33 var _ = fmt.Errorf 34 var _ = math.Inf 35 36 // This is a compile-time assertion to ensure that this generated file 37 // is compatible with the proto package it is being compiled against. 38 // A compilation error at this line likely means your copy of the 39 // proto package needs to be updated. 40 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 41 42 type Hook_Event int32 43 44 const ( 45 Hook_UNKNOWN Hook_Event = 0 46 Hook_PRE_INSTALL Hook_Event = 1 47 Hook_POST_INSTALL Hook_Event = 2 48 Hook_PRE_DELETE Hook_Event = 3 49 Hook_POST_DELETE Hook_Event = 4 50 Hook_PRE_UPGRADE Hook_Event = 5 51 Hook_POST_UPGRADE Hook_Event = 6 52 Hook_PRE_ROLLBACK Hook_Event = 7 53 Hook_POST_ROLLBACK Hook_Event = 8 54 Hook_RELEASE_TEST_SUCCESS Hook_Event = 9 55 Hook_RELEASE_TEST_FAILURE Hook_Event = 10 56 ) 57 58 var Hook_Event_name = map[int32]string{ 59 0: "UNKNOWN", 60 1: "PRE_INSTALL", 61 2: "POST_INSTALL", 62 3: "PRE_DELETE", 63 4: "POST_DELETE", 64 5: "PRE_UPGRADE", 65 6: "POST_UPGRADE", 66 7: "PRE_ROLLBACK", 67 8: "POST_ROLLBACK", 68 9: "RELEASE_TEST_SUCCESS", 69 10: "RELEASE_TEST_FAILURE", 70 } 71 var Hook_Event_value = map[string]int32{ 72 "UNKNOWN": 0, 73 "PRE_INSTALL": 1, 74 "POST_INSTALL": 2, 75 "PRE_DELETE": 3, 76 "POST_DELETE": 4, 77 "PRE_UPGRADE": 5, 78 "POST_UPGRADE": 6, 79 "PRE_ROLLBACK": 7, 80 "POST_ROLLBACK": 8, 81 "RELEASE_TEST_SUCCESS": 9, 82 "RELEASE_TEST_FAILURE": 10, 83 } 84 85 func (x Hook_Event) String() string { 86 return proto.EnumName(Hook_Event_name, int32(x)) 87 } 88 func (Hook_Event) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } 89 90 // Hook defines a hook object. 91 type Hook struct { 92 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 93 // Kind is the Kubernetes kind. 94 Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` 95 // Path is the chart-relative path to the template. 96 Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` 97 // Manifest is the manifest contents. 98 Manifest string `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"` 99 // Events are the events that this hook fires on. 100 Events []Hook_Event `protobuf:"varint,5,rep,packed,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"` 101 // LastRun indicates the date/time this was last run. 102 LastRun *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=last_run,json=lastRun" json:"last_run,omitempty"` 103 } 104 105 func (m *Hook) Reset() { *m = Hook{} } 106 func (m *Hook) String() string { return proto.CompactTextString(m) } 107 func (*Hook) ProtoMessage() {} 108 func (*Hook) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 109 110 func (m *Hook) GetLastRun() *google_protobuf.Timestamp { 111 if m != nil { 112 return m.LastRun 113 } 114 return nil 115 } 116 117 func init() { 118 proto.RegisterType((*Hook)(nil), "hapi.release.Hook") 119 proto.RegisterEnum("hapi.release.Hook_Event", Hook_Event_name, Hook_Event_value) 120 } 121 122 func init() { proto.RegisterFile("hapi/release/hook.proto", fileDescriptor0) } 123 124 var fileDescriptor0 = []byte{ 125 // 354 bytes of a gzipped FileDescriptorProto 126 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xdd, 0x6e, 0xa2, 0x40, 127 0x18, 0x86, 0x17, 0x41, 0xd0, 0xd1, 0x75, 0x67, 0x27, 0x9b, 0xec, 0xc4, 0x93, 0x35, 0x1e, 0x79, 128 0x34, 0x6c, 0x6c, 0x7a, 0x01, 0xa8, 0xd3, 0xd6, 0x48, 0xd0, 0x0c, 0x90, 0x26, 0x3d, 0x21, 0x98, 129 0x8e, 0x4a, 0x14, 0x86, 0x08, 0xf6, 0x72, 0x7a, 0x55, 0xbd, 0xa0, 0x66, 0x86, 0x9f, 0x34, 0xe9, 130 0xd9, 0xc7, 0xf3, 0x3e, 0x7c, 0x33, 0xef, 0x80, 0xbf, 0xa7, 0x38, 0x4f, 0xec, 0x2b, 0xbf, 0xf0, 131 0xb8, 0xe0, 0xf6, 0x49, 0x88, 0x33, 0xc9, 0xaf, 0xa2, 0x14, 0x68, 0x28, 0x03, 0x52, 0x07, 0xe3, 132 0x7f, 0x47, 0x21, 0x8e, 0x17, 0x6e, 0xab, 0x6c, 0x7f, 0x3b, 0xd8, 0x65, 0x92, 0xf2, 0xa2, 0x8c, 133 0xd3, 0xbc, 0xd2, 0xa7, 0xef, 0x3a, 0x30, 0x9e, 0x84, 0x38, 0x23, 0x04, 0x8c, 0x2c, 0x4e, 0x39, 134 0xd6, 0x26, 0xda, 0xac, 0xcf, 0xd4, 0x2c, 0xd9, 0x39, 0xc9, 0x5e, 0x71, 0xa7, 0x62, 0x72, 0x96, 135 0x2c, 0x8f, 0xcb, 0x13, 0xd6, 0x2b, 0x26, 0x67, 0x34, 0x06, 0xbd, 0x34, 0xce, 0x92, 0x03, 0x2f, 136 0x4a, 0x6c, 0x28, 0xde, 0x7e, 0xa3, 0xff, 0xc0, 0xe4, 0x6f, 0x3c, 0x2b, 0x0b, 0xdc, 0x9d, 0xe8, 137 0xb3, 0xd1, 0x1c, 0x93, 0xaf, 0x17, 0x24, 0xf2, 0x6c, 0x42, 0xa5, 0xc0, 0x6a, 0x0f, 0xdd, 0x83, 138 0xde, 0x25, 0x2e, 0xca, 0xe8, 0x7a, 0xcb, 0xb0, 0x39, 0xd1, 0x66, 0x83, 0xf9, 0x98, 0x54, 0x35, 139 0x48, 0x53, 0x83, 0x04, 0x4d, 0x0d, 0x66, 0x49, 0x97, 0xdd, 0xb2, 0xe9, 0x87, 0x06, 0xba, 0x6a, 140 0x11, 0x1a, 0x00, 0x2b, 0xf4, 0x36, 0xde, 0xf6, 0xd9, 0x83, 0x3f, 0xd0, 0x2f, 0x30, 0xd8, 0x31, 141 0x1a, 0xad, 0x3d, 0x3f, 0x70, 0x5c, 0x17, 0x6a, 0x08, 0x82, 0xe1, 0x6e, 0xeb, 0x07, 0x2d, 0xe9, 142 0xa0, 0x11, 0x00, 0x52, 0x59, 0x51, 0x97, 0x06, 0x14, 0xea, 0xea, 0x17, 0x69, 0xd4, 0xc0, 0x68, 143 0x76, 0x84, 0xbb, 0x47, 0xe6, 0xac, 0x28, 0xec, 0xb6, 0x3b, 0x1a, 0x62, 0x2a, 0xc2, 0x68, 0xc4, 144 0xb6, 0xae, 0xbb, 0x70, 0x96, 0x1b, 0x68, 0xa1, 0xdf, 0xe0, 0xa7, 0x72, 0x5a, 0xd4, 0x43, 0x18, 145 0xfc, 0x61, 0xd4, 0xa5, 0x8e, 0x4f, 0xa3, 0x80, 0xfa, 0x41, 0xe4, 0x87, 0xcb, 0x25, 0xf5, 0x7d, 146 0xd8, 0xff, 0x96, 0x3c, 0x38, 0x6b, 0x37, 0x64, 0x14, 0x82, 0x45, 0xff, 0xc5, 0xaa, 0xdf, 0x6a, 147 0x6f, 0xaa, 0xfa, 0x77, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69, 0x41, 0x62, 0x57, 0xfc, 0x01, 148 0x00, 0x00, 149 }