Created
August 31, 2020 22:17
-
-
Save coryb/85ccce500c831df508224256b3041b00 to your computer and use it in GitHub Desktop.
grpc message flow for gateway exec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
participant Client as C | |
participant Server as S | |
C -> S : NewContainerRequest | |
C -> S : InitMessage | |
S -> C : StartedMessage | |
group Process IO | |
loop | |
C -> S : FdMessage [Stdin] | |
end | |
loop | |
S -> C: FdMessage [Stdout] | |
end | |
loop | |
S -> C: FdMessage [Stderr] | |
end | |
loop | |
C -> S: ResizeMessage | |
end | |
end | |
S -> C: ExitMessage | |
group Finish Output | |
loop | |
S -> C: FdMessage [Stdout] | |
end | |
loop | |
S -> C: FdMessage [Stderr] | |
end | |
C -> S: FdMessage [Stdin EOF] | |
S -> C: FdMessage [Stdout EOF] | |
S -> C: FdMessage [Stderr EOF] | |
end | |
S -> C: DoneMessage | |
C -> S: ReleaseContainer | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment