package label

import "github.com/containerd/cri/pkg/store/label"

Index

Types

type Store

type Store struct {
	sync.Mutex

	Releaser func(string)
	Reserver func(string)
	// contains filtered or unexported fields
}

func NewStore

func NewStore() *Store

func (*Store) Release

func (s *Store) Release(label string)

func (*Store) Reserve

func (s *Store) Reserve(label string) error

Source Files

label.go

Version
v1.19.0 (latest)
Published
Aug 20, 2020
Platform
linux/amd64
Imports
2 packages
Last checked
2 months ago

Tools for package owners.