util

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 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")
	ErrMissingStartSelector     = errors.New("missing start selector")
	ErrInvalidStartSelector     = errors.New("invalid start selector")
	ErrUnsupportedStartSelector = errors.New("unsupported start 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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