mirror of https://github.com/k3s-io/k3s
bump(k8s.io/gengo):cfac487ed0c8217f3b1ac5d33c14f78b35291151
parent
037711d629
commit
3cbfc6ba22
|
@ -2639,43 +2639,43 @@
|
|||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/args",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/examples/deepcopy-gen/generators",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/examples/defaulter-gen/generators",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/examples/import-boss/generators",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/examples/set-gen/generators",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/examples/set-gen/sets",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/generator",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/namer",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/parser",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/gengo/types",
|
||||
"Rev": "257bac2d9657a64f7aa2d5c79beff88bb497df74"
|
||||
"Rev": "cfac487ed0c8217f3b1ac5d33c14f78b35291151"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/heapster/metrics/api/v1/types",
|
||||
|
|
|
@ -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.
|
||||
u.Package(string(pkgPath)).Name = pkg.Name()
|
||||
u.Package(string(pkgPath)).Path = pkg.Path()
|
||||
u.Package(string(pkgPath)).SourcePath = b.absPaths[pkgPath]
|
||||
|
||||
for _, f := range b.parsed[pkgPath] {
|
||||
if strings.HasSuffix(f.name, "/doc.go") {
|
||||
|
|
|
@ -94,6 +94,9 @@ type Package struct {
|
|||
// Canonical name of this package-- its path.
|
||||
Path string
|
||||
|
||||
// The location this package was loaded from
|
||||
SourcePath string
|
||||
|
||||
// Short name of this package; the name that appears in the
|
||||
// 'package x' line.
|
||||
Name string
|
||||
|
|
Loading…
Reference in New Issue