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) RegisterReadiness() func()
- 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()
- func (s *Server) Wait()
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) RegisterReadiness ¶
func (s *Server) RegisterReadiness() func()
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
func (*Server) Wait ¶
func (s *Server) Wait()
Source Files ¶
namespace.go server.go server_linux.go
Directories ¶
Path | Synopsis |
---|---|
services/server/config |
- Version
- v1.6.24
- Published
- Sep 13, 2023
- Platform
- linux/amd64
- Imports
- 47 packages
- Last checked
- 2 minutes ago –
Tools for package owners.