controller

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

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package controller provides types and functions for building Controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Watch(src csource.Source, evthdler chandler.EventHandler, prct ...cpredicate.Predicate) error
	Start(ctx context.Context) error
}

Controller represents a controller.

func New

func New(name string, options Options) (Controller, error)

New returns a new Controller.

type Options

type Options struct {
	Concurrency int
	Reconciler  creconciler.Reconciler
}

Options are the arguments for creating a new Controller.

Jump to

Keyboard shortcuts

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