# Packages
Package mock_taskcluster is a generated GoMock package.
# Functions
CreateAllRuns creates run entries in wpt.fyi for a set of products coming from Taskcluster.
ExtractArtifactURLs extracts the results and screenshot URLs for a set of tasks in a TaskGroupInfo.
GetCheckSuiteEventInfo turns a github.CheckSuiteEvent into an EventInfo struct.
GetStatusEventInfo turns a StatusEventPayload into an EventInfo struct.
ParseTaskclusterURL splits a given URL into its root URL, the Taskcluster group id, and an optional specific task ID.
RegisterRoutes adds route handlers for webhooks.
ShouldProcessStatus determines whether we are interested in processing a given StatusEventPayload or not.
# Constants
AppID is the ID of the Community-TC GitHub app.
# Variables
TaskNameRegex is based on task names in https://github.com/web-platform-tests/wpt/blob/master/tools/ci/tc/tasks/test.yml.
# Structs
ArtifactURLs holds the results and screenshot URLs for a Taskcluster run.
EventInfo is an abstraction of a GitHub Status event, containing the necessary information for us to process the event in wpt.fyi.
StatusEventPayload wraps a github.StatusEvent so we can declare methods on it https://developer.github.com/v3/activity/events/types/#statusevent.
TaskGroupInfo is an abstraction of a Taskcluster task group, containing the necessary information for us to process the group in wpt.fyi.
TaskInfo is an abstraction of a Taskcluster task, containing the necessary information for us to process the task in wpt.fyi.
# Interfaces
API wraps externally provided methods so we can mock them for testing.