This change adds support for CDI devices to the ctr --device flag. If a fully-qualified CDI device name is specified, this is injected into the OCI specification before creating the container. Note that the CDI specifications and the devices that they represent are local and mirror the behaviour of linux devices in the ctr command. Signed-off-by: Evan Lezar <elezar@nvidia.com>
85 lines
3.9 KiB
Modula-2
85 lines
3.9 KiB
Modula-2
module github.com/containerd/containerd/integration/client
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // replaced; see replace rules for actual version used.
|
|
github.com/Microsoft/hcsshim v0.10.0-rc.7
|
|
github.com/Microsoft/hcsshim/test v0.0.0-20210408205431-da33ecd607e1
|
|
github.com/containerd/cgroups/v3 v3.0.1
|
|
github.com/containerd/containerd v1.7.0 // see replace; the actual version of containerd is replaced with the code at the root of this repository
|
|
github.com/containerd/continuity v0.4.0
|
|
github.com/containerd/go-runc v1.1.0
|
|
github.com/containerd/ttrpc v1.2.2
|
|
github.com/containerd/typeurl/v2 v2.1.1
|
|
github.com/opencontainers/go-digest v1.0.0
|
|
github.com/opencontainers/image-spec v1.1.0-rc3
|
|
github.com/opencontainers/runtime-spec v1.1.0-rc.2
|
|
github.com/stretchr/testify v1.8.2
|
|
go.opentelemetry.io/otel v1.14.0
|
|
go.opentelemetry.io/otel/sdk v1.14.0
|
|
golang.org/x/sys v0.6.0
|
|
)
|
|
|
|
require (
|
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1-0.20230228163719-dd5de6900b62 // indirect
|
|
github.com/cilium/ebpf v0.9.1 // indirect
|
|
github.com/container-orchestrated-devices/container-device-interface v0.5.4 // indirect
|
|
github.com/containerd/cgroups v1.1.0 // indirect
|
|
github.com/containerd/console v1.0.3 // indirect
|
|
github.com/containerd/fifo v1.1.0 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
github.com/go-logr/logr v1.2.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/imdario/mergo v0.3.13 // indirect
|
|
github.com/klauspost/compress v1.16.0 // indirect
|
|
github.com/moby/locker v1.0.1 // indirect
|
|
github.com/moby/sys/mountinfo v0.6.2 // indirect
|
|
github.com/moby/sys/sequential v0.5.0 // indirect
|
|
github.com/moby/sys/signal v0.7.0 // indirect
|
|
github.com/opencontainers/runc v1.1.7 // indirect
|
|
github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626 // indirect
|
|
github.com/opencontainers/selinux v1.11.0 // indirect
|
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.14.0 // indirect
|
|
golang.org/x/mod v0.8.0 // indirect
|
|
golang.org/x/net v0.8.0 // indirect
|
|
golang.org/x/sync v0.1.0 // indirect
|
|
golang.org/x/text v0.8.0 // indirect
|
|
golang.org/x/tools v0.6.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
|
|
google.golang.org/grpc v1.53.0 // indirect
|
|
google.golang.org/protobuf v1.28.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
)
|
|
|
|
// use the containerd module from this repository instead of downloading
|
|
//
|
|
// IMPORTANT: this replace rule ONLY replaces containerd itself; dependencies
|
|
// in the "require" section above are still taken into account for version
|
|
// resolution if newer.
|
|
replace github.com/containerd/containerd => ../../
|
|
|
|
// Fork will be merged later but may impact other go-fuzz-headers consumers:
|
|
// https://github.com/containerd/containerd/pull/7957#pullrequestreview-1244814968
|
|
replace github.com/AdaLogics/go-fuzz-headers => github.com/AdamKorcz/go-fuzz-headers-1 v0.0.0-20230111232327-1f10f66a31bf
|