MCPcopy
hub / github.com/harness/harness / Reader

Interface Reader

events/reader.go:142–144  ·  view source on GitHub ↗

Reader specifies the minimum functionality a reader should expose. NOTE: we don't want to enforce any event registration methods here, allowing full control for customized readers.

Source from the content-addressed store, hash-verified

140// Reader specifies the minimum functionality a reader should expose.
141// NOTE: we don't want to enforce any event registration methods here, allowing full control for customized readers.
142type Reader interface {
143 Configure(opts ...ReaderOption)
144}
145
146type HandlerFunc[T interface{}] func(context.Context, *Event[T]) error
147

Callers 8

NewServiceFunction · 0.65
NewServiceFunction · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65
NewServiceFunction · 0.65
NewServiceFunction · 0.65
NewFunction · 0.65
NewConsumerFunction · 0.65

Implementers 15

Readerregistry/app/events/asyncprocessing/re
Readerregistry/app/events/artifact/reader.go
Readerapp/events/gitspaceinfra/reader.go
Readerapp/events/pullreq/reader.go
Readerapp/events/gitspacedelete/reader.go
Readerapp/events/gitspaceoperations/reader.g
Readerapp/events/user/reader.go
Readerapp/events/git/reader.go
Readerapp/events/rule/reader.go
Readerapp/events/repo/reader.go
Readerapp/events/pipeline/reader.go
Readerapp/events/check/reader.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…