Documentation
¶
Index ¶
- Constants
- func New(cvars sdkservices.Vars) sdkservices.Integration
- func NewClientFromGitHubAppID(appID int64, vs sdktypes.Vars) (*github.Client, error)
- func NewHandler(l *zap.Logger, o *oauth.OAuth, v sdkservices.Vars) handler
- func Start(l *zap.Logger, muxes *muxes.Muxes, v sdkservices.Vars, o *oauth.OAuth, ...)
Constants ¶
View Source
const IntegrationName = "github"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cvars sdkservices.Vars) sdkservices.Integration
func NewClientFromGitHubAppID ¶ added in v0.13.2
NewClientFromGitHubAppID generates a GitHub app JWT based on its ID. The private key determines whether this is a user-defined GitHub App and is used to sign the JWT. If the private key is not provided, the environment variable is used.
func NewHandler ¶
func Start ¶
func Start(l *zap.Logger, muxes *muxes.Muxes, v sdkservices.Vars, o *oauth.OAuth, d sdkservices.DispatchFunc)
Start initializes all the HTTP handlers of the GitHub integration. This includes connection UIs, initialization webhooks, and event webhooks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.