|
|
|
// 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 range.
|
|
|
|
// This can be an exact version or any of the version range operators
|
|
|
|
// described here: https://github.com/Masterminds/semver/blob/master/README.md
|
|
|
|
Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
|
|
|
|
// FetchedVersion is a computed field that indicates exactly which version
|
|
|
|
// was fetched by tooling. It is an exact version (not a range).
|
|
|
|
//
|
|
|
|
// This plays the roll of a "lock" for this dependency.
|
|
|
|
FetchedVersion string `protobuf:"bytes,4,opt,name=fetchedVersion" json:"fetchedVersion,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)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor2 = []byte{
|
|
|
|
// 346 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x52, 0x4f, 0x4b, 0xfb, 0x40,
|
|
|
|
0x10, 0xfd, 0xa5, 0x6d, 0x92, 0x76, 0xf2, 0x43, 0xca, 0x22, 0x65, 0xf5, 0x20, 0x25, 0x07, 0xf1,
|
|
|
|
0x94, 0x82, 0x82, 0x88, 0x47, 0x51, 0x3c, 0x68, 0x5b, 0x29, 0xfe, 0x01, 0x6f, 0x6b, 0x32, 0x9a,
|
|
|
|
0x45, 0x93, 0x0d, 0xbb, 0xab, 0xd2, 0xab, 0x9f, 0xd6, 0x8f, 0xe1, 0x66, 0x93, 0xb6, 0xa9, 0xf6,
|
|
|
|
0x10, 0x98, 0xf7, 0xde, 0xcc, 0xbc, 0x99, 0xcc, 0xc2, 0x4e, 0xca, 0x0a, 0x3e, 0x8a, 0x53, 0x26,
|
|
|
|
0xf5, 0x28, 0x43, 0xcd, 0x12, 0xa6, 0x59, 0x54, 0x48, 0xa1, 0x05, 0x81, 0x52, 0x8a, 0xac, 0x14,
|
|
|
|
0x1e, 0x03, 0x8c, 0x19, 0xcf, 0xb5, 0xf9, 0x50, 0x12, 0x02, 0x9d, 0x9c, 0x65, 0x48, 0x9d, 0xa1,
|
|
|
|
0x73, 0xd0, 0x9b, 0xd9, 0x98, 0x6c, 0x83, 0x8b, 0x19, 0xe3, 0x6f, 0xb4, 0x65, 0xc9, 0x0a, 0x84,
|
|
|
|
0x5f, 0x0e, 0xc0, 0x39, 0x16, 0x98, 0x27, 0x98, 0xc7, 0xf3, 0x8d, 0x85, 0x7b, 0x00, 0x12, 0x0b,
|
|
|
|
0xa1, 0xb8, 0x16, 0x72, 0x5e, 0x57, 0x37, 0x18, 0x42, 0xc1, 0xff, 0x40, 0xa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