MCPcopy
hub / github.com/containerd/containerd / fakeTaskService

Struct fakeTaskService

integration/client/client_unix_test.go:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152type fakeTaskService struct {
153 sync.Mutex
154 createRequests map[string]*tasks.CreateTaskRequest
155 tasks.TasksClient
156}
157
158func (ts *fakeTaskService) Create(ctx context.Context, in *tasks.CreateTaskRequest, opts ...grpc.CallOption) (*tasks.CreateTaskResponse, error) {
159 ts.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected