Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericEvent ¶
type GenericEvent struct {
Installation *github.Installation `json:"installation,omitempty"`
}
GenericEvent contains just enough inforamation about webhook to handle authentication
type Server ¶
type Server struct {
Port int
WebhookSecret string
PrivateKeyFile string
AppID int
GitHubAppClient *github.Client
Queue workqueue.RateLimitingInterface
// contains filtered or unexported fields
}
Server contains the logic to process webhooks, kinda like probot
type Webhook ¶
type Webhook struct {
Event interface{}
Github *github.Client
AppID *int
AppGitHub *github.Client
Queue workqueue.RateLimitingInterface
}
Webhook contains an event payload, metadata, and clients
func (*Webhook) SyncInstallation ¶
func (w *Webhook) SyncInstallation(re *github.InstallationRepositoriesEvent) error
SyncInstallation queues up work for installations
Click to show internal directories.
Click to hide internal directories.