tag

package
v0.0.0-...-45a9bcf Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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