sharedmain

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL