Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
87429c66
Commit
87429c66
authored
May 23, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #755 from technosophos/fix/chart-any
fix(proto): let chart take multiple Files.
parents
8358f4d3
7d2ae937
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
chart.proto
_proto/hapi/chart/chart.proto
+1
-1
chart.pb.go
pkg/proto/hapi/chart/chart.pb.go
+4
-4
No files found.
_proto/hapi/chart/chart.proto
View file @
87429c66
...
@@ -26,5 +26,5 @@ message Chart {
...
@@ -26,5 +26,5 @@ message Chart {
// Miscellaneous files in a chart archive,
// Miscellaneous files in a chart archive,
// e.g. README, LICENSE, etc.
// e.g. README, LICENSE, etc.
google.protobuf.Any
files
=
5
;
repeated
google.protobuf.Any
files
=
5
;
}
}
pkg/proto/hapi/chart/chart.pb.go
View file @
87429c66
...
@@ -48,7 +48,7 @@ type Chart struct {
...
@@ -48,7 +48,7 @@ type Chart struct {
Values
*
Config
`protobuf:"bytes,4,opt,name=values" json:"values,omitempty"`
Values
*
Config
`protobuf:"bytes,4,opt,name=values" json:"values,omitempty"`
// Miscellaneous files in a chart archive,
// Miscellaneous files in a chart archive,
// e.g. README, LICENSE, etc.
// e.g. README, LICENSE, etc.
Files
*
google_protobuf
.
Any
`protobuf:"bytes,5,opt
,name=files" json:"files,omitempty"`
Files
[]
*
google_protobuf
.
Any
`protobuf:"bytes,5,rep
,name=files" json:"files,omitempty"`
}
}
func
(
m
*
Chart
)
Reset
()
{
*
m
=
Chart
{}
}
func
(
m
*
Chart
)
Reset
()
{
*
m
=
Chart
{}
}
...
@@ -84,7 +84,7 @@ func (m *Chart) GetValues() *Config {
...
@@ -84,7 +84,7 @@ func (m *Chart) GetValues() *Config {
return
nil
return
nil
}
}
func
(
m
*
Chart
)
GetFiles
()
*
google_protobuf
.
Any
{
func
(
m
*
Chart
)
GetFiles
()
[]
*
google_protobuf
.
Any
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Files
return
m
.
Files
}
}
...
@@ -109,7 +109,7 @@ var fileDescriptor0 = []byte{
...
@@ -109,7 +109,7 @@ var fileDescriptor0 = []byte{
0x3c
,
0x29
,
0xa9
,
0x05
,
0xa9
,
0x79
,
0x29
,
0xa9
,
0x79
,
0xc9
,
0x99
,
0x40
,
0x6d
,
0xcc
,
0x60
,
0x6d
,
0x3c
,
0x29
,
0xa9
,
0x05
,
0xa9
,
0x79
,
0x29
,
0xa9
,
0x79
,
0xc9
,
0x99
,
0x40
,
0x6d
,
0xcc
,
0x60
,
0x6d
,
0x82
,
0xc8
,
0xda
,
0xc0
,
0xce
,
0x09
,
0x42
,
0x51
,
0x26
,
0xa4
,
0xc5
,
0xc5
,
0x56
,
0x96
,
0x98
,
0x53
,
0x82
,
0xc8
,
0xda
,
0xc0
,
0xce
,
0x09
,
0x42
,
0x51
,
0x26
,
0xa4
,
0xc5
,
0xc5
,
0x56
,
0x96
,
0x98
,
0x53
,
0x0a
,
0xd4
,
0xc0
,
0x02
,
0x76
,
0x9a
,
0x10
,
0x8a
,
0x06
,
0x70
,
0x08
,
0x05
,
0x41
,
0x55
,
0x00
,
0xd5
,
0x0a
,
0xd4
,
0xc0
,
0x02
,
0x76
,
0x9a
,
0x10
,
0x8a
,
0x06
,
0x70
,
0x08
,
0x05
,
0x41
,
0x55
,
0x00
,
0xd5
,
0xb2
,
0xa6
,
0x65
,
0xe6
,
0x00
,
0x95
,
0xb2
,
0x42
,
0x
7d
,
0x01
,
0xf1
,
0xbd
,
0x1e
,
0xcc
,
0xf7
,
0x7a
,
0xb2
,
0xa6
,
0x65
,
0xe6
,
0x00
,
0x95
,
0xb2
,
0x42
,
0x
9d
,
0x04
,
0xf1
,
0xbd
,
0x1e
,
0xcc
,
0xf7
,
0x7a
,
0x8e
,
0x79
,
0x95
,
0x41
,
0x10
,
0x25
,
0x4e
,
0xec
,
0x51
,
0xac
,
0x60
,
0x33
,
0x92
,
0xd8
,
0xc0
,
0xb2
,
0x8e
,
0x79
,
0x95
,
0x41
,
0x10
,
0x25
,
0x4e
,
0xec
,
0x51
,
0xac
,
0x60
,
0x33
,
0x92
,
0xd8
,
0xc0
,
0xb2
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x
8e
,
0x28
,
0xf5
,
0xb0
,
0x9e
,
0x01
,
0x00
,
0x00
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x
e9
,
0x70
,
0x34
,
0x75
,
0x9e
,
0x01
,
0x00
,
0x00
,
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment