github.com/danielqsj/helm@v2.0.0-alpha.4.0.20160908204436-976e0ba5199b+incompatible/_proto/hapi/chart/metadata.proto (about)

     1  // Copyright 2016 The Kubernetes Authors All rights reserved.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  syntax = "proto3";
    16  
    17  package hapi.chart;
    18  
    19  option go_package = "chart";
    20  
    21  // Maintainer describes a Chart maintainer.
    22  message Maintainer {
    23  	// Name is a user name or organization name
    24  	string name = 1;
    25  
    26  	// Email is an optional email address to contact the named maintainer
    27  	string email = 2;
    28  }
    29  
    30  // Dependency describes this chart's dependency on another chart.
    31  message Dependency {
    32  	// Name is the name of the dependency, e.g. 'nginx'
    33  	string name = 1;
    34  
    35  	// Repository is the repository URL. Appending '/index.yaml' to this should
    36  	// return the repo index.
    37  	string repository = 2;
    38  
    39  	// Version is a SemVer 2 version.
    40  	string version = 3;
    41  }
    42  
    43  //	Metadata for a Chart file. This models the structure of a Chart.yaml file.
    44  //
    45  // 	Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
    46  message Metadata {
    47  	enum Engine {
    48  		UNKNOWN = 0;
    49  		GOTPL = 1;
    50  	}
    51  	// The name of the chart
    52  	string name = 1;
    53  
    54  	// The URL to a relevant project page, git repo, or contact person
    55  	string home = 2;
    56  
    57  	// Source is the URL to the source code of this chart
    58  	repeated string sources = 3;
    59  
    60  	// A SemVer 2 conformant version string of the chart
    61  	string version = 4;
    62  
    63  	// A one-sentence description of the chart
    64  	string description = 5;
    65  
    66  	// A list of string keywords
    67  	repeated string keywords = 6;
    68  
    69  	// A list of name and URL/email address combinations for the maintainer(s)
    70  	repeated Maintainer maintainers = 7;
    71  
    72  	// The name of the template engine to use. Defaults to 'gotpl'.
    73  	string engine = 8;
    74  
    75  	// The URL to an icon file.
    76  	string icon = 9;
    77  
    78  	repeated Dependency dependencies = 10;
    79  }