Package interop contains functions used by interop client/server.
ClientNewPayload returns a payload of the given type and size.
DoCancelAfterBegin cancels the RPC after metadata has been sent but before payloads are sent.
DoCancelAfterFirstResponse cancels the RPC after receiving the first message from the server.
DoClientStreaming performs a client streaming RPC.
func DoComputeEngineChannelCredentials(tc testgrpc.TestServiceClient, defaultServiceAccount string)
DoComputeEngineChannelCredentials performs an unary RPC with compute engine channel credentials
DoComputeEngineCreds performs a unary RPC with compute engine auth.
DoCustomMetadata checks that metadata is echoed back to the client.
DoEmptyStream sets up a bi-directional streaming with zero message.
DoEmptyUnaryCall performs a unary RPC with empty request and response messages.
DoGoogleDefaultCredentials performs an unary RPC with google default credentials
DoJWTTokenCreds performs a unary RPC with JWT token auth.
DoLargeUnaryCall performs a unary RPC with large payload in the request and response.
DoOauth2TokenCreds performs a unary RPC with OAUTH2 token auth.
DoPerRPCCreds performs a unary RPC with per RPC OAUTH2 token.
DoPickFirstUnary runs multiple RPCs (rpcCount) and checks that all requests are sent to the same backend.
DoPingPong performs ping-pong style bi-directional streaming RPC.
DoServerStreaming performs a server streaming RPC.
func DoServiceAccountCreds(tc testgrpc.TestServiceClient, serviceAccountKeyFile, oauthScope string)
DoServiceAccountCreds performs a unary RPC with service account auth.
DoSpecialStatusMessage verifies Unicode and whitespace is correctly processed in status message.
DoStatusCodeAndMessage checks that the status code is propagated back to the client.
DoTimeoutOnSleepingServer performs an RPC on a sleep server which causes RPC timeout.
DoUnimplementedMethod attempts to call an unimplemented method.
DoUnimplementedService attempts to call a method from an unimplemented service.
GetToken obtains an OAUTH token from the input.
NewTestServer creates a test server for test service.
|client||Binary client is an interop client.|
|fake_grpclb||This file is for testing only.|
|grpclb_fallback||Binary grpclb_fallback is an interop test client for grpclb fallback.|
|http2||Binary http2 is used to test http2 error edge cases like GOAWAYs and RST_STREAMs|
|server||Binary server is an interop server.|