Add PodExecOptions and PodProxyOptions versioned resources

PodExecOptions represents the URL parameters used to invoke an
exec request on a pod. PodProxyOptions contains the path parameter
passed to a proxy request.
This commit is contained in:
Cesar Wong
2015-04-14 11:03:17 -04:00
parent 49abf9133e
commit 4da14e9357
12 changed files with 155 additions and 3 deletions

View File

@@ -204,7 +204,8 @@ var _ = rest.GetterWithOptions(&LogREST{})
// New creates a new Pod log options object
func (r *LogREST) New() runtime.Object {
return &api.PodLogOptions{}
// TODO - return a resource that represents a log
return &api.Pod{}
}
// Get retrieves a runtime.Object that will stream the contents of the pod log