Documentation ¶
Index ¶
- type Daemon
- func (d *Daemon) Config() *config.Config
- func (d *Daemon) ContainerPlugin() hookplugins.ContainerPlugin
- func (d *Daemon) Containerd() ctrd.APIClient
- func (d *Daemon) CtrMgr() mgr.ContainerMgr
- func (d *Daemon) EventsService() *events.Events
- func (d *Daemon) ImagePlugin() hookplugins.ImagePlugin
- func (d *Daemon) ImgMgr() mgr.ImageMgr
- func (d *Daemon) MetaStore() *meta.Store
- func (d *Daemon) NetMgr() mgr.NetworkMgr
- func (d *Daemon) Run() error
- func (d *Daemon) Shutdown() error
- func (d *Daemon) ShutdownPlugin() error
- func (d *Daemon) VolMgr() mgr.VolumeMgr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon refers to a daemon.
func (*Daemon) ContainerPlugin ¶
func (d *Daemon) ContainerPlugin() hookplugins.ContainerPlugin
ContainerPlugin returns the container plugin fetched from shared file
func (*Daemon) Containerd ¶
Containerd gets containerd client.
func (*Daemon) CtrMgr ¶
func (d *Daemon) CtrMgr() mgr.ContainerMgr
CtrMgr gets manager of container.
func (*Daemon) EventsService ¶
EventsService gets Events instance
func (*Daemon) ImagePlugin ¶
func (d *Daemon) ImagePlugin() hookplugins.ImagePlugin
ImagePlugin returns the container plugin fetched from shared file
func (*Daemon) ShutdownPlugin ¶
ShutdownPlugin invoke pre-stop method in daemon plugin if exist
Click to show internal directories.
Click to hide internal directories.