github.com/danielqsj/helm@v2.0.0-alpha.4.0.20160908204436-976e0ba5199b+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  const _ = proto.ProtoPackageIsVersion1
    35  
    36  type Hook_Event int32
    37  
    38  const (
    39  	Hook_UNKNOWN      Hook_Event = 0
    40  	Hook_PRE_INSTALL  Hook_Event = 1
    41  	Hook_POST_INSTALL Hook_Event = 2
    42  	Hook_PRE_DELETE   Hook_Event = 3
    43  	Hook_POST_DELETE  Hook_Event = 4
    44  	Hook_PRE_UPGRADE  Hook_Event = 5
    45  	Hook_POST_UPGRADE Hook_Event = 6
    46  )
    47  
    48  var Hook_Event_name = map[int32]string{
    49  	0: "UNKNOWN",
    50  	1: "PRE_INSTALL",
    51  	2: "POST_INSTALL",
    52  	3: "PRE_DELETE",
    53  	4: "POST_DELETE",
    54  	5: "PRE_UPGRADE",
    55  	6: "POST_UPGRADE",
    56  }
    57  var Hook_Event_value = map[string]int32{
    58  	"UNKNOWN":      0,
    59  	"PRE_INSTALL":  1,
    60  	"POST_INSTALL": 2,
    61  	"PRE_DELETE":   3,
    62  	"POST_DELETE":  4,
    63  	"PRE_UPGRADE":  5,
    64  	"POST_UPGRADE": 6,
    65  }
    66  
    67  func (x Hook_Event) String() string {
    68  	return proto.EnumName(Hook_Event_name, int32(x))
    69  }
    70  func (Hook_Event) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
    71  
    72  // Hook defines a hook object.
    73  type Hook struct {
    74  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    75  	// Kind is the Kubernetes kind.
    76  	Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
    77  	// Path is the chart-relative path to the template.
    78  	Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
    79  	// Manifest is the manifest contents.
    80  	Manifest string `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"`
    81  	// Events are the events that this hook fires on.
    82  	Events []Hook_Event `protobuf:"varint,5,rep,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"`
    83  	// LastRun indicates the date/time this was last run.
    84  	LastRun *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=last_run,json=lastRun" json:"last_run,omitempty"`
    85  }
    86  
    87  func (m *Hook) Reset()                    { *m = Hook{} }
    88  func (m *Hook) String() string            { return proto.CompactTextString(m) }
    89  func (*Hook) ProtoMessage()               {}
    90  func (*Hook) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    91  
    92  func (m *Hook) GetLastRun() *google_protobuf.Timestamp {
    93  	if m != nil {
    94  		return m.LastRun
    95  	}
    96  	return nil
    97  }
    98  
    99  func init() {
   100  	proto.RegisterType((*Hook)(nil), "hapi.release.Hook")
   101  	proto.RegisterEnum("hapi.release.Hook_Event", Hook_Event_name, Hook_Event_value)
   102  }
   103  
   104  var fileDescriptor0 = []byte{
   105  	// 300 bytes of a gzipped FileDescriptorProto
   106  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0x5f, 0x4f, 0xc2, 0x30,
   107  	0x14, 0xc5, 0x05, 0xc6, 0x80, 0x0b, 0xc1, 0xa5, 0x2f, 0x36, 0xbc, 0x48, 0x78, 0xe2, 0xa9, 0x33,
   108  	0x18, 0x3f, 0x00, 0x86, 0x46, 0x8d, 0x64, 0x90, 0x32, 0x62, 0xe2, 0x0b, 0x29, 0xb1, 0xc0, 0x02,
   109  	0x6b, 0x17, 0xd6, 0xf9, 0xe2, 0xd7, 0xf3, 0x83, 0xb9, 0x76, 0x7f, 0xe2, 0xdb, 0xed, 0xef, 0x9c,
   110  	0x7b, 0x7a, 0x0f, 0xdc, 0x9d, 0x78, 0x12, 0xf9, 0x57, 0x71, 0x11, 0x3c, 0x15, 0xfe, 0x49, 0xa9,
   111  	0x33, 0x49, 0xae, 0x4a, 0x2b, 0x34, 0x30, 0x02, 0x29, 0x85, 0xd1, 0xfd, 0x51, 0xa9, 0xe3, 0x45,
   112  	0xf8, 0x56, 0xdb, 0x67, 0x07, 0x5f, 0x47, 0xb1, 0x48, 0x35, 0x8f, 0x93, 0xc2, 0x3e, 0xf9, 0x6d,
   113  	0x82, 0xf3, 0x9a, 0x6f, 0x23, 0x04, 0x8e, 0xe4, 0xb1, 0xc0, 0x8d, 0x71, 0x63, 0xda, 0x63, 0x76,
   114  	0x36, 0xec, 0x1c, 0xc9, 0x2f, 0xdc, 0x2c, 0x98, 0x99, 0x0d, 0x4b, 0xb8, 0x3e, 0xe1, 0x56, 0xc1,
   115  	0xcc, 0x8c, 0x46, 0xd0, 0x8d, 0xb9, 0x8c, 0x0e, 0x79, 0x32, 0x76, 0x2c, 0xaf, 0xdf, 0xe8, 0x01,
   116  	0x5c, 0xf1, 0x2d, 0xa4, 0x4e, 0x71, 0x7b, 0xdc, 0x9a, 0x0e, 0x67, 0x98, 0xfc, 0x3f, 0x90, 0x98,
   117  	0xbf, 0x09, 0x35, 0x06, 0x56, 0xfa, 0xd0, 0x13, 0x74, 0x2f, 0x3c, 0xd5, 0xbb, 0x6b, 0x26, 0xb1,
   118  	0x9b, 0xa7, 0xf5, 0x67, 0x23, 0x52, 0xd4, 0x20, 0x55, 0x0d, 0x12, 0x56, 0x35, 0x58, 0xc7, 0x78,
   119  	0x59, 0x26, 0x27, 0x3f, 0xd0, 0xb6, 0x39, 0xa8, 0x0f, 0x9d, 0x6d, 0xf0, 0x1e, 0xac, 0x3e, 0x02,
   120  	0xef, 0x06, 0xdd, 0x42, 0x7f, 0xcd, 0xe8, 0xee, 0x2d, 0xd8, 0x84, 0xf3, 0xe5, 0xd2, 0x6b, 0x20,
   121  	0x0f, 0x06, 0xeb, 0xd5, 0x26, 0xac, 0x49, 0x13, 0x0d, 0x01, 0x8c, 0x65, 0x41, 0x97, 0x34, 0xa4,
   122  	0x5e, 0xcb, 0xae, 0x18, 0x47, 0x09, 0x9c, 0x2a, 0x63, 0xbb, 0x7e, 0x61, 0xf3, 0x05, 0xf5, 0xda,
   123  	0x75, 0x46, 0x45, 0xdc, 0xe7, 0xde, 0x67, 0xa7, 0x6c, 0xb4, 0x77, 0xed, 0x91, 0x8f, 0x7f, 0x01,
   124  	0x00, 0x00, 0xff, 0xff, 0x16, 0x64, 0x61, 0x76, 0xa2, 0x01, 0x00, 0x00,
   125  }