code: def mixin_http_gateway_parser(parser=None):
      """Add the options to rest server
  
      :param parser: the parser
      """
      gp = add_arg_group(parser, title="HTTP Gateway")
  
      _mixin_http_server_parser(gp)
  
      gp.add_argument(
          "--no-debug-endpoints",
          action="store_true",
          default=False,
          help="If set, `/status` `/post` endpoints are removed from HTTP interface. ",
      )
  
      gp.add_argument(
          "--no-crud-endpoints",
          action="store_true",
          default=False,
          help="""
          If set, `/index`, `/search`, `/update`, `/delete` endpoints are removed from HTTP interface.
  
          Any executor that has `@requests(on=...)` bound with those values will receive data requests.
          """,
      )
  
      gp.add_argument(
          "--expose-endpoints",
          type=str,
          help="""
          A JSON string that represents a map from executor endpoints (`@requests(on=...)`) to HTTP endpoints.
          """,
      )
  
file_path: jina/jina/parsers/orchestrate/runtimes/remote.py
imports: from jina.constants import __default_host__
  from jina.parsers.helper import CastHostAction, KVAppendAction, add_arg_group
  from jina.parsers.orchestrate.runtimes.grpc_channel import mixin_grpc_channel_options_parser
  from jina.parsers.orchestrate.runtimes.runtime import mixin_base_runtime_parser
label_desc: Use image node_id 8 for calling a global function with example usage: mixin_http_gateway_parser(parser) without return types