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
880d3a8e
Commit
880d3a8e
authored
Nov 07, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address code review comments
parent
b6cccb45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
github_registry.go
client/registry/github_registry.go
+2
-0
No files found.
client/registry/github_registry.go
View file @
880d3a8e
...
...
@@ -27,6 +27,7 @@ type GithubRegistry struct {
client
*
github
.
Client
}
// NewGithubRegistry creates a Registry that can be used to talk to github.
func
NewGithubRegistry
(
owner
string
,
repository
string
)
*
GithubRegistry
{
return
&
GithubRegistry
{
owner
:
owner
,
...
...
@@ -35,6 +36,7 @@ func NewGithubRegistry(owner string, repository string) *GithubRegistry {
}
}
// List the types from the Registry.
func
(
g
*
GithubRegistry
)
List
()
([]
Type
,
error
)
{
// First list all the types at the top level.
types
,
err
:=
g
.
getDirs
(
TypesDir
)
...
...
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