Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultOwnersFile = "OWNERS" DefaultOwnersAliasesFile = "OWNERS_ALIASES" )
Variables ¶
View Source
var FakeFilenames = Filenames{ Owners: DefaultOwnersFile, OwnersAliases: DefaultOwnersAliasesFile, }
FakeFilenames fills in for tests that need a Filenames but aren't testing them. While this *is* the default Filenames, production code should not use this var and instead expect to get the default set of filenames when using a resolver.
Functions ¶
This section is empty.
Types ¶
type Filenames ¶
type Filenames struct { Owners string `json:"owners,omitempty"` OwnersAliases string `json:"owners_aliases,omitempty"` }
Filenames configures which file names should be used for the OWNERS and OWNERS_ALIASES concepts for a repo, if it's not the default set.
func FakeResolver ¶
FakeResolver fills in for tests that use a resolver but aren't testing it. This should not be used in production code.
Click to show internal directories.
Click to hide internal directories.