sync

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

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 instace 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"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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