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

@@ -35,6 +35,10 @@ func init() {
obj.LabelSelector = labels.Everything()
obj.FieldSelector = fields.Everything()
},
func(obj *PodExecOptions) {
obj.Stderr = true
obj.Stdout = true
},
)
Scheme.AddConversionFuncs(
func(in *util.Time, out *util.Time, s conversion.Scope) error {