github.com/sgoings/helm@v2.0.0-alpha.2.0.20170406211108-734e92851ac3+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  	// The version of the application enclosed inside of this chart.
    79  	AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"`
    80  	// Whether or not this chart is deprecated
    81  	Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"`
    82  }
    83  
    84  func (m *Metadata) Reset()                    { *m = Metadata{} }
    85  func (m *Metadata) String() string            { return proto.CompactTextString(m) }
    86  func (*Metadata) ProtoMessage()               {}
    87  func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
    88  
    89  func (m *Metadata) GetMaintainers() []*Maintainer {
    90  	if m != nil {
    91  		return m.Maintainers
    92  	}
    93  	return nil
    94  }
    95  
    96  func init() {
    97  	proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
    98  	proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
    99  	proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
   100  }
   101  
   102  func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
   103  
   104  var fileDescriptor2 = []byte{
   105  	// 339 bytes of a gzipped FileDescriptorProto
   106  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x92, 0x4f, 0x4b, 0xeb, 0x40,
   107  	0x14, 0xc5, 0x5f, 0x5e, 0x9a, 0x7f, 0x37, 0xef, 0x3d, 0xca, 0xf0, 0x28, 0xa3, 0x88, 0x84, 0xae,
   108  	0xb2, 0x4a, 0x41, 0x41, 0x5c, 0x0b, 0xe2, 0x42, 0xdb, 0x4a, 0xf0, 0x0f, 0xb8, 0x1b, 0x93, 0x4b,
   109  	0x3b, 0x68, 0x66, 0xc2, 0xcc, 0xa8, 0xf8, 0xe5, 0xfc, 0x6c, 0x32, 0x93, 0xa4, 0xcd, 0xc2, 0xdd,
   110  	0x3d, 0xe7, 0x97, 0x7b, 0x92, 0x73, 0x09, 0x1c, 0x6c, 0x59, 0xcb, 0x17, 0xd5, 0x96, 0x29, 0xb3,
   111  	0x68, 0xd0, 0xb0, 0x9a, 0x19, 0x56, 0xb4, 0x4a, 0x1a, 0x49, 0xc0, 0xa2, 0xc2, 0xa1, 0xf9, 0x19,
   112  	0xc0, 0x92, 0x71, 0x61, 0x18, 0x17, 0xa8, 0x08, 0x81, 0x89, 0x60, 0x0d, 0x52, 0x2f, 0xf3, 0xf2,
   113  	0xa4, 0x74, 0x33, 0xf9, 0x0f, 0x01, 0x36, 0x8c, 0xbf, 0xd2, 0xdf, 0xce, 0xec, 0xc4, 0xfc, 0xcb,
   114  	0x87, 0x78, 0xd9, 0xc7, 0xfe, 0xb8, 0x46, 0x60, 0xb2, 0x95, 0x0d, 0xf6, 0x5b, 0x6e, 0x26, 0x14,
   115  	0x22, 0x2d, 0xdf, 0x54, 0x85, 0x9a, 0xfa, 0x99, 0x9f, 0x27, 0xe5, 0x20, 0x2d, 0x79, 0x47, 0xa5,
   116  	0xb9, 0x14, 0x74, 0xe2, 0x16, 0x06, 0x49, 0x32, 0x48, 0x6b, 0xd4, 0x95, 0xe2, 0xad, 0xb1, 0x34,
   117  	0x70, 0x74, 0x6c, 0x91, 0x43, 0x88, 0x5f, 0xf0, 0xf3, 0x43, 0xaa, 0x5a, 0xd3, 0xd0, 0xc5, 0xee,
   118  	0x34, 0x39, 0x87, 0xb4, 0xd9, 0xd5, 0xd3, 0x34, 0xca, 0xfc, 0x3c, 0x3d, 0x99, 0x15, 0xfb, 0x03,
   119  	0x14, 0xfb, 0xf6, 0xe5, 0xf8, 0x51, 0x32, 0x83, 0x10, 0xc5, 0x86, 0x0b, 0xa4, 0xb1, 0x7b, 0x65,
   120  	0xaf, 0x6c, 0x2f, 0x5e, 0x49, 0x41, 0x93, 0xae, 0x97, 0x9d, 0xc9, 0x31, 0x00, 0x6b, 0xf9, 0x43,
   121  	0x5f, 0x00, 0x1c, 0x19, 0x39, 0xe4, 0x08, 0x92, 0x4a, 0x8a, 0x9a, 0xbb, 0x06, 0xa9, 0xc3, 0x7b,
   122  	0xc3, 0x26, 0x1a, 0xb6, 0xd1, 0xf4, 0x4f, 0x97, 0x68, 0xe7, 0x2e, 0xb1, 0x1d, 0x12, 0xff, 0x0e,
   123  	0x89, 0x83, 0x63, 0x79, 0x8d, 0xad, 0xc2, 0x8a, 0x19, 0xac, 0xe9, 0xbf, 0xcc, 0xcb, 0xe3, 0x72,
   124  	0xe4, 0xcc, 0x33, 0x08, 0x2f, 0xbb, 0xef, 0x4d, 0x21, 0xba, 0x5f, 0x5d, 0xaf, 0xd6, 0x8f, 0xab,
   125  	0xe9, 0x2f, 0x92, 0x40, 0x70, 0xb5, 0xbe, 0xbb, 0xbd, 0x99, 0x7a, 0x17, 0xd1, 0x53, 0xe0, 0x0e,
   126  	0xf0, 0x1c, 0xba, 0x9f, 0xe2, 0xf4, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x08, 0xf3, 0xcc, 0x66, 0x31,
   127  	0x02, 0x00, 0x00,
   128  }