util

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingEventSelector = errors.New("missing event selector")
	ErrInvalidEventSelector = errors.New("invalid event selector")
)

Functions

func ResolveEvent

func ResolveEvent(
	ctx context.Context,
	conn repository.Querier,
	sel *commonv1.EventSelector,
) (*eventv1.Event, error)

returns the event for the given selector if the event is not found, a connect error with code NotFound is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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