Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveDeliveryID ¶
DeriveDeliveryID computes a deterministic, collision-free delivery ID based on the immutable subscription ID and trigger milestone coordinates.
Types ¶
type GitHubIssueDeliveryEvent ¶
type GitHubIssueDeliveryEvent struct {
DeliveryID string `json:"delivery_id"`
SubscriptionID string `json:"subscription_id"`
VCSProvider string `json:"vcs_provider"`
VCSInstallationID string `json:"vcs_installation_id"`
VCSRepositoryID string `json:"vcs_repository_id"`
RepositoryOwner string `json:"repository_owner"`
RepositoryName string `json:"repository_name"`
RepositoryFullName string `json:"repository_full_name"`
FeatureID string `json:"feature_id"`
FeatureName string `json:"feature_name"`
Trigger string `json:"trigger"`
CommitSHA string `json:"commit_sha"`
Occurrences []IssueOccurrence `json:"occurrences"`
WebStatusURL string `json:"webstatus_url"`
}
GitHubIssueDeliveryEvent represents the Pub/Sub job payload for delivering an issue.
func (GitHubIssueDeliveryEvent) APIVersion ¶
func (GitHubIssueDeliveryEvent) APIVersion() string
func (GitHubIssueDeliveryEvent) Kind ¶
func (GitHubIssueDeliveryEvent) Kind() string
type IssueOccurrence ¶
type IssueOccurrence struct {
FilePath string `json:"file_path"`
LineNumber int64 `json:"line_number"`
CommentSnippet string `json:"comment_snippet"`
}
IssueOccurrence represents a directive occurrence in code.