Documentation
¶
Index ¶
Constants ¶
View Source
const ( OwnerSourceCodeowners = "codeowners" OwnerSourceCustomMap = "custom_owner_mapping" OwnerSourceService = "service_catalog" OwnerSourceBackstage = "backstage_catalog" OwnerSourceGitHub = "github_metadata" OwnerSourceRepoFallback = "repo_fallback" OwnerSourceConflict = "multi_repo_conflict" OwnerSourceMissing = "missing_owner" OwnershipStatusExplicit = "explicit" OwnershipStatusInferred = "inferred" OwnershipStatusUnresolved = "unresolved" OwnershipStateExplicit = "explicit_owner" OwnershipStateInferred = "inferred_owner" OwnershipStateConflicting = "conflicting_owner" OwnershipStateMissing = "missing_owner" )
Variables ¶
This section is empty.
Functions ¶
func FallbackOwner ¶ added in v1.0.11
func ResolveOwner ¶
ResolveOwner derives ownership from CODEOWNERS with deterministic fallback.
Types ¶
type Resolution ¶ added in v1.0.11
type Resolution struct {
Owner string
OwnerSource string
OwnershipStatus string
OwnershipState string
OwnershipConfidence float64
EvidenceBasis []string
ConflictOwners []string
}
func Resolve ¶ added in v1.0.11
func Resolve(root, repo, org, location string) Resolution
func ResolveWithMetadata ¶ added in v1.2.0
func ResolveWithMetadata(root, repo, org, location string, metadata Metadata) Resolution
Click to show internal directories.
Click to hide internal directories.