package store

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

Index

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

util.go

Directories

PathSynopsis
pkg/cri/store/container
pkg/cri/store/image
pkg/cri/store/label
pkg/cri/store/sandbox
pkg/cri/store/snapshot
pkg/cri/store/stats
Version
v1.7.8
Published
Oct 26, 2023
Platform
linux/amd64
Imports
1 packages
Last checked
1 minute ago

Tools for package owners.