Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the application: it builds the GitHub, Okta, and Slack clients from the configuration, serves the webhook, admin, and scheduled endpoints, and runs the Okta sync, PR compliance, and security alert features.
|
Package app is the application: it builds the GitHub, Okta, and Slack clients from the configuration, serves the webhook, admin, and scheduled endpoints, and runs the Okta sync, PR compliance, and security alert features. |
|
Package config reads and validates the configuration from environment variables.
|
Package config reads and validates the configuration from environment variables. |
|
Package domain defines the types, interfaces, and errors shared by the rest of the application.
|
Package domain defines the types, interfaces, and errors shared by the rest of the application. |
|
Package fakes provides in-memory implementations of the domain interfaces for tests.
|
Package fakes provides in-memory implementations of the domain interfaces for tests. |
|
github
|
|
|
client
Package client is the GitHub API client.
|
Package client is the GitHub API client. |
|
webhooks
Package webhooks validates GitHub webhook signatures and parses the pull_request, team, and membership events the application handles.
|
Package webhooks validates GitHub webhook signatures and parses the pull_request, team, and membership events the application handles. |
|
Package notifiers formats and sends Slack notifications.
|
Package notifiers formats and sends Slack notifications. |
|
Package okta is the Okta API client.
|
Package okta is the Okta API client. |
|
Package service runs the application for both entry points, the HTTP server and the Lambda function.
|
Package service runs the application for both entry points, the HTTP server and the Lambda function. |
|
Package setup integrates the github-app-setup-go installer, which creates the GitHub App from a manifest and saves its credentials.
|
Package setup integrates the github-app-setup-go installer, which creates the GitHub App from a manifest and saves its credentials. |
|
Package slackapp creates and installs the Slack app from a setup page, like the GitHub App installer does for the GitHub App: the page creates the app from a manifest, runs Slack's OAuth install, and saves the credentials where the installer saves the GitHub App's.
|
Package slackapp creates and installs the Slack app from a setup page, like the GitHub App installer does for the GitHub App: the page creates the app from a manifest, runs Slack's OAuth install, and saves the credentials where the installer saves the GitHub App's. |
|
Package state keeps small records that must outlive a run, such as what each report last posted and when, in memory, in a file, or in AWS SSM Parameter Store.
|
Package state keeps small records that must outlive a run, such as what each report last posted and when, in memory, in a file, or in AWS SSM Parameter Store. |
|
Package teamsync syncs the members of Okta groups to GitHub teams.
|
Package teamsync syncs the members of Okta groups to GitHub teams. |
Click to show internal directories.
Click to hide internal directories.