tags

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 52

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchTags added in v0.3.2

type MatchTags map[string][]string // Key: tag key, value: values to OR match.

func (*MatchTags) Set added in v0.3.2

func (mtags *MatchTags) Set(value string) error

func (*MatchTags) String added in v0.3.2

func (mtags *MatchTags) String() string

type Tag

type Tag struct {
	Key   string
	Value string
}

func (*Tag) Set

func (tag *Tag) Set(value string) error

func (*Tag) String

func (tag *Tag) String() string

type Tags

type Tags map[string]string // Key: tag key, value: tag value.

func (Tags) Copy

func (tags Tags) Copy() Tags

func (Tags) Equal

func (left Tags) Equal(right Tags) bool

func (Tags) Merge

func (to Tags) Merge(from Tags)

func (*Tags) Set

func (tags *Tags) Set(value string) error

func (*Tags) String

func (tags *Tags) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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