types

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Id

type Id string

func (Id) PathSafe

func (i Id) PathSafe() string

func (Id) String

func (i Id) String() string

type Keyword

type Keyword string

type Label

type Label struct {
	Key   string `json:"key" cbor:"key"`
	Value string `json:"value" cbor:"value"`
}

type Labels

type Labels []Label

func LabelSet

func LabelSet(vals ...string) Labels

func (Labels) Equal

func (l Labels) Equal(o Labels) bool

func (Labels) Get

func (l Labels) Get(key string) (string, bool)

func (Labels) SubsetOf added in v0.4.0

func (l Labels) SubsetOf(o Labels) bool

SubsetOf reports whether every label in l exists in o.

Jump to

Keyboard shortcuts

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