controller

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

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ControllerList []ContollerManager

ControllerList holds the list of managers need to be started.

Functions

func Start

func Start(config Config) error

Start will start all the registered managers.

Types

type Config

type Config struct {
	DriverName string
	Namespace  string
}

Config holds the drivername and namespace name.

type ContollerManager

type ContollerManager interface {
	Add(manager.Manager, Config) error
}

ContollerManager is the interface that will wrap Add function. The New controllers which gets added, as to implement Add function to get started by the manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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