daemon

package
v0.0.0-...-2812ca0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

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() plugins.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) 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) RunCriService

func (d *Daemon) RunCriService(stopCh chan error)

RunCriService start cri service if pouchd is specified with --enable-cri.

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