github.com/darkowlzz/helm@v2.5.1-0.20171213183701-6707fe0468d4+incompatible/pkg/proto/hapi/chart/metadata.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: hapi/chart/metadata.proto 3 4 package chart 5 6 import proto "github.com/golang/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto.Marshal 12 var _ = fmt.Errorf 13 var _ = math.Inf 14 15 type Metadata_Engine int32 16 17 const ( 18 Metadata_UNKNOWN Metadata_Engine = 0 19 Metadata_GOTPL Metadata_Engine = 1 20 ) 21 22 var Metadata_Engine_name = map[int32]string{ 23 0: "UNKNOWN", 24 1: "GOTPL", 25 } 26 var Metadata_Engine_value = map[string]int32{ 27 "UNKNOWN": 0, 28 "GOTPL": 1, 29 } 30 31 func (x Metadata_Engine) String() string { 32 return proto.EnumName(Metadata_Engine_name, int32(x)) 33 } 34 func (Metadata_Engine) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} } 35 36 // Maintainer describes a Chart maintainer. 37 type Maintainer struct { 38 // Name is a user name or organization name 39 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 40 // Email is an optional email address to contact the named maintainer 41 Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` 42 // Url is an optional URL to an address for the named maintainer 43 Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"` 44 } 45 46 func (m *Maintainer) Reset() { *m = Maintainer{} } 47 func (m *Maintainer) String() string { return proto.CompactTextString(m) } 48 func (*Maintainer) ProtoMessage() {} 49 func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } 50 51 func (m *Maintainer) GetName() string { 52 if m != nil { 53 return m.Name 54 } 55 return "" 56 } 57 58 func (m *Maintainer) GetEmail() string { 59 if m != nil { 60 return m.Email 61 } 62 return "" 63 } 64 65 func (m *Maintainer) GetUrl() string { 66 if m != nil { 67 return m.Url 68 } 69 return "" 70 } 71 72 // Metadata for a Chart file. This models the structure of a Chart.yaml file. 73 // 74 // Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file 75 type Metadata struct { 76 // The name of the chart 77 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 78 // The URL to a relevant project page, git repo, or contact person 79 Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"` 80 // Source is the URL to the source code of this chart 81 Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"` 82 // A SemVer 2 conformant version string of the chart 83 Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` 84 // A one-sentence description of the chart 85 Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` 86 // A list of string keywords 87 Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"` 88 // A list of name and URL/email address combinations for the maintainer(s) 89 Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"` 90 // The name of the template engine to use. Defaults to 'gotpl'. 91 Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"` 92 // The URL to an icon file. 93 Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"` 94 // The API Version of this chart. 95 ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"` 96 // The condition to check to enable chart 97 Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"` 98 // The tags to check to enable chart 99 Tags string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"` 100 // The version of the application enclosed inside of this chart. 101 AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"` 102 // Whether or not this chart is deprecated 103 Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"` 104 // TillerVersion is a SemVer constraints on what version of Tiller is required. 105 // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons 106 TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"` 107 // Annotations are additional mappings uninterpreted by Tiller, 108 // made available for inspection by other applications. 109 Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 110 } 111 112 func (m *Metadata) Reset() { *m = Metadata{} } 113 func (m *Metadata) String() string { return proto.CompactTextString(m) } 114 func (*Metadata) ProtoMessage() {} 115 func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 116 117 func (m *Metadata) GetName() string { 118 if m != nil { 119 return m.Name 120 } 121 return "" 122 } 123 124 func (m *Metadata) GetHome() string { 125 if m != nil { 126 return m.Home 127 } 128 return "" 129 } 130 131 func (m *Metadata) GetSources() []string { 132 if m != nil { 133 return m.Sources 134 } 135 return nil 136 } 137 138 func (m *Metadata) GetVersion() string { 139 if m != nil { 140 return m.Version 141 } 142 return "" 143 } 144 145 func (m *Metadata) GetDescription() string { 146 if m != nil { 147 return m.Description 148 } 149 return "" 150 } 151 152 func (m *Metadata) GetKeywords() []string { 153 if m != nil { 154 return m.Keywords 155 } 156 return nil 157 } 158 159 func (m *Metadata) GetMaintainers() []*Maintainer { 160 if m != nil { 161 return m.Maintainers 162 } 163 return nil 164 } 165 166 func (m *Metadata) GetEngine() string { 167 if m != nil { 168 return m.Engine 169 } 170 return "" 171 } 172 173 func (m *Metadata) GetIcon() string { 174 if m != nil { 175 return m.Icon 176 } 177 return "" 178 } 179 180 func (m *Metadata) GetApiVersion() string { 181 if m != nil { 182 return m.ApiVersion 183 } 184 return "" 185 } 186 187 func (m *Metadata) GetCondition() string { 188 if m != nil { 189 return m.Condition 190 } 191 return "" 192 } 193 194 func (m *Metadata) GetTags() string { 195 if m != nil { 196 return m.Tags 197 } 198 return "" 199 } 200 201 func (m *Metadata) GetAppVersion() string { 202 if m != nil { 203 return m.AppVersion 204 } 205 return "" 206 } 207 208 func (m *Metadata) GetDeprecated() bool { 209 if m != nil { 210 return m.Deprecated 211 } 212 return false 213 } 214 215 func (m *Metadata) GetTillerVersion() string { 216 if m != nil { 217 return m.TillerVersion 218 } 219 return "" 220 } 221 222 func (m *Metadata) GetAnnotations() map[string]string { 223 if m != nil { 224 return m.Annotations 225 } 226 return nil 227 } 228 229 func init() { 230 proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer") 231 proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata") 232 proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value) 233 } 234 235 func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } 236 237 var fileDescriptor2 = []byte{ 238 // 420 bytes of a gzipped FileDescriptorProto 239 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5b, 0x6b, 0xd4, 0x40, 240 0x14, 0x36, 0xcd, 0xde, 0x72, 0x62, 0x35, 0x1c, 0xa4, 0x8c, 0x45, 0x24, 0x2c, 0x0a, 0xfb, 0xb4, 241 0x05, 0x7d, 0x29, 0x3e, 0x08, 0x0a, 0xa5, 0x82, 0x76, 0x2b, 0xc1, 0x0b, 0xf8, 0x36, 0x26, 0x87, 242 0xee, 0xd0, 0x64, 0x26, 0x4c, 0x66, 0x2b, 0xfb, 0xa3, 0xfd, 0x0f, 0x32, 0x27, 0x49, 0x93, 0x95, 243 0xbe, 0x7d, 0x97, 0x99, 0x6f, 0xe6, 0x1c, 0x3e, 0x78, 0xbe, 0x95, 0xb5, 0x3a, 0xcb, 0xb7, 0xd2, 244 0xba, 0xb3, 0x8a, 0x9c, 0x2c, 0xa4, 0x93, 0xeb, 0xda, 0x1a, 0x67, 0x10, 0xbc, 0xb5, 0x66, 0x6b, 245 0xf9, 0x09, 0xe0, 0x4a, 0x2a, 0xed, 0xa4, 0xd2, 0x64, 0x11, 0x61, 0xa2, 0x65, 0x45, 0x22, 0x48, 246 0x83, 0x55, 0x94, 0x31, 0xc6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