Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Overwatch *overwatch
Overwatch is watching over every registered synchronizer. In case of error it will be logged and if RestartPolicy is set to "Always" synchronizer will be restarted.
Functions ¶
func NewSynchronizerManager ¶
func NewSynchronizerManager(client kubernetes.Interface) syncApi.SynchronizerManager
NewSynchronizerManager creates new instance of SynchronizerManager.
Types ¶
type RestartPolicy ¶
type RestartPolicy string
RestartPolicy is used by Overwatch to determine how to behave in case of synchronizer error.
const ( // In case of synchronizer error it will be restarted. AlwaysRestart RestartPolicy = "always" NeverRestart RestartPolicy = "never" RestartDelay = 2 * time.Second )
Click to show internal directories.
Click to hide internal directories.