controller

package
v3.0.4-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToManagerFuncs []func(manager.Manager) error

AddToManagerFuncs is a list of functions to add all Controllers to the Manager

View Source
var Injectors []Injector

Injectors is a list of adder structs that need injection. We can convert this to an interface once we create controllers for things like data sync

Functions

func AddToManager

func AddToManager(m manager.Manager, client *opa.Client, wm *watch.WatchManager) error

AddToManager adds all Controllers to the Manager

Types

type Injector

type Injector interface {
	InjectOpa(*opa.Client)
	InjectWatchManager(*watch.WatchManager)
	Add(mgr manager.Manager) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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