apiserver/pkg
Monis Khan c4cc6eba8b Default ObjectNameFunc for all REST Stores
All Stores in Kubernetes follow the same logic for determining the name
of an object.  This change makes it so that CompleteWithOptions defaults
the ObjectNameFunc if it is not specified.  Thus a user does not need to
remember to use ObjectMeta.Name.  Using the wrong field as the name can
lead to an object which has a name that bypasses normal object name
validation.

Signed-off-by: Monis Khan <mkhan@redhat.com>

Kubernetes-commit: ed35deb69d6fe480adc9178c30b4b9c9e03ca1a9
2017-04-24 20:36:05 +00:00
..
admission autogenerated 2017-04-15 20:35:23 +00:00
apis autogenerated 2017-04-15 20:35:23 +00:00
authentication add testdata for tests in //vendor/k8s.io/... 2017-04-15 20:35:23 +00:00
authorization autogenerated 2017-04-15 20:35:23 +00:00
endpoints refactor code from restful namer 2017-04-24 20:36:05 +00:00
features autogenerated 2017-04-15 20:35:23 +00:00
registry Default ObjectNameFunc for all REST Stores 2017-04-24 20:36:05 +00:00
server componentstatus: support client cert health check 2017-04-22 20:36:06 +00:00
storage autogenerated 2017-04-15 20:35:23 +00:00
util autogenerated 2017-04-15 20:35:23 +00:00