• Clayton Coleman's avatar
    Add name generation and normalize common create flows · a7c9a122
    Clayton Coleman authored
    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.
    a7c9a122
Name
Last commit
Last update
..
errors Loading commit data...
latest Loading commit data...
meta Loading commit data...
resource Loading commit data...
rest Loading commit data...
testapi Loading commit data...
testing Loading commit data...
v1beta1 Loading commit data...
v1beta2 Loading commit data...
v1beta3 Loading commit data...
validation Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
conversion.go Loading commit data...
doc.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
meta.go Loading commit data...
meta_test.go Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
serialization_test.go Loading commit data...
types.go Loading commit data...
unversioned.go Loading commit data...