MCPcopy
hub / github.com/containerd/containerd / ExecProcess

Interface ExecProcess

core/runtime/task.go:55–60  ·  view source on GitHub ↗

ExecProcess is a process spawned in container via Task.Exec call. The only difference from a regular `Process` is that exec process can delete self, while task process requires slightly more complex logic and needs to be deleted through the task manager.

Source from the content-addressed store, hash-verified

53// The only difference from a regular `Process` is that exec process can delete self,
54// while task process requires slightly more complex logic and needs to be deleted through the task manager.
55type ExecProcess interface {
56 Process
57
58 // Delete deletes the process
59 Delete(ctx context.Context) (*Exit, error)
60}
61
62// Task is the runtime object for an executing container
63type Task interface {

Callers

nothing calls this directly

Implementers 15

processclient/process.go
remoteImagesclient/image_store.go
taskclient/task.go
containerclient/container.go
remoteNamespacesclient/namespaces.go
remoteContainersclient/containerstore.go
directIOintegration/client/container_test.go
fakeTaskServiceintegration/client/client_unix_test.go
remoteSandboxStorecore/sandbox/proxy/store.go
proxyManagercore/leases/proxy/manager.go
leaseManagercore/metadata/leases.go
sandboxStorecore/metadata/sandbox.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…