package store
import "github.com/containerd/cri/pkg/store"
Index ¶
Variables ¶
var ( // ErrAlreadyExist is the error returned when data added in the store // already exists. ErrAlreadyExist = errors.New("already exists") // ErrNotExist is the error returned when data is not in the store. ErrNotExist = errors.New("does not exist") )
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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
pkg/store/container | |
pkg/store/image | |
pkg/store/sandbox | |
pkg/store/snapshot |
- Version
- v1.11.1
- Published
- Aug 9, 2018
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 4 hours ago –
Tools for package owners.