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
91ba27e9
Unverified
Commit
91ba27e9
authored
May 13, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
May 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #77827 from smarterclayton/fix_partial
PartialObjectMetadataList should nest values, not pointers for Items
parents
12832d90
f25efd12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
40 deletions
+32
-40
tableconvertor_test.go
...stry/customresource/tableconvertor/tableconvertor_test.go
+1
-1
generated.pb.go
.../src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go
+0
-0
types.go
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
+1
-1
zz_generated.deepcopy.go
...io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go
+2
-6
generated.pb.go
...k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go
+22
-22
types.go
...ng/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types.go
+1
-1
zz_generated.deepcopy.go
...imachinery/pkg/apis/meta/v1beta1/zz_generated.deepcopy.go
+2
-6
apiserver_test.go
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
+1
-1
response.go
...g/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go
+2
-2
No files found.
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go
View file @
91ba27e9
...
@@ -123,7 +123,7 @@ func Test_convertor_ConvertToTable(t *testing.T) {
...
@@ -123,7 +123,7 @@ func Test_convertor_ConvertToTable(t *testing.T) {
},
},
args
:
args
{
args
:
args
{
obj
:
&
metav1beta1
.
PartialObjectMetadataList
{
obj
:
&
metav1beta1
.
PartialObjectMetadataList
{
Items
:
[]
*
metav1beta1
.
PartialObjectMetadata
{
Items
:
[]
metav1beta1
.
PartialObjectMetadata
{
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"blah"
,
CreationTimestamp
:
metav1
.
NewTime
(
time
.
Unix
(
1
,
0
))}},
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"blah"
,
CreationTimestamp
:
metav1
.
NewTime
(
time
.
Unix
(
1
,
0
))}},
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"blah-2"
,
CreationTimestamp
:
metav1
.
NewTime
(
time
.
Unix
(
2
,
0
))}},
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"blah-2"
,
CreationTimestamp
:
metav1
.
NewTime
(
time
.
Unix
(
2
,
0
))}},
},
},
...
...
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go
View file @
91ba27e9
This diff is collapsed.
Click to expand it.
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
View file @
91ba27e9
...
@@ -1309,5 +1309,5 @@ type PartialObjectMetadataList struct {
...
@@ -1309,5 +1309,5 @@ type PartialObjectMetadataList struct {
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items contains each of the included items.
// items contains each of the included items.
Items
[]
*
PartialObjectMetadata
`json:"items" protobuf:"bytes,2,rep,name=items"`
Items
[]
PartialObjectMetadata
`json:"items" protobuf:"bytes,2,rep,name=items"`
}
}
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go
View file @
91ba27e9
...
@@ -805,13 +805,9 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
...
@@ -805,13 +805,9 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
if
in
.
Items
!=
nil
{
if
in
.
Items
!=
nil
{
in
,
out
:=
&
in
.
Items
,
&
out
.
Items
in
,
out
:=
&
in
.
Items
,
&
out
.
Items
*
out
=
make
([]
*
PartialObjectMetadata
,
len
(
*
in
))
*
out
=
make
([]
PartialObjectMetadata
,
len
(
*
in
))
for
i
:=
range
*
in
{
for
i
:=
range
*
in
{
if
(
*
in
)[
i
]
!=
nil
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
in
,
out
:=
&
(
*
in
)[
i
],
&
(
*
out
)[
i
]
*
out
=
new
(
PartialObjectMetadata
)
(
*
in
)
.
DeepCopyInto
(
*
out
)
}
}
}
}
}
return
return
...
...
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go
View file @
91ba27e9
...
@@ -138,7 +138,7 @@ func (this *PartialObjectMetadataList) String() string {
...
@@ -138,7 +138,7 @@ func (this *PartialObjectMetadataList) String() string {
return
"nil"
return
"nil"
}
}
s
:=
strings
.
Join
([]
string
{
`&PartialObjectMetadataList{`
,
s
:=
strings
.
Join
([]
string
{
`&PartialObjectMetadataList{`
,
`Items:`
+
strings
.
Replace
(
fmt
.
Sprintf
(
"%v"
,
this
.
Items
),
"PartialObjectMetadata"
,
"k8s_io_apimachinery_pkg_apis_meta_v1.PartialObjectMetadata"
,
1
)
+
`,`
,
`Items:`
+
strings
.
Replace
(
strings
.
Replace
(
fmt
.
Sprintf
(
"%v"
,
this
.
Items
),
"PartialObjectMetadata"
,
"k8s_io_apimachinery_pkg_apis_meta_v1.PartialObjectMetadata"
,
1
),
`&`
,
``
,
1
)
+
`,`
,
`ListMeta:`
+
strings
.
Replace
(
strings
.
Replace
(
this
.
ListMeta
.
String
(),
"ListMeta"
,
"k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta"
,
1
),
`&`
,
``
,
1
)
+
`,`
,
`ListMeta:`
+
strings
.
Replace
(
strings
.
Replace
(
this
.
ListMeta
.
String
(),
"ListMeta"
,
"k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta"
,
1
),
`&`
,
``
,
1
)
+
`,`
,
`}`
,
`}`
,
},
""
)
},
""
)
...
@@ -207,7 +207,7 @@ func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error {
...
@@ -207,7 +207,7 @@ func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error {
if
postIndex
>
l
{
if
postIndex
>
l
{
return
io
.
ErrUnexpectedEOF
return
io
.
ErrUnexpectedEOF
}
}
m
.
Items
=
append
(
m
.
Items
,
&
k8s_io_apimachinery_pkg_apis_meta_v1
.
PartialObjectMetadata
{})
m
.
Items
=
append
(
m
.
Items
,
k8s_io_apimachinery_pkg_apis_meta_v1
.
PartialObjectMetadata
{})
if
err
:=
m
.
Items
[
len
(
m
.
Items
)
-
1
]
.
Unmarshal
(
dAtA
[
iNdEx
:
postIndex
]);
err
!=
nil
{
if
err
:=
m
.
Items
[
len
(
m
.
Items
)
-
1
]
.
Unmarshal
(
dAtA
[
iNdEx
:
postIndex
]);
err
!=
nil
{
return
err
return
err
}
}
...
@@ -374,25 +374,25 @@ func init() {
...
@@ -374,25 +374,25 @@ func init() {
var
fileDescriptorGenerated
=
[]
byte
{
var
fileDescriptorGenerated
=
[]
byte
{
// 322 bytes of a gzipped FileDescriptorProto
// 322 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x8c
,
0x91
,
0x
b1
,
0x4e
,
0xeb
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x8c
,
0x91
,
0x
41
,
0x4b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.go
View file @
91ba27e9
...
@@ -68,7 +68,7 @@ type PartialObjectMetadataList struct {
...
@@ -68,7 +68,7 @@ type PartialObjectMetadataList struct {
v1
.
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`
v1
.
ListMeta
`json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`
// items contains each of the included items.
// items contains each of the included items.
Items
[]
*
v1
.
PartialObjectMetadata
`json:"items" protobuf:"bytes,1,rep,name=items"`
Items
[]
v1
.
PartialObjectMetadata
`json:"items" protobuf:"bytes,1,rep,name=items"`
}
}
const
(
const
(
...
...
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/zz_generated.deepcopy.go
View file @
91ba27e9
...
@@ -32,13 +32,9 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
...
@@ -32,13 +32,9 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
if
in
.
Items
!=
nil
{
if
in
.
Items
!=
nil
{
in
,
out
:=
&
in
.
Items
,
&
out
.
Items
in
,
out
:=
&
in
.
Items
,
&
out
.
Items
*
out
=
make
([]
*
v1
.
PartialObjectMetadata
,
len
(
*
in
))
*
out
=
make
([]
v1
.
PartialObjectMetadata
,
len
(
*
in
))
for
i
:=
range
*
in
{
for
i
:=
range
*
in
{
if
(
*
in
)[
i
]
!=
nil
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
in
,
out
:=
&
(
*
in
)[
i
],
&
(
*
out
)[
i
]
*
out
=
new
(
v1
.
PartialObjectMetadata
)
(
*
in
)
.
DeepCopyInto
(
*
out
)
}
}
}
}
}
return
return
...
...
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
View file @
91ba27e9
...
@@ -2378,7 +2378,7 @@ func TestGetPartialObjectMetadata(t *testing.T) {
...
@@ -2378,7 +2378,7 @@ func TestGetPartialObjectMetadata(t *testing.T) {
ResourceVersion
:
"10"
,
ResourceVersion
:
"10"
,
SelfLink
:
"/test/link"
,
SelfLink
:
"/test/link"
,
},
},
Items
:
[]
*
metav1beta1
.
PartialObjectMetadata
{
Items
:
[]
metav1beta1
.
PartialObjectMetadata
{
{
{
TypeMeta
:
metav1
.
TypeMeta
{
APIVersion
:
"meta.k8s.io/v1beta1"
,
Kind
:
"PartialObjectMetadata"
},
TypeMeta
:
metav1
.
TypeMeta
{
APIVersion
:
"meta.k8s.io/v1beta1"
,
Kind
:
"PartialObjectMetadata"
},
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"foo1"
,
Namespace
:
"ns1"
,
CreationTimestamp
:
now
,
UID
:
types
.
UID
(
"newer"
)},
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"foo1"
,
Namespace
:
"ns1"
,
CreationTimestamp
:
now
,
UID
:
types
.
UID
(
"newer"
)},
...
...
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go
View file @
91ba27e9
...
@@ -220,7 +220,7 @@ func asPartialObjectMetadataList(result runtime.Object, groupVersion schema.Grou
...
@@ -220,7 +220,7 @@ func asPartialObjectMetadataList(result runtime.Object, groupVersion schema.Grou
}
}
partial
:=
meta
.
AsPartialObjectMetadata
(
m
)
partial
:=
meta
.
AsPartialObjectMetadata
(
m
)
partial
.
GetObjectKind
()
.
SetGroupVersionKind
(
gvk
)
partial
.
GetObjectKind
()
.
SetGroupVersionKind
(
gvk
)
list
.
Items
=
append
(
list
.
Items
,
partial
)
list
.
Items
=
append
(
list
.
Items
,
*
partial
)
return
nil
return
nil
})
})
if
err
!=
nil
{
if
err
!=
nil
{
...
@@ -240,7 +240,7 @@ func asPartialObjectMetadataList(result runtime.Object, groupVersion schema.Grou
...
@@ -240,7 +240,7 @@ func asPartialObjectMetadataList(result runtime.Object, groupVersion schema.Grou
}
}
partial
:=
meta
.
AsPartialObjectMetadata
(
m
)
partial
:=
meta
.
AsPartialObjectMetadata
(
m
)
partial
.
GetObjectKind
()
.
SetGroupVersionKind
(
gvk
)
partial
.
GetObjectKind
()
.
SetGroupVersionKind
(
gvk
)
list
.
Items
=
append
(
list
.
Items
,
partial
)
list
.
Items
=
append
(
list
.
Items
,
*
partial
)
return
nil
return
nil
})
})
if
err
!=
nil
{
if
err
!=
nil
{
...
...
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