github.com/felipejfc/helm@v2.1.2+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 14 It has these top-level messages: 15 Hook 16 Info 17 Release 18 Status 19 */ 20 package release 21 22 import proto "github.com/golang/protobuf/proto" 23 import fmt "fmt" 24 import math "math" 25 import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var _ = proto.Marshal 29 var _ = fmt.Errorf 30 var _ = math.Inf 31 32 // This is a compile-time assertion to ensure that this generated file 33 // is compatible with the proto package it is being compiled against. 34 // A compilation error at this line likely means your copy of the 35 // proto package needs to be updated. 36 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 37 38 type Hook_Event int32 39 40 const ( 41 Hook_UNKNOWN Hook_Event = 0 42 Hook_PRE_INSTALL Hook_Event = 1 43 Hook_POST_INSTALL Hook_Event = 2 44 Hook_PRE_DELETE Hook_Event = 3 45 Hook_POST_DELETE Hook_Event = 4 46 Hook_PRE_UPGRADE Hook_Event = 5 47 Hook_POST_UPGRADE Hook_Event = 6 48 Hook_PRE_ROLLBACK Hook_Event = 7 49 Hook_POST_ROLLBACK Hook_Event = 8 50 ) 51 52 var Hook_Event_name = map[int32]string{ 53 0: "UNKNOWN", 54 1: "PRE_INSTALL", 55 2: "POST_INSTALL", 56 3: "PRE_DELETE", 57 4: "POST_DELETE", 58 5: "PRE_UPGRADE", 59 6: "POST_UPGRADE", 60 7: "PRE_ROLLBACK", 61 8: "POST_ROLLBACK", 62 } 63 var Hook_Event_value = map[string]int32{ 64 "UNKNOWN": 0, 65 "PRE_INSTALL": 1, 66 "POST_INSTALL": 2, 67 "PRE_DELETE": 3, 68 "POST_DELETE": 4, 69 "PRE_UPGRADE": 5, 70 "POST_UPGRADE": 6, 71 "PRE_ROLLBACK": 7, 72 "POST_ROLLBACK": 8, 73 } 74 75 func (x Hook_Event) String() string { 76 return proto.EnumName(Hook_Event_name, int32(x)) 77 } 78 func (Hook_Event) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } 79 80 // Hook defines a hook object. 81 type Hook struct { 82 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 83 // Kind is the Kubernetes kind. 84 Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` 85 // Path is the chart-relative path to the template. 86 Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` 87 // Manifest is the manifest contents. 88 Manifest string `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"` 89 // Events are the events that this hook fires on. 90 Events []Hook_Event `protobuf:"varint,5,rep,packed,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"` 91 // LastRun indicates the date/time this was last run. 92 LastRun *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=last_run,json=lastRun" json:"last_run,omitempty"` 93 } 94 95 func (m *Hook) Reset() { *m = Hook{} } 96 func (m *Hook) String() string { return proto.CompactTextString(m) } 97 func (*Hook) ProtoMessage() {} 98 func (*Hook) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 99 100 func (m *Hook) GetLastRun() *google_protobuf.Timestamp { 101 if m != nil { 102 return m.LastRun 103 } 104 return nil 105 } 106 107 func init() { 108 proto.RegisterType((*Hook)(nil), "hapi.release.Hook") 109 proto.RegisterEnum("hapi.release.Hook_Event", Hook_Event_name, Hook_Event_value) 110 } 111 112 func init() { proto.RegisterFile("hapi/release/hook.proto", fileDescriptor0) } 113 114 var fileDescriptor0 = []byte{ 115 // 321 bytes of a gzipped FileDescriptorProto 116 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0x4d, 0x6e, 0xea, 0x30, 117 0x14, 0x85, 0x5f, 0x20, 0x24, 0x70, 0xe1, 0xd1, 0xd4, 0x93, 0x5a, 0x4c, 0x8a, 0x18, 0x31, 0x72, 118 0x2a, 0xaa, 0x2e, 0x00, 0x8a, 0xd5, 0x56, 0x44, 0x01, 0x99, 0xa0, 0x4a, 0x9d, 0x20, 0xa3, 0x1a, 119 0x88, 0x20, 0x71, 0x44, 0x4c, 0xd7, 0xd3, 0xf5, 0x75, 0x15, 0x95, 0x9d, 0x1f, 0x75, 0x76, 0xfd, 120 0xdd, 0xcf, 0xc7, 0x3e, 0x70, 0x77, 0xe4, 0x59, 0xec, 0x5f, 0xc4, 0x59, 0xf0, 0x5c, 0xf8, 0x47, 121 0x29, 0x4f, 0x24, 0xbb, 0x48, 0x25, 0x51, 0x4f, 0x2f, 0x48, 0xb9, 0x18, 0xdc, 0x1f, 0xa4, 0x3c, 122 0x9c, 0x85, 0x6f, 0x76, 0xbb, 0xeb, 0xde, 0x57, 0x71, 0x22, 0x72, 0xc5, 0x93, 0xac, 0xd0, 0x47, 123 0x3f, 0x0d, 0xb0, 0x5f, 0xa5, 0x3c, 0x21, 0x04, 0x76, 0xca, 0x13, 0x81, 0xad, 0xa1, 0x35, 0xee, 124 0x30, 0x33, 0x6b, 0x76, 0x8a, 0xd3, 0x4f, 0xdc, 0x28, 0x98, 0x9e, 0x35, 0xcb, 0xb8, 0x3a, 0xe2, 125 0x66, 0xc1, 0xf4, 0x8c, 0x06, 0xd0, 0x4e, 0x78, 0x1a, 0xef, 0x45, 0xae, 0xb0, 0x6d, 0x78, 0x7d, 126 0x46, 0x0f, 0xe0, 0x88, 0x2f, 0x91, 0xaa, 0x1c, 0xb7, 0x86, 0xcd, 0x71, 0x7f, 0x82, 0xc9, 0xdf, 127 0x0f, 0x12, 0xfd, 0x36, 0xa1, 0x5a, 0x60, 0xa5, 0x87, 0x9e, 0xa0, 0x7d, 0xe6, 0xb9, 0xda, 0x5e, 128 0xae, 0x29, 0x76, 0x86, 0xd6, 0xb8, 0x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