github.com/felipejfc/helm@v2.1.2+incompatible/pkg/proto/hapi/chart/metadata.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: hapi/chart/metadata.proto 3 // DO NOT EDIT! 4 5 package chart 6 7 import proto "github.com/golang/protobuf/proto" 8 import fmt "fmt" 9 import math "math" 10 11 // Reference imports to suppress errors if they are not otherwise used. 12 var _ = proto.Marshal 13 var _ = fmt.Errorf 14 var _ = math.Inf 15 16 type Metadata_Engine int32 17 18 const ( 19 Metadata_UNKNOWN Metadata_Engine = 0 20 Metadata_GOTPL Metadata_Engine = 1 21 ) 22 23 var Metadata_Engine_name = map[int32]string{ 24 0: "UNKNOWN", 25 1: "GOTPL", 26 } 27 var Metadata_Engine_value = map[string]int32{ 28 "UNKNOWN": 0, 29 "GOTPL": 1, 30 } 31 32 func (x Metadata_Engine) String() string { 33 return proto.EnumName(Metadata_Engine_name, int32(x)) 34 } 35 func (Metadata_Engine) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} } 36 37 // Maintainer describes a Chart maintainer. 38 type Maintainer struct { 39 // Name is a user name or organization name 40 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 41 // Email is an optional email address to contact the named maintainer 42 Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` 43 } 44 45 func (m *Maintainer) Reset() { *m = Maintainer{} } 46 func (m *Maintainer) String() string { return proto.CompactTextString(m) } 47 func (*Maintainer) ProtoMessage() {} 48 func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } 49 50 // Metadata for a Chart file. This models the structure of a Chart.yaml file. 51 // 52 // Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file 53 type Metadata struct { 54 // The name of the chart 55 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 56 // The URL to a relevant project page, git repo, or contact person 57 Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"` 58 // Source is the URL to the source code of this chart 59 Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"` 60 // A SemVer 2 conformant version string of the chart 61 Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` 62 // A one-sentence description of the chart 63 Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` 64 // A list of string keywords 65 Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"` 66 // A list of name and URL/email address combinations for the maintainer(s) 67 Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"` 68 // The name of the template engine to use. Defaults to 'gotpl'. 69 Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"` 70 // The URL to an icon file. 71 Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"` 72 // The API Version of this chart. 73 ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"` 74 } 75 76 func (m *Metadata) Reset() { *m = Metadata{} } 77 func (m *Metadata) String() string { return proto.CompactTextString(m) } 78 func (*Metadata) ProtoMessage() {} 79 func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 80 81 func (m *Metadata) GetMaintainers() []*Maintainer { 82 if m != nil { 83 return m.Maintainers 84 } 85 return nil 86 } 87 88 func init() { 89 proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer") 90 proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata") 91 proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value) 92 } 93 94 func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } 95 96 var fileDescriptor2 = []byte{ 97 // 290 bytes of a gzipped FileDescriptorProto 98 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0x4d, 0x4b, 0xf4, 0x30, 99 0x14, 0x85, 0xdf, 0x4e, 0xbf, 0x6f, 0x37, 0xc3, 0xe5, 0x65, 0x88, 0x2e, 0xa4, 0x74, 0xd5, 0x55, 100 0x07, 0x14, 0xc4, 0xb5, 0x20, 0x2e, 0x74, 0x3a, 0x52, 0xfc, 0x00, 0x77, 0xb1, 0x0d, 0x36, 0x68, 101 0x93, 0x92, 0x44, 0xc5, 0xff, 0xe8, 0x8f, 0x92, 0xa6, 0x9d, 0x99, 0x2e, 0xdc, 0xdd, 0x73, 0x9e, 102 0x9e, 0xdb, 0x9c, 0x04, 0x8e, 0x5a, 0xda, 0xf3, 0x75, 0xdd, 0x52, 0x65, 0xd6, 0x1d, 0x33, 0xb4, 103 0xa1, 0x86, 0x16, 0xbd, 0x92, 0x46, 0x22, 0x0c, 0xa8, 0xb0, 0x28, 0x3b, 0x07, 0xd8, 0x50, 0x2e, 104 0x0c, 0xe5, 0x82, 0x29, 0x44, 0xf0, 0x04, 0xed, 0x18, 0x71, 0x52, 0x27, 0x8f, 0x2b, 0x3b, 0xe3, 105 0x7f, 0xf0, 0x59, 0x47, 0xf9, 0x3b, 0x59, 0x58, 0x73, 0x14, 0xd9, 0xcf, 0x02, 0xa2, 0xcd, 0xb4, 106 0xf6, 0xcf, 0x18, 0x82, 0xd7, 0xca, 0x8e, 0x4d, 0x29, 0x3b, 0x23, 0x81, 0x50, 0xcb, 0x0f, 0x55, 107 0x33, 0x4d, 0xdc, 0xd4, 0xcd, 0xe3, 0x6a, 0x27, 0x07, 0xf2, 0xc9, 0x94, 0xe6, 0x52, 0x10, 0xcf, 108 0x06, 0x76, 0x12, 0x53, 0x48, 0x1a, 0xa6, 0x6b, 0xc5, 0x7b, 0x33, 0x50, 0xdf, 0xd2, 0xb9, 0x85, 109 0xc7, 0x10, 0xbd, 0xb1, 0xef, 0x2f, 0xa9, 0x1a, 0x4d, 0x02, 0xbb, 0x76, 0xaf, 0xf1, 0x02, 0x92, 110 0x6e, 0x5f, 0x4f, 0x93, 0x30, 0x75, 0xf3, 0xe4, 0x74, 0x55, 0x1c, 0x2e, 0xa0, 0x38, 0xb4, 0xaf, 111 0xe6, 0x9f, 0xe2, 0x0a, 0x02, 0x26, 0x5e, 0xb9, 0x60, 0x24, 0xb2, 0xbf, 0x9c, 0xd4, 0xd0, 0x8b, 112 0xd7, 0x52, 0x90, 0x78, 0xec, 0x35, 0xcc, 0x78, 0x02, 0x40, 0x7b, 0xfe, 0x38, 0x15, 0x00, 0x4b, 113 0x66, 0x4e, 0x96, 0x42, 0x70, 0x35, 0xa6, 0x13, 0x08, 0x1f, 0xca, 0x9b, 0x72, 0xfb, 0x54, 0x2e, 114 0xff, 0x61, 0x0c, 0xfe, 0xf5, 0xf6, 0xfe, 0xee, 0x76, 0xe9, 0x5c, 0x86, 0xcf, 0xbe, 0x3d, 0xce, 115 0x4b, 0x60, 0x9f, 0xe8, 0xec, 0x37, 0x00, 0x00, 0xff, 0xff, 0x65, 0x86, 0x8b, 0xda, 0xbf, 0x01, 116 0x00, 0x00, 117 }