• Clayton Coleman's avatar
    Connect should be passed a Responder interface · d4cdabf2
    Clayton Coleman authored
    For connect handlers that need to respond with a structured error or
    structured object, pass an interface that hides the details of writing
    an object to the response (error or runtime.Object).
    
    Example use case:
    
    Connect handler that accepts a body input stream, which it streams to a
    pod, and then returns a structured object with info about the pod it
    just created.
    d4cdabf2
Name
Last commit
Last update
..
endpoints Loading commit data...
errors Loading commit data...
install Loading commit data...
latest Loading commit data...
meta Loading commit data...
registered Loading commit data...
resource Loading commit data...
rest Loading commit data...
testapi Loading commit data...
testing Loading commit data...
unversioned Loading commit data...
util Loading commit data...
v1 Loading commit data...
validation Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
conversion.go Loading commit data...
conversion_test.go Loading commit data...
copy_test.go Loading commit data...
deep_copy_generated.go Loading commit data...
deep_copy_test.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...
mapper.go Loading commit data...
meta.go Loading commit data...
meta_test.go Loading commit data...
node_example.json Loading commit data...
pod_example.json Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
replication_controller_example.json Loading commit data...
requestcontext.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...