meshctl generate graphql grpc

Generate Gloo custom resources for gRPC GraphQL.

Synopsis

Convert a gRPC protobuf schema to GraphQL resources. You can either connect to a gRPC server and issue a reflection request, or 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   Kubernetes context for the cluster to run the command in.
  -n, --namespace string     Namespace to run the command in. (default "gloo-mesh")
      --plain                Disable styling for terminal output.
  -v, --verbose              Enable verbose logging.
  

SEE ALSO