apiserver/pkg/registry
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
..
generic Default ObjectNameFunc for all REST Stores 2017-04-24 20:36:05 +00:00
rest autogenerated 2017-04-15 20:35:23 +00:00
BUILD autogenerated 2017-04-15 20:35:23 +00:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00