Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerConfig ¶
type ControllerConfig struct { Source string Handlers map[api.EventType][]ControllerHandlerFunc }
type ControllerHandlerContextKey ¶
type ControllerHandlerContextKey string
const EventID ControllerHandlerContextKey = "event"
type KindControllerManager ¶
type KindControllerManager struct {
// contains filtered or unexported fields
}
func NewKindControllerManager ¶
func NewKindControllerManager(lockFactory db.LockFactory, events services.EventService) *KindControllerManager
func (*KindControllerManager) Add ¶
func (km *KindControllerManager) Add(config *ControllerConfig)
func (*KindControllerManager) AddEvent ¶
func (km *KindControllerManager) AddEvent(id string)
func (*KindControllerManager) Run ¶
func (km *KindControllerManager) Run(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.