github.com/migueleliasweb/helm@v2.6.1+incompatible/pkg/proto/hapi/chart/metadata.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: hapi/chart/metadata.proto
     3  
     4  package chart
     5  
     6  import proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  
    10  // Reference imports to suppress errors if they are not otherwise used.
    11  var _ = proto.Marshal
    12  var _ = fmt.Errorf
    13  var _ = math.Inf
    14  
    15  type Metadata_Engine int32
    16  
    17  const (
    18  	Metadata_UNKNOWN Metadata_Engine = 0
    19  	Metadata_GOTPL   Metadata_Engine = 1
    20  )
    21  
    22  var Metadata_Engine_name = map[int32]string{
    23  	0: "UNKNOWN",
    24  	1: "GOTPL",
    25  }
    26  var Metadata_Engine_value = map[string]int32{
    27  	"UNKNOWN": 0,
    28  	"GOTPL":   1,
    29  }
    30  
    31  func (x Metadata_Engine) String() string {
    32  	return proto.EnumName(Metadata_Engine_name, int32(x))
    33  }
    34  func (Metadata_Engine) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} }
    35  
    36  // Maintainer describes a Chart maintainer.
    37  type Maintainer struct {
    38  	// Name is a user name or organization name
    39  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    40  	// Email is an optional email address to contact the named maintainer
    41  	Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
    42  }
    43  
    44  func (m *Maintainer) Reset()                    { *m = Maintainer{} }
    45  func (m *Maintainer) String() string            { return proto.CompactTextString(m) }
    46  func (*Maintainer) ProtoMessage()               {}
    47  func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
    48  
    49  func (m *Maintainer) GetName() string {
    50  	if m != nil {
    51  		return m.Name
    52  	}
    53  	return ""
    54  }
    55  
    56  func (m *Maintainer) GetEmail() string {
    57  	if m != nil {
    58  		return m.Email
    59  	}
    60  	return ""
    61  }
    62  
    63  // 	Metadata for a Chart file. This models the structure of a Chart.yaml file.
    64  //
    65  // 	Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
    66  type Metadata struct {
    67  	// The name of the chart
    68  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    69  	// The URL to a relevant project page, git repo, or contact person
    70  	Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
    71  	// Source is the URL to the source code of this chart
    72  	Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
    73  	// A SemVer 2 conformant version string of the chart
    74  	Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
    75  	// A one-sentence description of the chart
    76  	Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
    77  	// A list of string keywords
    78  	Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
    79  	// A list of name and URL/email address combinations for the maintainer(s)
    80  	Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
    81  	// The name of the template engine to use. Defaults to 'gotpl'.
    82  	Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
    83  	// The URL to an icon file.
    84  	Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
    85  	// The API Version of this chart.
    86  	ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"`
    87  	// The condition to check to enable chart
    88  	Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"`
    89  	// The tags to check to enable chart
    90  	Tags string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"`
    91  	// The version of the application enclosed inside of this chart.
    92  	AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"`
    93  	// Whether or not this chart is deprecated
    94  	Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"`
    95  	// TillerVersion is a SemVer constraints on what version of Tiller is required.
    96  	// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
    97  	TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"`
    98  }
    99  
   100  func (m *Metadata) Reset()                    { *m = Metadata{} }
   101  func (m *Metadata) String() string            { return proto.CompactTextString(m) }
   102  func (*Metadata) ProtoMessage()               {}
   103  func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
   104  
   105  func (m *Metadata) GetName() string {
   106  	if m != nil {
   107  		return m.Name
   108  	}
   109  	return ""
   110  }
   111  
   112  func (m *Metadata) GetHome() string {
   113  	if m != nil {
   114  		return m.Home
   115  	}
   116  	return ""
   117  }
   118  
   119  func (m *Metadata) GetSources() []string {
   120  	if m != nil {
   121  		return m.Sources
   122  	}
   123  	return nil
   124  }
   125  
   126  func (m *Metadata) GetVersion() string {
   127  	if m != nil {
   128  		return m.Version
   129  	}
   130  	return ""
   131  }
   132  
   133  func (m *Metadata) GetDescription() string {
   134  	if m != nil {
   135  		return m.Description
   136  	}
   137  	return ""
   138  }
   139  
   140  func (m *Metadata) GetKeywords() []string {
   141  	if m != nil {
   142  		return m.Keywords
   143  	}
   144  	return nil
   145  }
   146  
   147  func (m *Metadata) GetMaintainers() []*Maintainer {
   148  	if m != nil {
   149  		return m.Maintainers
   150  	}
   151  	return nil
   152  }
   153  
   154  func (m *Metadata) GetEngine() string {
   155  	if m != nil {
   156  		return m.Engine
   157  	}
   158  	return ""
   159  }
   160  
   161  func (m *Metadata) GetIcon() string {
   162  	if m != nil {
   163  		return m.Icon
   164  	}
   165  	return ""
   166  }
   167  
   168  func (m *Metadata) GetApiVersion() string {
   169  	if m != nil {
   170  		return m.ApiVersion
   171  	}
   172  	return ""
   173  }
   174  
   175  func (m *Metadata) GetCondition() string {
   176  	if m != nil {
   177  		return m.Condition
   178  	}
   179  	return ""
   180  }
   181  
   182  func (m *Metadata) GetTags() string {
   183  	if m != nil {
   184  		return m.Tags
   185  	}
   186  	return ""
   187  }
   188  
   189  func (m *Metadata) GetAppVersion() string {
   190  	if m != nil {
   191  		return m.AppVersion
   192  	}
   193  	return ""
   194  }
   195  
   196  func (m *Metadata) GetDeprecated() bool {
   197  	if m != nil {
   198  		return m.Deprecated
   199  	}
   200  	return false
   201  }
   202  
   203  func (m *Metadata) GetTillerVersion() string {
   204  	if m != nil {
   205  		return m.TillerVersion
   206  	}
   207  	return ""
   208  }
   209  
   210  func init() {
   211  	proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
   212  	proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
   213  	proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
   214  }
   215  
   216  func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
   217  
   218  var fileDescriptor2 = []byte{
   219  	// 354 bytes of a gzipped FileDescriptorProto
   220  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x4b, 0xe3, 0x40,
   221  	0x14, 0xc5, 0x37, 0x9b, 0xe6, 0xdf, 0xcd, 0x76, 0xb7, 0x0c, 0x4b, 0x99, 0x5d, 0x44, 0x42, 0xf1,
   222  	0x21, 0x4f, 0x29, 0x28, 0x88, 0xcf, 0x82, 0xf8, 0xa0, 0x6d, 0x25, 0xf8, 0x07, 0x7c, 0x1b, 0x93,
   223  	0x4b, 0x3b, 0xd8, 0xcc, 0x84, 0xc9, 0xa8, 0xf8, 0x7d, 0xfd, 0x20, 0x32, 0x93, 0xa4, 0x8d, 0xe0,
   224  	0xdb, 0x3d, 0xe7, 0xe4, 0xfe, 0xc2, 0xb9, 0x0c, 0xfc, 0xdb, 0xb0, 0x9a, 0xcf, 0x8b, 0x0d, 0x53,
   225  	0x7a, 0x5e, 0xa1, 0x66, 0x25, 0xd3, 0x2c, 0xab, 0x95, 0xd4, 0x92, 0x80, 0x89, 0x32, 0x1b, 0xcd,
   226  	0x4e, 0x01, 0x16, 0x8c, 0x0b, 0xcd, 0xb8, 0x40, 0x45, 0x08, 0x8c, 0x04, 0xab, 0x90, 0x3a, 0x89,
   227  	0x93, 0x46, 0xb9, 0x9d, 0xc9, 0x5f, 0xf0, 0xb0, 0x62, 0x7c, 0x4b, 0x7f, 0x5a, 0xb3, 0x15, 0xb3,
   228  	0x0f, 0x17, 0xc2, 0x45, 0x87, 0xfd, 0x76, 0x8d, 0xc0, 0x68, 0x23, 0x2b, 0xec, 0xb6, 0xec, 0x4c,
   229  	0x28, 0x04, 0x8d, 0x7c, 0x51, 0x05, 0x36, 0xd4, 0x4d, 0xdc, 0x34, 0xca, 0x7b, 0x69, 0x92, 0x57,
   230  	0x54, 0x0d, 0x97, 0x82, 0x8e, 0xec, 0x42, 0x2f, 0x49, 0x02, 0x71, 0x89, 0x4d, 0xa1, 0x78, 0xad,
   231  	0x4d, 0xea, 0xd9, 0x74, 0x68, 0x91, 0xff, 0x10, 0x3e, 0xe3, 0xfb, 0x9b, 0x54, 0x65, 0x43, 0x7d,
   232  	0x8b, 0xdd, 0x69, 0x72, 0x06, 0x71, 0xb5, 0xab, 0xd7, 0xd0, 0x20, 0x71, 0xd3, 0xf8, 0x78, 0x9a,
   233  	0xed, 0x0f, 0x90, 0xed, 0xdb, 0xe7, 0xc3, 0x4f, 0xc9, 0x14, 0x7c, 0x14, 0x6b, 0x2e, 0x90, 0x86,
   234  	0xf6, 0x97, 0x9d, 0x32, 0xbd, 0x78, 0x21, 0x05, 0x8d, 0xda, 0x5e, 0x66, 0x26, 0x87, 0x00, 0xac,
   235  	0xe6, 0xf7, 0x5d, 0x01, 0xb0, 0xc9, 0xc0, 0x21, 0x07, 0x10, 0x15, 0x52, 0x94, 0xdc, 0x36, 0x88,
   236  	0x6d, 0xbc, 0x37, 0x0c, 0x51, 0xb3, 0x75, 0x43, 0x7f, 0xb5, 0x44, 0x33, 0xb7, 0xc4, 0xba, 0x27,
   237  	0x8e, 0x7b, 0x62, 0xef, 0x98, 0xbc, 0xc4, 0x5a, 0x61, 0xc1, 0x34, 0x96, 0xf4, 0x77, 0xe2, 0xa4,
   238  	0x61, 0x3e, 0x70, 0xc8, 0x11, 0x8c, 0x35, 0xdf, 0x6e, 0x51, 0xf5, 0x88, 0x3f, 0x16, 0xf1, 0xd5,
   239  	0x9c, 0x25, 0xe0, 0x5f, 0xb4, 0xad, 0x62, 0x08, 0xee, 0x96, 0x57, 0xcb, 0xd5, 0xc3, 0x72, 0xf2,
   240  	0x83, 0x44, 0xe0, 0x5d, 0xae, 0x6e, 0x6f, 0xae, 0x27, 0xce, 0x79, 0xf0, 0xe8, 0xd9, 0x33, 0x3d,
   241  	0xf9, 0xf6, 0xe9, 0x9c, 0x7c, 0x06, 0x00, 0x00, 0xff, 0xff, 0xea, 0xb5, 0x4c, 0xbe, 0x57, 0x02,
   242  	0x00, 0x00,
   243  }