Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityTagAdder ¶
type EntityTagAdder interface {
Tag(entity types.EntityID, cardinality types.TagCardinality) ([]string, error)
}
EntityTagAdder returns the associated tag for an entity and their cardinality
type Provider ¶
type Provider interface {
GetTags() []string
}
Provider returns a list of up-to-date tags for a given entity.
func NewLocalProvider ¶
NewLocalProvider returns a new local Provider.
func NewProvider ¶
func NewProvider(entityID types.EntityID, tagAdder EntityTagAdder) Provider
NewProvider returns a new Provider.
Click to show internal directories.
Click to hide internal directories.