v1

package
v0.0.0-...-7dfa3a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveDeliveryID

func DeriveDeliveryID(subscriptionID, trigger string) string

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL