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

Function WithTaskClient

client/services.go:108–112  ·  view source on GitHub ↗

WithTaskClient sets the task service to use from a tasks client.

(taskService tasks.TasksClient)

Source from the content-addressed store, hash-verified

106
107// WithTaskClient sets the task service to use from a tasks client.
108func WithTaskClient(taskService tasks.TasksClient) ServicesOpt {
109 return func(s *services) {
110 s.taskService = taskService
111 }
112}
113
114// WithDiffClient sets the diff service to use from a diff client.
115func WithDiffClient(diffService diff.DiffClient) ServicesOpt {

Callers 2

WithInMemoryServicesFunction · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…