dispatcher

package
v0.0.0-...-3ab95b6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
) *controller.Impl

NewController initializes the controller and is called by the generated code. Registers event handlers to enqueue events.

Types

type DispatcherReadyChecker

type DispatcherReadyChecker struct {

	// Allows safe concurrent read/write of 'isReady'.
	sync.Mutex
	// contains filtered or unexported fields
}

DispatcherReadyChecker asserts the readiness of a dispatcher for loudvent Channels.

func (*DispatcherReadyChecker) IsReady

func (c *DispatcherReadyChecker) IsReady() (bool, error)

IsReady implements ReadinessChecker. It checks whether the dispatcher has registered a handler for all observed loudvent Channels.

type ReadinessChecker

type ReadinessChecker interface {
	IsReady() (bool, error)
}

ReadinessChecker can assert the readiness of a component.

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles LodVent Channels.

func (*Reconciler) ObserveKind

ObserveKind implements loudventchannel.ReadOnlyInterface.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, lvc *v1alpha1.LoudVentsChannel) reconciler.Event

ReconcileKind implements loudventchannel.Interface.

Jump to

Keyboard shortcuts

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