mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
137 lines
5.3 KiB
137 lines
5.3 KiB
// Code generated by protoc-gen-go.
|
|
// source: hapi/release/hook.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package release is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
hapi/release/hook.proto
|
|
hapi/release/info.proto
|
|
hapi/release/release.proto
|
|
hapi/release/status.proto
|
|
|
|
It has these top-level messages:
|
|
Hook
|
|
Info
|
|
Release
|
|
Status
|
|
*/
|
|
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
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Hook_Event int32
|
|
|
|
const (
|
|
Hook_UNKNOWN Hook_Event = 0
|
|
Hook_PRE_INSTALL Hook_Event = 1
|
|
Hook_POST_INSTALL Hook_Event = 2
|
|
Hook_PRE_DELETE Hook_Event = 3
|
|
Hook_POST_DELETE Hook_Event = 4
|
|
Hook_PRE_UPGRADE Hook_Event = 5
|
|
Hook_POST_UPGRADE Hook_Event = 6
|
|
Hook_PRE_ROLLBACK Hook_Event = 7
|
|
Hook_POST_ROLLBACK Hook_Event = 8
|
|
)
|
|
|
|
var Hook_Event_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "PRE_INSTALL",
|
|
2: "POST_INSTALL",
|
|
3: "PRE_DELETE",
|
|
4: "POST_DELETE",
|
|
5: "PRE_UPGRADE",
|
|
6: "POST_UPGRADE",
|
|
7: "PRE_ROLLBACK",
|
|
8: "POST_ROLLBACK",
|
|
}
|
|
var Hook_Event_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"PRE_INSTALL": 1,
|
|
"POST_INSTALL": 2,
|
|
"PRE_DELETE": 3,
|
|
"POST_DELETE": 4,
|
|
"PRE_UPGRADE": 5,
|
|
"POST_UPGRADE": 6,
|
|
"PRE_ROLLBACK": 7,
|
|
"POST_ROLLBACK": 8,
|
|
}
|
|
|
|
func (x Hook_Event) String() string {
|
|
return proto.EnumName(Hook_Event_name, int32(x))
|
|
}
|
|
func (Hook_Event) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
|
|
|
// Hook defines a hook object.
|
|
type Hook struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
// Kind is the Kubernetes kind.
|
|
Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
|
|
// Path is the chart-relative path to the template.
|
|
Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
|
|
// Manifest is the manifest contents.
|
|
Manifest string `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"`
|
|
// Events are the events that this hook fires on.
|
|
Events []Hook_Event `protobuf:"varint,5,rep,packed,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"`
|
|
// LastRun indicates the date/time this was last run.
|
|
LastRun *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=last_run,json=lastRun" json:"last_run,omitempty"`
|
|
}
|
|
|
|
func (m *Hook) Reset() { *m = Hook{} }
|
|
func (m *Hook) String() string { return proto.CompactTextString(m) }
|
|
func (*Hook) ProtoMessage() {}
|
|
func (*Hook) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *Hook) GetLastRun() *google_protobuf.Timestamp {
|
|
if m != nil {
|
|
return m.LastRun
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Hook)(nil), "hapi.release.Hook")
|
|
proto.RegisterEnum("hapi.release.Hook_Event", Hook_Event_name, Hook_Event_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("hapi/release/hook.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 320 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0xcd, 0x4e, 0xf2, 0x40,
|
|
0x14, 0x86, 0xbf, 0x42, 0x69, 0xe1, 0xc0, 0x87, 0x75, 0x36, 0x4e, 0xd8, 0x48, 0x58, 0xb1, 0x9a,
|
|
0x1a, 0x8c, 0x17, 0x00, 0xd2, 0xa8, 0xa1, 0x29, 0x64, 0x28, 0x31, 0x71, 0x43, 0x86, 0x38, 0x40,
|
|
0x03, 0xed, 0x34, 0x74, 0xf0, 0x7a, 0xbc, 0x3e, 0xaf, 0xc2, 0xce, 0xf4, 0x27, 0xee, 0x4e, 0x9f,
|
|
0xf3, 0x9c, 0xb7, 0xf3, 0xc2, 0xdd, 0x91, 0xa5, 0x91, 0x7b, 0xe1, 0x67, 0xce, 0x32, 0xee, 0x1e,
|
|
0x85, 0x38, 0x91, 0xf4, 0x22, 0xa4, 0x40, 0x3d, 0xb5, 0x20, 0xe5, 0x62, 0x70, 0x7f, 0x10, 0xe2,
|
|
0x70, 0xe6, 0xae, 0xde, 0xed, 0xae, 0x7b, 0x57, 0x46, 0x31, 0xcf, 0x24, 0x8b, 0xd3, 0x42, 0x1f,
|
|
0xfd, 0x34, 0xc0, 0x7c, 0xcd, 0xaf, 0x11, 0x02, 0x33, 0x61, 0x31, 0xc7, 0xc6, 0xd0, 0x18, 0x77,
|
|
0xa8, 0x9e, 0x15, 0x3b, 0x45, 0xc9, 0x27, 0x6e, 0x14, 0x4c, 0xcd, 0x8a, 0xa5, 0x4c, 0x1e, 0x71,
|
|
0xb3, 0x60, 0x6a, 0x46, 0x03, 0x68, 0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