Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler is an InterceptionFunc that checks that the GitHub request body matches the requested fields.
It recognises the following request headers:
X-GitHub-Event - this is provided by GitHub in its hook-mechanism Pullrequest-Action - this is configured on the trigger interceptor Pullrequest-Repo - this is the full name of the GitHub repo e.g. tektoncd/triggers.
If the request matches the configuration, the body is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.