controllers

package
v0.0.0-...-d3f7758 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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 ControllerHandlerFunc

type ControllerHandlerFunc func(ctx context.Context, id string) error

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) Handle

func (km *KindControllerManager) Handle(id string)

Jump to

Keyboard shortcuts

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