mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Fix typo
This commit is contained in:
parent
05669255d1
commit
80d7fcad86
@ -38,10 +38,10 @@ service RuntimeService {
|
||||
// ContainerStatus returns status of the container.
|
||||
rpc ContainerStatus(ContainerStatusRequest) returns (ContainerStatusResponse) {}
|
||||
|
||||
// ExecSync runs a command in a container synchronously.
|
||||
rpc ExecSync(ExecSyncRequest) returns (ExecSyncResponse) {}
|
||||
// Exec prepares a streaming endpoint to execute a command in the container.
|
||||
rpc Exec(ExecRequest) returns (ExecResponse) {}
|
||||
// ExecSync runs a command in a container synchonously.
|
||||
rpc ExecSync(ExecSyncRequest) returns (ExecSyncResponse) {}
|
||||
// Attach prepares a streaming endpoint to attach to a running container.
|
||||
rpc Attach(AttachRequest) returns (AttachResponse) {}
|
||||
// PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
|
||||
@ -601,22 +601,6 @@ message ContainerStatusResponse {
|
||||
optional ContainerStatus status = 1;
|
||||
}
|
||||
|
||||
message ExecRequest {
|
||||
// The id of the container
|
||||
optional string container_id = 1;
|
||||
// The cmd to execute
|
||||
repeated string cmd = 2;
|
||||
// Whether use tty
|
||||
optional bool tty = 3;
|
||||
// Streaming stdin
|
||||
optional bool stdin = 4;
|
||||
}
|
||||
|
||||
message ExecResponse {
|
||||
// The fully qualified URL of the exec streaming server
|
||||
optional string url = 1;
|
||||
}
|
||||
|
||||
message ExecSyncRequest {
|
||||
// The id of the container
|
||||
optional string container_id = 1;
|
||||
@ -635,6 +619,22 @@ message ExecSyncResponse {
|
||||
optional int32 exit_code = 3;
|
||||
}
|
||||
|
||||
message ExecRequest {
|
||||
// The id of the container
|
||||
optional string container_id = 1;
|
||||
// The cmd to execute
|
||||
repeated string cmd = 2;
|
||||
// Whether use tty
|
||||
optional bool tty = 3;
|
||||
// Streaming stdin
|
||||
optional bool stdin = 4;
|
||||
}
|
||||
|
||||
message ExecResponse {
|
||||
// The fully qualified URL of the exec streaming server
|
||||
optional string url = 1;
|
||||
}
|
||||
|
||||
message AttachRequest {
|
||||
// The id of the container
|
||||
optional string container_id = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user