Anoma.Client.Api.ReflectionServer (Anoma v0.29.0)

Summary

Functions

Get the reflection response for the given extension, if it is exposed by a configured service

Get the reflection response for the named file, if it is exposed by a configured service

Get the reflection reponse containing the given symbol, if it is exposed by a configured service

Get the extension numbers for the given type, if it is exposed by a configured service

Get the current list of configured services

A runtime configuration option for setting the services

Functions

Link to this function

get_by_extension(containing_type)

@spec get_by_extension(binary()) ::
  {:ok, GrpcReflection.Server.descriptor_t()} | {:error, binary()}

Get the reflection response for the given extension, if it is exposed by a configured service

Link to this function

get_by_filename(filename)

@spec get_by_filename(binary()) ::
  {:ok, GrpcReflection.Server.descriptor_t()} | {:error, binary()}

Get the reflection response for the named file, if it is exposed by a configured service

Link to this function

get_by_symbol(symbol)

@spec get_by_symbol(binary()) ::
  {:ok, GrpcReflection.Server.descriptor_t()} | {:error, binary()}

Get the reflection reponse containing the given symbol, if it is exposed by a configured service

Link to this function

get_extension_numbers_by_type(mod)

@spec get_extension_numbers_by_type(binary()) ::
  {:ok, [integer()]} | {:error, binary()}

Get the extension numbers for the given type, if it is exposed by a configured service

Link to this function

list_services()

@spec list_services() :: [binary()]

Get the current list of configured services

Link to this function

put_services(services)

@spec put_services([module()]) :: :ok | {:error, binary()}

A runtime configuration option for setting the services

Link to this function

server_reflection_info(request_stream, server)

Link to this function

service_name(_)