k3s/pkg/registry/storage
Monis Khan ed35deb69d
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>
2017-04-21 15:47:25 -04:00
..
rest autogenerated 2017-04-14 10:40:57 -07:00
storageclass Default ObjectNameFunc for all REST Stores 2017-04-21 15:47:25 -04:00
OWNERS Update OWNERS approvers and reviewers: pkg/registry 2016-12-19 16:22:40 -08:00