events

package
v0.0.0-...-2be2167 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventHealthStatus = "HealthStatus"
)

Define the event types

View Source
const (
	// EventTypeKey is a reserved composite key for event name.
	EventNodeTypeKey = "node.event"
)

Define the event type keys

Variables

View Source
var (
	EventQueryHealthStatus = QueryForEvent(EventHealthStatus)
)

Define queries

Functions

func QueryForEvent

func QueryForEvent(eventType string) tmpubsub.Query

QueryForEvent returns a query for the given event.

Types

type EventDataHealthStatus

type EventDataHealthStatus struct {
	// Healthy is true if the base layers are healthy
	Healthy bool
	// Error is the error that was encountered in case of a health check failure
	Error error
}

EventDataHealthStatus defines the structure of the event data for the EventHealthStatus

Jump to

Keyboard shortcuts

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