mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
6.5 KiB
143 lines
6.5 KiB
// Code generated by protoc-gen-go.
|
|
// source: hapi/chart/metadata.proto
|
|
// DO NOT EDIT!
|
|
|
|
package chart
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
type Metadata_Engine int32
|
|
|
|
const (
|
|
Metadata_UNKNOWN Metadata_Engine = 0
|
|
Metadata_GOTPL Metadata_Engine = 1
|
|
)
|
|
|
|
var Metadata_Engine_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "GOTPL",
|
|
}
|
|
var Metadata_Engine_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"GOTPL": 1,
|
|
}
|
|
|
|
func (x Metadata_Engine) String() string {
|
|
return proto.EnumName(Metadata_Engine_name, int32(x))
|
|
}
|
|
func (Metadata_Engine) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{2, 0} }
|
|
|
|
// Maintainer describes a Chart maintainer.
|
|
type Maintainer struct {
|
|
// Name is a user name or organization name
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
// Email is an optional email address to contact the named maintainer
|
|
Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
|
|
}
|
|
|
|
func (m *Maintainer) Reset() { *m = Maintainer{} }
|
|
func (m *Maintainer) String() string { return proto.CompactTextString(m) }
|
|
func (*Maintainer) ProtoMessage() {}
|
|
func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
// Dependency describes this chart's dependency on another chart.
|
|
type Dependency struct {
|
|
// Name is the name of the dependency, e.g. 'nginx'
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
// Repository is the repository URL. Appending '/index.yaml' to this should
|
|
// return the repo index.
|
|
Repository string `protobuf:"bytes,2,opt,name=repository" json:"repository,omitempty"`
|
|
// Version is a SemVer 2 version.
|
|
Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
|
|
}
|
|
|
|
func (m *Dependency) Reset() { *m = Dependency{} }
|
|
func (m *Dependency) String() string { return proto.CompactTextString(m) }
|
|
func (*Dependency) ProtoMessage() {}
|
|
func (*Dependency) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
|
|
|
// Metadata for a Chart file. This models the structure of a Chart.yaml file.
|
|
//
|
|
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
|
|
type Metadata struct {
|
|
// The name of the chart
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
// The URL to a relevant project page, git repo, or contact person
|
|
Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
|
|
// Source is the URL to the source code of this chart
|
|
Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
|
|
// A SemVer 2 conformant version string of the chart
|
|
Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
|
|
// A one-sentence description of the chart
|
|
Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
|
|
// A list of string keywords
|
|
Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
|
|
// A list of name and URL/email address combinations for the maintainer(s)
|
|
Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
|
|
// The name of the template engine to use. Defaults to 'gotpl'.
|
|
Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
|
|
// The URL to an icon file.
|
|
Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
|
|
Dependencies []*Dependency `protobuf:"bytes,10,rep,name=dependencies" json:"dependencies,omitempty"`
|
|
}
|
|
|
|
func (m *Metadata) Reset() { *m = Metadata{} }
|
|
func (m *Metadata) String() string { return proto.CompactTextString(m) }
|
|
func (*Metadata) ProtoMessage() {}
|
|
func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
|
|
|
func (m *Metadata) GetMaintainers() []*Maintainer {
|
|
if m != nil {
|
|
return m.Maintainers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Metadata) GetDependencies() []*Dependency {
|
|
if m != nil {
|
|
return m.Dependencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
|
|
proto.RegisterType((*Dependency)(nil), "hapi.chart.Dependency")
|
|
proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
|
|
proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
|
|
|
|
var fileDescriptor2 = []byte{
|
|
// 327 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x52, 0x41, 0x4b, 0xf3, 0x40,
|
|
0x10, 0xfd, 0xda, 0x34, 0x49, 0x3b, 0xf9, 0x0e, 0x65, 0x90, 0xb2, 0x7a, 0x90, 0x90, 0x53, 0x4f,
|
|
0x29, 0x28, 0x88, 0x78, 0x14, 0xc5, 0x83, 0xb6, 0x95, 0xa2, 0x08, 0xbd, 0xad, 0xc9, 0x60, 0x17,
|
|
0xcd, 0x6e, 0xd8, 0x5d, 0x95, 0xfe, 0x63, 0x7f, 0x86, 0x64, 0x9b, 0x36, 0x29, 0xf6, 0x36, 0x6f,
|
|
0xde, 0xcc, 0x7b, 0x99, 0x97, 0x85, 0xe3, 0x15, 0x2f, 0xc5, 0x24, 0x5b, 0x71, 0x6d, 0x27, 0x05,
|
|
0x59, 0x9e, 0x73,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