Documentation ¶
Index ¶
Constants ¶
View Source
const (
MEDIATOR_NAME_KEY = "MEDIATOR-NAME" // environment variable. If not set, we're running as operator.
)
Variables ¶
This section is empty.
Functions ¶
func InitEventEnv ¶
func InitEventEnv(env *EventEnv)
Types ¶
type EventEnv ¶
type EventEnv struct { Client client.Client EventMgr *managers.EventManager ConnectionsMgr *connections.ConnectionsManager ListenerMgr listeners.ListenerManager StatusMgr *status.StatusManager StatusUpdater *status.Updater MediatorName string // Kubernetes name of this mediator worker if not "" IsOperator bool // true if this instance is an operator, not a worker Namespace string // namespace we're running under KabaneroIntegration bool // true to integrate with Kabanero }
func GetEventEnv ¶
func GetEventEnv() *EventEnv
Click to show internal directories.
Click to hide internal directories.