Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Start()
Process(ctx context.Context, notification Notification) error
}
type Notification ¶
type SynchronousHandler ¶
type SynchronousHandler struct {
// contains filtered or unexported fields
}
func NewSynchronousHandler ¶
func NewSynchronousHandler(deviceRepository edgedevice.Repository, recorder record.EventRecorder) *SynchronousHandler
func (*SynchronousHandler) Process ¶
func (h *SynchronousHandler) Process(ctx context.Context, notification Notification) error
func (*SynchronousHandler) Start ¶
func (h *SynchronousHandler) Start()
Click to show internal directories.
Click to hide internal directories.