mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-27 04:00:45 -05:00
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. |
||
|---|---|---|
| .. | ||
| resttest | ||
| create.go | ||
| create_test.go | ||
| delete.go | ||
| doc.go | ||
| rest.go | ||
| types.go | ||
| update.go | ||
| update_test.go | ||