analyzer

package
v0.0.0-...-d4ea3c3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	// contains filtered or unexported fields
}

Analyzer performs the PR analysis

func NewAnalyzer

func NewAnalyzer(cfg *config.Config, ghClient *ghclient.Client, skipAPICalls bool, ignoreTTL bool, logger *zap.Logger) (*Analyzer, error)

NewAnalyzer creates a new analyzer

func (*Analyzer) Analyze

func (a *Analyzer) Analyze(ctx context.Context) error

Analyze performs the complete analysis

type PROwners

type PROwners struct {
	PR     *github.PullRequest
	Owners []string
}

PROwners holds the owners for a PR

type RepoResult

type RepoResult struct {
	Repo       *github.Repository
	PRs        []*github.PullRequest
	CODEOWNERS *fetcher.CODEOWNERSFile
	Err        error
}

RepoResult holds the results for a single repository

Jump to

Keyboard shortcuts

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