MCPcopy Index your code
hub / github.com/containerd/containerd / platformAgnosticDefaultConfig

Function platformAgnosticDefaultConfig

cmd/containerd/command/config.go:126–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func platformAgnosticDefaultConfig() *srvconfig.Config {
127 return &srvconfig.Config{
128 Version: version.ConfigVersion,
129 Root: defaults.DefaultRootDir,
130 State: defaults.DefaultStateDir,
131 DisabledPlugins: []string{},
132 RequiredPlugins: []string{},
133 StreamProcessors: streamProcessors(),
134 Imports: []string{defaults.DefaultConfigIncludePattern},
135 Plugins: map[string]any{
136 "io.containerd.server.v1.grpc": map[string]any{
137 "address": defaults.DefaultAddress,
138 "max_recv_message_size": defaults.DefaultMaxRecvMsgSize,
139 "max_send_message_size": defaults.DefaultMaxSendMsgSize,
140 },
141 },
142 }
143}
144
145func streamProcessors() map[string]srvconfig.StreamProcessor {
146 const (

Callers 1

defaultConfigFunction · 0.85

Calls 1

streamProcessorsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…