k3s/pkg/api/meta
Clayton Coleman a7c9a12286 Add name generation and normalize common create flows
Adds `ObjectMeta.GenerateName`, an optional string field that defines
name generation behavior if a Name is not provided.

Adds `pkg/api/rest`, which defines the default Kubernetes API pattern
for creation (and will cover update as well). Will allow registries
and REST objects to be merged by moving logic on api out of those places.

Add `pkg/api/rest/resttest`, which will be the test suite that verifies
a RESTStorage object follows the Kubernetes API conventions and begin
reducing our duplicated tests.
2015-02-02 14:44:53 -05:00
..
doc.go Move typemeta.go to api/meta/meta.go 2014-10-22 22:28:06 -04:00
interfaces.go Code review comments 2015-02-02 11:01:08 -05:00
meta.go Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00
meta_test.go Add TypeAccessor to api/meta for objects without Object/ListMeta 2015-01-20 17:37:24 -05:00
restmapper.go Fix logic issue in register resource handlers not doing list across all namespaces in v1beta3 2015-02-02 10:26:19 -05:00
restmapper_test.go Plumb restmapper properly through apiserver and tests 2015-02-02 10:26:19 -05:00