apiserver/pkg/registry/rest
Madhav Jivrajani 13301a9bd6 resttest: Modify TestContext to have namespace in context
Previously, if a request is clusterscoped, the context that
was returned has no namespace, ideally the context should
contain a metav1.NamespaceNone as the namespace even for
cluster scoped requests.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

Kubernetes-commit: 412626f4024b1acdd856c9047f97d387ee40f884
2022-02-10 12:54:15 +05:30
..
resttest resttest: Modify TestContext to have namespace in context 2022-02-10 12:54:15 +05:30
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
create.go Object creation with generateName should return a proper error 2021-08-31 18:04:59 -07:00
create_update.go Add WarningsOnCreate,WarningsOnUpdate 2021-04-30 21:46:54 -04:00
delete.go fix delete nil pointer panic 2021-06-26 18:06:20 +08:00
delete_test.go Allow delete with grace period 1s even if metadata period is negative 2021-06-21 15:12:17 +08:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
meta.go remove request context.WithUID 2018-05-17 11:39:48 +08:00
meta_test.go remove request context.WithUID 2018-05-17 11:39:48 +08:00
rest.go allow evictions subresource to accept policy/v1 and policy/v1beta1 2021-03-31 16:54:55 -04:00
table.go Require listers to implement TableConverter 2020-03-09 10:08:13 -04:00
update.go Add WarningsOnCreate,WarningsOnUpdate 2021-04-30 21:46:54 -04:00