Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3cbfc6ba
Unverified
Commit
3cbfc6ba
authored
Jan 12, 2017
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bump(k8s.io/gengo):cfac487ed0c8217f3b1ac5d33c14f78b35291151
parent
037711d6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
Godeps.json
Godeps/Godeps.json
+10
-10
parse.go
vendor/k8s.io/gengo/parser/parse.go
+1
-0
types.go
vendor/k8s.io/gengo/types/types.go
+3
-0
No files found.
Godeps/Godeps.json
View file @
3cbfc6ba
...
@@ -2639,43 +2639,43 @@
...
@@ -2639,43 +2639,43 @@
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/args"
,
"ImportPath"
:
"k8s.io/gengo/args"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/examples/deepcopy-gen/generators"
,
"ImportPath"
:
"k8s.io/gengo/examples/deepcopy-gen/generators"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/examples/defaulter-gen/generators"
,
"ImportPath"
:
"k8s.io/gengo/examples/defaulter-gen/generators"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/examples/import-boss/generators"
,
"ImportPath"
:
"k8s.io/gengo/examples/import-boss/generators"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/examples/set-gen/generators"
,
"ImportPath"
:
"k8s.io/gengo/examples/set-gen/generators"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/examples/set-gen/sets"
,
"ImportPath"
:
"k8s.io/gengo/examples/set-gen/sets"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/generator"
,
"ImportPath"
:
"k8s.io/gengo/generator"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/namer"
,
"ImportPath"
:
"k8s.io/gengo/namer"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/parser"
,
"ImportPath"
:
"k8s.io/gengo/parser"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/gengo/types"
,
"ImportPath"
:
"k8s.io/gengo/types"
,
"Rev"
:
"
257bac2d9657a64f7aa2d5c79beff88bb497df74
"
"Rev"
:
"
cfac487ed0c8217f3b1ac5d33c14f78b35291151
"
},
},
{
{
"ImportPath"
:
"k8s.io/heapster/metrics/api/v1/types"
,
"ImportPath"
:
"k8s.io/heapster/metrics/api/v1/types"
,
...
...
vendor/k8s.io/gengo/parser/parse.go
View file @
3cbfc6ba
...
@@ -447,6 +447,7 @@ func (b *Builder) findTypesIn(pkgPath importPathString, u *types.Universe) error
...
@@ -447,6 +447,7 @@ func (b *Builder) findTypesIn(pkgPath importPathString, u *types.Universe) error
// We're keeping this package. This call will create the record.
// We're keeping this package. This call will create the record.
u
.
Package
(
string
(
pkgPath
))
.
Name
=
pkg
.
Name
()
u
.
Package
(
string
(
pkgPath
))
.
Name
=
pkg
.
Name
()
u
.
Package
(
string
(
pkgPath
))
.
Path
=
pkg
.
Path
()
u
.
Package
(
string
(
pkgPath
))
.
Path
=
pkg
.
Path
()
u
.
Package
(
string
(
pkgPath
))
.
SourcePath
=
b
.
absPaths
[
pkgPath
]
for
_
,
f
:=
range
b
.
parsed
[
pkgPath
]
{
for
_
,
f
:=
range
b
.
parsed
[
pkgPath
]
{
if
strings
.
HasSuffix
(
f
.
name
,
"/doc.go"
)
{
if
strings
.
HasSuffix
(
f
.
name
,
"/doc.go"
)
{
...
...
vendor/k8s.io/gengo/types/types.go
View file @
3cbfc6ba
...
@@ -94,6 +94,9 @@ type Package struct {
...
@@ -94,6 +94,9 @@ type Package struct {
// Canonical name of this package-- its path.
// Canonical name of this package-- its path.
Path
string
Path
string
// The location this package was loaded from
SourcePath
string
// Short name of this package; the name that appears in the
// Short name of this package; the name that appears in the
// 'package x' line.
// 'package x' line.
Name
string
Name
string
...
...
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