Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
Constructor constructs a reporter with common parameters.
type Controller ¶
type Controller interface { // Controller is the controllerbus controller interface. controller.Controller // GetReporter returns the controlled reporter. // This may wait for the reporter to be ready. GetReporter(ctx context.Context) (Reporter, error) }
Controller is a reporter controller.
type Reporter ¶
type Reporter interface { // Handler handles directives. directive.Handler // Execute executes the reporter's inner controller. // Entities should be added or removed from the store. Execute(ctx context.Context) error }
Reporter creates and handles directives, exposing entities to the graph.
Click to show internal directories.
Click to hide internal directories.