Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultPollInterval = 1 * time.Minute DefaultReconcileTimeout = 2 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func GetPollInterval ¶ added in v0.0.8
GetPollInterval returns the watcher poll interval from MD_POLL_INTERVAL env var. Expects a duration string like "30s", "2m", "1h". Defaults to 1 minute.
func GetReconcileTimeout ¶ added in v0.0.8
GetReconcileTimeout returns the reconcile script timeout from MD_RECONCILE_TIMEOUT env var. Expects a duration string like "30s", "5m". Defaults to 2 minutes.
Types ¶
Click to show internal directories.
Click to hide internal directories.