eventenv

package
v0.0.0-...-88a3487 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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