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
d1285e80
Commit
d1285e80
authored
Mar 21, 2016
by
Michelle Noorali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ref(chart): fix comments
parent
55525696
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
chart.go
pkg/chart/chart.go
+2
-0
gcs_repo.go
pkg/repo/gcs_repo.go
+1
-1
No files found.
pkg/chart/chart.go
View file @
d1285e80
...
...
@@ -427,11 +427,13 @@ func (c *Chart) loadMember(filename string) (*Member, error) {
return
result
,
nil
}
//ChartContent is abstraction for the contents of a chart
type
ChartContent
struct
{
Chartfile
*
Chartfile
`json:"chartfile"`
Members
[]
*
Member
`json:"members"`
}
// LoadContent loads contents of a chart directory into ChartContent
func
(
c
*
Chart
)
LoadContent
()
(
*
ChartContent
,
error
)
{
ms
,
err
:=
c
.
loadDirectory
(
c
.
Dir
())
if
err
!=
nil
{
...
...
pkg/repo/gcs_repo.go
View file @
d1285e80
...
...
@@ -46,7 +46,7 @@ const (
// GCSPublicRepoName is the name of the public GCS repository.
GCSPublicRepoName
=
"kubernetes-charts"
// GCSPublicRepo
Name
is the URL for the public GCS repository.
// GCSPublicRepo
URL
is the URL for the public GCS repository.
GCSPublicRepoURL
=
"gs://"
+
GCSPublicRepoName
// GCSPublicRepoBucket is the name of the public GCS repository bucket.
...
...
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