github.com/y-taka-23/helm@v2.8.0+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 // KubeVersion is a SemVer constraints on what version of Kubernetes is required. 111 KubeVersion string `protobuf:"bytes,17,opt,name=kubeVersion" json:"kubeVersion,omitempty"` 112 } 113 114 func (m *Metadata) Reset() { *m = Metadata{} } 115 func (m *Metadata) String() string { return proto.CompactTextString(m) } 116 func (*Metadata) ProtoMessage() {} 117 func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 118 119 func (m *Metadata) GetName() string { 120 if m != nil { 121 return m.Name 122 } 123 return "" 124 } 125 126 func (m *Metadata) GetHome() string { 127 if m != nil { 128 return m.Home 129 } 130 return "" 131 } 132 133 func (m *Metadata) GetSources() []string { 134 if m != nil { 135 return m.Sources 136 } 137 return nil 138 } 139 140 func (m *Metadata) GetVersion() string { 141 if m != nil { 142 return m.Version 143 } 144 return "" 145 } 146 147 func (m *Metadata) GetDescription() string { 148 if m != nil { 149 return m.Description 150 } 151 return "" 152 } 153 154 func (m *Metadata) GetKeywords() []string { 155 if m != nil { 156 return m.Keywords 157 } 158 return nil 159 } 160 161 func (m *Metadata) GetMaintainers() []*Maintainer { 162 if m != nil { 163 return m.Maintainers 164 } 165 return nil 166 } 167 168 func (m *Metadata) GetEngine() string { 169 if m != nil { 170 return m.Engine 171 } 172 return "" 173 } 174 175 func (m *Metadata) GetIcon() string { 176 if m != nil { 177 return m.Icon 178 } 179 return "" 180 } 181 182 func (m *Metadata) GetApiVersion() string { 183 if m != nil { 184 return m.ApiVersion 185 } 186 return "" 187 } 188 189 func (m *Metadata) GetCondition() string { 190 if m != nil { 191 return m.Condition 192 } 193 return "" 194 } 195 196 func (m *Metadata) GetTags() string { 197 if m != nil { 198 return m.Tags 199 } 200 return "" 201 } 202 203 func (m *Metadata) GetAppVersion() string { 204 if m != nil { 205 return m.AppVersion 206 } 207 return "" 208 } 209 210 func (m *Metadata) GetDeprecated() bool { 211 if m != nil { 212 return m.Deprecated 213 } 214 return false 215 } 216 217 func (m *Metadata) GetTillerVersion() string { 218 if m != nil { 219 return m.TillerVersion 220 } 221 return "" 222 } 223 224 func (m *Metadata) GetAnnotations() map[string]string { 225 if m != nil { 226 return m.Annotations 227 } 228 return nil 229 } 230 231 func (m *Metadata) GetKubeVersion() string { 232 if m != nil { 233 return m.KubeVersion 234 } 235 return "" 236 } 237 238 func init() { 239 proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer") 240 proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata") 241 proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value) 242 } 243 244 func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } 245 246 var fileDescriptor2 = []byte{ 247 // 427 bytes of a gzipped FileDescriptorProto 248 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xdb, 0x30, 249 0x14, 0x9d, 0x9b, 0x38, 0x89, 0xaf, 0xd7, 0xcd, 0xbb, 0x8c, 0xa2, 0x95, 0x31, 0x4c, 0xd8, 0x20, 250 0x4f, 0x29, 0x6c, 0x30, 0xca, 0x1e, 0x06, 0x1b, 0x94, 0x3e, 0x6c, 0x4d, 0x87, 0xd9, 0x07, 0xec, 251 0x4d, 0xb5, 0x2f, 0x8d, 0x48, 0x2c, 0x19, 0x49, 0xe9, 0xc8, 0xaf, 0xd8, 0x5f, 0x1e, 0x92, 0xad, 252 0xda, 0x19, 0x7d, 0xbb, 0xe7, 0x1c, 0xdd, 0x23, 0x1d, 0xdd, 0x0b, 0x2f, 0xd6, 0xbc, 0x11, 0x67, 253 0xe5, 0x9a, 0x6b, 0x7b, 0x56, 0x93, 0xe5, 0x15, 0xb7, 0x7c, 0xd9, 0x68, 0x65, 0x15, 0x82, 0x93, 254 0x96, 0x5e, 0x9a, 0xbf, 0x07, 0xb8, 0xe2, 0x42, 0x5a, 0x2e, 0x24, 0x69, 0x44, 0x18, 0x4b, 0x5e, 255 0x13, 0x8b, 0xf2, 0x68, 0x91, 0x14, 0xbe, 0xc6, 0xe7, 0x10, 0x53, 0xcd, 0xc5, 0x96, 0x1d, 0x79, 256 0xb2, 0x05, 0xf3, 0xbf, 0x31, 0xcc, 0xae, 0x3a, 0xdb, 0x07, 0xdb, 0x10, 0xc6, 0x6b, 0x55, 0x53, 257 0xd7, 0xe5, 0x6b, 0x64, 0x30, 0x35, 0x6a, 0xa7, 0x4b, 0x32, 0x6c, 0x94, 0x8f, 0x16, 0x49, 0x11, 258 0xa0, 0x53, 0xee, 0x48, 0x1b, 0xa1, 0x24, 0x1b, 0xfb, 0x86, 0x00, 0x31, 0x87, 0xb4, 0x22, 0x53, 259 0x6a, 0xd1, 0x58, 0xa7, 0xc6, 0x5e, 0x1d, 0x52, 0x78, 0x0a, 0xb3, 0x0d, 0xed, 0xff, 0x28, 0x5d, 260 0x19, 0x36, 0xf1, 0xb6, 0xf7, 0x18, 0xcf, 0x21, 0xad, 0xef, 0xe3, 0x19, 0x36, 0xcd, 0x47, 0x8b, 261 0xf4, 0xed, 0xc9, 0xb2, 0xff, 0x80, 0x65, 0x9f, 0xbe, 0x18, 0x1e, 0xc5, 0x13, 0x98, 0x90, 0xbc, 262 0x15, 0x92, 0xd8, 0xcc, 0x5f, 0xd9, 0x21, 0x97, 0x4b, 0x94, 0x4a, 0xb2, 0xa4, 0xcd, 0xe5, 0x6a, 263 0x7c, 0x05, 0xc0, 0x1b, 0xf1, 0xb3, 0x0b, 0x00, 0x5e, 0x19, 0x30, 0xf8, 0x12, 0x92, 0x52, 0xc9, 264 0x4a, 0xf8, 0x04, 0xa9, 0x97, 0x7b, 0xc2, 0x39, 0x5a, 0x7e, 0x6b, 0xd8, 0xe3, 0xd6, 0xd1, 0xd5, 265 0xad, 0x63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