Help us shape the future of Go! Take the 2026 Go Developer Survey

loops

package
v1.18.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventClient

type EventClient interface {
	// contains filtered or unexported methods
}

EventClient is the marker interface for events handled by the client loop.

type EventStream

type EventStream interface {
	// contains filtered or unexported methods
}

EventStream is the marker interface for events handled by the stream loop.

type ResourceUpdate

type ResourceUpdate[T meta.Resource] struct {
	Resource  T
	EventType operatorv1pb.ResourceEventType
	// contains filtered or unexported fields
}

ResourceUpdate is an event for a component update from the informer.

type Shutdown

type Shutdown struct {
	Error error
	// contains filtered or unexported fields
}

Shutdown signals graceful shutdown.

type StreamSend

type StreamSend struct {
	Resource  []byte
	EventType operatorv1pb.ResourceEventType
	// contains filtered or unexported fields
}

StreamSend is an event to send a message over the gRPC stream.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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