github.com/cloudposse/helm@v2.2.3+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 // The condition to check to enable chart 75 Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"` 76 // The tags to check to enable chart 77 Tags []string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"` 78 } 79 80 func (m *Metadata) Reset() { *m = Metadata{} } 81 func (m *Metadata) String() string { return proto.CompactTextString(m) } 82 func (*Metadata) ProtoMessage() {} 83 func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 84 85 func (m *Metadata) GetMaintainers() []*Maintainer { 86 if m != nil { 87 return m.Maintainers 88 } 89 return nil 90 } 91 92 func init() { 93 proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer") 94 proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata") 95 proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value) 96 } 97 98 func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } 99 100 var fileDescriptor2 = []byte{ 101 // 311 bytes of a gzipped FileDescriptorProto 102 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0xcd, 0x4b, 0xc3, 0x40, 103 0x10, 0xc5, 0xed, 0x47, 0x92, 0x66, 0xe2, 0xa1, 0x0c, 0x52, 0x56, 0x11, 0x09, 0x3d, 0xf5, 0x94, 104 0x82, 0x82, 0x78, 0x16, 0xc4, 0x83, 0xb6, 0x95, 0xe2, 0x07, 0x78, 0x5b, 0x93, 0xa5, 0x5d, 0x34, 105 0xbb, 0x61, 0x77, 0x55, 0xfc, 0xe7, 0x45, 0x76, 0x92, 0x36, 0x39, 0x78, 0x9b, 0xf7, 0x5e, 0xe6, 106 0x0d, 0xbf, 0x2c, 0x1c, 0x6f, 0x79, 0x25, 0xe7, 0xf9, 0x96, 0x1b, 0x37, 0x2f, 0x85, 0xe3, 0x05, 107 0x77, 0x3c, 0xab, 0x8c, 0x76, 0x1a, 0xc1, 0x47, 0x19, 0x45, 0xd3, 0x4b, 0x80, 0x05, 0x97, 0xca, 108 0x71, 0xa9, 0x84, 0x41, 0x84, 0xa1, 0xe2, 0xa5, 0x60, 0xbd, 0xb4, 0x37, 0x8b, 0xd7, 0x34, 0xe3, 109 0x11, 0x04, 0xa2, 0xe4, 0xf2, 0x83, 0xf5, 0xc9, 0xac, 0xc5, 0xf4, 0xb7, 0x0f, 0xa3, 0x45, 0x53, 110 0xfb, 0xef, 0x1a, 0xc2, 0x70, 0xab, 0x4b, 0xd1, 0x6c, 0xd1, 0x8c, 0x0c, 0x22, 0xab, 0x3f, 0x4d, 111 0x2e, 0x2c, 0x1b, 0xa4, 0x83, 0x59, 0xbc, 0xde, 0x49, 0x9f, 0x7c, 0x09, 0x63, 0xa5, 0x56, 0x6c, 112 0x48, 0x0b, 0x3b, 0x89, 0x29, 0x24, 0x85, 0xb0, 0xb9, 0x91, 0x95, 0xf3, 0x69, 0x40, 0x69, 0xd7, 113 0xc2, 0x13, 0x18, 0xbd, 0x8b, 0x9f, 0x6f, 0x6d, 0x0a, 0xcb, 0x42, 0xaa, 0xdd, 0x6b, 0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