processtags

package
v2.2.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(tags map[string]string)

Add merges the given tags into the global processTags map.

func Reload

func Reload()

Reload initializes the configuration and process tags collection. This is useful for tests.

Types

type ProcessTags

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

func GlobalTags

func GlobalTags() *ProcessTags

GlobalTags returns the global process tags.

func (*ProcessTags) Slice

func (p *ProcessTags) Slice() []string

Slice returns the string slice representation of the process tags.

func (*ProcessTags) String

func (p *ProcessTags) String() string

String returns the string representation of the process tags.

Jump to

Keyboard shortcuts

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