gRPC in the real world: The Kubernetes Container Runtime Interface

The common dictionary .proto file

Figure 1: An example that shows the CLI tools calling the SimpleService bidirectional procedure Blabber().

Listing 1: The initialization and startup code for the SimpleService API

Listing 1: The initialization and startup code for the SimpleService API

Listing 3: A request/response calls the SimpleService gRPC API

Listing 3: A request/response calls the SimpleService gRPC API

Listing 4: Streaming limited data back to a client using a terminating stream.

Listing 4: Streaming data back to a calling client with a limited number of items using a terminating stream

Listing 5: Streaming data back to a calling client using a continuously connected stream

Listing 5: Streaming data back to a calling client using a continuously connected stream

Figure 2: BloomRPC is a useful third-party client for interacting with any gRPC server

Figure 2: BloomRPC is a useful third-party client for interacting with any gRPC server

Listing 7: An excerpt of the code for the custom gRPC client, sscli

Listing 7: An excerpt of the code for the custom gRPC client, sscli

Listing 8: The code for invoking a continuous gRPC stream from client to server

Listing 8: The code for invoking a continuous gRPC stream from client to server

+

Esta página está disponible en español

Ver en español