Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
968901f9
Commit
968901f9
authored
8 years ago
by
Brian
Browse files
Options
Download
Plain Diff
Merge pull request #740 from fibonacci1729/master
fix(hapi): field for miscellaneous files
parents
194d43c8
97170b07
main
Release
add-codeql
dependabot/go_modules/github.com/docker/distribution-2.8.2incompatible
dependabot/go_modules/github.com/lib/pq-1.10.9
dependabot/go_modules/github.com/rubenv/sql-migrate-1.4.0
dependabot/go_modules/golang.org/x/crypto-0.9.0
dependabot/go_modules/golang.org/x/term-0.8.0
dependabot/go_modules/k8s.io/klog/v2-2.100.1
dev-v2
feat-v3/event-emitter-lua
kube-update-test
release-2.0
release-2.1
release-2.10
release-2.11
release-2.12
release-2.13
release-2.14
release-2.15
release-2.16
release-2.17
release-2.2
release-2.3
release-2.4
release-2.5
release-2.6
release-2.7
release-2.8
release-2.9
release-3.0
release-3.1
release-3.10
release-3.11
release-3.12
release-3.2
release-3.3
release-3.4
release-3.5
release-3.6
release-3.6.1
release-3.6.2
release-3.7
release-3.8
release-3.9
release-v3.0.0-beta.4
v3.12.0
v3.12.0-rc.1
v3.12.0-dev.1
v3.11.3
v3.11.2
v3.11.1
v3.11.0
v3.11.0-rc.2
v3.11.0-rc.1
v3.10.3
v3.10.2
v3.10.1
v3.10.0
v3.10.0-rc.1
v3.9.4
v3.9.3
v3.9.2
v3.9.1
v3.9.0
v3.9.0-rc.1
v3.8.2
v3.8.1
v3.8.0
v3.8.0-rc.2
v3.8.0-rc.1
v3.7.2
v3.7.1
v3.7.0
v3.7.0-rc.3
v3.7.0-rc.2
v3.7.0-rc.1
v3.6.3
v3.6.2
v3.6.1
v3.6.0
v3.6.0-rc.1
v3.5.4
v3.5.3
v3.5.2
v3.5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v2.4.0
v2.3.1
v2.3.0
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.2
v2.0.1
v2.0.0
v2.0.0-rc.2
v2.0.0-rc.1
v2.0.0-beta.2
v2.0.0-beta.1
v2.0.0-alpha.5
v2.0.0-alpha.4
v2.0.0-alpha.3
v2.0.0-alpha.2
v2.0.0-alpha.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_proto/hapi/chart/chart.proto
+4
-5
_proto/hapi/chart/chart.proto
pkg/proto/hapi/chart/chart.pb.go
+23
-16
pkg/proto/hapi/chart/chart.pb.go
with
27 additions
and
21 deletions
+27
-21
_proto/hapi/chart/chart.proto
+
4
−
5
View file @
968901f9
...
...
@@ -5,6 +5,7 @@ package hapi.chart;
import
"hapi/chart/config.proto"
;
import
"hapi/chart/metadata.proto"
;
import
"hapi/chart/template.proto"
;
import
"google/protobuf/any.proto"
;
option
go_package
=
"chart"
;
...
...
@@ -23,9 +24,7 @@ message Chart {
// Default config for this template.
hapi.chart.Config
values
=
4
;
// License is the text of the LICENSE file, if included.
string
license
=
5
;
// Readme is the text of the README.md file, if included.
string
readme
=
6
;
// Miscellaneous files in a chart archive,
// e.g. README, LICENSE, etc.
google.protobuf.Any
files
=
5
;
}
This diff is collapsed.
Click to expand it.
pkg/proto/hapi/chart/chart.pb.go
+
23
−
16
View file @
968901f9
...
...
@@ -24,6 +24,7 @@ package chart
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
...
...
@@ -45,10 +46,9 @@ type Chart struct {
Dependencies
[]
*
Chart
`protobuf:"bytes,3,rep,name=dependencies" json:"dependencies,omitempty"`
// Default config for this template.
Values
*
Config
`protobuf:"bytes,4,opt,name=values" json:"values,omitempty"`
// License is the text of the LICENSE file, if included.
License
string
`protobuf:"bytes,5,opt,name=license" json:"license,omitempty"`
// Readme is the text of the README.md file, if included.
Readme
string
`protobuf:"bytes,6,opt,name=readme" json:"readme,omitempty"`
// Miscellaneous files in a chart archive,
// e.g. README, LICENSE, etc.
Files
*
google_protobuf
.
Any
`protobuf:"bytes,5,opt,name=files" json:"files,omitempty"`
}
func
(
m
*
Chart
)
Reset
()
{
*
m
=
Chart
{}
}
...
...
@@ -84,25 +84,32 @@ func (m *Chart) GetValues() *Config {
return
nil
}
func
(
m
*
Chart
)
GetFiles
()
*
google_protobuf
.
Any
{
if
m
!=
nil
{
return
m
.
Files
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
Chart
)(
nil
),
"hapi.chart.Chart"
)
}
var
fileDescriptor0
=
[]
byte
{
// 23
2
bytes of a gzipped FileDescriptorProto
// 23
9
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcb
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0x81
,
0x90
,
0x7a
,
0x05
,
0x45
,
0xf9
,
0x25
,
0xf9
,
0x42
,
0x5c
,
0x20
,
0x71
,
0x3d
,
0xb0
,
0x88
,
0x94
,
0x38
,
0xb2
,
0x9a
,
0xfc
,
0xbc
,
0xb4
,
0xcc
,
0x74
,
0x88
,
0x22
,
0x29
,
0x49
,
0x24
,
0x89
,
0xdc
,
0xd4
,
0x92
,
0xc4
,
0x94
,
0xc4
,
0x92
,
0x44
,
0x2c
,
0x52
,
0x25
,
0xa9
,
0xb9
,
0x05
,
0x39
,
0x89
,
0x25
,
0xa9
,
0x
1
0
,
0x
2
9
,
0x
a5
,
0x
26
,
0x
26
,
0x
2e
,
0x
56
,
0x
67
,
0x
90
,
0x
84
,
0x
90
,
0x
01
,
0x
17
,
0x
07
,
0x
4c
,
0x
9b
,
0x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0x
0
8
,
0x
05
,
0x
41
,
0x
55
,
0x
00
,
0x
d5
,
0x
b2
,
0x
a6
,
0x6
5
,
0x
e6
,
0x
00
,
0x
95
,
0x
b2
,
0x
42
,
0x
7d
,
0x0
1
,
0x
f1
,
0xb
d
,
0x
1e
,
0x
cc
,
0x
f
7
,
0x
7a
,
0x
8
e
,
0x
79
,
0x
95
,
0x
41
,
0x
10
,
0x
25
,
0x
4e
,
0x
e
c
,
0x
51
,
0x
a
c
,
0x
6
0
,
0x
33
,
0x
92
,
0x
d8
,
0x
c0
,
0x
b2
,
0x
c6
,
0x80
,
0x00
,
0x00
,
0x0
0
,
0x
ff
,
0xff
,
0x8e
,
0x28
,
0xf
5
,
0x
b0
,
0x9
e
,
0x01
,
0x00
,
0x00
,
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets