controller

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsRegistry added in v0.7.0

func NewMetricsRegistry() *controllerRegistry

Types

type NotificationController

type NotificationController interface {
	Run(ctx context.Context, processors int)
	Init(ctx context.Context) error
}

func NewController

func NewController(
	client dynamic.Interface,
	namespace string,
	cfg settings.Config,
	appLabelSelector string,
	metricsRegistry *controllerRegistry,
) (NotificationController, error)

Jump to

Keyboard shortcuts

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