• 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
..
metrics Loading commit data...
testing Loading commit data...
api_installer.go Loading commit data...
api_installer_test.go Loading commit data...
apiserver.go Loading commit data...
apiserver_test.go Loading commit data...
authn.go Loading commit data...
authz.go Loading commit data...
authz_test.go Loading commit data...
doc.go Loading commit data...
errors.go Loading commit data...
errors_test.go Loading commit data...
handlers.go Loading commit data...
handlers_test.go Loading commit data...
index.go Loading commit data...
mux_helper.go Loading commit data...
proxy.go Loading commit data...
proxy_test.go Loading commit data...
resthandler.go Loading commit data...
resthandler_test.go Loading commit data...
validator.go Loading commit data...
validator_test.go Loading commit data...
watch.go Loading commit data...
watch_test.go Loading commit data...