daemon

package
v0.0.0-...-ba854f2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 29 Imported by: 14 modules, 13 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

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 NewDaemon

func NewDaemon(cfg *config.Config) *Daemon

NewDaemon constructs a brand new server.

func (*Daemon) Config

func (d *Daemon) Config() *config.Config

Config gets config of daemon.

func (*Daemon) ContainerPlugin

func (d *Daemon) ContainerPlugin() hookplugins.ContainerPlugin

ContainerPlugin returns the container plugin fetched from shared file

func (*Daemon) Containerd

func (d *Daemon) Containerd() ctrd.APIClient

Containerd gets containerd client.

func (*Daemon) CtrMgr

func (d *Daemon) CtrMgr() mgr.ContainerMgr

CtrMgr gets manager of container.

func (*Daemon) EventsService

func (d *Daemon) EventsService() *events.Events

EventsService gets Events instance

func (*Daemon) ImagePlugin

func (d *Daemon) ImagePlugin() hookplugins.ImagePlugin

ImagePlugin returns the container plugin fetched from shared file

func (*Daemon) ImgMgr

func (d *Daemon) ImgMgr() mgr.ImageMgr

ImgMgr gets manager of image.

func (*Daemon) MetaStore

func (d *Daemon) MetaStore() *meta.Store

MetaStore gets store of meta.

func (*Daemon) NetMgr

func (d *Daemon) NetMgr() mgr.NetworkMgr

NetMgr gets manager of network.

func (*Daemon) Run

func (d *Daemon) Run() error

Run starts daemon.

func (*Daemon) Shutdown

func (d *Daemon) Shutdown() error

Shutdown stops daemon.

func (*Daemon) ShutdownPlugin

func (d *Daemon) ShutdownPlugin() error

ShutdownPlugin invoke pre-stop method in daemon plugin if exist

func (*Daemon) VolMgr

func (d *Daemon) VolMgr() mgr.VolumeMgr

VolMgr gets manager of volume.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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