|
|
|
@ -67,10 +67,12 @@ type PathConf struct { |
|
|
|
RunOnDemandCloseAfter StringDuration `json:"runOnDemandCloseAfter"` |
|
|
|
RunOnDemandCloseAfter StringDuration `json:"runOnDemandCloseAfter"` |
|
|
|
RunOnReady string `json:"runOnReady"` |
|
|
|
RunOnReady string `json:"runOnReady"` |
|
|
|
RunOnReadyRestart bool `json:"runOnReadyRestart"` |
|
|
|
RunOnReadyRestart bool `json:"runOnReadyRestart"` |
|
|
|
RunOnPublish string `json:"runOnPublish"` // deprecated, replaced by runOnReady
|
|
|
|
|
|
|
|
RunOnPublishRestart bool `json:"runOnPublishRestart"` // deprecated, replaced by runOnReadyRestart
|
|
|
|
|
|
|
|
RunOnRead string `json:"runOnRead"` |
|
|
|
RunOnRead string `json:"runOnRead"` |
|
|
|
RunOnReadRestart bool `json:"runOnReadRestart"` |
|
|
|
RunOnReadRestart bool `json:"runOnReadRestart"` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// deprecated, replaced by runOnReady. TODO: remove in next version
|
|
|
|
|
|
|
|
RunOnPublish string `json:"runOnPublish"` |
|
|
|
|
|
|
|
RunOnPublishRestart bool `json:"runOnPublishRestart"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (pconf *PathConf) checkAndFillMissing(conf *Conf, name string) error { |
|
|
|
func (pconf *PathConf) checkAndFillMissing(conf *Conf, name string) error { |
|
|
|
|