Documentation ¶
Index ¶
- Constants
- func NewEntityIdEnricher() entityIdEnricher
- func NewEntityNameEnricher() entityNameEnricher
- func NewHooksListEnricher() hooksListEnricher
- func NewMembersListEnricher() membersListEnricher
- func NewOrganizationIdEnricher() organizationIdEnricher
- type BasicEnrichment
- type Enricher
- type Enrichment
- type GenericListEnrichment
- type MembersListEnrichment
- type ScorecardCheck
- type ScorecardEnrichment
Constants ¶
View Source
const EntityId = "entityId"
View Source
const EntityName = "entityName"
View Source
const HooksList = "hooksList"
View Source
const MembersList = "violatedUsers"
View Source
const OrganizationId = "organizationId"
View Source
const Scorecard = "scorecard"
Variables ¶
This section is empty.
Functions ¶
func NewEntityIdEnricher ¶
func NewEntityIdEnricher() entityIdEnricher
func NewEntityNameEnricher ¶
func NewEntityNameEnricher() entityNameEnricher
func NewHooksListEnricher ¶
func NewHooksListEnricher() hooksListEnricher
func NewMembersListEnricher ¶
func NewMembersListEnricher() membersListEnricher
func NewOrganizationIdEnricher ¶
func NewOrganizationIdEnricher() organizationIdEnricher
Types ¶
type BasicEnrichment ¶
type BasicEnrichment string
func NewBasicEnrichment ¶
func NewBasicEnrichment(val string) BasicEnrichment
func NewBasicEnrichmentFromInterface ¶ added in v0.2.3
func NewBasicEnrichmentFromInterface(data interface{}) (BasicEnrichment, error)
func (BasicEnrichment) HumanReadable ¶
func (s BasicEnrichment) HumanReadable(_ string, _ string) string
type Enricher ¶
type Enricher interface { Enrich(ctx context.Context, data analyzers.AnalyzedData) (enrichment Enrichment, ok bool) Parse(data interface{}) (enrichment Enrichment, err error) }
func NewScorecardEnricher ¶
func NewScorecardEnricher() Enricher
type Enrichment ¶
type GenericListEnrichment ¶ added in v0.1.7
type GenericListEnrichment []orderedmap.OrderedMap
func NewGenericListEnrichmentFromInterface ¶ added in v0.2.3
func NewGenericListEnrichmentFromInterface(data interface{}) (GenericListEnrichment, error)
func (GenericListEnrichment) HumanReadable ¶ added in v0.1.7
func (se GenericListEnrichment) HumanReadable(prepend string, linebreak string) string
type MembersListEnrichment ¶
type MembersListEnrichment []githubcollected.OrganizationMember
func (MembersListEnrichment) HumanReadable ¶
func (se MembersListEnrichment) HumanReadable(prepend string, linebreak string) string
type ScorecardCheck ¶
type ScorecardEnrichment ¶
type ScorecardEnrichment []ScorecardCheck
func (ScorecardEnrichment) HumanReadable ¶
func (se ScorecardEnrichment) HumanReadable(prepend string, linebreak string) string
Click to show internal directories.
Click to hide internal directories.