mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user