github.com/caicloud/helm@v2.5.0+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  func (m *Maintainer) GetName() string {
    51  	if m != nil {
    52  		return m.Name
    53  	}
    54  	return ""
    55  }
    56  
    57  func (m *Maintainer) GetEmail() string {
    58  	if m != nil {
    59  		return m.Email
    60  	}
    61  	return ""
    62  }
    63  
    64  // 	Metadata for a Chart file. This models the structure of a Chart.yaml file.
    65  //
    66  // 	Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
    67  type Metadata struct {
    68  	// The name of the chart
    69  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    70  	// The URL to a relevant project page, git repo, or contact person
    71  	Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
    72  	// Source is the URL to the source code of this chart
    73  	Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
    74  	// A SemVer 2 conformant version string of the chart
    75  	Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
    76  	// A one-sentence description of the chart
    77  	Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
    78  	// A list of string keywords
    79  	Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
    80  	// A list of name and URL/email address combinations for the maintainer(s)
    81  	Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
    82  	// The name of the template engine to use. Defaults to 'gotpl'.
    83  	Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
    84  	// The URL to an icon file.
    85  	Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
    86  	// The API Version of this chart.
    87  	ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"`
    88  	// The condition to check to enable chart
    89  	Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"`
    90  	// The tags to check to enable chart
    91  	Tags string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"`
    92  	// The version of the application enclosed inside of this chart.
    93  	AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"`
    94  	// Whether or not this chart is deprecated
    95  	Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"`
    96  	// TillerVersion is a SemVer constraints on what version of Tiller is required.
    97  	// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
    98  	TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"`
    99  	// Annotations are additional mappings uninterpreted by Tiller,
   100  	// made available for inspection by other applications.
   101  	Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
   102  }
   103  
   104  func (m *Metadata) Reset()                    { *m = Metadata{} }
   105  func (m *Metadata) String() string            { return proto.CompactTextString(m) }
   106  func (*Metadata) ProtoMessage()               {}
   107  func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
   108  
   109  func (m *Metadata) GetName() string {
   110  	if m != nil {
   111  		return m.Name
   112  	}
   113  	return ""
   114  }
   115  
   116  func (m *Metadata) GetHome() string {
   117  	if m != nil {
   118  		return m.Home
   119  	}
   120  	return ""
   121  }
   122  
   123  func (m *Metadata) GetSources() []string {
   124  	if m != nil {
   125  		return m.Sources
   126  	}
   127  	return nil
   128  }
   129  
   130  func (m *Metadata) GetVersion() string {
   131  	if m != nil {
   132  		return m.Version
   133  	}
   134  	return ""
   135  }
   136  
   137  func (m *Metadata) GetDescription() string {
   138  	if m != nil {
   139  		return m.Description
   140  	}
   141  	return ""
   142  }
   143  
   144  func (m *Metadata) GetKeywords() []string {
   145  	if m != nil {
   146  		return m.Keywords
   147  	}
   148  	return nil
   149  }
   150  
   151  func (m *Metadata) GetMaintainers() []*Maintainer {
   152  	if m != nil {
   153  		return m.Maintainers
   154  	}
   155  	return nil
   156  }
   157  
   158  func (m *Metadata) GetEngine() string {
   159  	if m != nil {
   160  		return m.Engine
   161  	}
   162  	return ""
   163  }
   164  
   165  func (m *Metadata) GetIcon() string {
   166  	if m != nil {
   167  		return m.Icon
   168  	}
   169  	return ""
   170  }
   171  
   172  func (m *Metadata) GetApiVersion() string {
   173  	if m != nil {
   174  		return m.ApiVersion
   175  	}
   176  	return ""
   177  }
   178  
   179  func (m *Metadata) GetCondition() string {
   180  	if m != nil {
   181  		return m.Condition
   182  	}
   183  	return ""
   184  }
   185  
   186  func (m *Metadata) GetTags() string {
   187  	if m != nil {
   188  		return m.Tags
   189  	}
   190  	return ""
   191  }
   192  
   193  func (m *Metadata) GetAppVersion() string {
   194  	if m != nil {
   195  		return m.AppVersion
   196  	}
   197  	return ""
   198  }
   199  
   200  func (m *Metadata) GetDeprecated() bool {
   201  	if m != nil {
   202  		return m.Deprecated
   203  	}
   204  	return false
   205  }
   206  
   207  func (m *Metadata) GetTillerVersion() string {
   208  	if m != nil {
   209  		return m.TillerVersion
   210  	}
   211  	return ""
   212  }
   213  
   214  func (m *Metadata) GetAnnotations() map[string]string {
   215  	if m != nil {
   216  		return m.Annotations
   217  	}
   218  	return nil
   219  }
   220  
   221  func init() {
   222  	proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
   223  	proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
   224  	proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
   225  }
   226  
   227  func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
   228  
   229  var fileDescriptor2 = []byte{
   230  	// 412 bytes of a gzipped FileDescriptorProto
   231  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xd5, 0x40,
   232  	0x10, 0x35, 0xbd, 0x9f, 0x99, 0x58, 0x0d, 0x83, 0x94, 0xb5, 0x88, 0x84, 0x8b, 0x42, 0x9e, 0x52,
   233  	0x50, 0x90, 0xe2, 0x83, 0xa0, 0x50, 0xfa, 0xa0, 0xbd, 0x95, 0xe0, 0x07, 0xf8, 0xb6, 0x26, 0x43,
   234  	0xef, 0xd2, 0x64, 0x37, 0xec, 0x6e, 0x2b, 0xf7, 0x47, 0xfb, 0x1f, 0x64, 0x37, 0xd9, 0x26, 0x95,
   235  	0xbe, 0xcd, 0x39, 0x67, 0xe6, 0xec, 0x9e, 0x61, 0xe0, 0xf9, 0x8e, 0x77, 0xe2, 0xa4, 0xda, 0x71,
   236  	0x6d, 0x4f, 0x5a, 0xb2, 0xbc, 0xe6, 0x96, 0x17, 0x9d, 0x56, 0x56, 0x21, 0x38, 0xa9, 0xf0, 0xd2,
   237  	0xe6, 0x1d, 0xc0, 0x05, 0x17, 0xd2, 0x72, 0x21, 0x49, 0x23, 0xc2, 0x5c, 0xf2, 0x96, 0x58, 0x94,
   238  	0x45, 0x79, 0x5c, 0xfa, 0x1a, 0x9f, 0xc1, 0x82, 0x5a, 0x2e, 0x1a, 0x76, 0xe0, 0xc9, 0x1e, 0x6c,
   239  	0xfe, 0xce, 0x61, 0x7d, 0x31, 0xd8, 0x3e, 0x38, 0x86, 0x30, 0xdf, 0xa9, 0x96, 0x86, 0x29, 0x5f,
   240  	0x23, 0x83, 0x95, 0x51, 0x37, 0xba, 0x22, 0xc3, 0x66, 0xd9, 0x2c, 0x8f, 0xcb, 0x00, 0x9d, 0x72,
   241  	0x4b, 0xda, 0x08, 0x25, 0xd9, 0xdc, 0x0f, 0x04, 0x88, 0x19, 0x24, 0x35, 0x99, 0x4a, 0x8b, 0xce,
   242  	0x3a, 0x75, 0xe1, 0xd5, 0x29, 0x85, 0xc7, 0xb0, 0xbe, 0xa6, 0xfd, 0x1f, 0xa5, 0x6b, 0xc3, 0x96,
   243  	0xde, 0xf6, 0x0e, 0xe3, 0x29, 0x24, 0xed, 0x5d, 0x3c, 0xc3, 0x56, 0xd9, 0x2c, 0x4f, 0xde, 0x1c,
   244  	0x15, 0xe3, 0x02, 0x8a, 0x31, 0x7d, 0x39, 0x6d, 0xc5, 0x23, 0x58, 0x92, 0xbc, 0x12, 0x92, 0xd8,
   245  	0xda, 0x3f, 0x39, 0x20, 0x97, 0x4b, 0x54, 0x4a, 0xb2, 0xb8, 0xcf, 0xe5, 0x6a, 0x7c, 0x09, 0xc0,
   246  	0x3b, 0xf1, 0x63, 0x08, 0x00, 0x5e, 0x99, 0x30, 0xf8, 0x02, 0xe2, 0x4a, 0xc9, 0x5a, 0xf8, 0x04,
   247  	0x89, 0x97, 0x47, 0xc2, 0x39, 0x5a, 0x7e, 0x65, 0xd8, 0xe3, 0xde, 0xd1, 0xd5, 0xbd, 0x63, 0x17,
   248  	0x1c, 0x0f, 0x83, 0x63, 0x60, 0x9c, 0x5e, 0x53, 0xa7, 0xa9, 0xe2, 0x96, 0x6a, 0xf6, 0x24, 0x8b,
   249  	0xf2, 0x75, 0x39, 0x61, 0xf0, 0x15, 0x1c, 0x5a, 0xd1, 0x34, 0xa4, 0x83, 0xc5, 0x53, 0x6f, 0x71,
   250  	0x9f, 0xc4, 0x73, 0x48, 0xb8, 0x94, 0xca, 0x72, 0xf7, 0x0f, 0xc3, 0x52, 0xbf, 0x9d, 0xd7, 0xf7,
   251  	0xb6, 0x13, 0x2e, 0xe7, 0xe3, 0xd8, 0x77, 0x26, 0xad, 0xde, 0x97, 0xd3, 0xc9, 0xe3, 0x0f, 0x90,
   252  	0xfe, 0xdf, 0x80, 0x29, 0xcc, 0xae, 0x69, 0x3f, 0xdc, 0x84, 0x2b, 0xdd, 0x25, 0xdd, 0xf2, 0xe6,
   253  	0x26, 0xdc, 0x44, 0x0f, 0xde, 0x1f, 0x9c, 0x46, 0x9b, 0x0c, 0x96, 0x67, 0xfd, 0x7a, 0x13, 0x58,
   254  	0x7d, 0xdf, 0x7e, 0xde, 0x5e, 0xfe, 0xdc, 0xa6, 0x8f, 0x30, 0x86, 0xc5, 0xf9, 0xe5, 0xb7, 0xaf,
   255  	0x5f, 0xd2, 0xe8, 0xd3, 0xea, 0xd7, 0xc2, 0xff, 0xe8, 0xf7, 0xd2, 0xdf, 0xf0, 0xdb, 0x7f, 0x01,
   256  	0x00, 0x00, 0xff, 0xff, 0xd7, 0x2b, 0xf5, 0x83, 0xe0, 0x02, 0x00, 0x00,
   257  }