Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + const DefaultConfigRef + var ErrHookNotEnabled = errors.New("the specified hook is not enabled") + var ErrSecretMismatch = errors.New("the provided secret does not match") + var MethodNotSupported = errors.New("unsupported HTTP method") + func CheckSecret(namespace, userSecret string, triggers []*buildapi.WebHookTrigger, ...) (*buildapi.WebHookTrigger, error) + func GenerateBuildTriggerInfo(revision *buildapi.SourceRevision, hookType string) (buildTriggerCauses []buildapi.BuildTriggerCause) + func GitRefMatches(eventRef, configRef string, buildSource *buildapi.BuildSource) bool + func NewWarning(message string) *kerrors.StatusError + type Plugin interface + Extract func(buildCfg *buildapi.BuildConfig, trigger *buildapi.WebHookTrigger, ...) (*buildapi.SourceRevision, []kapi.EnvVar, *buildapi.DockerStrategyOptions, bool, ...) + GetTriggers func(buildConfig *buildapi.BuildConfig) ([]*buildapi.WebHookTrigger, error)