Package io.quarkus.grpc.test.utils
Class GRPCTestUtils
java.lang.Object
io.quarkus.grpc.test.utils.GRPCTestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.Channelchannel(io.vertx.core.Vertx vertx) static io.grpc.Channelchannel(io.vertx.core.Vertx vertx, int port) static voidclose(io.grpc.Channel channel) static voidclose(io.vertx.core.Vertx vertx) static voidclose(io.vertx.grpc.client.GrpcClient client) static InputStreamstatic Map.Entry<io.vertx.grpc.client.GrpcClient, io.grpc.Channel>
-
Constructor Details
-
GRPCTestUtils
public GRPCTestUtils()
-
-
Method Details
-
channel
public static io.grpc.Channel channel(io.vertx.core.Vertx vertx) -
channel
public static io.grpc.Channel channel(io.vertx.core.Vertx vertx, int port) -
close
public static void close(io.grpc.Channel channel) -
close
public static void close(io.vertx.core.Vertx vertx) -
close
public static void close(io.vertx.grpc.client.GrpcClient client) -
stream
-
tls
public static Map.Entry<io.vertx.grpc.client.GrpcClient,io.grpc.Channel> tls(io.vertx.core.Vertx vertx, String caPem, String clientPem, String clientKey) throws IOException - Throws:
IOException
-