Documentation ¶
Index ¶
- func DeliverLegacyRepoCreate(ctx context.Context, repo *model.Repository)
- func DeliverLegacyRepoDeleted(ctx context.Context, repo *model.Repository)
- func DeliverLegacyRepoUpdate(ctx context.Context, repo *model.Repository)
- func DeliverRepoEvent(ctx context.Context, event model.WebhookEvent, repository *model.Repository)
- type RepoWebhookPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeliverLegacyRepoCreate ¶
func DeliverLegacyRepoCreate(ctx context.Context, repo *model.Repository)
func DeliverLegacyRepoDeleted ¶
func DeliverLegacyRepoDeleted(ctx context.Context, repo *model.Repository)
func DeliverLegacyRepoUpdate ¶
func DeliverLegacyRepoUpdate(ctx context.Context, repo *model.Repository)
func DeliverRepoEvent ¶
func DeliverRepoEvent(ctx context.Context, event model.WebhookEvent, repository *model.Repository)
Types ¶
type RepoWebhookPayload ¶
type RepoWebhookPayload struct { ID int `json:"id"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Name string `json:"name"` Description *string `json:"description"` Visibility string `json:"visibility"` Owner struct { CanonicalName string `json:"canonical_name"` Name string `json:"name"` } `json:"owner"` }
Click to show internal directories.
Click to hide internal directories.