events

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler holds methods to handle events.

func NewHandler

func NewHandler(repository store.Repository, stream events.Stream, logger *logrus.Logger) *Handler

func (*Handler) ServerserviceEvent

func (h *Handler) ServerserviceEvent(ctx context.Context, ev events.Message)

ServerserviceEvent handles serverservice events.

func (*Handler) UpdateCondition added in v0.0.2

func (h *Handler) UpdateCondition(ctx context.Context, updEvt *v1types.ConditionUpdateEvent) error

UpdateCondition sanity checks the incoming condition update, merges it and applies the result to serverservice

Jump to

Keyboard shortcuts

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