Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Start(stop <-chan struct{}) error WaitForCacheSync(stop <-chan struct{}) bool }
Cache is the interface used by Manager to start and wait for caches to sync.
type Controller ¶
Controller is the interface used by Manager to start the controllers and get their caches (beforehand).
type ControllerSet ¶
type ControllerSet map[Controller]struct{}
ControllerSet is a set of Controllers.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages controllers. It starts their caches, waits for those to sync, then starts the controllers.
func (*Manager) AddController ¶
func (m *Manager) AddController(c Controller)
AddController adds a controller to the Manager.
Click to show internal directories.
Click to hide internal directories.