github.com/danielqsj/helm@v2.0.0-alpha.4.0.20160908204436-976e0ba5199b+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{2, 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  // Dependency describes this chart's dependency on another chart.
    51  type Dependency struct {
    52  	// Name is the name of the dependency, e.g. 'nginx'
    53  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    54  	// Repository is the repository URL. Appending '/index.yaml' to this should
    55  	// return the repo index.
    56  	Repository string `protobuf:"bytes,2,opt,name=repository" json:"repository,omitempty"`
    57  	// Version is a SemVer 2 version range.
    58  	// This can be an exact version or any of the version range operators
    59  	// described here: https://github.com/Masterminds/semver/blob/master/README.md
    60  	Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
    61  	// FetchedVersion is a computed field that indicates exactly which version
    62  	// was fetched by tooling. It is an exact version (not a range).
    63  	//
    64  	// This plays the roll of a "lock" for this dependency.
    65  	FetchedVersion string `protobuf:"bytes,4,opt,name=fetchedVersion" json:"fetchedVersion,omitempty"`
    66  }
    67  
    68  func (m *Dependency) Reset()                    { *m = Dependency{} }
    69  func (m *Dependency) String() string            { return proto.CompactTextString(m) }
    70  func (*Dependency) ProtoMessage()               {}
    71  func (*Dependency) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
    72  
    73  // 	Metadata for a Chart file. This models the structure of a Chart.yaml file.
    74  //
    75  // 	Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
    76  type Metadata struct {
    77  	// The name of the chart
    78  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    79  	// The URL to a relevant project page, git repo, or contact person
    80  	Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
    81  	// Source is the URL to the source code of this chart
    82  	Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
    83  	// A SemVer 2 conformant version string of the chart
    84  	Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
    85  	// A one-sentence description of the chart
    86  	Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
    87  	// A list of string keywords
    88  	Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
    89  	// A list of name and URL/email address combinations for the maintainer(s)
    90  	Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
    91  	// The name of the template engine to use. Defaults to 'gotpl'.
    92  	Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
    93  	// The URL to an icon file.
    94  	Icon         string        `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
    95  	Dependencies []*Dependency `protobuf:"bytes,10,rep,name=dependencies" json:"dependencies,omitempty"`
    96  }
    97  
    98  func (m *Metadata) Reset()                    { *m = Metadata{} }
    99  func (m *Metadata) String() string            { return proto.CompactTextString(m) }
   100  func (*Metadata) ProtoMessage()               {}
   101  func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
   102  
   103  func (m *Metadata) GetMaintainers() []*Maintainer {
   104  	if m != nil {
   105  		return m.Maintainers
   106  	}
   107  	return nil
   108  }
   109  
   110  func (m *Metadata) GetDependencies() []*Dependency {
   111  	if m != nil {
   112  		return m.Dependencies
   113  	}
   114  	return nil
   115  }
   116  
   117  func init() {
   118  	proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
   119  	proto.RegisterType((*Dependency)(nil), "hapi.chart.Dependency")
   120  	proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
   121  	proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
   122  }
   123  
   124  var fileDescriptor2 = []byte{
   125  	// 346 bytes of a gzipped FileDescriptorProto
   126  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x52, 0x4f, 0x4b, 0xfb, 0x40,
   127  	0x10, 0xfd, 0xa5, 0x6d, 0x92, 0x76, 0xf2, 0x43, 0xca, 0x22, 0x65, 0xf5, 0x20, 0x25, 0x07, 0xf1,
   128  	0x94, 0x82, 0x82, 0x88, 0x47, 0x51, 0x3c, 0x68, 0x5b, 0x29, 0xfe, 0x01, 0x6f, 0x6b, 0x32, 0x9a,
   129  	0x45, 0x93, 0x0d, 0xbb, 0xab, 0xd2, 0xab, 0x9f, 0xd6, 0x8f, 0xe1, 0x66, 0x93, 0xb6, 0xa9, 0xf6,
   130  	0x10, 0x98, 0xf7, 0xde, 0xcc, 0xbc, 0x99, 0xcc, 0xc2, 0x4e, 0xca, 0x0a, 0x3e, 0x8a, 0x53, 0x26,
   131  	0xf5, 0x28, 0x43, 0xcd, 0x12, 0xa6, 0x59, 0x54, 0x48, 0xa1, 0x05, 0x81, 0x52, 0x8a, 0xac, 0x14,
   132  	0x1e, 0x03, 0x8c, 0x19, 0xcf, 0xb5, 0xf9, 0x50, 0x12, 0x02, 0x9d, 0x9c, 0x65, 0x48, 0x9d, 0xa1,
   133  	0x73, 0xd0, 0x9b, 0xd9, 0x98, 0x6c, 0x83, 0x8b, 0x19, 0xe3, 0x6f, 0xb4, 0x65, 0xc9, 0x0a, 0x84,
   134  	0x5f, 0x0e, 0xc0, 0x39, 0x16, 0x98, 0x27, 0x98, 0xc7, 0xf3, 0x8d, 0x85, 0x7b, 0x00, 0x12, 0x0b,
   135  	0xa1, 0xb8, 0x16, 0x72, 0x5e, 0x57, 0x37, 0x18, 0x42, 0xc1, 0xff, 0x40, 0xa9, 0xb8, 0xc8, 0x69,
   136  	0xdb, 0x8a, 0x0b, 0x48, 0xf6, 0x61, 0xeb, 0x19, 0x75, 0x9c, 0x62, 0x72, 0x5f, 0x27, 0x74, 0x6c,
   137  	0xc2, 0x2f, 0x36, 0xfc, 0x6e, 0x41, 0x77, 0x5c, 0xef, 0xb6, 0x71, 0x04, 0xc3, 0xa5, 0xc2, 0x70,
   138  	0x95, 0xb9, 0x8d, 0x4b, 0x5b, 0x25, 0xde, 0x65, 0x8c, 0xca, 0xd8, 0xb6, 0x4b, 0xdb, 0x1a, 0x36,
   139  	0x07, 0xea, 0xac, 0x0f, 0x34, 0x84, 0x20, 0x41, 0x15, 0x4b, 0x5e, 0xe8, 0x52, 0x75, 0xad, 0xda,
   140  	0xa4, 0xc8, 0x2e, 0x74, 0x5f, 0x71, 0xfe, 0x29, 0x64, 0xa2, 0xa8, 0x67, 0xdb, 0x2e, 0x31, 0x39,
   141  	0x81, 0x20, 0x5b, 0xfe, 0x63, 0x45, 0x7d, 0x23, 0x07, 0x87, 0x83, 0x68, 0x75, 0x85, 0x68, 0x75,
   142  	0x82, 0x59, 0x33, 0x95, 0x0c, 0xc0, 0xc3, 0xfc, 0xc5, 0xc4, 0xb4, 0x6b, 0x2d, 0x6b, 0x54, 0xee,
   143  	0xc5, 0x63, 0x33, 0x48, 0xaf, 0xda, 0xab, 0x8c, 0xc9, 0x29, 0xfc, 0x4f, 0x16, 0x07, 0xe1, 0x66,
   144  	0x39, 0xf8, 0x6b, 0xb3, 0x3a, 0xd8, 0x6c, 0x2d, 0x37, 0x1c, 0x82, 0x77, 0x51, 0x75, 0x0e, 0xc0,
   145  	0xbf, 0x9b, 0x5c, 0x4d, 0xa6, 0x0f, 0x93, 0xfe, 0x3f, 0xd2, 0x03, 0xf7, 0x72, 0x7a, 0x7b, 0x73,
   146  	0xdd, 0x77, 0xce, 0xfc, 0x47, 0xd7, 0xf6, 0x78, 0xf2, 0xec, 0x1b, 0x3a, 0xfa, 0x09, 0x00, 0x00,
   147  	0xff, 0xff, 0x6a, 0xfb, 0xe7, 0x86, 0x60, 0x02, 0x00, 0x00,
   148  }