tag

package
v0.9.1-0...-c5069b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

func NewLocalProvider(t []string) Provider

NewLocalProvider returns a new local Provider.

func NewProvider

func NewProvider(entityID types.EntityID, tagAdder EntityTagAdder) Provider

NewProvider returns a new Provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL