Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads the containerd server config from the provided path
Types ¶
type Config ¶
type Config struct { // Root is the path to a directory where containerd will store persistent data Root string `toml:"root"` // GRPC configuration settings GRPC GRPCConfig `toml:"grpc"` // Debug and profiling settings Debug Debug `toml:"debug"` // Metrics and monitoring settings Metrics MetricsConfig `toml:"metrics"` // Plugins provides plugin specific configuration for the initialization of a plugin Plugins map[string]toml.Primitive `toml:"plugins"` // Enable containerd as a subreaper Subreaper bool `toml:"subreaper"` // OOMScore adjust the containerd's oom score OOMScore int `toml:"oom_score"` // contains filtered or unexported fields }
Config provides containerd configuration data for the server
type GRPCConfig ¶
type MetricsConfig ¶
type MetricsConfig struct {
Address string `toml:"address"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the containerd main daemon
func (*Server) ServeDebug ¶
ServeDebug provides a debug endpoint
func (*Server) ServeMetrics ¶
ServeMetrics provides a prometheus endpoint for exposing metrics
Click to show internal directories.
Click to hide internal directories.