tags

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TagKey = "tag"

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultTagSeparator

type DefaultTagSeparator struct{}

func (DefaultTagSeparator) Parse

func (d DefaultTagSeparator) Parse(tagString string) (string, string)

type DefinedTagSeparator

type DefinedTagSeparator struct {
	// contains filtered or unexported fields
}

func (DefinedTagSeparator) Parse

func (d DefinedTagSeparator) Parse(tagString string) (string, string)

type Parser

type Parser interface {
	LoadManifest(path string) (*manifest.Manifest, error)
}

type TagImportService

type TagImportService struct {
	// contains filtered or unexported fields
}

func NewTagImportService

func NewTagImportService(manifestParser Parser, logger hclog.Logger, separator TagSeparator) *TagImportService

func (*TagImportService) SyncTags

func (t *TagImportService) SyncTags(_ context.Context, tagsHandler wrappers.TagHandler, config *tag.TagSyncConfig) ([]string, error)

type TagSeparator

type TagSeparator interface {
	Parse(tag string) (string, string)
}

func NewTagSeparator

func NewTagSeparator(cfg *tag.TagSyncConfig) TagSeparator

Jump to

Keyboard shortcuts

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