Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainWithController ¶
func MainWithController(envCtor env.ConfigConstructor, cCtor namedControllerConstructor, aCtor namedAdapterConstructor)
MainWithController is a shared main tailored to multi-tenant receive-adapters. It performs the following initializations:
- process environment variables
- enable leader election / HA
- set the scope to a single namespace
- inject the given controller constructor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.