package server
import "github.com/containerd/containerd/services/server"
Index ¶
- func CreateTopLevelDirectories(config *srvconfig.Config) error
- func LoadPlugins(ctx context.Context, config *srvconfig.Config) ([]*plugin.Registration, error)
- type Server
- func New(ctx context.Context, config *srvconfig.Config) (*Server, error)
- func (s *Server) ServeDebug(l net.Listener) error
- func (s *Server) ServeGRPC(l net.Listener) error
- func (s *Server) ServeMetrics(l net.Listener) error
- func (s *Server) ServeTCP(l net.Listener) error
- func (s *Server) ServeTTRPC(l net.Listener) error
- func (s *Server) Stop()
Functions ¶
func CreateTopLevelDirectories ¶
CreateTopLevelDirectories creates the top-level root and state directories.
func LoadPlugins ¶
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 ¶
New creates and initializes a new containerd server
func (*Server) ServeDebug ¶
ServeDebug provides a debug endpoint
func (*Server) ServeGRPC ¶
ServeGRPC provides the containerd grpc APIs on the provided listener
func (*Server) ServeMetrics ¶
ServeMetrics provides a prometheus endpoint for exposing metrics
func (*Server) ServeTCP ¶
ServeTCP allows services to serve over tcp
func (*Server) ServeTTRPC ¶
ServeTTRPC provides the containerd ttrpc APIs on the provided listener
func (*Server) Stop ¶
func (s *Server) Stop()
Stop the containerd server canceling any open connections
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
services/server/config |
- Version
- v1.3.0
- Published
- Sep 27, 2019
- Platform
- windows/amd64
- Imports
- 35 packages
- Last checked
- now –
Tools for package owners.