meshctl generate graphql grpc :: Gloo Mesh Enterprise Docs
Table of Contents
meshctl generate graphql grpc
Generate Gloo Mesh gRPC GraphQL resources
Synopsis
Converts a gRPC protobuf schema to GraphQL resources. The options provided can be used to either connect to a gRPC server and issue a reflection request, or to provide a base64-encoded compiled protobuf file descriptor set. The output is a YAML representation of the GraphQL resources.
meshctl generate graphql grpc [flags]
Options
-d, --grpc-destination-ref string destination ref for the gRPC service. This should be in the format <service-name>.<namespace>.<cluster-name>:<port-number-or-name> (default "grpc-service.default.cluster-1")
--grpc-server-address string address of the gRPC server that discovery should try and issue a gRPC reflection request to.
-h, --help help for grpc
--proto-base64 string base64-encoded compiled protobuf file descriptor set.
-f, --use-fully-qualified-type-names use fully qualified type names in the GraphQL schema, e.g. io.solo.MyType will become io_solo_MyType.
Options inherited from parent commands
--kubeconfig string Path to the kubeconfig file for the cluster
--kubecontext string Name of the Kubernetes context for the management cluster
-n, --namespace string Namespace where Gloo Mesh should be installed (default "gloo-mesh")
--plain Add this flag to disable styling for terminal output
-v, --verbose Enable verbose logging
SEE ALSO
Read more here: Source link
