Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OwnerList ¶
type OwnerList struct {
// contains filtered or unexported fields
}
OwnerList uses a map to get owners for a given test name.
func NewOwnerList ¶
NewOwnerList constructs an OwnerList given a mapping from test names to test owners.
func NewOwnerListFromCsv ¶
NewOwnerListFromCsv constructs an OwnerList given a CSV file that includes 'owner' and 'test name' columns.
type ReloadingOwnerList ¶
type ReloadingOwnerList struct {
// contains filtered or unexported fields
}
ReloadingOwnerList maps test names to owners, reloading the mapping when the underlying file is changed.
func NewReloadingOwnerList ¶
func NewReloadingOwnerList(path string) (*ReloadingOwnerList, error)
NewReloadingOwnerList creates a ReloadingOwnerList given a path to a CSV file containing owner mapping information.
func (*ReloadingOwnerList) TestOwner ¶
func (o *ReloadingOwnerList) TestOwner(testName string) string
TestOwner returns the owner for a test, or the empty string if none is found.
Click to show internal directories.
Click to hide internal directories.