Documentation
¶
Overview ¶
Package contributors reports the git contributors for a repository and the associated entity under test to the Contributors ingest API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct {
// contains filtered or unexported fields
}
Emitter synchronously collects and reports contributors for a given repository.
func New ¶
func New(httpClient *http.Client, config configuration.Configuration, logger *zerolog.Logger) (*Emitter, error)
New returns an Emitter that reports contributors of a repository, sending requests over httpClient to the API configured in config.
type Item ¶
type Item struct {
EntityType contributors_ingest.EntityType
EntityID string
}
Item identifies the entity that contributors are attributed to.
Click to show internal directories.
Click to hide internal directories.