Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMatchingApp = errors.New("no matching GitHub App found")
ErrNoMatchingApp is returned when no GitHub App matches the repository URL
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher handles pattern matching for GitHub App configurations
func NewMatcher ¶
NewMatcher creates a new pattern matcher with the given GitHub App configurations
type RepositoryInfo ¶
type RepositoryInfo struct {
Host string
Owner string
Repository string
FullPath string // host/owner/repo
URL string // original URL
}
RepositoryInfo contains parsed repository information
func GetRepositoryInfo ¶
func GetRepositoryInfo(repoURL string) (*RepositoryInfo, error)
GetRepositoryInfo parses repository URL and returns the info (for testing/debugging)
Click to show internal directories.
Click to hide internal directories.