github.com/strongmonkey/helm@v2.7.2+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 } 43 44 func (m *Maintainer) Reset() { *m = Maintainer{} } 45 func (m *Maintainer) String() string { return proto.CompactTextString(m) } 46 func (*Maintainer) ProtoMessage() {} 47 func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } 48 49 func (m *Maintainer) GetName() string { 50 if m != nil { 51 return m.Name 52 } 53 return "" 54 } 55 56 func (m *Maintainer) GetEmail() string { 57 if m != nil { 58 return m.Email 59 } 60 return "" 61 } 62 63 // Metadata for a Chart file. This models the structure of a Chart.yaml file. 64 // 65 // Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file 66 type Metadata struct { 67 // The name of the chart 68 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 69 // The URL to a relevant project page, git repo, or contact person 70 Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"` 71 // Source is the URL to the source code of this chart 72 Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"` 73 // A SemVer 2 conformant version string of the chart 74 Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` 75 // A one-sentence description of the chart 76 Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` 77 // A list of string keywords 78 Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"` 79 // A list of name and URL/email address combinations for the maintainer(s) 80 Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"` 81 // The name of the template engine to use. Defaults to 'gotpl'. 82 Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"` 83 // The URL to an icon file. 84 Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"` 85 // The API Version of this chart. 86 ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"` 87 // The condition to check to enable chart 88 Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"` 89 // The tags to check to enable chart 90 Tags string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"` 91 // The version of the application enclosed inside of this chart. 92 AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"` 93 // Whether or not this chart is deprecated 94 Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"` 95 // TillerVersion is a SemVer constraints on what version of Tiller is required. 96 // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons 97 TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"` 98 // Annotations are additional mappings uninterpreted by Tiller, 99 // made available for inspection by other applications. 100 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"` 101 } 102 103 func (m *Metadata) Reset() { *m = Metadata{} } 104 func (m *Metadata) String() string { return proto.CompactTextString(m) } 105 func (*Metadata) ProtoMessage() {} 106 func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 107 108 func (m *Metadata) GetName() string { 109 if m != nil { 110 return m.Name 111 } 112 return "" 113 } 114 115 func (m *Metadata) GetHome() string { 116 if m != nil { 117 return m.Home 118 } 119 return "" 120 } 121 122 func (m *Metadata) GetSources() []string { 123 if m != nil { 124 return m.Sources 125 } 126 return nil 127 } 128 129 func (m *Metadata) GetVersion() string { 130 if m != nil { 131 return m.Version 132 } 133 return "" 134 } 135 136 func (m *Metadata) GetDescription() string { 137 if m != nil { 138 return m.Description 139 } 140 return "" 141 } 142 143 func (m *Metadata) GetKeywords() []string { 144 if m != nil { 145 return m.Keywords 146 } 147 return nil 148 } 149 150 func (m *Metadata) GetMaintainers() []*Maintainer { 151 if m != nil { 152 return m.Maintainers 153 } 154 return nil 155 } 156 157 func (m *Metadata) GetEngine() string { 158 if m != nil { 159 return m.Engine 160 } 161 return "" 162 } 163 164 func (m *Metadata) GetIcon() string { 165 if m != nil { 166 return m.Icon 167 } 168 return "" 169 } 170 171 func (m *Metadata) GetApiVersion() string { 172 if m != nil { 173 return m.ApiVersion 174 } 175 return "" 176 } 177 178 func (m *Metadata) GetCondition() string { 179 if m != nil { 180 return m.Condition 181 } 182 return "" 183 } 184 185 func (m *Metadata) GetTags() string { 186 if m != nil { 187 return m.Tags 188 } 189 return "" 190 } 191 192 func (m *Metadata) GetAppVersion() string { 193 if m != nil { 194 return m.AppVersion 195 } 196 return "" 197 } 198 199 func (m *Metadata) GetDeprecated() bool { 200 if m != nil { 201 return m.Deprecated 202 } 203 return false 204 } 205 206 func (m *Metadata) GetTillerVersion() string { 207 if m != nil { 208 return m.TillerVersion 209 } 210 return "" 211 } 212 213 func (m *Metadata) GetAnnotations() map[string]string { 214 if m != nil { 215 return m.Annotations 216 } 217 return nil 218 } 219 220 func init() { 221 proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer") 222 proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata") 223 proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value) 224 } 225 226 func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } 227 228 var fileDescriptor2 = []byte{ 229 // 412 bytes of a gzipped FileDescriptorProto 230 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xd5, 0x40, 231 0x10, 0x35, 0xbd, 0x9f, 0x99, 0x58, 0x0d, 0x83, 0x94, 0xb5, 0x88, 0x84, 0x8b, 0x42, 0x9e, 0x52, 232 0x50, 0x90, 0xe2, 0x83, 0xa0, 0x50, 0xfa, 0xa0, 0xbd, 0x95, 0xe0, 0x07, 0xf8, 0xb6, 0x26, 0x43, 233 0xef, 0xd2, 0x64, 0x37, 0xec, 0x6e, 0x2b, 0xf7, 0x47, 0xfb, 0x1f, 0x64, 0x37, 0xd9, 0x26, 0x95, 234 0xbe, 0xcd, 0x39, 0x67, 0xe6, 0xec, 0x9e, 0x61, 0xe0, 0xf9, 0x8e, 0x77, 0xe2, 0xa4, 0xda, 0x71, 235 0x6d, 0x4f, 0x5a, 0xb2, 0xbc, 0xe6, 0x96, 0x17, 0x9d, 0x56, 0x56, 0x21, 0x38, 0xa9, 0xf0, 0xd2, 236 0xe6, 0x1d, 0xc0, 0x05, 0x17, 0xd2, 0x72, 0x21, 0x49, 0x23, 0xc2, 0x5c, 0xf2, 0x96, 0x58, 0x94, 237 0x45, 0x79, 0x5c, 0xfa, 0x1a, 0x9f, 0xc1, 0x82, 0x5a, 0x2e, 0x1a, 0x76, 0xe0, 0xc9, 0x1e, 0x6c, 238 0xfe, 0xce, 0x61, 0x7d, 0x31, 0xd8, 0x3e, 0x38, 0x86, 0x30, 0xdf, 0xa9, 0x96, 0x86, 0x29, 0x5f, 239 0x23, 0x83, 0x95, 0x51, 0x37, 0xba, 0x22, 0xc3, 0x66, 0xd9, 0x2c, 0x8f, 0xcb, 0x00, 0x9d, 0x72, 240 0x4b, 0xda, 0x08, 0x25, 0xd9, 0xdc, 0x0f, 0x04, 0x88, 0x19, 0x24, 0x35, 0x99, 0x4a, 0x8b, 0xce, 241 0x3a, 0x75, 0xe1, 0xd5, 0x29, 0x85, 0xc7, 0xb0, 0xbe, 0xa6, 0xfd, 0x1f, 0xa5, 0x6b, 0xc3, 0x96, 242 0xde, 0xf6, 0x0e, 0xe3, 0x29, 0x24, 0xed, 0x5d, 0x3c, 0xc3, 0x56, 0xd9, 0x2c, 0x4f, 0xde, 0x1c, 243 0x15, 0xe3, 0x02, 0x8a, 0x31, 0x7d, 0x39, 0x6d, 0xc5, 0x23, 0x58, 0x92, 0xbc, 0x12, 0x92, 0xd8, 244 0xda, 0x3f, 0x39, 0x20, 0x97, 0x4b, 0x54, 0x4a, 0xb2, 0xb8, 0xcf, 0xe5, 0x6a, 0x7c, 0x09, 0xc0, 245 0x3b, 0xf1, 0x63, 0x08, 0x00, 0x5e, 0x99, 0x30, 0xf8, 0x02, 0xe2, 0x4a, 0xc9, 0x5a, 0xf8, 0x04, 246 0x89, 0x97, 0x47, 0xc2, 0x39, 0x5a, 0x7e, 0x65, 0xd8, 0xe3, 0xde, 0xd1, 0xd5, 0xbd, 0x63, 0x17, 247 0x1c, 0x0f, 0x83, 0x63, 0x60, 0x9c, 0x5e, 0x53, 0xa7, 0xa9, 0xe2, 0x96, 0x6a, 0xf6, 0x24, 0x8b, 248 0xf2, 0x75, 0x39, 0x61, 0xf0, 0x15, 0x1c, 0x5a, 0xd1, 0x34, 0xa4, 0x83, 0xc5, 0x53, 0x6f, 0x71, 249 0x9f, 0xc4, 0x73, 0x48, 0xb8, 0x94, 0xca, 0x72, 0xf7, 0x0f, 0xc3, 0x52, 0xbf, 0x9d, 0xd7, 0xf7, 250 0xb6, 0x13, 0x2e, 0xe7, 0xe3, 0xd8, 0x77, 0x26, 0xad, 0xde, 0x97, 0xd3, 0xc9, 0xe3, 0x0f, 0x90, 251 0xfe, 0xdf, 0x80, 0x29, 0xcc, 0xae, 0x69, 0x3f, 0xdc, 0x84, 0x2b, 0xdd, 0x25, 0xdd, 0xf2, 0xe6, 252 0x26, 0xdc, 0x44, 0x0f, 0xde, 0x1f, 0x9c, 0x46, 0x9b, 0x0c, 0x96, 0x67, 0xfd, 0x7a, 0x13, 0x58, 253 0x7d, 0xdf, 0x7e, 0xde, 0x5e, 0xfe, 0xdc, 0xa6, 0x8f, 0x30, 0x86, 0xc5, 0xf9, 0xe5, 0xb7, 0xaf, 254 0x5f, 0xd2, 0xe8, 0xd3, 0xea, 0xd7, 0xc2, 0xff, 0xe8, 0xf7, 0xd2, 0xdf, 0xf0, 0xdb, 0x7f, 0x01, 255 0x00, 0x00, 0xff, 0xff, 0xd7, 0x2b, 0xf5, 0x83, 0xe0, 0x02, 0x00, 0x00, 256 }