Skip to content

add list option on ComponentInvoker #59

Description

@markfisher

The ComponentInvoker trait is surfaced by Runtime and optionally injected into registered Services via set_invoker. For example, the HTTP Gateway) uses that for any Component-targeting routes.

In addition to the invoke(..) function, ComponentInvoker also provides a get_component(..) function for introspecting the functions and their parameters. Adding a get_components(..) function will allow lookup from Services. This function should accept a Selector for filtering based on selection criteria (e.g. label-matching), or will return all registered Components if None is passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions