Package io.quarkus.grpc.cli
Class GcurlBaseCommand
java.lang.Object
io.quarkus.grpc.cli.GcurlBaseCommand
- Direct Known Subclasses:
DescribeCommand,InvokeCommand,ListCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()protected voidprotected abstract voidexecute(io.grpc.reflection.v1.MutinyServerReflectionGrpc.MutinyServerReflectionStub stub) protected <X> Xprotected abstract StringThe grpc subcommand (e.g.protected static List<com.google.protobuf.Descriptors.FileDescriptor>getFileDescriptorsFromProtos(List<com.google.protobuf.ByteString> protos) protected void
-
Field Details
-
spec
picocli.CommandLine.Model.CommandSpec spec -
unmatched
-
vertx
io.vertx.core.Vertx vertx
-
-
Constructor Details
-
GcurlBaseCommand
public GcurlBaseCommand()
-
-
Method Details
-
getAction
The grpc subcommand (e.g. list, describe, invoke)- Returns:
- the subcommand
-
execute
protected abstract void execute(io.grpc.reflection.v1.MutinyServerReflectionGrpc.MutinyServerReflectionStub stub) -
log
-
err
-
getFileDescriptorsFromProtos
-
call
-
execute
-