package server

import "github.com/containerd/containerd/services/server"

Index

Functions

func LoadPlugins

func LoadPlugins(ctx context.Context, config *srvconfig.Config) ([]*plugin.Registration, error)

LoadPlugins loads all plugins into containerd and generates an ordered graph of all plugins.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the containerd main daemon

func New

func New(ctx context.Context, config *srvconfig.Config) (*Server, error)

New creates and initializes a new containerd server

func (*Server) ServeDebug

func (s *Server) ServeDebug(l net.Listener) error

ServeDebug provides a debug endpoint

func (*Server) ServeGRPC

func (s *Server) ServeGRPC(l net.Listener) error

ServeGRPC provides the containerd grpc APIs on the provided listener

func (*Server) ServeMetrics

func (s *Server) ServeMetrics(l net.Listener) error

ServeMetrics provides a prometheus endpoint for exposing metrics

func (*Server) Stop

func (s *Server) Stop()

Stop the containerd server canceling any open connections

Source Files

server.go server_unsupported.go

Directories

PathSynopsis
services/server/config
Version
v1.2.2
Published
Jan 8, 2019
Platform
js/wasm
Imports
30 packages
Last checked
9 minutes ago

Tools for package owners.