max-concurrency hook property support

This commit is contained in:
Ivan Pesin 2017-08-26 11:04:58 -04:00
parent d1e407a447
commit e3221a2ca0
2 changed files with 24 additions and 1 deletions

View file

@ -381,6 +381,7 @@ type Hook struct {
PassEnvironmentToCommand []Argument `json:"pass-environment-to-command,omitempty"`
PassArgumentsToCommand []Argument `json:"pass-arguments-to-command,omitempty"`
JSONStringParameters []Argument `json:"parse-parameters-as-json,omitempty"`
MaxConcurrency int `json:"max-concurrency,omiempty"`
TriggerRule *Rules `json:"trigger-rule,omitempty"`
TriggerRuleMismatchHttpResponseCode int `json:"trigger-rule-mismatch-http-response-code,omitempty"`
}