mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
remove default value comment for pod exec and update openapi spec
This commit is contained in:
parent
3aafe75698
commit
1e02fc056a
4
api/openapi-spec/swagger.json
generated
4
api/openapi-spec/swagger.json
generated
@ -21863,7 +21863,7 @@
|
|||||||
"uniqueItems": true
|
"uniqueItems": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Redirect the standard error stream of the pod for this call. Defaults to true.",
|
"description": "Redirect the standard error stream of the pod for this call.",
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -21877,7 +21877,7 @@
|
|||||||
"uniqueItems": true
|
"uniqueItems": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Redirect the standard output stream of the pod for this call. Defaults to true.",
|
"description": "Redirect the standard output stream of the pod for this call.",
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -3172,12 +3172,10 @@ message PodExecOptions {
|
|||||||
optional bool stdin = 1;
|
optional bool stdin = 1;
|
||||||
|
|
||||||
// Redirect the standard output stream of the pod for this call.
|
// Redirect the standard output stream of the pod for this call.
|
||||||
// Defaults to true.
|
|
||||||
// +optional
|
// +optional
|
||||||
optional bool stdout = 2;
|
optional bool stdout = 2;
|
||||||
|
|
||||||
// Redirect the standard error stream of the pod for this call.
|
// Redirect the standard error stream of the pod for this call.
|
||||||
// Defaults to true.
|
|
||||||
// +optional
|
// +optional
|
||||||
optional bool stderr = 3;
|
optional bool stderr = 3;
|
||||||
|
|
||||||
|
@ -5294,12 +5294,10 @@ type PodExecOptions struct {
|
|||||||
Stdin bool `json:"stdin,omitempty" protobuf:"varint,1,opt,name=stdin"`
|
Stdin bool `json:"stdin,omitempty" protobuf:"varint,1,opt,name=stdin"`
|
||||||
|
|
||||||
// Redirect the standard output stream of the pod for this call.
|
// Redirect the standard output stream of the pod for this call.
|
||||||
// Defaults to true.
|
|
||||||
// +optional
|
// +optional
|
||||||
Stdout bool `json:"stdout,omitempty" protobuf:"varint,2,opt,name=stdout"`
|
Stdout bool `json:"stdout,omitempty" protobuf:"varint,2,opt,name=stdout"`
|
||||||
|
|
||||||
// Redirect the standard error stream of the pod for this call.
|
// Redirect the standard error stream of the pod for this call.
|
||||||
// Defaults to true.
|
|
||||||
// +optional
|
// +optional
|
||||||
Stderr bool `json:"stderr,omitempty" protobuf:"varint,3,opt,name=stderr"`
|
Stderr bool `json:"stderr,omitempty" protobuf:"varint,3,opt,name=stderr"`
|
||||||
|
|
||||||
|
@ -1511,8 +1511,8 @@ func (PodDNSConfigOption) SwaggerDoc() map[string]string {
|
|||||||
var map_PodExecOptions = map[string]string{
|
var map_PodExecOptions = map[string]string{
|
||||||
"": "PodExecOptions is the query options to a Pod's remote exec call.",
|
"": "PodExecOptions is the query options to a Pod's remote exec call.",
|
||||||
"stdin": "Redirect the standard input stream of the pod for this call. Defaults to false.",
|
"stdin": "Redirect the standard input stream of the pod for this call. Defaults to false.",
|
||||||
"stdout": "Redirect the standard output stream of the pod for this call. Defaults to true.",
|
"stdout": "Redirect the standard output stream of the pod for this call.",
|
||||||
"stderr": "Redirect the standard error stream of the pod for this call. Defaults to true.",
|
"stderr": "Redirect the standard error stream of the pod for this call.",
|
||||||
"tty": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
|
"tty": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
|
||||||
"container": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
|
"container": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
|
||||||
"command": "Command is the remote command to execute. argv array. Not executed within a shell.",
|
"command": "Command is the remote command to execute. argv array. Not executed within a shell.",
|
||||||
|
Loading…
Reference in New Issue
Block a user