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

Function init

plugins/services/tasks/local.go:90–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func init() {
91 registry.Register(&plugin.Registration{
92 Type: plugins.ServicePlugin,
93 ID: services.TasksService,
94 Requires: tasksServiceRequires,
95 Config: &Config{},
96 InitFn: initFunc,
97 })
98
99 timeout.Set(stateTimeout, 2*time.Second)
100}
101
102func initFunc(ic *plugin.InitContext) (any, error) {
103 config := ic.Config.(*Config)

Callers

nothing calls this directly

Calls 2

SetFunction · 0.92
RegisterMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…