Documentation
¶
Overview ¶
Package domaincontract guards resolver ownership and rejects newly introduced static Go hostnames that are not covered by the repository domain policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScanRepo ¶
ScanRepo runs the resolver-owned endpoint guard and a full repository domain inventory. CI should use ScanRepoWithOptions with a changed-from revision so historical unapproved domains are not attributed to an unrelated change.
func ScanRepoWithOptions ¶
func ScanRepoWithOptions(root string, opts ScanOptions) ([]lintapi.Violation, error)
Types ¶
type ScanOptions ¶
type ScanOptions struct {
ChangedFrom string
}
Click to show internal directories.
Click to hide internal directories.