labelstore

package
v28.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 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 InMemory

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

func (*InMemory) Get

func (s *InMemory) Get(dgst digest.Digest) (map[string]string, error)

Get returns all the labels for the given digest

func (*InMemory) Set

func (s *InMemory) Set(dgst digest.Digest, labels map[string]string) error

Set sets all the labels for a given digest

func (*InMemory) Update

func (s *InMemory) Update(dgst digest.Digest, update map[string]string) (map[string]string, error)

Update replaces the given labels for a digest, a key with an empty value removes a label.

Jump to

Keyboard shortcuts

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