store

package
v0.0.0-...-96c5ae0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAlreadyExist is the error returned when data added in the store
	// already exists.
	//
	// This error has been DEPRECATED and will be removed in 1.5. Please switch
	// usage directly to `errdefs.ErrAlreadyExists`.
	ErrAlreadyExist = errdefs.ErrAlreadyExists
	// ErrNotExist is the error returned when data is not in the store.
	//
	// This error has been DEPRECATED and will be removed in 1.5. Please switch
	// usage directly to `errdefs.ErrNotFound`.
	ErrNotExist = errdefs.ErrNotFound
)

Functions

This section is empty.

Types

type StopCh

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

StopCh is used to propagate the stop information of a container.

func NewStopCh

func NewStopCh() *StopCh

NewStopCh creates a stop channel. The channel is open by default.

func (*StopCh) Stop

func (s *StopCh) Stop()

Stop close stopCh of the container.

func (*StopCh) Stopped

func (s *StopCh) Stopped() <-chan struct{}

Stopped return the stopCh of the container as a readonly channel.

Directories

Path Synopsis
Package truncindex provides a general 'index tree', used by Docker in order to be able to reference containers by only a few unambiguous characters of their id.
Package truncindex provides a general 'index tree', used by Docker in order to be able to reference containers by only a few unambiguous characters of their id.

Jump to

Keyboard shortcuts

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