id

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameWithSha256

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

func NewNameWithSha256

func NewNameWithSha256() *NameWithSha256

func (*NameWithSha256) ID

func (h *NameWithSha256) ID() []byte

func (*NameWithSha256) Name

func (h *NameWithSha256) Name() []byte

func (*NameWithSha256) Update

func (h *NameWithSha256) Update(labels []labels.Bytes)

type Noop

type Noop struct {
}

func NewNoop

func NewNoop() *Noop

func (*Noop) ID

func (h *Noop) ID() []byte

func (*Noop) Name

func (h *Noop) Name() []byte

func (*Noop) Update

func (h *Noop) Update(labels []labels.Bytes)

type Provider

type Provider interface {
	Update(labels []labels.Bytes)
	ID() []byte
	Name() []byte
}

Jump to

Keyboard shortcuts

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