dynamiclabels

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInterfaceDescRegex

func DefaultInterfaceDescRegex() *regexp.Regexp

Types

type Label

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

func New

func New(name string, value string) *Label

func (*Label) Name

func (il *Label) Name() string

func (*Label) Value

func (il *Label) Value() string

type Labels

type Labels []*Label

func ParseDescription

func ParseDescription(description string, ifDescReg *regexp.Regexp) Labels

func (Labels) Keys

func (ils Labels) Keys() []string

func (Labels) Values

func (ils Labels) Values() []string

Jump to

Keyboard shortcuts

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