Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddController ¶
func AddController(mgr manager.Manager, rc RestartChannel) error
AddController adds the Sync controller to the manager.
Types ¶
type RestartChannel ¶
type RestartChannel chan event.GenericEvent
RestartChannel implements RestartSignal using a Channel.
func (RestartChannel) Restart ¶
func (r RestartChannel) Restart(source string)
Restart implements RestartSignal
type RestartSignal ¶
type RestartSignal interface {
Restart(string)
}
RestartSignal is a handle that causes the Sync controller to reconcile Syncs and forcefully restart the SubManager.
Click to show internal directories.
Click to hide internal directories.