k3s/pkg/api/v1beta1
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
..
conversion.go Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource 2015-02-01 02:19:55 +00:00
conversion_test.go Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource 2015-02-01 02:19:55 +00:00
doc.go Unify Godoc formatting, fix various typos 2014-09-02 13:41:03 +02:00
register.go Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
types.go Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00