diff --git a/container/containerd.go b/container/containerd.go
index 441c5b1a67..6d748a4fd8 100644
--- a/container/containerd.go
+++ b/container/containerd.go
@@ -9,7 +9,7 @@ import (
"context"
"fmt"
- containerdlib "github.com/containerd/containerd"
+ containerdlib "github.com/containerd/containerd/v2"
)
type containerdRuntime struct {
diff --git a/go.mod b/go.mod
index 820098593b..ce5b90553a 100644
--- a/go.mod
+++ b/go.mod
@@ -15,7 +15,7 @@ require (
github.com/containerd/containerd v1.7.30
github.com/coreos/go-iptables v0.8.0
github.com/docker/docker v28.5.2+incompatible
- github.com/fsnotify/fsnotify v1.9.0
+ github.com/fsnotify/fsnotify v1.10.1
github.com/go-logr/logr v1.4.3
github.com/go-logr/zapr v1.3.0
github.com/go-playground/locales v0.14.1
@@ -37,19 +37,19 @@ require (
github.com/tidwall/gjson v1.18.0
github.com/vishvananda/netlink v1.3.1
github.com/vishvananda/netns v0.0.5
- go.opentelemetry.io/otel v1.43.0
- go.opentelemetry.io/otel/trace v1.43.0
+ go.opentelemetry.io/otel v1.44.0
+ go.opentelemetry.io/otel/trace v1.44.0
go.uber.org/zap v1.27.1
- golang.org/x/sys v0.43.0
- google.golang.org/grpc v1.80.0
+ golang.org/x/sys v0.47.0
+ google.golang.org/grpc v1.82.1
google.golang.org/protobuf v1.36.11
gopkg.in/DataDog/dd-trace-go.v1 v1.74.8
gopkg.in/yaml.v3 v3.0.1
- k8s.io/api v0.35.2
- k8s.io/apimachinery v0.35.2
+ k8s.io/api v0.36.3
+ k8s.io/apimachinery v0.36.3
k8s.io/cli-runtime v0.35.1
- k8s.io/client-go v0.35.2
- k8s.io/klog/v2 v2.130.1
+ k8s.io/client-go v0.36.3
+ k8s.io/klog/v2 v2.140.0
sigs.k8s.io/controller-runtime v0.22.4
sigs.k8s.io/yaml v1.6.0
)
@@ -90,6 +90,7 @@ require (
github.com/cihub/seelog v2.0.0-20151216151435-d2c6e5aa9fbf+incompatible // indirect
github.com/containerd/cgroups v1.1.0 // indirect
github.com/containerd/containerd/api v1.11.1 // indirect
+ github.com/containerd/containerd/v2 v2.3.3
github.com/containerd/continuity v0.5.0 // indirect
github.com/containerd/errdefs v1.0.0 // indirect
github.com/containerd/errdefs/pkg v0.3.0 // indirect
@@ -109,7 +110,7 @@ require (
github.com/ebitengine/purego v0.10.1 // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
- github.com/felixge/httpsnoop v1.0.4 // indirect
+ github.com/felixge/httpsnoop v1.1.0 // indirect
github.com/fxamacker/cbor/v2 v2.9.2 // indirect
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -143,7 +144,7 @@ require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
- github.com/klauspost/compress v1.18.6 // indirect
+ github.com/klauspost/compress v1.19.1 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
@@ -168,20 +169,20 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.1 // indirect
- github.com/opencontainers/runtime-spec v1.1.0 // indirect
+ github.com/opencontainers/runtime-spec v1.3.0 // indirect
github.com/opencontainers/selinux v1.15.0 // indirect
github.com/outcaste-io/ristretto v0.2.3 // indirect
- github.com/pelletier/go-toml/v2 v2.3.1 // indirect
+ github.com/pelletier/go-toml/v2 v2.4.3 // indirect
github.com/petermattis/goid v0.0.0-20260330135022-df67b199bc81 // indirect
github.com/philhofer/fwd v1.2.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20250313105119-ba97887b0a25 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
- github.com/prometheus/client_golang v1.23.2 // indirect
+ github.com/prometheus/client_golang v1.24.1 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
- github.com/prometheus/common v0.67.5 // indirect
- github.com/prometheus/procfs v0.20.1 // indirect
+ github.com/prometheus/common v0.70.1 // indirect
+ github.com/prometheus/procfs v0.21.1 // indirect
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
github.com/richardartoul/molecule v1.0.1-0.20240607132359-c1a75a0f9580 // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect
@@ -208,22 +209,22 @@ require (
go.opentelemetry.io/collector/pdata v1.52.0 // indirect
go.opentelemetry.io/collector/pdata/pprofile v0.146.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect
- go.opentelemetry.io/otel/metric v1.43.0 // indirect
- go.opentelemetry.io/proto/otlp v1.10.0 // indirect
+ go.opentelemetry.io/otel/metric v1.44.0 // indirect
+ go.opentelemetry.io/proto/otlp v1.11.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
- golang.org/x/crypto v0.50.0 // indirect
+ golang.org/x/crypto v0.54.0 // indirect
golang.org/x/exp v0.0.0-20260209203927-2842357ff358 // indirect
- golang.org/x/mod v0.36.0 // indirect
- golang.org/x/net v0.53.0 // indirect
+ golang.org/x/mod v0.38.0 // indirect
+ golang.org/x/net v0.57.0 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
- golang.org/x/sync v0.20.0 // indirect
- golang.org/x/term v0.42.0 // indirect
- golang.org/x/text v0.37.0 // indirect
+ golang.org/x/sync v0.22.0 // indirect
+ golang.org/x/term v0.45.0 // indirect
+ golang.org/x/text v0.40.0 // indirect
golang.org/x/time v0.15.0 // indirect
- golang.org/x/tools v0.44.0 // indirect
+ golang.org/x/tools v0.47.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
google.golang.org/genproto v0.0.0-20251022142026-3a174f9686a8 // indirect
diff --git a/go.sum b/go.sum
index 97920415f1..427a49bcc0 100644
--- a/go.sum
+++ b/go.sum
@@ -155,8 +155,8 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
-github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
-github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
+github.com/fsnotify/fsnotify v1.10.1 h1:b0/UzAf9yR5rhf3RPm9gf3ehBPpf0oZKIjtpKrx59Ho=
+github.com/fsnotify/fsnotify v1.10.1/go.mod h1:TLheqan6HD6GBK6PrDWyDPBaEV8LspOxvPSjC+bVfgo=
github.com/fxamacker/cbor/v2 v2.9.2 h1:X4Ksno9+x3cz0TZv69ec1hxP/+tymuR8PXQJyDwfh78=
github.com/fxamacker/cbor/v2 v2.9.2/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
github.com/gabriel-vasile/mimetype v1.4.13 h1:46nXokslUBsAJE/wMsp5gtO500a4F3Nkz9Ufpk2AcUM=
@@ -296,8 +296,8 @@ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNU
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/klauspost/compress v1.18.6 h1:2jupLlAwFm95+YDR+NwD2MEfFO9d4z4Prjl1XXDjuao=
-github.com/klauspost/compress v1.18.6/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
+github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk=
+github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
@@ -375,16 +375,16 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=
github.com/opencontainers/image-spec v1.1.1/go.mod h1:qpqAh3Dmcf36wStyyWU+kCeDgrGnAve2nCC8+7h8Q0M=
-github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg=
-github.com/opencontainers/runtime-spec v1.1.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
+github.com/opencontainers/runtime-spec v1.3.0 h1:YZupQUdctfhpZy3TM39nN9Ika5CBWT5diQ8ibYCRkxg=
+github.com/opencontainers/runtime-spec v1.3.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/opencontainers/selinux v1.15.0 h1:4Gs40e/R2FvM8PC1HPaPncLLaDor8Y2WDfk5gjU9o5M=
github.com/opencontainers/selinux v1.15.0/go.mod h1:LenyElirjUHszfxrjuFqC85HIeXZKumHcKMQtnaDlQQ=
github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs=
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
github.com/outcaste-io/ristretto v0.2.3 h1:AK4zt/fJ76kjlYObOeNwh4T3asEuaCmp26pOvUOL9w0=
github.com/outcaste-io/ristretto v0.2.3/go.mod h1:W8HywhmtlopSB1jeMg3JtdIhf+DYkLAr0VN/s4+MHac=
-github.com/pelletier/go-toml/v2 v2.3.1 h1:MYEvvGnQjeNkRF1qUuGolNtNExTDwct51yp7olPtrEc=
-github.com/pelletier/go-toml/v2 v2.3.1/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
+github.com/pelletier/go-toml/v2 v2.4.3 h1:GTRvJQutkOSftxIFD5xw9aepkYNuPWmVJpffdDPYVpY=
+github.com/pelletier/go-toml/v2 v2.4.3/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
github.com/petermattis/goid v0.0.0-20250813065127-a731cc31b4fe/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
github.com/petermattis/goid v0.0.0-20260330135022-df67b199bc81 h1:WDsQxOJDy0N1VRAjXLpi8sCEZRSGarLWQevDxpTBRrM=
github.com/petermattis/goid v0.0.0-20260330135022-df67b199bc81/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
@@ -399,15 +399,15 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
-github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
+github.com/prometheus/client_golang v1.24.1 h1:JnJkREXzWxUdCuPFpIWZiPispT9xVV59uiuyR2bPlnU=
+github.com/prometheus/client_golang v1.24.1/go.mod h1:F+oSRECHg4sse5ucfYpYDeIv/hu68Zo0uoHKetWnzcE=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
-github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4=
-github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw=
-github.com/prometheus/procfs v0.20.1 h1:XwbrGOIplXW/AU3YhIhLODXMJYyC1isLFfYCsTEycfc=
-github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo=
+github.com/prometheus/common v0.70.1 h1:1HvjP4D5oL3t8RsPlwxA9onvvStjtIHYE5XuuwOi/PY=
+github.com/prometheus/common v0.70.1/go.mod h1:VdFUQDMZK3VLkurFUVhia6uys/0suUp86TJz5qbJRhc=
+github.com/prometheus/procfs v0.21.1 h1:GljZCt+zSTS+NZq88cyQ1LjZ+RCHp3uVuabBWA5+OJI=
+github.com/prometheus/procfs v0.21.1/go.mod h1:aB55Cww9pdSJVHk0hUf0inxWyyjPogFIjmHKYgMKmtY=
github.com/puzpuzpuz/xsync/v3 v3.5.1 h1:GJYJZwO6IdxN/IKbneznS6yPkVC+c3zyY/j19c++5Fg=
github.com/puzpuzpuz/xsync/v3 v3.5.1/go.mod h1:VjzYrABPabuM4KyBh1Ftq6u8nhwY5tBPKP9jpmh0nnA=
github.com/richardartoul/molecule v1.0.1-0.20240607132359-c1a75a0f9580 h1:R6vS/Ql+nP6B8/XMBLHp376P/sCGhuiGAFw4kEcSItE=
@@ -534,20 +534,20 @@ go.opentelemetry.io/collector/processor/xprocessor v0.145.0 h1:DaIE7MxRlg0OL1o2P
go.opentelemetry.io/collector/processor/xprocessor v0.145.0/go.mod h1:kUwRyKBU/kjCmXodd+0z7CpvcP0A9G9/QL+MaJt4U2o=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 h1:7iP2uCb7sGddAr30RRS6xjKy7AZ2JtTOPA3oolgVSw8=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0/go.mod h1:c7hN3ddxs/z6q9xwvfLPk+UHlWRQyaeR1LdgfL/66l0=
-go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I=
-go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0=
+go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU=
+go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 h1:OeNbIYk/2C15ckl7glBlOBp5+WlYsOElzTNmiPW/x60=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0/go.mod h1:7Bept48yIeqxP2OZ9/AqIpYS94h2or0aB4FypJTc8ZM=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0 h1:Ckwye2FpXkYgiHX7fyVrN1uA/UYd9ounqqTuSNAv0k4=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0/go.mod h1:teIFJh5pW2y+AN7riv6IBPX2DuesS3HgP39mwOspKwU=
-go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM=
-go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY=
+go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc=
+go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo=
go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8=
go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE=
go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw=
go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg=
-go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A=
-go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0=
+go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk=
+go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE=
go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g=
go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk=
go.opentelemetry.io/proto/slim/otlp v1.9.0 h1:fPVMv8tP3TrsqlkH1HWYUpbCY9cAIemx184VGkS6vlE=
@@ -573,8 +573,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
-golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
+golang.org/x/crypto v0.54.0 h1:YLIA59K4fiNzHzjnZt2tUJQjQtUWfWbeHBqKtk3eScw=
+golang.org/x/crypto v0.54.0/go.mod h1:KWL8ny2AZdGR2cWmzeHrp2azQPGogOv+HeQaVEXC2dk=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20260209203927-2842357ff358 h1:kpfSV7uLwKJbFSEgNhWzGSL47NDSF/5pYYQw1V0ub6c=
golang.org/x/exp v0.0.0-20260209203927-2842357ff358/go.mod h1:R3t0oliuryB5eenPWl3rrQxwnNM3WTwnsRZZiXLAAW8=
@@ -585,8 +585,8 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
-golang.org/x/mod v0.36.0 h1:JJjpVx6myfUsUdAzZuOSTTmRE0PfZeNWzzvKrP7amb4=
-golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ=
+golang.org/x/mod v0.37.0 h1:vF1DjpVEshcIqoEaauuHebaLk1O1forxjxBaVn884JQ=
+golang.org/x/mod v0.37.0/go.mod h1:m8S8VeM9r4dzDwjrKO0a1sZP3YjeMamRRlD+fmR2Q/0=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -599,8 +599,8 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
-golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
-golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
+golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE=
+golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=
golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q=
@@ -611,8 +611,8 @@ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
-golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
+golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
+golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -633,18 +633,18 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
-golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
+golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs=
+golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY=
-golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY=
+golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0=
+golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
-golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
+golang.org/x/text v0.40.0 h1:Ub2Z6/xjgF1WrYQz2nuITOEegKFtiIy+rieRJ5lHZKs=
+golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY=
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -657,8 +657,8 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
-golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c=
-golang.org/x/tools v0.44.0/go.mod h1:KA0AfVErSdxRZIsOVipbv3rQhVXTnlU6UhKxHd1seDI=
+golang.org/x/tools v0.47.0 h1:7Kn5x/d1svx/PzryTsqeoZN4TZwqeH5pGWjefhLi/1Q=
+golang.org/x/tools v0.47.0/go.mod h1:dFHnyTvFWY212G+h7ZY4Vsp/K3U4/7W9TyVaAul8uCA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
diff --git a/vendor/github.com/DataDog/dd-trace-go/v2/internal/stacktrace/contribs_generated.go b/vendor/github.com/DataDog/dd-trace-go/v2/internal/stacktrace/contribs_generated.go
index a799d4b545..27ee90fbe0 100644
--- a/vendor/github.com/DataDog/dd-trace-go/v2/internal/stacktrace/contribs_generated.go
+++ b/vendor/github.com/DataDog/dd-trace-go/v2/internal/stacktrace/contribs_generated.go
@@ -251,8 +251,8 @@ func generatedThirdPartyLibraries() []string {
"github.com/containerd/cgroups",
"github.com/containerd/cgroups/v3",
"github.com/containerd/console",
- "github.com/containerd/containerd",
- "github.com/containerd/containerd/api",
+ "github.com/containerd/containerd/v2",
+ "github.com/containerd/containerd/v2/api",
"github.com/containerd/continuity",
"github.com/containerd/errdefs",
"github.com/containerd/fifo",
diff --git a/vendor/github.com/Microsoft/hcsshim/internal/oc/errors.go b/vendor/github.com/Microsoft/hcsshim/internal/oc/errors.go
index 71df25b8df..09c12ff1f0 100644
--- a/vendor/github.com/Microsoft/hcsshim/internal/oc/errors.go
+++ b/vendor/github.com/Microsoft/hcsshim/internal/oc/errors.go
@@ -6,7 +6,7 @@ import (
"net"
"os"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
@@ -16,7 +16,7 @@ import (
func toStatusCode(err error) codes.Code {
// checks if err implements GRPCStatus() *"google.golang.org/grpc/status".Status,
- // wraps an error defined in "github.com/containerd/containerd/errdefs", or is a
+ // wraps an error defined in "github.com/containerd/containerd/v2/errdefs", or is a
// context timeout or cancelled error
if s, ok := status.FromError(errdefs.ToGRPC(err)); ok {
return s.Code()
diff --git a/vendor/github.com/containerd/containerd/.golangci.yml b/vendor/github.com/containerd/containerd/.golangci.yml
index a50753340e..21ca2717c8 100644
--- a/vendor/github.com/containerd/containerd/.golangci.yml
+++ b/vendor/github.com/containerd/containerd/.golangci.yml
@@ -76,9 +76,9 @@ linters-settings:
rules:
main:
deny:
- - pkg: "github.com/containerd/containerd/log"
+ - pkg: "github.com/containerd/containerd/v2/log"
desc: The containerd log package was migrated to a separate module. Use github.com/containerd/log instead.
- - pkg: "github.com/containerd/containerd/platforms"
+ - pkg: "github.com/containerd/containerd/v2/platforms"
desc: The containerd platforms package was migrated to a separate module. Use github.com/containerd/platforms instead.
gosec:
# The following issues surfaced when `gosec` linter
diff --git a/vendor/github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.pb.go b/vendor/github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.pb.go
index 38c4239d5d..3ab98ea7ff 100644
--- a/vendor/github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.pb.go
+++ b/vendor/github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.pb.go
@@ -22,7 +22,7 @@
package sandbox
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/diff/v1/diff.pb.go b/vendor/github.com/containerd/containerd/api/services/diff/v1/diff.pb.go
index d336a29a14..d57b6329dc 100644
--- a/vendor/github.com/containerd/containerd/api/services/diff/v1/diff.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/diff/v1/diff.pb.go
@@ -22,7 +22,7 @@
package diff
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/events/v1/doc.go b/vendor/github.com/containerd/containerd/api/services/events/v1/doc.go
index 4470a663e8..3991c8ba15 100644
--- a/vendor/github.com/containerd/containerd/api/services/events/v1/doc.go
+++ b/vendor/github.com/containerd/containerd/api/services/events/v1/doc.go
@@ -17,7 +17,7 @@
// Package events defines the event pushing and subscription service.
package events
-import types "github.com/containerd/containerd/api/types"
+import types "github.com/containerd/containerd/v2/api/types"
// Deprecated: Use [types.Envelope].
type Envelope = types.Envelope
diff --git a/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go b/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go
index 00feeaa63b..e4510b9a95 100644
--- a/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go
@@ -22,7 +22,7 @@
package events
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/events/v1/events_grpc.pb.go b/vendor/github.com/containerd/containerd/api/services/events/v1/events_grpc.pb.go
index 500639bf5b..10434393e0 100644
--- a/vendor/github.com/containerd/containerd/api/services/events/v1/events_grpc.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/events/v1/events_grpc.pb.go
@@ -10,7 +10,7 @@ package events
import (
context "context"
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
diff --git a/vendor/github.com/containerd/containerd/api/services/events/v1/events_ttrpc.pb.go b/vendor/github.com/containerd/containerd/api/services/events/v1/events_ttrpc.pb.go
index 3a6ab38b13..f765ec2466 100644
--- a/vendor/github.com/containerd/containerd/api/services/events/v1/events_ttrpc.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/events/v1/events_ttrpc.pb.go
@@ -4,7 +4,7 @@ package events
import (
context "context"
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
ttrpc "github.com/containerd/ttrpc"
emptypb "google.golang.org/protobuf/types/known/emptypb"
)
diff --git a/vendor/github.com/containerd/containerd/api/services/images/v1/images.pb.go b/vendor/github.com/containerd/containerd/api/services/images/v1/images.pb.go
index 3aaf7da0ce..d0ba131647 100644
--- a/vendor/github.com/containerd/containerd/api/services/images/v1/images.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/images/v1/images.pb.go
@@ -22,7 +22,7 @@
package images
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/introspection/v1/introspection.pb.go b/vendor/github.com/containerd/containerd/api/services/introspection/v1/introspection.pb.go
index 28f8ec6f76..4118574a9e 100644
--- a/vendor/github.com/containerd/containerd/api/services/introspection/v1/introspection.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/introspection/v1/introspection.pb.go
@@ -22,7 +22,7 @@
package introspection
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
status "google.golang.org/genproto/googleapis/rpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
diff --git a/vendor/github.com/containerd/containerd/api/services/sandbox/v1/sandbox.pb.go b/vendor/github.com/containerd/containerd/api/services/sandbox/v1/sandbox.pb.go
index 37e020ef66..03ff80f495 100644
--- a/vendor/github.com/containerd/containerd/api/services/sandbox/v1/sandbox.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/sandbox/v1/sandbox.pb.go
@@ -30,7 +30,7 @@
package sandbox
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/snapshots/v1/snapshots.pb.go b/vendor/github.com/containerd/containerd/api/services/snapshots/v1/snapshots.pb.go
index 714bd601fa..9237d93a6c 100644
--- a/vendor/github.com/containerd/containerd/api/services/snapshots/v1/snapshots.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/snapshots/v1/snapshots.pb.go
@@ -22,7 +22,7 @@
package snapshots
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
diff --git a/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go b/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go
index 7d1abe2f9b..96058d0003 100644
--- a/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go
+++ b/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go
@@ -22,8 +22,8 @@
package tasks
import (
- types "github.com/containerd/containerd/api/types"
- task "github.com/containerd/containerd/api/types/task"
+ types "github.com/containerd/containerd/v2/api/types"
+ task "github.com/containerd/containerd/v2/api/types/task"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
diff --git a/vendor/github.com/containerd/containerd/api/types/transfer/imagestore.pb.go b/vendor/github.com/containerd/containerd/api/types/transfer/imagestore.pb.go
index 2d40d0d1ad..50a93daff3 100644
--- a/vendor/github.com/containerd/containerd/api/types/transfer/imagestore.pb.go
+++ b/vendor/github.com/containerd/containerd/api/types/transfer/imagestore.pb.go
@@ -22,7 +22,7 @@
package transfer
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/vendor/github.com/containerd/containerd/api/types/transfer/importexport.pb.go b/vendor/github.com/containerd/containerd/api/types/transfer/importexport.pb.go
index 0aa7571a92..5067077cb9 100644
--- a/vendor/github.com/containerd/containerd/api/types/transfer/importexport.pb.go
+++ b/vendor/github.com/containerd/containerd/api/types/transfer/importexport.pb.go
@@ -22,7 +22,7 @@
package transfer
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/vendor/github.com/containerd/containerd/api/types/transfer/progress.pb.go b/vendor/github.com/containerd/containerd/api/types/transfer/progress.pb.go
index 2d301f9bdb..ab6b9ec332 100644
--- a/vendor/github.com/containerd/containerd/api/types/transfer/progress.pb.go
+++ b/vendor/github.com/containerd/containerd/api/types/transfer/progress.pb.go
@@ -22,7 +22,7 @@
package transfer
import (
- types "github.com/containerd/containerd/api/types"
+ types "github.com/containerd/containerd/v2/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
diff --git a/vendor/github.com/containerd/containerd/archive/tar.go b/vendor/github.com/containerd/containerd/archive/tar.go
index 21ab7f8114..3cbba32af7 100644
--- a/vendor/github.com/containerd/containerd/archive/tar.go
+++ b/vendor/github.com/containerd/containerd/archive/tar.go
@@ -31,8 +31,8 @@ import (
"github.com/moby/sys/userns"
- "github.com/containerd/containerd/archive/tarheader"
- "github.com/containerd/containerd/pkg/epoch"
+ "github.com/containerd/containerd/v2/archive/tarheader"
+ "github.com/containerd/containerd/v2/pkg/epoch"
"github.com/containerd/continuity/fs"
"github.com/containerd/log"
)
diff --git a/vendor/github.com/containerd/containerd/cio/io.go b/vendor/github.com/containerd/containerd/cio/io.go
index 8bd14c89c7..ca53defa9c 100644
--- a/vendor/github.com/containerd/containerd/cio/io.go
+++ b/vendor/github.com/containerd/containerd/cio/io.go
@@ -26,7 +26,7 @@ import (
"strings"
"sync"
- "github.com/containerd/containerd/defaults"
+ "github.com/containerd/containerd/v2/defaults"
)
var bufPool = sync.Pool{
diff --git a/vendor/github.com/containerd/containerd/client.go b/vendor/github.com/containerd/containerd/client.go
index 69614712ec..f93a838085 100644
--- a/vendor/github.com/containerd/containerd/client.go
+++ b/vendor/github.com/containerd/containerd/client.go
@@ -37,39 +37,39 @@ import (
"google.golang.org/grpc/credentials/insecure"
"google.golang.org/grpc/health/grpc_health_v1"
- containersapi "github.com/containerd/containerd/api/services/containers/v1"
- contentapi "github.com/containerd/containerd/api/services/content/v1"
- diffapi "github.com/containerd/containerd/api/services/diff/v1"
- eventsapi "github.com/containerd/containerd/api/services/events/v1"
- imagesapi "github.com/containerd/containerd/api/services/images/v1"
- introspectionapi "github.com/containerd/containerd/api/services/introspection/v1"
- leasesapi "github.com/containerd/containerd/api/services/leases/v1"
- namespacesapi "github.com/containerd/containerd/api/services/namespaces/v1"
- sandboxsapi "github.com/containerd/containerd/api/services/sandbox/v1"
- snapshotsapi "github.com/containerd/containerd/api/services/snapshots/v1"
- "github.com/containerd/containerd/api/services/tasks/v1"
- versionservice "github.com/containerd/containerd/api/services/version/v1"
- apitypes "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/content"
- contentproxy "github.com/containerd/containerd/content/proxy"
- "github.com/containerd/containerd/defaults"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/events"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/leases"
- leasesproxy "github.com/containerd/containerd/leases/proxy"
- "github.com/containerd/containerd/namespaces"
- "github.com/containerd/containerd/pkg/dialer"
- "github.com/containerd/containerd/plugin"
- ptypes "github.com/containerd/containerd/protobuf/types"
- "github.com/containerd/containerd/remotes"
- "github.com/containerd/containerd/remotes/docker"
- "github.com/containerd/containerd/sandbox"
- sandboxproxy "github.com/containerd/containerd/sandbox/proxy"
- "github.com/containerd/containerd/services/introspection"
- "github.com/containerd/containerd/snapshots"
- snproxy "github.com/containerd/containerd/snapshots/proxy"
+ containersapi "github.com/containerd/containerd/v2/api/services/containers/v1"
+ contentapi "github.com/containerd/containerd/v2/api/services/content/v1"
+ diffapi "github.com/containerd/containerd/v2/api/services/diff/v1"
+ eventsapi "github.com/containerd/containerd/v2/api/services/events/v1"
+ imagesapi "github.com/containerd/containerd/v2/api/services/images/v1"
+ introspectionapi "github.com/containerd/containerd/v2/api/services/introspection/v1"
+ leasesapi "github.com/containerd/containerd/v2/api/services/leases/v1"
+ namespacesapi "github.com/containerd/containerd/v2/api/services/namespaces/v1"
+ sandboxsapi "github.com/containerd/containerd/v2/api/services/sandbox/v1"
+ snapshotsapi "github.com/containerd/containerd/v2/api/services/snapshots/v1"
+ "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ versionservice "github.com/containerd/containerd/v2/api/services/version/v1"
+ apitypes "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/content"
+ contentproxy "github.com/containerd/containerd/v2/content/proxy"
+ "github.com/containerd/containerd/v2/defaults"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/events"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/leases"
+ leasesproxy "github.com/containerd/containerd/v2/leases/proxy"
+ "github.com/containerd/containerd/v2/namespaces"
+ "github.com/containerd/containerd/v2/pkg/dialer"
+ "github.com/containerd/containerd/v2/plugin"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
+ "github.com/containerd/containerd/v2/remotes"
+ "github.com/containerd/containerd/v2/remotes/docker"
+ "github.com/containerd/containerd/v2/sandbox"
+ sandboxproxy "github.com/containerd/containerd/v2/sandbox/proxy"
+ "github.com/containerd/containerd/v2/services/introspection"
+ "github.com/containerd/containerd/v2/snapshots"
+ snproxy "github.com/containerd/containerd/v2/snapshots/proxy"
)
func init() {
diff --git a/vendor/github.com/containerd/containerd/client_opts.go b/vendor/github.com/containerd/containerd/client_opts.go
index 7fa16a5f9b..b61aa152f6 100644
--- a/vendor/github.com/containerd/containerd/client_opts.go
+++ b/vendor/github.com/containerd/containerd/client_opts.go
@@ -19,9 +19,9 @@ package containerd
import (
"time"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/remotes"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/remotes"
+ "github.com/containerd/containerd/v2/snapshots"
"github.com/containerd/platforms"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/container.go b/vendor/github.com/containerd/containerd/container.go
index d8ff21bc73..e9b7b56e6f 100644
--- a/vendor/github.com/containerd/containerd/container.go
+++ b/vendor/github.com/containerd/containerd/container.go
@@ -24,16 +24,16 @@ import (
"path/filepath"
"strings"
- "github.com/containerd/containerd/api/services/tasks/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/api/types/runc/options"
- tasktypes "github.com/containerd/containerd/api/types/task"
- "github.com/containerd/containerd/cio"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/oci"
- "github.com/containerd/containerd/protobuf"
+ "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/api/types/runc/options"
+ tasktypes "github.com/containerd/containerd/v2/api/types/task"
+ "github.com/containerd/containerd/v2/cio"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/oci"
+ "github.com/containerd/containerd/v2/protobuf"
"github.com/containerd/fifo"
"github.com/containerd/typeurl/v2"
ver "github.com/opencontainers/image-spec/specs-go"
diff --git a/vendor/github.com/containerd/containerd/container_checkpoint_opts.go b/vendor/github.com/containerd/containerd/container_checkpoint_opts.go
index 8faf6dee71..da95f688d4 100644
--- a/vendor/github.com/containerd/containerd/container_checkpoint_opts.go
+++ b/vendor/github.com/containerd/containerd/container_checkpoint_opts.go
@@ -23,14 +23,14 @@ import (
"fmt"
"runtime"
- tasks "github.com/containerd/containerd/api/services/tasks/v1"
- "github.com/containerd/containerd/api/types/runc/options"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/protobuf"
- "github.com/containerd/containerd/protobuf/proto"
- "github.com/containerd/containerd/rootfs"
+ tasks "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ "github.com/containerd/containerd/v2/api/types/runc/options"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/protobuf"
+ "github.com/containerd/containerd/v2/protobuf/proto"
+ "github.com/containerd/containerd/v2/rootfs"
"github.com/containerd/platforms"
"github.com/opencontainers/go-digest"
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/container_opts.go b/vendor/github.com/containerd/containerd/container_opts.go
index 4a937032f5..66962c6a4c 100644
--- a/vendor/github.com/containerd/containerd/container_opts.go
+++ b/vendor/github.com/containerd/containerd/container_opts.go
@@ -22,14 +22,14 @@ import (
"errors"
"fmt"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/namespaces"
- "github.com/containerd/containerd/oci"
- "github.com/containerd/containerd/protobuf"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/namespaces"
+ "github.com/containerd/containerd/v2/oci"
+ "github.com/containerd/containerd/v2/protobuf"
+ "github.com/containerd/containerd/v2/snapshots"
"github.com/containerd/typeurl/v2"
"github.com/opencontainers/image-spec/identity"
v1 "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/container_opts_unix.go b/vendor/github.com/containerd/containerd/container_opts_unix.go
index 016c1a9258..b26c1bc820 100644
--- a/vendor/github.com/containerd/containerd/container_opts_unix.go
+++ b/vendor/github.com/containerd/containerd/container_opts_unix.go
@@ -25,9 +25,9 @@ import (
"path/filepath"
"syscall"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/mount"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/mount"
"github.com/opencontainers/image-spec/identity"
)
diff --git a/vendor/github.com/containerd/containerd/container_restore_opts.go b/vendor/github.com/containerd/containerd/container_restore_opts.go
index 2afc187013..9c205b4cdd 100644
--- a/vendor/github.com/containerd/containerd/container_restore_opts.go
+++ b/vendor/github.com/containerd/containerd/container_restore_opts.go
@@ -21,11 +21,11 @@ import (
"errors"
"fmt"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/protobuf/proto"
- ptypes "github.com/containerd/containerd/protobuf/types"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/protobuf/proto"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
"github.com/opencontainers/image-spec/identity"
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/containerstore.go b/vendor/github.com/containerd/containerd/containerstore.go
index 331a6f41de..fad660fabe 100644
--- a/vendor/github.com/containerd/containerd/containerstore.go
+++ b/vendor/github.com/containerd/containerd/containerstore.go
@@ -21,11 +21,11 @@ import (
"errors"
"io"
- containersapi "github.com/containerd/containerd/api/services/containers/v1"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/protobuf"
- ptypes "github.com/containerd/containerd/protobuf/types"
+ containersapi "github.com/containerd/containerd/v2/api/services/containers/v1"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/protobuf"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
"github.com/containerd/typeurl/v2"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
diff --git a/vendor/github.com/containerd/containerd/content/adaptor.go b/vendor/github.com/containerd/containerd/content/adaptor.go
index 88bad2610e..4f4c76013d 100644
--- a/vendor/github.com/containerd/containerd/content/adaptor.go
+++ b/vendor/github.com/containerd/containerd/content/adaptor.go
@@ -19,7 +19,7 @@ package content
import (
"strings"
- "github.com/containerd/containerd/filters"
+ "github.com/containerd/containerd/v2/filters"
)
// AdaptInfo returns `filters.Adaptor` that handles `content.Info`.
diff --git a/vendor/github.com/containerd/containerd/content/helpers.go b/vendor/github.com/containerd/containerd/content/helpers.go
index 93bcdde106..0321fac6ea 100644
--- a/vendor/github.com/containerd/containerd/content/helpers.go
+++ b/vendor/github.com/containerd/containerd/content/helpers.go
@@ -28,8 +28,8 @@ import (
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/pkg/randutil"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/pkg/randutil"
)
var ErrReset = errors.New("writer has been reset")
diff --git a/vendor/github.com/containerd/containerd/content/local/content_local_fuzzer.go b/vendor/github.com/containerd/containerd/content/local/content_local_fuzzer.go
index a523f28d91..fb1a15393e 100644
--- a/vendor/github.com/containerd/containerd/content/local/content_local_fuzzer.go
+++ b/vendor/github.com/containerd/containerd/content/local/content_local_fuzzer.go
@@ -28,7 +28,7 @@ import (
"github.com/opencontainers/go-digest"
- "github.com/containerd/containerd/content"
+ "github.com/containerd/containerd/v2/content"
)
func FuzzContentStoreWriter(data []byte) int {
diff --git a/vendor/github.com/containerd/containerd/content/local/locks.go b/vendor/github.com/containerd/containerd/content/local/locks.go
index 1e59f39b30..c526541864 100644
--- a/vendor/github.com/containerd/containerd/content/local/locks.go
+++ b/vendor/github.com/containerd/containerd/content/local/locks.go
@@ -21,7 +21,7 @@ import (
"sync"
"time"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
)
// Handles locking references
diff --git a/vendor/github.com/containerd/containerd/content/local/readerat.go b/vendor/github.com/containerd/containerd/content/local/readerat.go
index 899e85c0ba..692630b270 100644
--- a/vendor/github.com/containerd/containerd/content/local/readerat.go
+++ b/vendor/github.com/containerd/containerd/content/local/readerat.go
@@ -21,8 +21,8 @@ import (
"io"
"os"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
)
// readerat implements io.ReaderAt in a completely stateless manner by opening
diff --git a/vendor/github.com/containerd/containerd/content/local/store.go b/vendor/github.com/containerd/containerd/content/local/store.go
index efe886014c..7beca99b5e 100644
--- a/vendor/github.com/containerd/containerd/content/local/store.go
+++ b/vendor/github.com/containerd/containerd/content/local/store.go
@@ -30,10 +30,10 @@ import (
"github.com/containerd/log"
"github.com/sirupsen/logrus"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/filters"
- "github.com/containerd/containerd/pkg/randutil"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/filters"
+ "github.com/containerd/containerd/v2/pkg/randutil"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/content/local/test_helper.go b/vendor/github.com/containerd/containerd/content/local/test_helper.go
index 42de01cae8..b3a8f860b2 100644
--- a/vendor/github.com/containerd/containerd/content/local/test_helper.go
+++ b/vendor/github.com/containerd/containerd/content/local/test_helper.go
@@ -20,7 +20,7 @@ import (
"context"
"testing"
- "github.com/containerd/containerd/content"
+ "github.com/containerd/containerd/v2/content"
)
func contentStoreEnv(t testing.TB) (context.Context, string, content.Store, func()) {
diff --git a/vendor/github.com/containerd/containerd/content/local/writer.go b/vendor/github.com/containerd/containerd/content/local/writer.go
index 0cd8f2d04b..7968880021 100644
--- a/vendor/github.com/containerd/containerd/content/local/writer.go
+++ b/vendor/github.com/containerd/containerd/content/local/writer.go
@@ -29,8 +29,8 @@ import (
"github.com/containerd/log"
"github.com/opencontainers/go-digest"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
)
// writer represents a write transaction against the blob store.
diff --git a/vendor/github.com/containerd/containerd/content/proxy/content_reader.go b/vendor/github.com/containerd/containerd/content/proxy/content_reader.go
index 893e3b0f23..f983e42881 100644
--- a/vendor/github.com/containerd/containerd/content/proxy/content_reader.go
+++ b/vendor/github.com/containerd/containerd/content/proxy/content_reader.go
@@ -19,7 +19,7 @@ package proxy
import (
"context"
- contentapi "github.com/containerd/containerd/api/services/content/v1"
+ contentapi "github.com/containerd/containerd/v2/api/services/content/v1"
digest "github.com/opencontainers/go-digest"
)
diff --git a/vendor/github.com/containerd/containerd/content/proxy/content_store.go b/vendor/github.com/containerd/containerd/content/proxy/content_store.go
index 8e7fb42cf0..609dad4dfd 100644
--- a/vendor/github.com/containerd/containerd/content/proxy/content_store.go
+++ b/vendor/github.com/containerd/containerd/content/proxy/content_store.go
@@ -20,11 +20,11 @@ import (
"context"
"io"
- contentapi "github.com/containerd/containerd/api/services/content/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/protobuf"
- protobuftypes "github.com/containerd/containerd/protobuf/types"
+ contentapi "github.com/containerd/containerd/v2/api/services/content/v1"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/protobuf"
+ protobuftypes "github.com/containerd/containerd/v2/protobuf/types"
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/content/proxy/content_writer.go b/vendor/github.com/containerd/containerd/content/proxy/content_writer.go
index 185115b0a4..30f7592915 100644
--- a/vendor/github.com/containerd/containerd/content/proxy/content_writer.go
+++ b/vendor/github.com/containerd/containerd/content/proxy/content_writer.go
@@ -21,10 +21,10 @@ import (
"fmt"
"io"
- contentapi "github.com/containerd/containerd/api/services/content/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/protobuf"
+ contentapi "github.com/containerd/containerd/v2/api/services/content/v1"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/protobuf"
digest "github.com/opencontainers/go-digest"
)
diff --git a/vendor/github.com/containerd/containerd/diff.go b/vendor/github.com/containerd/containerd/diff.go
index 0b1d44ed5b..0af7048f89 100644
--- a/vendor/github.com/containerd/containerd/diff.go
+++ b/vendor/github.com/containerd/containerd/diff.go
@@ -17,9 +17,9 @@
package containerd
import (
- diffapi "github.com/containerd/containerd/api/services/diff/v1"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/diff/proxy"
+ diffapi "github.com/containerd/containerd/v2/api/services/diff/v1"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/diff/proxy"
)
// DiffService handles the computation and application of diffs
diff --git a/vendor/github.com/containerd/containerd/diff/diff.go b/vendor/github.com/containerd/containerd/diff/diff.go
index 5af4190c23..6d0dbaecaa 100644
--- a/vendor/github.com/containerd/containerd/diff/diff.go
+++ b/vendor/github.com/containerd/containerd/diff/diff.go
@@ -21,7 +21,7 @@ import (
"io"
"time"
- "github.com/containerd/containerd/mount"
+ "github.com/containerd/containerd/v2/mount"
"github.com/containerd/typeurl/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/diff/proxy/differ.go b/vendor/github.com/containerd/containerd/diff/proxy/differ.go
index 1492dc6738..93ff24dbb0 100644
--- a/vendor/github.com/containerd/containerd/diff/proxy/differ.go
+++ b/vendor/github.com/containerd/containerd/diff/proxy/differ.go
@@ -19,14 +19,14 @@ package proxy
import (
"context"
- diffapi "github.com/containerd/containerd/api/services/diff/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/pkg/epoch"
- "github.com/containerd/containerd/protobuf"
- ptypes "github.com/containerd/containerd/protobuf/types"
+ diffapi "github.com/containerd/containerd/v2/api/services/diff/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/pkg/epoch"
+ "github.com/containerd/containerd/v2/protobuf"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/diff/stream.go b/vendor/github.com/containerd/containerd/diff/stream.go
index b80e6d1a5c..940f82a6bc 100644
--- a/vendor/github.com/containerd/containerd/diff/stream.go
+++ b/vendor/github.com/containerd/containerd/diff/stream.go
@@ -22,8 +22,8 @@ import (
"io"
"os"
- "github.com/containerd/containerd/archive/compression"
- "github.com/containerd/containerd/images"
+ "github.com/containerd/containerd/v2/archive/compression"
+ "github.com/containerd/containerd/v2/images"
"github.com/containerd/typeurl/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/diff/stream_unix.go b/vendor/github.com/containerd/containerd/diff/stream_unix.go
index 893456b9d4..fafbfa1207 100644
--- a/vendor/github.com/containerd/containerd/diff/stream_unix.go
+++ b/vendor/github.com/containerd/containerd/diff/stream_unix.go
@@ -28,8 +28,8 @@ import (
"os/exec"
"sync"
- "github.com/containerd/containerd/protobuf"
- "github.com/containerd/containerd/protobuf/proto"
+ "github.com/containerd/containerd/v2/protobuf"
+ "github.com/containerd/containerd/v2/protobuf/proto"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/diff/stream_windows.go b/vendor/github.com/containerd/containerd/diff/stream_windows.go
index b5ce526644..a0237bd9ac 100644
--- a/vendor/github.com/containerd/containerd/diff/stream_windows.go
+++ b/vendor/github.com/containerd/containerd/diff/stream_windows.go
@@ -28,8 +28,8 @@ import (
"sync"
winio "github.com/Microsoft/go-winio"
- "github.com/containerd/containerd/protobuf"
- "github.com/containerd/containerd/protobuf/proto"
+ "github.com/containerd/containerd/v2/protobuf"
+ "github.com/containerd/containerd/v2/protobuf/proto"
"github.com/containerd/typeurl/v2"
"github.com/sirupsen/logrus"
)
diff --git a/vendor/github.com/containerd/containerd/events.go b/vendor/github.com/containerd/containerd/events.go
index c95a64f7ca..91c1a6fecd 100644
--- a/vendor/github.com/containerd/containerd/events.go
+++ b/vendor/github.com/containerd/containerd/events.go
@@ -21,11 +21,11 @@ import (
"github.com/containerd/typeurl/v2"
- eventsapi "github.com/containerd/containerd/api/services/events/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/events"
- "github.com/containerd/containerd/protobuf"
+ eventsapi "github.com/containerd/containerd/v2/api/services/events/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/events"
+ "github.com/containerd/containerd/v2/protobuf"
)
// EventService handles the publish, forward and subscribe of events.
diff --git a/vendor/github.com/containerd/containerd/events/exchange/exchange.go b/vendor/github.com/containerd/containerd/events/exchange/exchange.go
index b390449095..4f0481205a 100644
--- a/vendor/github.com/containerd/containerd/events/exchange/exchange.go
+++ b/vendor/github.com/containerd/containerd/events/exchange/exchange.go
@@ -26,11 +26,11 @@ import (
"github.com/containerd/typeurl/v2"
goevents "github.com/docker/go-events"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/events"
- "github.com/containerd/containerd/filters"
- "github.com/containerd/containerd/identifiers"
- "github.com/containerd/containerd/namespaces"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/events"
+ "github.com/containerd/containerd/v2/filters"
+ "github.com/containerd/containerd/v2/identifiers"
+ "github.com/containerd/containerd/v2/namespaces"
)
// Exchange broadcasts events
diff --git a/vendor/github.com/containerd/containerd/export.go b/vendor/github.com/containerd/containerd/export.go
index 81f199226d..806cb5815e 100644
--- a/vendor/github.com/containerd/containerd/export.go
+++ b/vendor/github.com/containerd/containerd/export.go
@@ -20,7 +20,7 @@ import (
"context"
"io"
- "github.com/containerd/containerd/images/archive"
+ "github.com/containerd/containerd/v2/images/archive"
)
// Export exports images to a Tar stream.
diff --git a/vendor/github.com/containerd/containerd/filters/parser.go b/vendor/github.com/containerd/containerd/filters/parser.go
index 790597aaf2..5b34f57e84 100644
--- a/vendor/github.com/containerd/containerd/filters/parser.go
+++ b/vendor/github.com/containerd/containerd/filters/parser.go
@@ -20,7 +20,7 @@ import (
"fmt"
"io"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
)
/*
diff --git a/vendor/github.com/containerd/containerd/grpc.go b/vendor/github.com/containerd/containerd/grpc.go
index c3506d7357..bb6e3a3df4 100644
--- a/vendor/github.com/containerd/containerd/grpc.go
+++ b/vendor/github.com/containerd/containerd/grpc.go
@@ -19,7 +19,7 @@ package containerd
import (
"context"
- "github.com/containerd/containerd/namespaces"
+ "github.com/containerd/containerd/v2/namespaces"
"google.golang.org/grpc"
)
diff --git a/vendor/github.com/containerd/containerd/identifiers/validate.go b/vendor/github.com/containerd/containerd/identifiers/validate.go
index cbd3a52ba9..7eb1774303 100644
--- a/vendor/github.com/containerd/containerd/identifiers/validate.go
+++ b/vendor/github.com/containerd/containerd/identifiers/validate.go
@@ -28,7 +28,7 @@ import (
"fmt"
"regexp"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
)
const (
diff --git a/vendor/github.com/containerd/containerd/image.go b/vendor/github.com/containerd/containerd/image.go
index 2497a3c144..b31df85e26 100644
--- a/vendor/github.com/containerd/containerd/image.go
+++ b/vendor/github.com/containerd/containerd/image.go
@@ -30,14 +30,14 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"golang.org/x/sync/semaphore"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
- "github.com/containerd/containerd/pkg/kmutex"
- "github.com/containerd/containerd/rootfs"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
+ "github.com/containerd/containerd/v2/pkg/kmutex"
+ "github.com/containerd/containerd/v2/rootfs"
+ "github.com/containerd/containerd/v2/snapshots"
)
// Image describes an image used by containers
diff --git a/vendor/github.com/containerd/containerd/image_store.go b/vendor/github.com/containerd/containerd/image_store.go
index 524a7a6727..3ee5fc0e9f 100644
--- a/vendor/github.com/containerd/containerd/image_store.go
+++ b/vendor/github.com/containerd/containerd/image_store.go
@@ -19,13 +19,13 @@ package containerd
import (
"context"
- imagesapi "github.com/containerd/containerd/api/services/images/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/pkg/epoch"
- "github.com/containerd/containerd/protobuf"
- ptypes "github.com/containerd/containerd/protobuf/types"
+ imagesapi "github.com/containerd/containerd/v2/api/services/images/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/pkg/epoch"
+ "github.com/containerd/containerd/v2/protobuf"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"google.golang.org/protobuf/types/known/timestamppb"
diff --git a/vendor/github.com/containerd/containerd/images/archive/exporter.go b/vendor/github.com/containerd/containerd/images/archive/exporter.go
index 3d53aca8e6..3124adb4d0 100644
--- a/vendor/github.com/containerd/containerd/images/archive/exporter.go
+++ b/vendor/github.com/containerd/containerd/images/archive/exporter.go
@@ -32,10 +32,10 @@ import (
ocispecs "github.com/opencontainers/image-spec/specs-go"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
)
type exportOptions struct {
diff --git a/vendor/github.com/containerd/containerd/images/archive/importer.go b/vendor/github.com/containerd/containerd/images/archive/importer.go
index 99712da740..dcba04e1c1 100644
--- a/vendor/github.com/containerd/containerd/images/archive/importer.go
+++ b/vendor/github.com/containerd/containerd/images/archive/importer.go
@@ -27,11 +27,11 @@ import (
"io"
"path"
- "github.com/containerd/containerd/archive/compression"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
+ "github.com/containerd/containerd/v2/archive/compression"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
"github.com/containerd/log"
"github.com/containerd/platforms"
digest "github.com/opencontainers/go-digest"
diff --git a/vendor/github.com/containerd/containerd/images/archive/reference.go b/vendor/github.com/containerd/containerd/images/archive/reference.go
index 8dc2099058..8d8b548cfe 100644
--- a/vendor/github.com/containerd/containerd/images/archive/reference.go
+++ b/vendor/github.com/containerd/containerd/images/archive/reference.go
@@ -20,7 +20,7 @@ import (
"fmt"
"strings"
- "github.com/containerd/containerd/reference"
+ "github.com/containerd/containerd/v2/reference"
distref "github.com/distribution/reference"
"github.com/opencontainers/go-digest"
)
diff --git a/vendor/github.com/containerd/containerd/images/diffid.go b/vendor/github.com/containerd/containerd/images/diffid.go
index 85577eedee..2f0900c14a 100644
--- a/vendor/github.com/containerd/containerd/images/diffid.go
+++ b/vendor/github.com/containerd/containerd/images/diffid.go
@@ -20,9 +20,9 @@ import (
"context"
"io"
- "github.com/containerd/containerd/archive/compression"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/labels"
+ "github.com/containerd/containerd/v2/archive/compression"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/labels"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/sirupsen/logrus"
diff --git a/vendor/github.com/containerd/containerd/images/handlers.go b/vendor/github.com/containerd/containerd/images/handlers.go
index a685092e2c..95e63098b9 100644
--- a/vendor/github.com/containerd/containerd/images/handlers.go
+++ b/vendor/github.com/containerd/containerd/images/handlers.go
@@ -27,8 +27,8 @@ import (
"golang.org/x/sync/errgroup"
"golang.org/x/sync/semaphore"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
)
var (
diff --git a/vendor/github.com/containerd/containerd/images/image.go b/vendor/github.com/containerd/containerd/images/image.go
index 8bebae19b3..4e2d7b2f73 100644
--- a/vendor/github.com/containerd/containerd/images/image.go
+++ b/vendor/github.com/containerd/containerd/images/image.go
@@ -28,8 +28,8 @@ import (
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
)
// Image provides the model for how containerd views container images.
diff --git a/vendor/github.com/containerd/containerd/images/importexport.go b/vendor/github.com/containerd/containerd/images/importexport.go
index 843adcadc7..fe5d29f1f1 100644
--- a/vendor/github.com/containerd/containerd/images/importexport.go
+++ b/vendor/github.com/containerd/containerd/images/importexport.go
@@ -20,7 +20,7 @@ import (
"context"
"io"
- "github.com/containerd/containerd/content"
+ "github.com/containerd/containerd/v2/content"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/images/mediatypes.go b/vendor/github.com/containerd/containerd/images/mediatypes.go
index 49d2a5b1c5..eacf6ada07 100644
--- a/vendor/github.com/containerd/containerd/images/mediatypes.go
+++ b/vendor/github.com/containerd/containerd/images/mediatypes.go
@@ -22,7 +22,7 @@ import (
"sort"
"strings"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/import.go b/vendor/github.com/containerd/containerd/import.go
index 79c87fdd4c..5c5e4be5e4 100644
--- a/vendor/github.com/containerd/containerd/import.go
+++ b/vendor/github.com/containerd/containerd/import.go
@@ -25,10 +25,10 @@ import (
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/images/archive"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/images/archive"
)
type importOpts struct {
diff --git a/vendor/github.com/containerd/containerd/install.go b/vendor/github.com/containerd/containerd/install.go
index a307960b8c..59b422b3ac 100644
--- a/vendor/github.com/containerd/containerd/install.go
+++ b/vendor/github.com/containerd/containerd/install.go
@@ -26,10 +26,10 @@ import (
"runtime"
"strings"
- "github.com/containerd/containerd/archive"
- "github.com/containerd/containerd/archive/compression"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
+ "github.com/containerd/containerd/v2/archive"
+ "github.com/containerd/containerd/v2/archive/compression"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
)
// Install a binary image into the opt service.
diff --git a/vendor/github.com/containerd/containerd/labels/validate.go b/vendor/github.com/containerd/containerd/labels/validate.go
index f83b5dde29..c5422f7dbd 100644
--- a/vendor/github.com/containerd/containerd/labels/validate.go
+++ b/vendor/github.com/containerd/containerd/labels/validate.go
@@ -19,7 +19,7 @@ package labels
import (
"fmt"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
)
const (
diff --git a/vendor/github.com/containerd/containerd/lease.go b/vendor/github.com/containerd/containerd/lease.go
index 07ea6d9324..7e407ed60d 100644
--- a/vendor/github.com/containerd/containerd/lease.go
+++ b/vendor/github.com/containerd/containerd/lease.go
@@ -20,7 +20,7 @@ import (
"context"
"time"
- "github.com/containerd/containerd/leases"
+ "github.com/containerd/containerd/v2/leases"
)
// WithLease attaches a lease on the context
diff --git a/vendor/github.com/containerd/containerd/leases/proxy/manager.go b/vendor/github.com/containerd/containerd/leases/proxy/manager.go
index ae42d8eb10..a455258ebb 100644
--- a/vendor/github.com/containerd/containerd/leases/proxy/manager.go
+++ b/vendor/github.com/containerd/containerd/leases/proxy/manager.go
@@ -19,10 +19,10 @@ package proxy
import (
"context"
- leasesapi "github.com/containerd/containerd/api/services/leases/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/leases"
- "github.com/containerd/containerd/protobuf"
+ leasesapi "github.com/containerd/containerd/v2/api/services/leases/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/leases"
+ "github.com/containerd/containerd/v2/protobuf"
)
type proxyManager struct {
diff --git a/vendor/github.com/containerd/containerd/mount/losetup_linux.go b/vendor/github.com/containerd/containerd/mount/losetup_linux.go
index 811288cff3..bd8f40953f 100644
--- a/vendor/github.com/containerd/containerd/mount/losetup_linux.go
+++ b/vendor/github.com/containerd/containerd/mount/losetup_linux.go
@@ -23,8 +23,8 @@ import (
"strings"
"time"
- kernel "github.com/containerd/containerd/contrib/seccomp/kernelversion"
- "github.com/containerd/containerd/pkg/randutil"
+ kernel "github.com/containerd/containerd/v2/contrib/seccomp/kernelversion"
+ "github.com/containerd/containerd/v2/pkg/randutil"
"golang.org/x/sys/unix"
)
diff --git a/vendor/github.com/containerd/containerd/namespaces.go b/vendor/github.com/containerd/containerd/namespaces.go
index 83ee828dd0..8e0ef23582 100644
--- a/vendor/github.com/containerd/containerd/namespaces.go
+++ b/vendor/github.com/containerd/containerd/namespaces.go
@@ -20,10 +20,10 @@ import (
"context"
"strings"
- api "github.com/containerd/containerd/api/services/namespaces/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/namespaces"
- "github.com/containerd/containerd/protobuf/types"
+ api "github.com/containerd/containerd/v2/api/services/namespaces/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/namespaces"
+ "github.com/containerd/containerd/v2/protobuf/types"
)
// NewNamespaceStoreFromClient returns a new namespace store
diff --git a/vendor/github.com/containerd/containerd/namespaces/context.go b/vendor/github.com/containerd/containerd/namespaces/context.go
index e5e23fe430..5b0134ae1c 100644
--- a/vendor/github.com/containerd/containerd/namespaces/context.go
+++ b/vendor/github.com/containerd/containerd/namespaces/context.go
@@ -21,8 +21,8 @@ import (
"fmt"
"os"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/identifiers"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/identifiers"
)
const (
diff --git a/vendor/github.com/containerd/containerd/oci/client.go b/vendor/github.com/containerd/containerd/oci/client.go
index 9923101bfa..3d28832cf1 100644
--- a/vendor/github.com/containerd/containerd/oci/client.go
+++ b/vendor/github.com/containerd/containerd/oci/client.go
@@ -19,8 +19,8 @@ package oci
import (
"context"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/snapshots"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/oci/spec.go b/vendor/github.com/containerd/containerd/oci/spec.go
index 86fef42b2d..7a01349d55 100644
--- a/vendor/github.com/containerd/containerd/oci/spec.go
+++ b/vendor/github.com/containerd/containerd/oci/spec.go
@@ -25,8 +25,8 @@ import (
"github.com/opencontainers/runtime-spec/specs-go"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/namespaces"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/namespaces"
"github.com/containerd/platforms"
)
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts.go b/vendor/github.com/containerd/containerd/oci/spec_opts.go
index e89d54a8f1..758314aab8 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts.go
@@ -29,11 +29,11 @@ import (
"strconv"
"strings"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/namespaces"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/namespaces"
"github.com/containerd/continuity/fs"
"github.com/containerd/platforms"
"github.com/moby/sys/user"
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts_linux.go b/vendor/github.com/containerd/containerd/oci/spec_opts_linux.go
index bccea766aa..610587c39b 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts_linux.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts_linux.go
@@ -19,8 +19,8 @@ package oci
import (
"context"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/pkg/cap"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/pkg/cap"
specs "github.com/opencontainers/runtime-spec/specs-go"
)
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts_nonlinux.go b/vendor/github.com/containerd/containerd/oci/spec_opts_nonlinux.go
index b2f796f361..d3195c36be 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts_nonlinux.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts_nonlinux.go
@@ -21,7 +21,7 @@ package oci
import (
"context"
- "github.com/containerd/containerd/containers"
+ "github.com/containerd/containerd/v2/containers"
)
// WithAllCurrentCapabilities propagates the effective capabilities of the caller process to the container process.
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts_nonwindows.go b/vendor/github.com/containerd/containerd/oci/spec_opts_nonwindows.go
index 06bcc3041c..b3f603ee3d 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts_nonwindows.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts_nonwindows.go
@@ -21,7 +21,7 @@ package oci
import (
"context"
- "github.com/containerd/containerd/containers"
+ "github.com/containerd/containerd/v2/containers"
)
// WithDefaultPathEnv sets the $PATH environment variable to the
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts_unix.go b/vendor/github.com/containerd/containerd/oci/spec_opts_unix.go
index f4135285cc..e12a807421 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts_unix.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts_unix.go
@@ -21,7 +21,7 @@ package oci
import (
"context"
- "github.com/containerd/containerd/containers"
+ "github.com/containerd/containerd/v2/containers"
)
// WithHostDevices adds all the hosts device nodes to the container's spec
diff --git a/vendor/github.com/containerd/containerd/oci/spec_opts_windows.go b/vendor/github.com/containerd/containerd/oci/spec_opts_windows.go
index 7d49d27407..99176a8825 100644
--- a/vendor/github.com/containerd/containerd/oci/spec_opts_windows.go
+++ b/vendor/github.com/containerd/containerd/oci/spec_opts_windows.go
@@ -24,7 +24,7 @@ import (
"github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/sys/windows"
- "github.com/containerd/containerd/containers"
+ "github.com/containerd/containerd/v2/containers"
)
func escapeAndCombineArgs(args []string) string {
diff --git a/vendor/github.com/containerd/containerd/pkg/transfer/proxy/transfer.go b/vendor/github.com/containerd/containerd/pkg/transfer/proxy/transfer.go
index 2ad7a94496..764a74cf7e 100644
--- a/vendor/github.com/containerd/containerd/pkg/transfer/proxy/transfer.go
+++ b/vendor/github.com/containerd/containerd/pkg/transfer/proxy/transfer.go
@@ -23,11 +23,11 @@ import (
"google.golang.org/protobuf/types/known/anypb"
- transferapi "github.com/containerd/containerd/api/services/transfer/v1"
- transfertypes "github.com/containerd/containerd/api/types/transfer"
- "github.com/containerd/containerd/pkg/streaming"
- "github.com/containerd/containerd/pkg/transfer"
- tstreaming "github.com/containerd/containerd/pkg/transfer/streaming"
+ transferapi "github.com/containerd/containerd/v2/api/services/transfer/v1"
+ transfertypes "github.com/containerd/containerd/v2/api/types/transfer"
+ "github.com/containerd/containerd/v2/pkg/streaming"
+ "github.com/containerd/containerd/v2/pkg/transfer"
+ tstreaming "github.com/containerd/containerd/v2/pkg/transfer/streaming"
"github.com/containerd/log"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/pkg/transfer/streaming/stream.go b/vendor/github.com/containerd/containerd/pkg/transfer/streaming/stream.go
index 0028146b92..c754c634dc 100644
--- a/vendor/github.com/containerd/containerd/pkg/transfer/streaming/stream.go
+++ b/vendor/github.com/containerd/containerd/pkg/transfer/streaming/stream.go
@@ -26,8 +26,8 @@ import (
"sync"
"time"
- transferapi "github.com/containerd/containerd/api/types/transfer"
- "github.com/containerd/containerd/pkg/streaming"
+ transferapi "github.com/containerd/containerd/v2/api/types/transfer"
+ "github.com/containerd/containerd/v2/pkg/streaming"
"github.com/containerd/log"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/pkg/transfer/streaming/writer.go b/vendor/github.com/containerd/containerd/pkg/transfer/streaming/writer.go
index f8f372d2b0..d04cca371c 100644
--- a/vendor/github.com/containerd/containerd/pkg/transfer/streaming/writer.go
+++ b/vendor/github.com/containerd/containerd/pkg/transfer/streaming/writer.go
@@ -22,8 +22,8 @@ import (
"io"
"sync/atomic"
- transferapi "github.com/containerd/containerd/api/types/transfer"
- "github.com/containerd/containerd/pkg/streaming"
+ transferapi "github.com/containerd/containerd/v2/api/types/transfer"
+ "github.com/containerd/containerd/v2/pkg/streaming"
"github.com/containerd/log"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/pkg/transfer/transfer.go b/vendor/github.com/containerd/containerd/pkg/transfer/transfer.go
index 01df8c3d39..f6acc2016b 100644
--- a/vendor/github.com/containerd/containerd/pkg/transfer/transfer.go
+++ b/vendor/github.com/containerd/containerd/pkg/transfer/transfer.go
@@ -22,8 +22,8 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
)
type Transferrer interface {
diff --git a/vendor/github.com/containerd/containerd/pkg/unpack/unpacker.go b/vendor/github.com/containerd/containerd/pkg/unpack/unpacker.go
index 773722a088..7e331e7806 100644
--- a/vendor/github.com/containerd/containerd/pkg/unpack/unpacker.go
+++ b/vendor/github.com/containerd/containerd/pkg/unpack/unpacker.go
@@ -36,16 +36,16 @@ import (
"golang.org/x/sync/errgroup"
"golang.org/x/sync/semaphore"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/pkg/cleanup"
- "github.com/containerd/containerd/pkg/kmutex"
- "github.com/containerd/containerd/snapshots"
- "github.com/containerd/containerd/tracing"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/pkg/cleanup"
+ "github.com/containerd/containerd/v2/pkg/kmutex"
+ "github.com/containerd/containerd/v2/snapshots"
+ "github.com/containerd/containerd/v2/tracing"
)
const (
diff --git a/vendor/github.com/containerd/containerd/plugin/context.go b/vendor/github.com/containerd/containerd/plugin/context.go
index 370508d28d..05af9e44b0 100644
--- a/vendor/github.com/containerd/containerd/plugin/context.go
+++ b/vendor/github.com/containerd/containerd/plugin/context.go
@@ -23,8 +23,8 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/events/exchange"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/events/exchange"
)
// InitContext is used for plugin initialization
diff --git a/vendor/github.com/containerd/containerd/process.go b/vendor/github.com/containerd/containerd/process.go
index 73d8f86625..100de29cb8 100644
--- a/vendor/github.com/containerd/containerd/process.go
+++ b/vendor/github.com/containerd/containerd/process.go
@@ -23,10 +23,10 @@ import (
"syscall"
"time"
- "github.com/containerd/containerd/api/services/tasks/v1"
- "github.com/containerd/containerd/cio"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/protobuf"
+ "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ "github.com/containerd/containerd/v2/cio"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/protobuf"
)
// Process represents a system process
diff --git a/vendor/github.com/containerd/containerd/pull.go b/vendor/github.com/containerd/containerd/pull.go
index c5d3e969a9..566a29a86b 100644
--- a/vendor/github.com/containerd/containerd/pull.go
+++ b/vendor/github.com/containerd/containerd/pull.go
@@ -26,13 +26,13 @@ import (
"github.com/containerd/platforms"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/pkg/unpack"
- "github.com/containerd/containerd/remotes"
- "github.com/containerd/containerd/remotes/docker"
- "github.com/containerd/containerd/remotes/docker/schema1" //nolint:staticcheck // Ignore SA1019. Need to keep deprecated package for compatibility.
- "github.com/containerd/containerd/tracing"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/pkg/unpack"
+ "github.com/containerd/containerd/v2/remotes"
+ "github.com/containerd/containerd/v2/remotes/docker"
+ "github.com/containerd/containerd/v2/remotes/docker/schema1" //nolint:staticcheck // Ignore SA1019. Need to keep deprecated package for compatibility.
+ "github.com/containerd/containerd/v2/tracing"
)
const (
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/auth/fetch.go b/vendor/github.com/containerd/containerd/remotes/docker/auth/fetch.go
index c9c224b2ac..c7b6fc562e 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/auth/fetch.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/auth/fetch.go
@@ -26,8 +26,8 @@ import (
"strings"
"time"
- remoteserrors "github.com/containerd/containerd/remotes/errors"
- "github.com/containerd/containerd/version"
+ remoteserrors "github.com/containerd/containerd/v2/remotes/errors"
+ "github.com/containerd/containerd/v2/version"
"github.com/containerd/log"
)
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/authorizer.go b/vendor/github.com/containerd/containerd/remotes/docker/authorizer.go
index 6aabe95a45..1ddde81b0d 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/authorizer.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/authorizer.go
@@ -28,9 +28,9 @@ import (
"github.com/containerd/log"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/remotes/docker/auth"
- remoteerrors "github.com/containerd/containerd/remotes/errors"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/remotes/docker/auth"
+ remoteerrors "github.com/containerd/containerd/v2/remotes/errors"
)
type dockerAuthorizer struct {
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/converter.go b/vendor/github.com/containerd/containerd/remotes/docker/converter.go
index 95a68d70e6..9547add6e6 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/converter.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/converter.go
@@ -22,9 +22,9 @@ import (
"encoding/json"
"fmt"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/remotes"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/remotes"
"github.com/containerd/log"
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/converter_fuzz.go b/vendor/github.com/containerd/containerd/remotes/docker/converter_fuzz.go
index aa7cf4666f..aaa828de1d 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/converter_fuzz.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/converter_fuzz.go
@@ -23,7 +23,7 @@ import (
"os"
fuzz "github.com/AdaLogics/go-fuzz-headers"
- "github.com/containerd/containerd/content/local"
+ "github.com/containerd/containerd/v2/content/local"
"github.com/containerd/log"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/sirupsen/logrus"
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/fetcher.go b/vendor/github.com/containerd/containerd/remotes/docker/fetcher.go
index c4c401ad1d..96b4e6508f 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/fetcher.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/fetcher.go
@@ -30,8 +30,8 @@ import (
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
)
type dockerFetcher struct {
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/handler.go b/vendor/github.com/containerd/containerd/remotes/docker/handler.go
index ccec490133..96c0547b01 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/handler.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/handler.go
@@ -22,10 +22,10 @@ import (
"net/url"
"strings"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
- "github.com/containerd/containerd/reference"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
+ "github.com/containerd/containerd/v2/reference"
"github.com/containerd/log"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/httpreadseeker.go b/vendor/github.com/containerd/containerd/remotes/docker/httpreadseeker.go
index deb888cbc8..c733f95531 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/httpreadseeker.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/httpreadseeker.go
@@ -23,7 +23,7 @@ import (
"github.com/containerd/log"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
)
const maxRetry = 3
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/pusher.go b/vendor/github.com/containerd/containerd/remotes/docker/pusher.go
index f97ab144e8..cbe0865364 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/pusher.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/pusher.go
@@ -32,11 +32,11 @@ import (
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/remotes"
- remoteserrors "github.com/containerd/containerd/remotes/errors"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/remotes"
+ remoteserrors "github.com/containerd/containerd/v2/remotes/errors"
)
type dockerPusher struct {
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/resolver.go b/vendor/github.com/containerd/containerd/remotes/docker/resolver.go
index 8ce4cccc01..9602044a44 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/resolver.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/resolver.go
@@ -34,14 +34,14 @@ import (
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/reference"
- "github.com/containerd/containerd/remotes"
- "github.com/containerd/containerd/remotes/docker/schema1" //nolint:staticcheck // Ignore SA1019. Need to keep deprecated package for compatibility.
- remoteerrors "github.com/containerd/containerd/remotes/errors"
- "github.com/containerd/containerd/tracing"
- "github.com/containerd/containerd/version"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/reference"
+ "github.com/containerd/containerd/v2/remotes"
+ "github.com/containerd/containerd/v2/remotes/docker/schema1" //nolint:staticcheck // Ignore SA1019. Need to keep deprecated package for compatibility.
+ remoteerrors "github.com/containerd/containerd/v2/remotes/errors"
+ "github.com/containerd/containerd/v2/tracing"
+ "github.com/containerd/containerd/v2/version"
)
var (
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/schema1/converter.go b/vendor/github.com/containerd/containerd/remotes/docker/schema1/converter.go
index b38c738552..6c1eb53765 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/schema1/converter.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/schema1/converter.go
@@ -38,12 +38,12 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"golang.org/x/sync/errgroup"
- "github.com/containerd/containerd/archive/compression"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
- "github.com/containerd/containerd/remotes"
+ "github.com/containerd/containerd/v2/archive/compression"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
+ "github.com/containerd/containerd/v2/remotes"
)
const (
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/scope.go b/vendor/github.com/containerd/containerd/remotes/docker/scope.go
index 95b4810ab9..fe9304915b 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/scope.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/scope.go
@@ -23,7 +23,7 @@ import (
"sort"
"strings"
- "github.com/containerd/containerd/reference"
+ "github.com/containerd/containerd/v2/reference"
)
// RepositoryScope returns a repository scope string such as "repository:foo/bar:pull"
diff --git a/vendor/github.com/containerd/containerd/remotes/docker/status.go b/vendor/github.com/containerd/containerd/remotes/docker/status.go
index 1a9227725b..ada7611482 100644
--- a/vendor/github.com/containerd/containerd/remotes/docker/status.go
+++ b/vendor/github.com/containerd/containerd/remotes/docker/status.go
@@ -20,8 +20,8 @@ import (
"fmt"
"sync"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
"github.com/moby/locker"
)
diff --git a/vendor/github.com/containerd/containerd/remotes/handlers.go b/vendor/github.com/containerd/containerd/remotes/handlers.go
index 14af02769c..422fb8df92 100644
--- a/vendor/github.com/containerd/containerd/remotes/handlers.go
+++ b/vendor/github.com/containerd/containerd/remotes/handlers.go
@@ -30,10 +30,10 @@ import (
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"golang.org/x/sync/semaphore"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/labels"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/labels"
)
type refKeyPrefix struct{}
diff --git a/vendor/github.com/containerd/containerd/remotes/resolver.go b/vendor/github.com/containerd/containerd/remotes/resolver.go
index f200c84bc7..cc7a281b1a 100644
--- a/vendor/github.com/containerd/containerd/remotes/resolver.go
+++ b/vendor/github.com/containerd/containerd/remotes/resolver.go
@@ -20,7 +20,7 @@ import (
"context"
"io"
- "github.com/containerd/containerd/content"
+ "github.com/containerd/containerd/v2/content"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/rootfs/apply.go b/vendor/github.com/containerd/containerd/rootfs/apply.go
index b22011e87e..420ba3307c 100644
--- a/vendor/github.com/containerd/containerd/rootfs/apply.go
+++ b/vendor/github.com/containerd/containerd/rootfs/apply.go
@@ -28,10 +28,10 @@ import (
"github.com/opencontainers/image-spec/identity"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/snapshots"
)
// Layer represents the descriptors for a layer diff. These descriptions
diff --git a/vendor/github.com/containerd/containerd/rootfs/diff.go b/vendor/github.com/containerd/containerd/rootfs/diff.go
index da9dbe2752..5dd4e1a1ec 100644
--- a/vendor/github.com/containerd/containerd/rootfs/diff.go
+++ b/vendor/github.com/containerd/containerd/rootfs/diff.go
@@ -20,10 +20,10 @@ import (
"context"
"fmt"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/pkg/cleanup"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/pkg/cleanup"
+ "github.com/containerd/containerd/v2/snapshots"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/rootfs/init.go b/vendor/github.com/containerd/containerd/rootfs/init.go
index e6866ace2b..1b674ff5be 100644
--- a/vendor/github.com/containerd/containerd/rootfs/init.go
+++ b/vendor/github.com/containerd/containerd/rootfs/init.go
@@ -22,8 +22,8 @@ import (
"fmt"
"os"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/snapshots"
"github.com/containerd/log"
digest "github.com/opencontainers/go-digest"
)
diff --git a/vendor/github.com/containerd/containerd/sandbox.go b/vendor/github.com/containerd/containerd/sandbox.go
index 2e46da9f32..af9b6b7038 100644
--- a/vendor/github.com/containerd/containerd/sandbox.go
+++ b/vendor/github.com/containerd/containerd/sandbox.go
@@ -22,10 +22,10 @@ import (
"fmt"
"time"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/oci"
- "github.com/containerd/containerd/protobuf/types"
- api "github.com/containerd/containerd/sandbox"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/oci"
+ "github.com/containerd/containerd/v2/protobuf/types"
+ api "github.com/containerd/containerd/v2/sandbox"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/sandbox/bridge.go b/vendor/github.com/containerd/containerd/sandbox/bridge.go
index 3c1a9c2fd0..cfad4e0bf6 100644
--- a/vendor/github.com/containerd/containerd/sandbox/bridge.go
+++ b/vendor/github.com/containerd/containerd/sandbox/bridge.go
@@ -23,8 +23,8 @@ import (
"github.com/containerd/ttrpc"
"google.golang.org/grpc"
- api "github.com/containerd/containerd/api/runtime/sandbox/v1"
- "github.com/containerd/containerd/errdefs"
+ api "github.com/containerd/containerd/v2/api/runtime/sandbox/v1"
+ "github.com/containerd/containerd/v2/errdefs"
)
// NewClient returns a new sandbox client that handles both GRPC and TTRPC clients.
diff --git a/vendor/github.com/containerd/containerd/sandbox/controller.go b/vendor/github.com/containerd/containerd/sandbox/controller.go
index 4885b43668..ff9612e8bf 100644
--- a/vendor/github.com/containerd/containerd/sandbox/controller.go
+++ b/vendor/github.com/containerd/containerd/sandbox/controller.go
@@ -21,7 +21,7 @@ import (
"fmt"
"time"
- "github.com/containerd/containerd/api/types"
+ "github.com/containerd/containerd/v2/api/types"
"github.com/containerd/typeurl/v2"
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/sandbox/helpers.go b/vendor/github.com/containerd/containerd/sandbox/helpers.go
index bfe0b23d33..34552aad8c 100644
--- a/vendor/github.com/containerd/containerd/sandbox/helpers.go
+++ b/vendor/github.com/containerd/containerd/sandbox/helpers.go
@@ -17,9 +17,9 @@
package sandbox
import (
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/protobuf"
- gogo_types "github.com/containerd/containerd/protobuf/types"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/protobuf"
+ gogo_types "github.com/containerd/containerd/v2/protobuf/types"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/sandbox/proxy/controller.go b/vendor/github.com/containerd/containerd/sandbox/proxy/controller.go
index a18f3e6acf..899eb6f0c4 100644
--- a/vendor/github.com/containerd/containerd/sandbox/proxy/controller.go
+++ b/vendor/github.com/containerd/containerd/sandbox/proxy/controller.go
@@ -22,9 +22,9 @@ import (
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
"google.golang.org/protobuf/types/known/anypb"
- api "github.com/containerd/containerd/api/services/sandbox/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/sandbox"
+ api "github.com/containerd/containerd/v2/api/services/sandbox/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/sandbox"
)
// remoteSandboxController is a low level GRPC client for containerd's sandbox controller service
diff --git a/vendor/github.com/containerd/containerd/sandbox/proxy/store.go b/vendor/github.com/containerd/containerd/sandbox/proxy/store.go
index 64e4a2b320..bb2f9aa289 100644
--- a/vendor/github.com/containerd/containerd/sandbox/proxy/store.go
+++ b/vendor/github.com/containerd/containerd/sandbox/proxy/store.go
@@ -19,9 +19,9 @@ package proxy
import (
"context"
- api "github.com/containerd/containerd/api/services/sandbox/v1"
- "github.com/containerd/containerd/errdefs"
- sb "github.com/containerd/containerd/sandbox"
+ api "github.com/containerd/containerd/v2/api/services/sandbox/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ sb "github.com/containerd/containerd/v2/sandbox"
)
// remoteSandboxStore is a low-level containerd client to manage sandbox environments metadata
diff --git a/vendor/github.com/containerd/containerd/sandbox/store.go b/vendor/github.com/containerd/containerd/sandbox/store.go
index cda646dde2..5e14116651 100644
--- a/vendor/github.com/containerd/containerd/sandbox/store.go
+++ b/vendor/github.com/containerd/containerd/sandbox/store.go
@@ -21,7 +21,7 @@ import (
"fmt"
"time"
- "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/v2/errdefs"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/services.go b/vendor/github.com/containerd/containerd/services.go
index edb8872e55..7e3ba0e146 100644
--- a/vendor/github.com/containerd/containerd/services.go
+++ b/vendor/github.com/containerd/containerd/services.go
@@ -19,22 +19,22 @@ package containerd
import (
"fmt"
- containersapi "github.com/containerd/containerd/api/services/containers/v1"
- "github.com/containerd/containerd/api/services/diff/v1"
- imagesapi "github.com/containerd/containerd/api/services/images/v1"
- introspectionapi "github.com/containerd/containerd/api/services/introspection/v1"
- namespacesapi "github.com/containerd/containerd/api/services/namespaces/v1"
- "github.com/containerd/containerd/api/services/tasks/v1"
- "github.com/containerd/containerd/containers"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/leases"
- "github.com/containerd/containerd/namespaces"
- "github.com/containerd/containerd/plugin"
- "github.com/containerd/containerd/sandbox"
- srv "github.com/containerd/containerd/services"
- "github.com/containerd/containerd/services/introspection"
- "github.com/containerd/containerd/snapshots"
+ containersapi "github.com/containerd/containerd/v2/api/services/containers/v1"
+ "github.com/containerd/containerd/v2/api/services/diff/v1"
+ imagesapi "github.com/containerd/containerd/v2/api/services/images/v1"
+ introspectionapi "github.com/containerd/containerd/v2/api/services/introspection/v1"
+ namespacesapi "github.com/containerd/containerd/v2/api/services/namespaces/v1"
+ "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ "github.com/containerd/containerd/v2/containers"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/leases"
+ "github.com/containerd/containerd/v2/namespaces"
+ "github.com/containerd/containerd/v2/plugin"
+ "github.com/containerd/containerd/v2/sandbox"
+ srv "github.com/containerd/containerd/v2/services"
+ "github.com/containerd/containerd/v2/services/introspection"
+ "github.com/containerd/containerd/v2/snapshots"
)
type services struct {
diff --git a/vendor/github.com/containerd/containerd/services/introspection/introspection.go b/vendor/github.com/containerd/containerd/services/introspection/introspection.go
index c0b54aa684..d2594f80ac 100644
--- a/vendor/github.com/containerd/containerd/services/introspection/introspection.go
+++ b/vendor/github.com/containerd/containerd/services/introspection/introspection.go
@@ -21,9 +21,9 @@ import (
"github.com/containerd/log"
- api "github.com/containerd/containerd/api/services/introspection/v1"
- "github.com/containerd/containerd/errdefs"
- ptypes "github.com/containerd/containerd/protobuf/types"
+ api "github.com/containerd/containerd/v2/api/services/introspection/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
)
// Service defines the introspection service interface
diff --git a/vendor/github.com/containerd/containerd/services/introspection/local.go b/vendor/github.com/containerd/containerd/services/introspection/local.go
index d3a7dd9c47..06c42142f2 100644
--- a/vendor/github.com/containerd/containerd/services/introspection/local.go
+++ b/vendor/github.com/containerd/containerd/services/introspection/local.go
@@ -30,15 +30,15 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/status"
- api "github.com/containerd/containerd/api/services/introspection/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/filters"
- "github.com/containerd/containerd/plugin"
- "github.com/containerd/containerd/protobuf"
- ptypes "github.com/containerd/containerd/protobuf/types"
- "github.com/containerd/containerd/services"
- "github.com/containerd/containerd/services/warning"
+ api "github.com/containerd/containerd/v2/api/services/introspection/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/filters"
+ "github.com/containerd/containerd/v2/plugin"
+ "github.com/containerd/containerd/v2/protobuf"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
+ "github.com/containerd/containerd/v2/services"
+ "github.com/containerd/containerd/v2/services/warning"
)
func init() {
diff --git a/vendor/github.com/containerd/containerd/services/introspection/service.go b/vendor/github.com/containerd/containerd/services/introspection/service.go
index 71b24aa7dc..e34e885dfd 100644
--- a/vendor/github.com/containerd/containerd/services/introspection/service.go
+++ b/vendor/github.com/containerd/containerd/services/introspection/service.go
@@ -22,11 +22,11 @@ import (
"google.golang.org/grpc"
- api "github.com/containerd/containerd/api/services/introspection/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/plugin"
- ptypes "github.com/containerd/containerd/protobuf/types"
- "github.com/containerd/containerd/services"
+ api "github.com/containerd/containerd/v2/api/services/introspection/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/plugin"
+ ptypes "github.com/containerd/containerd/v2/protobuf/types"
+ "github.com/containerd/containerd/v2/services"
)
func init() {
diff --git a/vendor/github.com/containerd/containerd/services/warning/service.go b/vendor/github.com/containerd/containerd/services/warning/service.go
index 9bc288ba5a..2321af46da 100644
--- a/vendor/github.com/containerd/containerd/services/warning/service.go
+++ b/vendor/github.com/containerd/containerd/services/warning/service.go
@@ -23,8 +23,8 @@ import (
"github.com/containerd/log"
- deprecation "github.com/containerd/containerd/pkg/deprecation"
- "github.com/containerd/containerd/plugin"
+ deprecation "github.com/containerd/containerd/v2/pkg/deprecation"
+ "github.com/containerd/containerd/v2/plugin"
)
type Service interface {
diff --git a/vendor/github.com/containerd/containerd/signals.go b/vendor/github.com/containerd/containerd/signals.go
index 9d81eed876..fe67c2a1ec 100644
--- a/vendor/github.com/containerd/containerd/signals.go
+++ b/vendor/github.com/containerd/containerd/signals.go
@@ -22,8 +22,8 @@ import (
"fmt"
"syscall"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/images"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/images"
"github.com/moby/sys/signal"
v1 "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/vendor/github.com/containerd/containerd/snapshots/proxy/proxy.go b/vendor/github.com/containerd/containerd/snapshots/proxy/proxy.go
index 3ef3b2698e..687fb44dc9 100644
--- a/vendor/github.com/containerd/containerd/snapshots/proxy/proxy.go
+++ b/vendor/github.com/containerd/containerd/snapshots/proxy/proxy.go
@@ -20,13 +20,13 @@ import (
"context"
"io"
- snapshotsapi "github.com/containerd/containerd/api/services/snapshots/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/protobuf"
- protobuftypes "github.com/containerd/containerd/protobuf/types"
- "github.com/containerd/containerd/snapshots"
+ snapshotsapi "github.com/containerd/containerd/v2/api/services/snapshots/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/protobuf"
+ protobuftypes "github.com/containerd/containerd/v2/protobuf/types"
+ "github.com/containerd/containerd/v2/snapshots"
)
// NewSnapshotter returns a new Snapshotter which communicates over a GRPC
diff --git a/vendor/github.com/containerd/containerd/snapshots/snapshotter.go b/vendor/github.com/containerd/containerd/snapshots/snapshotter.go
index 5fa5aa530c..b9ae43ee4c 100644
--- a/vendor/github.com/containerd/containerd/snapshots/snapshotter.go
+++ b/vendor/github.com/containerd/containerd/snapshots/snapshotter.go
@@ -22,7 +22,7 @@ import (
"strings"
"time"
- "github.com/containerd/containerd/mount"
+ "github.com/containerd/containerd/v2/mount"
)
const (
diff --git a/vendor/github.com/containerd/containerd/snapshotter_opts_unix.go b/vendor/github.com/containerd/containerd/snapshotter_opts_unix.go
index 4739e192fd..d172c83793 100644
--- a/vendor/github.com/containerd/containerd/snapshotter_opts_unix.go
+++ b/vendor/github.com/containerd/containerd/snapshotter_opts_unix.go
@@ -22,7 +22,7 @@ import (
"context"
"fmt"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/snapshots"
)
const (
diff --git a/vendor/github.com/containerd/containerd/snapshotter_opts_windows.go b/vendor/github.com/containerd/containerd/snapshotter_opts_windows.go
index 540bcb3130..87f0c29dee 100644
--- a/vendor/github.com/containerd/containerd/snapshotter_opts_windows.go
+++ b/vendor/github.com/containerd/containerd/snapshotter_opts_windows.go
@@ -19,7 +19,7 @@ package containerd
import (
"context"
- "github.com/containerd/containerd/snapshots"
+ "github.com/containerd/containerd/v2/snapshots"
)
func resolveSnapshotOptions(ctx context.Context, client *Client, snapshotterName string, snapshotter snapshots.Snapshotter, parent string, opts ...snapshots.Opt) (string, error) {
diff --git a/vendor/github.com/containerd/containerd/task.go b/vendor/github.com/containerd/containerd/task.go
index aba9e57193..141433d6fa 100644
--- a/vendor/github.com/containerd/containerd/task.go
+++ b/vendor/github.com/containerd/containerd/task.go
@@ -28,21 +28,21 @@ import (
"syscall"
"time"
- "github.com/containerd/containerd/api/services/tasks/v1"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/api/types/runc/options"
- "github.com/containerd/containerd/cio"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/diff"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/oci"
- "github.com/containerd/containerd/plugin"
- "github.com/containerd/containerd/protobuf"
- google_protobuf "github.com/containerd/containerd/protobuf/types"
- "github.com/containerd/containerd/rootfs"
- "github.com/containerd/containerd/runtime/linux/runctypes"
+ "github.com/containerd/containerd/v2/api/services/tasks/v1"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/api/types/runc/options"
+ "github.com/containerd/containerd/v2/cio"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/diff"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/oci"
+ "github.com/containerd/containerd/v2/plugin"
+ "github.com/containerd/containerd/v2/protobuf"
+ google_protobuf "github.com/containerd/containerd/v2/protobuf/types"
+ "github.com/containerd/containerd/v2/rootfs"
+ "github.com/containerd/containerd/v2/runtime/linux/runctypes"
"github.com/containerd/typeurl/v2"
digest "github.com/opencontainers/go-digest"
is "github.com/opencontainers/image-spec/specs-go"
diff --git a/vendor/github.com/containerd/containerd/task_opts.go b/vendor/github.com/containerd/containerd/task_opts.go
index 87011b7bd1..854aa92091 100644
--- a/vendor/github.com/containerd/containerd/task_opts.go
+++ b/vendor/github.com/containerd/containerd/task_opts.go
@@ -23,13 +23,13 @@ import (
"fmt"
"syscall"
- "github.com/containerd/containerd/api/types"
- "github.com/containerd/containerd/api/types/runc/options"
- "github.com/containerd/containerd/content"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/images"
- "github.com/containerd/containerd/mount"
- "github.com/containerd/containerd/runtime/linux/runctypes"
+ "github.com/containerd/containerd/v2/api/types"
+ "github.com/containerd/containerd/v2/api/types/runc/options"
+ "github.com/containerd/containerd/v2/content"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/images"
+ "github.com/containerd/containerd/v2/mount"
+ "github.com/containerd/containerd/v2/runtime/linux/runctypes"
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/opencontainers/runtime-spec/specs-go"
)
diff --git a/vendor/github.com/containerd/containerd/task_opts_unix.go b/vendor/github.com/containerd/containerd/task_opts_unix.go
index f1f1b01be1..e249c89627 100644
--- a/vendor/github.com/containerd/containerd/task_opts_unix.go
+++ b/vendor/github.com/containerd/containerd/task_opts_unix.go
@@ -22,8 +22,8 @@ import (
"context"
"errors"
- "github.com/containerd/containerd/api/types/runc/options"
- "github.com/containerd/containerd/runtime/linux/runctypes"
+ "github.com/containerd/containerd/v2/api/types/runc/options"
+ "github.com/containerd/containerd/v2/runtime/linux/runctypes"
)
// WithNoNewKeyring causes tasks not to be created with a new keyring for secret storage.
diff --git a/vendor/github.com/containerd/containerd/transfer.go b/vendor/github.com/containerd/containerd/transfer.go
index 9979aa75bd..a88557bbd4 100644
--- a/vendor/github.com/containerd/containerd/transfer.go
+++ b/vendor/github.com/containerd/containerd/transfer.go
@@ -21,13 +21,13 @@ import (
"errors"
"io"
- streamingapi "github.com/containerd/containerd/api/services/streaming/v1"
- transferapi "github.com/containerd/containerd/api/services/transfer/v1"
- "github.com/containerd/containerd/errdefs"
- "github.com/containerd/containerd/pkg/streaming"
- "github.com/containerd/containerd/pkg/transfer"
- "github.com/containerd/containerd/pkg/transfer/proxy"
- "github.com/containerd/containerd/protobuf"
+ streamingapi "github.com/containerd/containerd/v2/api/services/streaming/v1"
+ transferapi "github.com/containerd/containerd/v2/api/services/transfer/v1"
+ "github.com/containerd/containerd/v2/errdefs"
+ "github.com/containerd/containerd/v2/pkg/streaming"
+ "github.com/containerd/containerd/v2/pkg/transfer"
+ "github.com/containerd/containerd/v2/pkg/transfer/proxy"
+ "github.com/containerd/containerd/v2/protobuf"
"github.com/containerd/typeurl/v2"
)
diff --git a/vendor/github.com/containerd/containerd/version/version.go b/vendor/github.com/containerd/containerd/version/version.go
index f20a57a35f..955c88bf41 100644
--- a/vendor/github.com/containerd/containerd/version/version.go
+++ b/vendor/github.com/containerd/containerd/version/version.go
@@ -20,7 +20,7 @@ import "runtime"
var (
// Package is filled at linking time
- Package = "github.com/containerd/containerd"
+ Package = "github.com/containerd/containerd/v2"
// Version holds the complete version number. Filled in at linking time.
Version = "1.7.30+unknown"
diff --git a/vendor/github.com/fsnotify/fsnotify/.cirrus.yml b/vendor/github.com/fsnotify/fsnotify/.cirrus.yml
deleted file mode 100644
index 7f257e99ac..0000000000
--- a/vendor/github.com/fsnotify/fsnotify/.cirrus.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-freebsd_task:
- name: 'FreeBSD'
- freebsd_instance:
- image_family: freebsd-14-2
- install_script:
- - pkg update -f
- - pkg install -y go
- test_script:
- # run tests as user "cirrus" instead of root
- - pw useradd cirrus -m
- - chown -R cirrus:cirrus .
- - FSNOTIFY_BUFFER=4096 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
- - sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
- - FSNOTIFY_DEBUG=1 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race -v ./...
diff --git a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md
index 6468d2cf40..3027f3c67a 100644
--- a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md
+++ b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md
@@ -1,5 +1,54 @@
# Changelog
+1.10.1 2026-05-04
+-----------------
+
+### Changes and fixes
+
+- inotify: don't remove sibling watches sharing a path prefix ([#754])
+
+- inotify, windows: don't rename sibling watches sharing a path prefix
+ ([#755])
+
+
+[#754]: https://github.com/fsnotify/fsnotify/pull/754
+[#755]: https://github.com/fsnotify/fsnotify/pull/755
+
+
+1.10.0 2026-04-30
+-----------------
+This version of fsnotify needs Go 1.23.
+
+### Changes and fixes
+
+- inotify: improve initialization error message ([#731])
+
+- inotify: send Rename event if recursive watch is renamed ([#696])
+
+- inotify: avoid copying event buffers when reading names ([#741])
+
+- kqueue: skip dangling symlinks (ENOENT) in watchDirectoryFiles, so a
+ bad entry no longer aborts Watcher.Add for the whole directory ([#748])
+
+- kqueue: drop watches directly in Close() to fix a file descriptor leak
+ when recycling watchers ([#740])
+
+- windows: fix nil pointer dereference in remWatch ([#736])
+
+- windows: lock watch field updates against concurrent WatchList to fix
+ a race introduced in v1.9.0 ([#709], [#749])
+
+
+[#696]: https://github.com/fsnotify/fsnotify/pull/696
+[#709]: https://github.com/fsnotify/fsnotify/pull/709
+[#731]: https://github.com/fsnotify/fsnotify/pull/731
+[#736]: https://github.com/fsnotify/fsnotify/pull/736
+[#740]: https://github.com/fsnotify/fsnotify/pull/740
+[#741]: https://github.com/fsnotify/fsnotify/pull/741
+[#748]: https://github.com/fsnotify/fsnotify/pull/748
+[#749]: https://github.com/fsnotify/fsnotify/pull/749
+
+
1.9.0 2024-04-04
----------------
diff --git a/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md b/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md
index 4cc40fa597..cd0ee612da 100644
--- a/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md
+++ b/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md
@@ -77,6 +77,8 @@ End-of-line escapes with `\` are not supported.
debug [yes/no] # Enable/disable FSNOTIFY_DEBUG (tests are run in
parallel by default, so -parallel=1 is probably a good
idea).
+ state # Print internal state to stderr (exact output differs
+ # per backend).
print [any strings] # Print text to stdout; for debugging.
touch path
diff --git a/vendor/github.com/fsnotify/fsnotify/README.md b/vendor/github.com/fsnotify/fsnotify/README.md
index 1f4eb583d5..2e56ef4c9a 100644
--- a/vendor/github.com/fsnotify/fsnotify/README.md
+++ b/vendor/github.com/fsnotify/fsnotify/README.md
@@ -1,7 +1,7 @@
fsnotify is a Go library to provide cross-platform filesystem notifications on
Windows, Linux, macOS, BSD, and illumos.
-Go 1.17 or newer is required; the full documentation is at
+Go 1.23 or newer is required; the full documentation is at
https://pkg.go.dev/github.com/fsnotify/fsnotify
---
@@ -12,7 +12,7 @@ Platform support:
| :-------------------- | :--------- | :------------------------------------------------------------------------ |
| inotify | Linux | Supported |
| kqueue | BSD, macOS | Supported |
-| ReadDirectoryChangesW | Windows | Supported |
+| ReadDirectoryChangesW | Windows | Supported ([excluding `Chmod` operations][#487]) |
| FEN | illumos | Supported |
| fanotify | Linux 5.9+ | [Not yet](https://github.com/fsnotify/fsnotify/issues/114) |
| FSEvents | macOS | [Needs support in x/sys/unix][fsevents] |
@@ -22,6 +22,7 @@ Platform support:
Linux and illumos should include Android and Solaris, but these are currently
untested.
+[#487]: https://github.com/fsnotify/fsnotify/issues/487
[fsevents]: https://github.com/fsnotify/fsnotify/issues/11#issuecomment-1279133120
[usn]: https://github.com/fsnotify/fsnotify/issues/53#issuecomment-1279829847
@@ -126,7 +127,7 @@ settings* until we have a native FSEvents implementation (see [#11]).
### Watching a file doesn't work well
Watching individual files (rather than directories) is generally not recommended
as many programs (especially editors) update files atomically: it will write to
-a temporary file which is then moved to to destination, overwriting the original
+a temporary file which is then moved to a destination, overwriting the original
(or some variant thereof). The watcher on the original file is now lost, as that
no longer exists.
@@ -151,26 +152,57 @@ This is the event that inotify sends, so not much can be changed about this.
The `fs.inotify.max_user_watches` sysctl variable specifies the upper limit for
the number of watches per user, and `fs.inotify.max_user_instances` specifies
the maximum number of inotify instances per user. Every Watcher you create is an
-"instance", and every path you add is a "watch".
+"instance", and every path you add is a "watch". Reaching the limit will result
+in a "no space left on device" or "too many open files" error.
These are also exposed in `/proc` as `/proc/sys/fs/inotify/max_user_watches` and
-`/proc/sys/fs/inotify/max_user_instances`
+`/proc/sys/fs/inotify/max_user_instances`. The default values differ per distro
+and available memory.
To increase them you can use `sysctl` or write the value to proc file:
- # The default values on Linux 5.18
- sysctl fs.inotify.max_user_watches=124983
- sysctl fs.inotify.max_user_instances=128
+ sysctl fs.inotify.max_user_watches=200000
+ sysctl fs.inotify.max_user_instances=256
To make the changes persist on reboot edit `/etc/sysctl.conf` or
`/usr/lib/sysctl.d/50-default.conf` (details differ per Linux distro; check your
distro's documentation):
- fs.inotify.max_user_watches=124983
- fs.inotify.max_user_instances=128
+ fs.inotify.max_user_watches=200000
+ fs.inotify.max_user_instances=256
+
+### Windows
+Recursive watching is not currently enabled through fsnotify's public API
+(see the FAQ "Are subdirectories watched?" above). The notes below
+describe Windows backend behavior observed when recursive watching is
+enabled internally (for example, in fsnotify's own tests). They are kept
+here as a reference for maintainers and contributors who encounter the
+behavior, since the recursive code path still exists in the backend.
+
+When recursive watching is enabled and you watch a directory, you may
+receive a `Write` event for an intermediate directory whenever a child
+entry inside it is created, renamed, or removed. For example, with a
+recursive watch on `/a` and a new file `/a/b/c`, you will receive
+`Create /a/b/c` and may also receive `Write /a/b`.
+
+This happens because, on NTFS-backed volumes, modifying the entries of a
+directory updates that directory's last-write time, and the Windows
+backend requests `FILE_NOTIFY_CHANGE_LAST_WRITE` to support `Write` events
+on files. The same `Write` filter therefore picks up the directory's
+metadata update.
+
+kqueue has the same "directory `Write` = directory contents changed"
+semantics, so portable code that treats `Write` on a directory as
+"something inside it changed" works on Windows and BSD/macOS, but not on
+Linux (inotify uses `Write` only for file-content changes). If you only
+care about file content, filter out `Write` events whose path refers to a
+directory.
+
+Whether the directory `Write` is actually delivered alongside the child
+events is not guaranteed: it depends on `ReadDirectoryChangesW` buffering,
+NTFS metadata update timing, and event coalescing, none of which fsnotify
+controls.
-Reaching the limit will result in a "no space left on device" or "too many open
-files" error.
### kqueue (macOS, all BSD systems)
kqueue requires opening a file descriptor for every file that's being watched;
diff --git a/vendor/github.com/fsnotify/fsnotify/backend_fen.go b/vendor/github.com/fsnotify/fsnotify/backend_fen.go
index 57fc692848..e43c6d088c 100644
--- a/vendor/github.com/fsnotify/fsnotify/backend_fen.go
+++ b/vendor/github.com/fsnotify/fsnotify/backend_fen.go
@@ -158,7 +158,9 @@ func (w *fen) readEvents() {
pevents := make([]unix.PortEvent, 8)
for {
- count, err := w.port.Get(pevents, 1, nil)
+ count, err := internal.IgnoringEINTR(func() (int, error) {
+ return w.port.Get(pevents, 1, nil)
+ })
if err != nil && err != unix.ETIME {
// Interrupted system call (count should be 0) ignore and continue
if errors.Is(err, unix.EINTR) && count == 0 {
diff --git a/vendor/github.com/fsnotify/fsnotify/backend_inotify.go b/vendor/github.com/fsnotify/fsnotify/backend_inotify.go
index a36cb89d73..4c3f6f7c28 100644
--- a/vendor/github.com/fsnotify/fsnotify/backend_inotify.go
+++ b/vendor/github.com/fsnotify/fsnotify/backend_inotify.go
@@ -55,10 +55,10 @@ type (
path map[string]uint32 // pathname → wd
}
watch struct {
- wd uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall)
- flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags)
- path string // Watch path.
- recurse bool // Recursion with ./...?
+ wd uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall)
+ flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags)
+ path string // Watch path.
+ watchFlags watchFlag
}
koekje struct {
cookie uint32
@@ -66,6 +66,9 @@ type (
}
)
+func (w watch) byUser() bool { return w.watchFlags&flagByUser != 0 }
+func (w watch) recurse() bool { return w.watchFlags&flagRecurse != 0 }
+
func newWatches() *watches {
return &watches{
wd: make(map[uint32]*watch),
@@ -79,6 +82,13 @@ func (w *watches) len() int { return len(w.wd) }
func (w *watches) add(ww *watch) { w.wd[ww.wd] = ww; w.path[ww.path] = ww.wd }
func (w *watches) remove(watch *watch) { delete(w.path, watch.path); delete(w.wd, watch.wd) }
+func isSameOrDescendantPath(path, root string) bool {
+ if path == root {
+ return true
+ }
+ return strings.HasPrefix(path, root+string(os.PathSeparator))
+}
+
func (w *watches) removePath(path string) ([]uint32, error) {
path, recurse := recursivePath(path)
wd, ok := w.path[path]
@@ -87,20 +97,20 @@ func (w *watches) removePath(path string) ([]uint32, error) {
}
watch := w.wd[wd]
- if recurse && !watch.recurse {
+ if recurse && !watch.recurse() {
return nil, fmt.Errorf("can't use /... with non-recursive watch %q", path)
}
delete(w.path, path)
delete(w.wd, wd)
- if !watch.recurse {
+ if !watch.recurse() {
return []uint32{wd}, nil
}
wds := make([]uint32, 0, 8)
wds = append(wds, wd)
for p, rwd := range w.path {
- if strings.HasPrefix(p, path) {
+ if isSameOrDescendantPath(p, path) {
delete(w.path, p)
delete(w.wd, rwd)
wds = append(wds, rwd)
@@ -139,7 +149,7 @@ func newBackend(ev chan Event, errs chan error) (backend, error) {
// I/O operations won't terminate on close.
fd, errno := unix.InotifyInit1(unix.IN_CLOEXEC | unix.IN_NONBLOCK)
if fd == -1 {
- return nil, errno
+ return nil, fmt.Errorf("couldn't initialize inotify: %w", errno)
}
w := &inotify{
@@ -188,11 +198,8 @@ func (w *inotify) AddWith(path string, opts ...addOpt) error {
return fmt.Errorf("%w: %s", xErrUnsupported, with.op)
}
- add := func(path string, with withOpts, recurse bool) error {
+ add := func(path string, with withOpts, wf watchFlag) error {
var flags uint32
- if with.noFollow {
- flags |= unix.IN_DONT_FOLLOW
- }
if with.op.Has(Create) {
flags |= unix.IN_CREATE
}
@@ -220,7 +227,7 @@ func (w *inotify) AddWith(path string, opts ...addOpt) error {
if with.op.Has(xUnportableCloseRead) {
flags |= unix.IN_CLOSE_NOWRITE
}
- return w.register(path, flags, recurse)
+ return w.register(path, flags, wf)
}
w.mu.Lock()
@@ -248,14 +255,18 @@ func (w *inotify) AddWith(path string, opts ...addOpt) error {
w.sendEvent(Event{Name: root, Op: Create})
}
- return add(root, with, true)
+ wf := flagRecurse
+ if root == path {
+ wf |= flagByUser
+ }
+ return add(root, with, wf)
})
}
- return add(path, with, false)
+ return add(path, with, 0)
}
-func (w *inotify) register(path string, flags uint32, recurse bool) error {
+func (w *inotify) register(path string, flags uint32, wf watchFlag) error {
return w.watches.updatePath(path, func(existing *watch) (*watch, error) {
if existing != nil {
flags |= existing.flags | unix.IN_MASK_ADD
@@ -272,10 +283,10 @@ func (w *inotify) register(path string, flags uint32, recurse bool) error {
if existing == nil {
return &watch{
- wd: uint32(wd),
- path: path,
- flags: flags,
- recurse: recurse,
+ wd: uint32(wd),
+ path: path,
+ flags: flags,
+ watchFlags: wf,
}, nil
}
@@ -425,11 +436,7 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
nameLen = uint32(inEvent.Len)
)
if nameLen > 0 {
- /// Point "bytes" at the first byte of the filename
- bb := *buf
- bytes := (*[unix.PathMax]byte)(unsafe.Pointer(&bb[offset+unix.SizeofInotifyEvent]))[:nameLen:nameLen]
- /// The filename is padded with NULL bytes. TrimRight() gets rid of those.
- name += "/" + strings.TrimRight(string(bytes[0:nameLen]), "\x00")
+ name += "/" + inotifyEventName(buf, offset, nameLen)
}
if debug {
@@ -450,7 +457,9 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
// We can't really update the state when a watched path is moved; only
// IN_MOVE_SELF is sent and not IN_MOVED_{FROM,TO}. So remove the watch.
if inEvent.Mask&unix.IN_MOVE_SELF == unix.IN_MOVE_SELF {
- if watch.recurse { // Do nothing
+ // Watch is set up as part of recurse: do nothing as the move gets
+ // registered from the parent directory.
+ if watch.recurse() && !watch.byUser() {
return Event{}, true
}
@@ -460,6 +469,10 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
return Event{}, false
}
}
+
+ if watch.recurse() {
+ return Event{Name: watch.path, Op: Rename}, true
+ }
}
/// Skip if we're watching both this path and the parent; the parent will
@@ -473,11 +486,11 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
ev := w.newEvent(name, inEvent.Mask, inEvent.Cookie)
// Need to update watch path for recurse.
- if watch.recurse {
+ if watch.recurse() {
isDir := inEvent.Mask&unix.IN_ISDIR == unix.IN_ISDIR
/// New directory created: set up watch on it.
if isDir && ev.Has(Create) {
- err := w.register(ev.Name, watch.flags, true)
+ err := w.register(ev.Name, watch.flags, flagRecurse)
if !w.sendError(err) {
return Event{}, false
}
@@ -495,7 +508,7 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
if k == watch.wd || ww.path == ev.Name {
continue
}
- if strings.HasPrefix(ww.path, ev.renamedFrom) {
+ if isSameOrDescendantPath(ww.path, ev.renamedFrom) {
ww.path = strings.Replace(ww.path, ev.renamedFrom, ev.Name, 1)
w.watches.wd[k] = ww
}
@@ -507,12 +520,13 @@ func (w *inotify) handleEvent(inEvent *unix.InotifyEvent, buf *[65536]byte, offs
return ev, true
}
-func (w *inotify) isRecursive(path string) bool {
- ww := w.watches.byPath(path)
- if ww == nil { // path could be a file, so also check the Dir.
- ww = w.watches.byPath(filepath.Dir(path))
+func inotifyEventName(buf *[65536]byte, offset, nameLen uint32) string {
+ start := int(offset + unix.SizeofInotifyEvent)
+ bytes := (*[unix.PathMax]byte)(unsafe.Pointer(&buf[start]))[:nameLen:nameLen]
+ for nameLen > 0 && bytes[nameLen-1] == 0 {
+ nameLen--
}
- return ww != nil && ww.recurse
+ return string(bytes[:nameLen])
}
func (w *inotify) newEvent(name string, mask, cookie uint32) Event {
@@ -578,6 +592,6 @@ func (w *inotify) state() {
w.mu.Lock()
defer w.mu.Unlock()
for wd, ww := range w.watches.wd {
- fmt.Fprintf(os.Stderr, "%4d: recurse=%t %q\n", wd, ww.recurse, ww.path)
+ fmt.Fprintf(os.Stderr, "%4d: %q watchFlags=0x%x\n", wd, ww.path, ww.watchFlags)
}
}
diff --git a/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go b/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go
index 340aeec061..d2c8cfb6c6 100644
--- a/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go
+++ b/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go
@@ -8,6 +8,7 @@ import (
"os"
"path/filepath"
"runtime"
+ "sort"
"sync"
"time"
@@ -245,9 +246,26 @@ func (w *kqueue) Close() error {
return nil
}
+ // Snapshot and drop all watches directly. w.Remove -> w.remove
+ // short-circuits on isClosed() (which is already true after
+ // w.shared.close() above), so calling Remove here in the happy path
+ // leaked every watched directory + file descriptor. On macOS a
+ // single directory watch opens an fd for every file in the dir, so
+ // long-running processes that recreate watchers (hot-reload dev
+ // servers, etc.) ran out of fds with EMFILE (#732).
pathsToRemove := w.watches.listPaths(false)
for _, name := range pathsToRemove {
- w.Remove(name)
+ info, ok := w.watches.byPath(name)
+ if !ok {
+ // w.path has an entry for name but w.wd doesn't --
+ // drop the stale lookup entry so the map state is
+ // consistent after Close.
+ w.watches.remove(0, name)
+ continue
+ }
+ _ = w.register([]int{info.wd}, unix.EV_DELETE, 0)
+ unix.Close(info.wd)
+ w.watches.remove(info.wd, name)
}
unix.Close(w.closepipe[1]) // Send "quit" message to readEvents
@@ -376,19 +394,12 @@ func (w *kqueue) addWatch(name string, flags uint32, listDir bool) (string, erro
}
}
- // Retry on EINTR; open() can return EINTR in practice on macOS.
- // See #354, and Go issues 11180 and 39237.
- for {
- info.wd, err = unix.Open(name, openMode, 0)
- if err == nil {
- break
- }
- if errors.Is(err, unix.EINTR) {
- continue
- }
+ info.wd, err = internal.IgnoringEINTR(func() (int, error) {
+ return unix.Open(name, openMode, 0)
+ })
+ if err != nil {
return "", err
}
-
info.isDir = fi.IsDir()
}
@@ -436,9 +447,10 @@ func (w *kqueue) readEvents() {
eventBuffer := make([]unix.Kevent_t, 10)
for {
- kevents, err := w.read(eventBuffer)
- // EINTR is okay, the syscall was interrupted before timeout expired.
- if err != nil && err != unix.EINTR {
+ kevents, err := internal.IgnoringEINTR(func() ([]unix.Kevent_t, error) {
+ return w.read(eventBuffer)
+ })
+ if err != nil {
if !w.sendError(fmt.Errorf("fsnotify.readEvents: %w", err)) {
return
}
@@ -583,12 +595,14 @@ func (w *kqueue) watchDirectoryFiles(dirPath string) error {
cleanPath, err := w.internalWatch(path, fi)
if err != nil {
- // No permission to read the file; that's not a problem: just skip.
- // But do add it to w.fileExists to prevent it from being picked up
- // as a "new" file later (it still shows up in the directory
+ // No permission, or the entry resolved to a missing target
+ // (e.g. a dangling symlink): not a problem, just skip. But
+ // do mark it as seen to prevent it from being picked up as
+ // a "new" file later (it still shows up in the directory
// listing).
switch {
- case errors.Is(err, unix.EACCES) || errors.Is(err, unix.EPERM):
+ case errors.Is(err, unix.EACCES) || errors.Is(err, unix.EPERM) ||
+ errors.Is(err, os.ErrNotExist):
cleanPath = filepath.Clean(path)
default:
return fmt.Errorf("%q: %w", path, err)
@@ -703,3 +717,19 @@ func (w *kqueue) xSupports(op Op) bool {
}
return true
}
+
+func (w *kqueue) state() {
+ w.watches.mu.Lock()
+ defer w.watches.mu.Unlock()
+
+ all := make([]int, 0, len(w.watches.wd))
+ for wd := range w.watches.wd {
+ all = append(all, wd)
+ }
+ sort.Ints(all)
+
+ for _, wd := range all {
+ ww := w.watches.wd[wd]
+ fmt.Fprintf(os.Stderr, "%4d %q linkname=%q\n", wd, ww.name, ww.linkName)
+ }
+}
diff --git a/vendor/github.com/fsnotify/fsnotify/backend_windows.go b/vendor/github.com/fsnotify/fsnotify/backend_windows.go
index 3433642d64..fb9210f24e 100644
--- a/vendor/github.com/fsnotify/fsnotify/backend_windows.go
+++ b/vendor/github.com/fsnotify/fsnotify/backend_windows.go
@@ -11,7 +11,6 @@ import (
"fmt"
"os"
"path/filepath"
- "reflect"
"runtime"
"strings"
"sync"
@@ -37,6 +36,13 @@ type readDirChangesW struct {
var defaultBufferSize = 50
+func isSameOrDescendantPath(path, root string) bool {
+ if path == root {
+ return true
+ }
+ return strings.HasPrefix(path, root+string(os.PathSeparator))
+}
+
func newBackend(ev chan Event, errs chan error) (backend, error) {
port, err := windows.CreateIoCompletionPort(windows.InvalidHandle, 0, 0, 0)
if err != nil {
@@ -359,22 +365,26 @@ func (w *readDirChangesW) addWatch(pathname string, flags uint64, bufsize int) e
} else {
windows.CloseHandle(ino.handle)
}
+ w.mu.Lock()
if pathname == dir {
watchEntry.mask |= flags
} else {
watchEntry.names[filepath.Base(pathname)] |= flags
}
+ w.mu.Unlock()
err = w.startRead(watchEntry)
if err != nil {
return err
}
+ w.mu.Lock()
if pathname == dir {
watchEntry.mask &= ^provisional
} else {
watchEntry.names[filepath.Base(pathname)] &= ^provisional
}
+ w.mu.Unlock()
return nil
}
@@ -394,8 +404,13 @@ func (w *readDirChangesW) remWatch(pathname string) error {
w.mu.Lock()
watch := w.watches.get(ino)
w.mu.Unlock()
+ if watch == nil {
+ windows.CloseHandle(ino.handle)
+ return fmt.Errorf("%w: %s", ErrNonExistentWatch, pathname)
+ }
if recurse && !watch.recurse {
+ windows.CloseHandle(ino.handle)
return fmt.Errorf("can't use \\... with non-recursive watch %q", pathname)
}
@@ -403,16 +418,19 @@ func (w *readDirChangesW) remWatch(pathname string) error {
if err != nil {
w.sendError(os.NewSyscallError("CloseHandle", err))
}
- if watch == nil {
- return fmt.Errorf("%w: %s", ErrNonExistentWatch, pathname)
- }
if pathname == dir {
- w.sendEvent(watch.path, "", watch.mask&sysFSIGNORED)
+ w.mu.Lock()
+ mask := watch.mask
watch.mask = 0
+ w.mu.Unlock()
+ w.sendEvent(watch.path, "", mask&sysFSIGNORED)
} else {
name := filepath.Base(pathname)
- w.sendEvent(filepath.Join(watch.path, name), "", watch.names[name]&sysFSIGNORED)
+ w.mu.Lock()
+ mask := watch.names[name]
delete(watch.names, name)
+ w.mu.Unlock()
+ w.sendEvent(filepath.Join(watch.path, name), "", mask&sysFSIGNORED)
}
return w.startRead(watch)
@@ -420,17 +438,23 @@ func (w *readDirChangesW) remWatch(pathname string) error {
// Must run within the I/O thread.
func (w *readDirChangesW) deleteWatch(watch *watch) {
- for name, mask := range watch.names {
- if mask&provisional == 0 {
- w.sendEvent(filepath.Join(watch.path, name), "", mask&sysFSIGNORED)
+ // Snapshot+clear under the lock so concurrent WatchList() readers see a
+ // consistent state. sendEvent must run outside the lock since it can
+ // block on the user-facing Events channel.
+ w.mu.Lock()
+ names := watch.names
+ watch.names = make(map[string]uint64)
+ mask := watch.mask
+ watch.mask = 0
+ w.mu.Unlock()
+
+ for name, m := range names {
+ if m&provisional == 0 {
+ w.sendEvent(filepath.Join(watch.path, name), "", m&sysFSIGNORED)
}
- delete(watch.names, name)
}
- if watch.mask != 0 {
- if watch.mask&provisional == 0 {
- w.sendEvent(watch.path, "", watch.mask&sysFSIGNORED)
- }
- watch.mask = 0
+ if mask != 0 && mask&provisional == 0 {
+ w.sendEvent(watch.path, "", mask&sysFSIGNORED)
}
}
@@ -457,9 +481,8 @@ func (w *readDirChangesW) startRead(watch *watch) error {
}
// We need to pass the array, rather than the slice.
- hdr := (*reflect.SliceHeader)(unsafe.Pointer(&watch.buf))
rdErr := windows.ReadDirectoryChanges(watch.ino.handle,
- (*byte)(unsafe.Pointer(hdr.Data)), uint32(hdr.Len),
+ unsafe.SliceData(watch.buf), uint32(len(watch.buf)),
watch.recurse, mask, nil, &watch.ov, 0)
if rdErr != nil {
err := os.NewSyscallError("ReadDirectoryChanges", rdErr)
@@ -565,12 +588,7 @@ func (w *readDirChangesW) readEvents() {
// Create a buf that is the size of the path name
size := int(raw.FileNameLength / 2)
- var buf []uint16
- // TODO: Use unsafe.Slice in Go 1.17; https://stackoverflow.com/questions/51187973
- sh := (*reflect.SliceHeader)(unsafe.Pointer(&buf))
- sh.Data = uintptr(unsafe.Pointer(&raw.FileName))
- sh.Len = size
- sh.Cap = size
+ buf := unsafe.Slice(&raw.FileName, size)
name := windows.UTF16ToString(buf)
fullname := filepath.Join(watch.path, name)
@@ -587,31 +605,35 @@ func (w *readDirChangesW) readEvents() {
case windows.FILE_ACTION_RENAMED_OLD_NAME:
watch.rename = name
case windows.FILE_ACTION_RENAMED_NEW_NAME:
- // Update saved path of all sub-watches.
+ // Update saved path of all sub-watches and rename the
+ // names entry under the lock so WatchList() can't observe
+ // a torn state.
old := filepath.Join(watch.path, watch.rename)
w.mu.Lock()
for _, watchMap := range w.watches {
for _, ww := range watchMap {
- if strings.HasPrefix(ww.path, old) {
+ if isSameOrDescendantPath(ww.path, old) {
ww.path = filepath.Join(fullname, strings.TrimPrefix(ww.path, old))
}
}
}
- w.mu.Unlock()
-
if watch.names[watch.rename] != 0 {
watch.names[name] |= watch.names[watch.rename]
delete(watch.names, watch.rename)
mask = sysFSMOVESELF
}
+ w.mu.Unlock()
}
if raw.Action != windows.FILE_ACTION_RENAMED_NEW_NAME {
w.sendEvent(fullname, "", watch.names[name]&mask)
}
if raw.Action == windows.FILE_ACTION_REMOVED {
- w.sendEvent(fullname, "", watch.names[name]&sysFSIGNORED)
+ w.mu.Lock()
+ ignored := watch.names[name] & sysFSIGNORED
delete(watch.names, name)
+ w.mu.Unlock()
+ w.sendEvent(fullname, "", ignored)
}
if watch.rename != "" && raw.Action == windows.FILE_ACTION_RENAMED_NEW_NAME {
diff --git a/vendor/github.com/fsnotify/fsnotify/fsnotify.go b/vendor/github.com/fsnotify/fsnotify/fsnotify.go
index f64be4bf98..38cb4dd481 100644
--- a/vendor/github.com/fsnotify/fsnotify/fsnotify.go
+++ b/vendor/github.com/fsnotify/fsnotify/fsnotify.go
@@ -51,26 +51,25 @@ import (
// The fs.inotify.max_user_watches sysctl variable specifies the upper limit
// for the number of watches per user, and fs.inotify.max_user_instances
// specifies the maximum number of inotify instances per user. Every Watcher you
-// create is an "instance", and every path you add is a "watch".
+// create is an "instance", and every path you add is a "watch". Reaching the
+// limit will result in a "no space left on device" or "too many open files"
+// error.
//
// These are also exposed in /proc as /proc/sys/fs/inotify/max_user_watches and
-// /proc/sys/fs/inotify/max_user_instances
+// /proc/sys/fs/inotify/max_user_instances. The default values differ per distro
+// and available memory.
//
// To increase them you can use sysctl or write the value to the /proc file:
//
-// # Default values on Linux 5.18
-// sysctl fs.inotify.max_user_watches=124983
-// sysctl fs.inotify.max_user_instances=128
+// sysctl fs.inotify.max_user_watches=200000
+// sysctl fs.inotify.max_user_instances=256
//
// To make the changes persist on reboot edit /etc/sysctl.conf or
// /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check
// your distro's documentation):
//
-// fs.inotify.max_user_watches=124983
-// fs.inotify.max_user_instances=128
-//
-// Reaching the limit will result in a "no space left on device" or "too many open
-// files" error.
+// fs.inotify.max_user_watches=200000
+// fs.inotify.max_user_instances=256
//
// # kqueue notes (macOS, BSD)
//
@@ -93,6 +92,28 @@ import (
// Sometimes it will send events for all files, sometimes it will send no
// events, and often only for some files.
//
+// Recursive watching is not currently enabled through fsnotify's public
+// API; the recursive code path is gated and only exercised by fsnotify's
+// own tests. The note below describes backend behavior observed when
+// recursive watching is enabled internally, and is kept here as a
+// reference for maintainers and contributors who encounter it.
+//
+// When recursive watching is enabled and you watch a directory, you may
+// receive a Write event for an intermediate directory whenever a child
+// entry inside it is created, renamed, or removed. For example, with a
+// recursive watch on /a and a new file /a/b/c, you will receive
+// Create /a/b/c and may also receive Write /a/b.
+//
+// This happens because, on NTFS-backed volumes, modifying the entries of a
+// directory updates that directory's last-write time, and the Windows
+// backend requests FILE_NOTIFY_CHANGE_LAST_WRITE to support Write events
+// on files. The same Write filter therefore picks up the directory's
+// metadata update.
+//
+// Whether the directory Write is actually delivered alongside the child
+// events is not guaranteed; it depends on ReadDirectoryChangesW buffering,
+// NTFS metadata update timing, and event coalescing.
+//
// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest
// value that is guaranteed to work with SMB filesystems. If you have many
// events in quick succession this may not be enough, and you will have to use
@@ -129,8 +150,12 @@ type Watcher struct {
// want to wait until you've stopped receiving them
// (see the dedup example in cmd/fsnotify).
//
- // Some systems may send Write event for directories
- // when the directory content changes.
+ // Some systems also send Write events for directories
+ // when the directory contents change. This is the
+ // case for kqueue, and on Windows for the directory
+ // that contains a created, renamed, or removed child
+ // entry. It does not happen on inotify. See the
+ // per-platform notes on [Watcher].
//
// fsnotify.Chmod Attributes were changed. On Linux this is also sent
// when a file is removed (or more accurately, when a
@@ -179,7 +204,9 @@ const (
Create Op = 1 << iota
// The pathname was written to; this does *not* mean the write has finished,
- // and a write can be followed by more writes.
+ // and a write can be followed by more writes. On Windows and kqueue, a
+ // Write on a directory can also indicate that its contents changed; see
+ // the per-platform notes on [Watcher].
Write
// The path was removed; any watches on it will be removed. Some "remove"
@@ -220,7 +247,7 @@ const (
// File opened for reading was closed.
//
- // Only works on Linux and FreeBSD.
+ // Only works on Linux.
xUnportableCloseRead
)
@@ -410,7 +437,6 @@ type (
withOpts struct {
bufsize int
op Op
- noFollow bool
sendCreate bool
}
)
@@ -469,12 +495,6 @@ func withOps(op Op) addOpt {
return func(opt *withOpts) { opt.op = op }
}
-// WithNoFollow disables following symlinks, so the symlinks themselves are
-// watched.
-func withNoFollow() addOpt {
- return func(opt *withOpts) { opt.noFollow = true }
-}
-
// "Internal" option for recursive watches on inotify.
func withCreate() addOpt {
return func(opt *withOpts) { opt.sendCreate = true }
@@ -494,3 +514,13 @@ func recursivePath(path string) (string, bool) {
}
return path, false
}
+
+type watchFlag uint8
+
+const (
+ // Added by user with Add(), rather than an internal watch.
+ flagByUser = watchFlag(0x01)
+ // Part of recursive watch; as the top-level path added by the user or an
+ // "internal" watch.
+ flagRecurse = watchFlag(0x02)
+)
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/darwin.go b/vendor/github.com/fsnotify/fsnotify/internal/darwin.go
index 0b01bc182a..6721aa6096 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/darwin.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/darwin.go
@@ -15,25 +15,6 @@ var (
var maxfiles uint64
-func SetRlimit() {
- // Go 1.19 will do this automatically: https://go-review.googlesource.com/c/go/+/393354/
- var l syscall.Rlimit
- err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &l)
- if err == nil && l.Cur != l.Max {
- l.Cur = l.Max
- syscall.Setrlimit(syscall.RLIMIT_NOFILE, &l)
- }
- maxfiles = l.Cur
-
- if n, err := syscall.SysctlUint32("kern.maxfiles"); err == nil && uint64(n) < maxfiles {
- maxfiles = uint64(n)
- }
-
- if n, err := syscall.SysctlUint32("kern.maxfilesperproc"); err == nil && uint64(n) < maxfiles {
- maxfiles = uint64(n)
- }
-}
-
func Maxfiles() uint64 { return maxfiles }
func Mkfifo(path string, mode uint32) error { return unix.Mkfifo(path, mode) }
func Mknod(path string, mode uint32, dev int) error { return unix.Mknod(path, mode, dev) }
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go
index 928319fb09..7600180742 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go
@@ -6,52 +6,10 @@ var names = []struct {
n string
m uint32
}{
- {"NOTE_ABSOLUTE", unix.NOTE_ABSOLUTE},
{"NOTE_ATTRIB", unix.NOTE_ATTRIB},
- {"NOTE_BACKGROUND", unix.NOTE_BACKGROUND},
- {"NOTE_CHILD", unix.NOTE_CHILD},
- {"NOTE_CRITICAL", unix.NOTE_CRITICAL},
{"NOTE_DELETE", unix.NOTE_DELETE},
- {"NOTE_EXEC", unix.NOTE_EXEC},
- {"NOTE_EXIT", unix.NOTE_EXIT},
- {"NOTE_EXITSTATUS", unix.NOTE_EXITSTATUS},
- {"NOTE_EXIT_CSERROR", unix.NOTE_EXIT_CSERROR},
- {"NOTE_EXIT_DECRYPTFAIL", unix.NOTE_EXIT_DECRYPTFAIL},
- {"NOTE_EXIT_DETAIL", unix.NOTE_EXIT_DETAIL},
- {"NOTE_EXIT_DETAIL_MASK", unix.NOTE_EXIT_DETAIL_MASK},
- {"NOTE_EXIT_MEMORY", unix.NOTE_EXIT_MEMORY},
- {"NOTE_EXIT_REPARENTED", unix.NOTE_EXIT_REPARENTED},
{"NOTE_EXTEND", unix.NOTE_EXTEND},
- {"NOTE_FFAND", unix.NOTE_FFAND},
- {"NOTE_FFCOPY", unix.NOTE_FFCOPY},
- {"NOTE_FFCTRLMASK", unix.NOTE_FFCTRLMASK},
- {"NOTE_FFLAGSMASK", unix.NOTE_FFLAGSMASK},
- {"NOTE_FFNOP", unix.NOTE_FFNOP},
- {"NOTE_FFOR", unix.NOTE_FFOR},
- {"NOTE_FORK", unix.NOTE_FORK},
- {"NOTE_FUNLOCK", unix.NOTE_FUNLOCK},
- {"NOTE_LEEWAY", unix.NOTE_LEEWAY},
{"NOTE_LINK", unix.NOTE_LINK},
- {"NOTE_LOWAT", unix.NOTE_LOWAT},
- {"NOTE_MACHTIME", unix.NOTE_MACHTIME},
- {"NOTE_MACH_CONTINUOUS_TIME", unix.NOTE_MACH_CONTINUOUS_TIME},
- {"NOTE_NONE", unix.NOTE_NONE},
- {"NOTE_NSECONDS", unix.NOTE_NSECONDS},
- {"NOTE_OOB", unix.NOTE_OOB},
- //{"NOTE_PCTRLMASK", unix.NOTE_PCTRLMASK}, -0x100000 (?!)
- {"NOTE_PDATAMASK", unix.NOTE_PDATAMASK},
- {"NOTE_REAP", unix.NOTE_REAP},
{"NOTE_RENAME", unix.NOTE_RENAME},
- {"NOTE_REVOKE", unix.NOTE_REVOKE},
- {"NOTE_SECONDS", unix.NOTE_SECONDS},
- {"NOTE_SIGNAL", unix.NOTE_SIGNAL},
- {"NOTE_TRACK", unix.NOTE_TRACK},
- {"NOTE_TRACKERR", unix.NOTE_TRACKERR},
- {"NOTE_TRIGGER", unix.NOTE_TRIGGER},
- {"NOTE_USECONDS", unix.NOTE_USECONDS},
- {"NOTE_VM_ERROR", unix.NOTE_VM_ERROR},
- {"NOTE_VM_PRESSURE", unix.NOTE_VM_PRESSURE},
- {"NOTE_VM_PRESSURE_SUDDEN_TERMINATE", unix.NOTE_VM_PRESSURE_SUDDEN_TERMINATE},
- {"NOTE_VM_PRESSURE_TERMINATE", unix.NOTE_VM_PRESSURE_TERMINATE},
{"NOTE_WRITE", unix.NOTE_WRITE},
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go
index 3186b0c349..7600180742 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go
@@ -7,27 +7,9 @@ var names = []struct {
m uint32
}{
{"NOTE_ATTRIB", unix.NOTE_ATTRIB},
- {"NOTE_CHILD", unix.NOTE_CHILD},
{"NOTE_DELETE", unix.NOTE_DELETE},
- {"NOTE_EXEC", unix.NOTE_EXEC},
- {"NOTE_EXIT", unix.NOTE_EXIT},
{"NOTE_EXTEND", unix.NOTE_EXTEND},
- {"NOTE_FFAND", unix.NOTE_FFAND},
- {"NOTE_FFCOPY", unix.NOTE_FFCOPY},
- {"NOTE_FFCTRLMASK", unix.NOTE_FFCTRLMASK},
- {"NOTE_FFLAGSMASK", unix.NOTE_FFLAGSMASK},
- {"NOTE_FFNOP", unix.NOTE_FFNOP},
- {"NOTE_FFOR", unix.NOTE_FFOR},
- {"NOTE_FORK", unix.NOTE_FORK},
{"NOTE_LINK", unix.NOTE_LINK},
- {"NOTE_LOWAT", unix.NOTE_LOWAT},
- {"NOTE_OOB", unix.NOTE_OOB},
- {"NOTE_PCTRLMASK", unix.NOTE_PCTRLMASK},
- {"NOTE_PDATAMASK", unix.NOTE_PDATAMASK},
{"NOTE_RENAME", unix.NOTE_RENAME},
- {"NOTE_REVOKE", unix.NOTE_REVOKE},
- {"NOTE_TRACK", unix.NOTE_TRACK},
- {"NOTE_TRACKERR", unix.NOTE_TRACKERR},
- {"NOTE_TRIGGER", unix.NOTE_TRIGGER},
{"NOTE_WRITE", unix.NOTE_WRITE},
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go
index f69fdb930f..b9e45f5551 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go
@@ -6,37 +6,15 @@ var names = []struct {
n string
m uint32
}{
- {"NOTE_ABSTIME", unix.NOTE_ABSTIME},
- {"NOTE_ATTRIB", unix.NOTE_ATTRIB},
- {"NOTE_CHILD", unix.NOTE_CHILD},
- {"NOTE_CLOSE", unix.NOTE_CLOSE},
- {"NOTE_CLOSE_WRITE", unix.NOTE_CLOSE_WRITE},
{"NOTE_DELETE", unix.NOTE_DELETE},
- {"NOTE_EXEC", unix.NOTE_EXEC},
- {"NOTE_EXIT", unix.NOTE_EXIT},
+ {"NOTE_WRITE", unix.NOTE_WRITE},
{"NOTE_EXTEND", unix.NOTE_EXTEND},
- {"NOTE_FFAND", unix.NOTE_FFAND},
- {"NOTE_FFCOPY", unix.NOTE_FFCOPY},
- {"NOTE_FFCTRLMASK", unix.NOTE_FFCTRLMASK},
- {"NOTE_FFLAGSMASK", unix.NOTE_FFLAGSMASK},
- {"NOTE_FFNOP", unix.NOTE_FFNOP},
- {"NOTE_FFOR", unix.NOTE_FFOR},
- {"NOTE_FILE_POLL", unix.NOTE_FILE_POLL},
- {"NOTE_FORK", unix.NOTE_FORK},
+ {"NOTE_ATTRIB", unix.NOTE_ATTRIB},
{"NOTE_LINK", unix.NOTE_LINK},
- {"NOTE_LOWAT", unix.NOTE_LOWAT},
- {"NOTE_MSECONDS", unix.NOTE_MSECONDS},
- {"NOTE_NSECONDS", unix.NOTE_NSECONDS},
- {"NOTE_OPEN", unix.NOTE_OPEN},
- {"NOTE_PCTRLMASK", unix.NOTE_PCTRLMASK},
- {"NOTE_PDATAMASK", unix.NOTE_PDATAMASK},
- {"NOTE_READ", unix.NOTE_READ},
{"NOTE_RENAME", unix.NOTE_RENAME},
{"NOTE_REVOKE", unix.NOTE_REVOKE},
- {"NOTE_SECONDS", unix.NOTE_SECONDS},
- {"NOTE_TRACK", unix.NOTE_TRACK},
- {"NOTE_TRACKERR", unix.NOTE_TRACKERR},
- {"NOTE_TRIGGER", unix.NOTE_TRIGGER},
- {"NOTE_USECONDS", unix.NOTE_USECONDS},
- {"NOTE_WRITE", unix.NOTE_WRITE},
+ {"NOTE_OPEN", unix.NOTE_OPEN},
+ {"NOTE_CLOSE", unix.NOTE_CLOSE},
+ {"NOTE_CLOSE_WRITE", unix.NOTE_CLOSE_WRITE},
+ {"NOTE_READ", unix.NOTE_READ},
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go
index 607e683bd7..5d8116436d 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go
@@ -27,6 +27,6 @@ func Debug(name string, kevent *unix.Kevent_t) {
if unknown > 0 {
l = append(l, fmt.Sprintf("0x%x", unknown))
}
- fmt.Fprintf(os.Stderr, "FSNOTIFY_DEBUG: %s %10d:%-60s → %q\n",
+ fmt.Fprintf(os.Stderr, "FSNOTIFY_DEBUG: %s %10d:%-20s → %q\n",
time.Now().Format("15:04:05.000000000"), mask, strings.Join(l, " | "), name)
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go
index e5b3b6f694..7600180742 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go
@@ -7,19 +7,9 @@ var names = []struct {
m uint32
}{
{"NOTE_ATTRIB", unix.NOTE_ATTRIB},
- {"NOTE_CHILD", unix.NOTE_CHILD},
{"NOTE_DELETE", unix.NOTE_DELETE},
- {"NOTE_EXEC", unix.NOTE_EXEC},
- {"NOTE_EXIT", unix.NOTE_EXIT},
{"NOTE_EXTEND", unix.NOTE_EXTEND},
- {"NOTE_FORK", unix.NOTE_FORK},
{"NOTE_LINK", unix.NOTE_LINK},
- {"NOTE_LOWAT", unix.NOTE_LOWAT},
- {"NOTE_PCTRLMASK", unix.NOTE_PCTRLMASK},
- {"NOTE_PDATAMASK", unix.NOTE_PDATAMASK},
{"NOTE_RENAME", unix.NOTE_RENAME},
- {"NOTE_REVOKE", unix.NOTE_REVOKE},
- {"NOTE_TRACK", unix.NOTE_TRACK},
- {"NOTE_TRACKERR", unix.NOTE_TRACKERR},
{"NOTE_WRITE", unix.NOTE_WRITE},
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go b/vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go
index 1dd455bc5a..871766d699 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go
@@ -7,22 +7,10 @@ var names = []struct {
m uint32
}{
{"NOTE_ATTRIB", unix.NOTE_ATTRIB},
- // {"NOTE_CHANGE", unix.NOTE_CHANGE}, // Not on 386?
- {"NOTE_CHILD", unix.NOTE_CHILD},
{"NOTE_DELETE", unix.NOTE_DELETE},
- {"NOTE_EOF", unix.NOTE_EOF},
- {"NOTE_EXEC", unix.NOTE_EXEC},
- {"NOTE_EXIT", unix.NOTE_EXIT},
{"NOTE_EXTEND", unix.NOTE_EXTEND},
- {"NOTE_FORK", unix.NOTE_FORK},
{"NOTE_LINK", unix.NOTE_LINK},
- {"NOTE_LOWAT", unix.NOTE_LOWAT},
- {"NOTE_PCTRLMASK", unix.NOTE_PCTRLMASK},
- {"NOTE_PDATAMASK", unix.NOTE_PDATAMASK},
{"NOTE_RENAME", unix.NOTE_RENAME},
- {"NOTE_REVOKE", unix.NOTE_REVOKE},
- {"NOTE_TRACK", unix.NOTE_TRACK},
- {"NOTE_TRACKERR", unix.NOTE_TRACKERR},
{"NOTE_TRUNCATE", unix.NOTE_TRUNCATE},
{"NOTE_WRITE", unix.NOTE_WRITE},
}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/freebsd.go b/vendor/github.com/fsnotify/fsnotify/internal/freebsd.go
index 5ac8b50797..758a249052 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/freebsd.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/freebsd.go
@@ -15,17 +15,6 @@ var (
var maxfiles uint64
-func SetRlimit() {
- // Go 1.19 will do this automatically: https://go-review.googlesource.com/c/go/+/393354/
- var l syscall.Rlimit
- err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &l)
- if err == nil && l.Cur != l.Max {
- l.Cur = l.Max
- syscall.Setrlimit(syscall.RLIMIT_NOFILE, &l)
- }
- maxfiles = uint64(l.Cur)
-}
-
func Maxfiles() uint64 { return maxfiles }
func Mkfifo(path string, mode uint32) error { return unix.Mkfifo(path, mode) }
func Mknod(path string, mode uint32, dev int) error { return unix.Mknod(path, mode, uint64(dev)) }
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/unix.go b/vendor/github.com/fsnotify/fsnotify/internal/unix.go
index b251fb8038..9c66f5d30d 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/unix.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/unix.go
@@ -15,17 +15,6 @@ var (
var maxfiles uint64
-func SetRlimit() {
- // Go 1.19 will do this automatically: https://go-review.googlesource.com/c/go/+/393354/
- var l syscall.Rlimit
- err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &l)
- if err == nil && l.Cur != l.Max {
- l.Cur = l.Max
- syscall.Setrlimit(syscall.RLIMIT_NOFILE, &l)
- }
- maxfiles = uint64(l.Cur)
-}
-
func Maxfiles() uint64 { return maxfiles }
func Mkfifo(path string, mode uint32) error { return unix.Mkfifo(path, mode) }
func Mknod(path string, mode uint32, dev int) error { return unix.Mknod(path, mode, dev) }
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/unix2.go b/vendor/github.com/fsnotify/fsnotify/internal/unix2.go
index 37dfeddc28..b2d89592f7 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/unix2.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/unix2.go
@@ -2,6 +2,24 @@
package internal
+import "syscall"
+
func HasPrivilegesForSymlink() bool {
return true
}
+
+// IgnoringEINTR makes a function call and repeats it if it returns an
+// EINTR error. This appears to be required even though we install all
+// signal handlers with SA_RESTART: see #22838, #38033, #38836, #40846.
+// Also #20400 and #36644 are issues in which a signal handler is
+// installed without setting SA_RESTART. None of these are the common case,
+// but there are enough of them that it seems that we can't avoid
+// an EINTR loop.
+func IgnoringEINTR[T any](fn func() (T, error)) (T, error) {
+ for {
+ v, err := fn()
+ if err != syscall.EINTR {
+ return v, err
+ }
+ }
+}
diff --git a/vendor/github.com/fsnotify/fsnotify/internal/windows.go b/vendor/github.com/fsnotify/fsnotify/internal/windows.go
index 896bc2e5a2..e24d569264 100644
--- a/vendor/github.com/fsnotify/fsnotify/internal/windows.go
+++ b/vendor/github.com/fsnotify/fsnotify/internal/windows.go
@@ -14,7 +14,6 @@ var (
ErrUnixEACCES = errors.New("dummy")
)
-func SetRlimit() {}
func Maxfiles() uint64 { return 1<<64 - 1 }
func Mkfifo(path string, mode uint32) error { return errors.New("no FIFOs on Windows") }
func Mknod(path string, mode uint32, dev int) error { return errors.New("no device nodes on Windows") }
diff --git a/vendor/github.com/klauspost/compress/README.md b/vendor/github.com/klauspost/compress/README.md
index fb023f2cf2..0e9f170d01 100644
--- a/vendor/github.com/klauspost/compress/README.md
+++ b/vendor/github.com/klauspost/compress/README.md
@@ -27,6 +27,18 @@ Use the links above for more information on each.
# changelog
+* Jul 1st, 2026 [1.19.0](https://github.com/klauspost/compress/releases/tag/v1.19.0)
+ * zstd: Add true concurrent stream encodingin https://github.com/klauspost/compress/pull/1136
+ * zstd: arm64 decoder asm by @lizthegrey in https://github.com/klauspost/compress/pull/1160
+ * flate: Add inflate checkpoints in https://github.com/klauspost/compress/pull/1154
+ * zstd: avoid unused BuildDict encoder allocation by @snissn in https://github.com/klauspost/compress/pull/1147
+ * snappy/s2: Limit length of varint in `decodedLen` by @eustas in https://github.com/klauspost/compress/pull/1148
+ * gzhttp: match qvalue parameter case-insensitively (RFC 7231) by @z9z in https://github.com/klauspost/compress/pull/1149
+ * zip: add NameDecoder callback for legacy encoding rewrite by @SAY-5 in https://github.com/klauspost/compress/pull/1150
+ * huff0: Allow building tables from histogram in https://github.com/klauspost/compress/pull/1155
+ * huff0: Allow building table from oversized histogram in https://github.com/klauspost/compress/pull/1156
+ * s2sx: Clean symlink targets in https://github.com/klauspost/compress/pull/1163
+
* Feb 9th, 2026 [1.18.4](https://github.com/klauspost/compress/releases/tag/v1.18.4)
* gzhttp: Add zstandard to server handler wrapper https://github.com/klauspost/compress/pull/1121
* zstd: Add ResetWithOptions to encoder/decoder https://github.com/klauspost/compress/pull/1122
diff --git a/vendor/github.com/klauspost/compress/flate/dict_decoder.go b/vendor/github.com/klauspost/compress/flate/dict_decoder.go
index cb855abc4b..37861cf6af 100644
--- a/vendor/github.com/klauspost/compress/flate/dict_decoder.go
+++ b/vendor/github.com/klauspost/compress/flate/dict_decoder.go
@@ -28,9 +28,10 @@ type dictDecoder struct {
hist []byte // Sliding window history
// Invariant: 0 <= rdPos <= wrPos <= len(hist)
- wrPos int // Current output position in buffer
- rdPos int // Have emitted hist[:rdPos] already
- full bool // Has a full window length been written yet?
+ wrPos int // Current output position in buffer
+ rdPos int // Have emitted hist[:rdPos] already
+ flushed int64 // Total bytes returned by readFlush since init
+ full bool // Has a full window length been written yet?
}
// init initializes dictDecoder to have a sliding window dictionary of the given
@@ -167,11 +168,22 @@ loop:
return dstPos - dstBase
}
+// appendWindow appends the current sliding window (up to len(hist) most recent
+// bytes, oldest first) to dst.
+func (dd *dictDecoder) appendWindow(dst []byte) []byte {
+ if dd.full {
+ dst = append(dst, dd.hist[dd.wrPos:]...)
+ return append(dst, dd.hist[:dd.wrPos]...)
+ }
+ return append(dst, dd.hist[:dd.wrPos]...)
+}
+
// readFlush returns a slice of the historical buffer that is ready to be
// emitted to the user. The data returned by readFlush must be fully consumed
// before calling any other dictDecoder methods.
func (dd *dictDecoder) readFlush() []byte {
toRead := dd.hist[dd.rdPos:dd.wrPos]
+ dd.flushed += int64(len(toRead))
dd.rdPos = dd.wrPos
if dd.wrPos == len(dd.hist) {
dd.wrPos, dd.rdPos = 0, 0
@@ -179,3 +191,9 @@ func (dd *dictDecoder) readFlush() []byte {
}
return toRead
}
+
+// decoded reports the total number of bytes written into the dictionary since
+// init (i.e. excluding any preset dict bytes).
+func (dd *dictDecoder) decoded() int64 {
+ return dd.flushed + int64(dd.wrPos-dd.rdPos)
+}
diff --git a/vendor/github.com/klauspost/compress/flate/inflate.go b/vendor/github.com/klauspost/compress/flate/inflate.go
index 6e90126db0..39dd683b2d 100644
--- a/vendor/github.com/klauspost/compress/flate/inflate.go
+++ b/vendor/github.com/klauspost/compress/flate/inflate.go
@@ -342,6 +342,11 @@ type decompressor struct {
final bool
flushMode flushMode
+ cb func(InflateCheckpoint)
+ cp InflateCheckpoint
+ hasCP bool // WithResumeFrom was supplied
+ uncOffset int64 // baseline uncompressed offset (from a resume checkpoint)
+ cpBuf []byte
}
func (f *decompressor) nextBlock() {
@@ -676,6 +681,18 @@ func (f *decompressor) finishBlock() {
f.toRead = f.dict.readFlush()
}
+ if f.cb != nil {
+ bitPos := f.roffset*8 - int64(f.nb)
+ f.cpBuf = f.dict.appendWindow(f.cpBuf[:0])
+ f.cb(InflateCheckpoint{
+ UncompressedOffset: f.uncOffset + f.dict.decoded(),
+ CompressedOffset: bitPos / 8,
+ Final: f.final,
+ BitOffset: uint8(bitPos & 7),
+ Window: f.cpBuf,
+ })
+ }
+
f.step = nextBlock
}
@@ -806,6 +823,45 @@ func (f *decompressor) Reset(r io.Reader, dict []byte) error {
return nil
}
+// ResetCP will adjust the input to the provided checkpoint.
+// It is assumed the input stream is forwarded to cp.CompressedOffset.
+func (f *decompressor) ResetCP(r io.Reader, cp InflateCheckpoint) error {
+ *f = decompressor{
+ r: makeReader(r),
+ bits: f.bits,
+ codebits: f.codebits,
+ h1: f.h1,
+ h2: f.h2,
+ dict: f.dict,
+ step: nextBlock,
+ cpBuf: f.cpBuf,
+ }
+ return f.applyCP(cp)
+}
+
+// applyCP seeds the decompressor state from a resume checkpoint:
+// loads the sliding window, sets the absolute compressed/uncompressed
+// offsets, and skips cp.BitOffset bits into the first input byte so
+// the next decode aligns with the start of a deflate block.
+func (f *decompressor) applyCP(cp InflateCheckpoint) error {
+ f.dict.init(maxMatchOffset, cp.Window)
+ f.roffset = cp.CompressedOffset
+ f.uncOffset = cp.UncompressedOffset
+ f.final = cp.Final
+ f.b = 0
+ f.nb = 0
+ if cp.BitOffset > 0 {
+ c, err := f.r.ReadByte()
+ if err != nil {
+ return noEOF(err)
+ }
+ f.roffset++
+ f.b = uint32(c) >> cp.BitOffset
+ f.nb = 8 - uint(cp.BitOffset)
+ }
+ return nil
+}
+
type ReaderOpt func(*decompressor)
// WithPartialBlock tells decompressor to return after each block,
@@ -823,6 +879,36 @@ func WithDict(dict []byte) ReaderOpt {
}
}
+// InflateCheckpoint provides a resumable checkpoint for inflate.
+type InflateCheckpoint struct {
+ UncompressedOffset int64 // Byte offset in the decompressed stream
+ CompressedOffset int64 // Byte offset in the compressed stream
+ Final bool // True if this is the final block
+ BitOffset uint8 // 0-7 bits
+ Window []byte // 32KB sliding window dictionary
+}
+
+// WithEobCallback will call the provided function after each block
+// with the current gzip checkpoint.
+// After returning the provided window can no longer be referenced.
+// The callback will not be triggered after a block is marked "final".
+// The callback is not retained after Reset.
+func WithEobCallback(cb func(InflateCheckpoint)) ReaderOpt {
+ return func(f *decompressor) {
+ f.cb = cb
+ }
+}
+
+// WithResumeFrom will adjust the input to the provided checkpoint.
+// It is assumed the input stream is forwarded to the provided offset.
+// The checkpoint is removed when Reset is called.
+func WithResumeFrom(cp InflateCheckpoint) ReaderOpt {
+ return func(f *decompressor) {
+ f.cp = cp
+ f.hasCP = true
+ }
+}
+
// NewReaderOpts returns new reader with provided options
func NewReaderOpts(r io.Reader, opts ...ReaderOpt) io.ReadCloser {
fixedHuffmanDecoderInit()
@@ -838,6 +924,12 @@ func NewReaderOpts(r io.Reader, opts ...ReaderOpt) io.ReadCloser {
opt(&f)
}
+ if f.hasCP {
+ if err := f.applyCP(f.cp); err != nil {
+ f.err = err
+ }
+ }
+
return &f
}
diff --git a/vendor/github.com/klauspost/compress/flate/inflate_gen.go b/vendor/github.com/klauspost/compress/flate/inflate_gen.go
index 2b2f993f75..e80f196560 100644
--- a/vendor/github.com/klauspost/compress/flate/inflate_gen.go
+++ b/vendor/github.com/klauspost/compress/flate/inflate_gen.go
@@ -10,6 +10,15 @@ import (
"strings"
)
+func peekBufio(fr *bufio.Reader) ([]byte, error) {
+ if fr.Buffered() == 0 {
+ if _, err := fr.Peek(1); err != nil && fr.Buffered() == 0 {
+ return nil, err
+ }
+ }
+ return fr.Peek(fr.Buffered())
+}
+
// Decode a single Huffman block from f.
// hl and hd are the Huffman states for the lit/length values
// and the distance values, respectively. If hd == nil, using the
@@ -527,6 +536,8 @@ func (f *decompressor) huffmanBufioReader() {
// but is smart enough to keep local variables in registers, so use nb and b,
// inline call to moreBits and reassign b,nb back to f on return.
fnb, fb, dict := f.nb, f.b, &f.dict
+ pbuf, _ := fr.Peek(fr.Buffered())
+ pos := 0
switch f.stepState {
case stateInit:
@@ -548,12 +559,19 @@ readLiteral:
n := uint(f.hl.maxRead)
for {
for fnb < n {
- c, err := fr.ReadByte()
- if err != nil {
- f.b, f.nb = fb, fnb
- f.err = noEOF(err)
- return
+ if pos >= len(pbuf) {
+ fr.Discard(pos)
+ var err error
+ pbuf, err = peekBufio(fr)
+ pos = 0
+ if len(pbuf) == 0 {
+ f.b, f.nb = fb, fnb
+ f.err = noEOF(err)
+ return
+ }
}
+ c := pbuf[pos]
+ pos++
f.roffset++
fb |= uint32(c) << (fnb & regSizeMaskUint32)
fnb += 8
@@ -566,6 +584,7 @@ readLiteral:
}
if n <= fnb {
if n == 0 {
+ fr.Discard(pos)
f.b, f.nb = fb, fnb
if debugDecode {
fmt.Println("huffsym: n==0")
@@ -586,6 +605,7 @@ readLiteral:
case v < 256:
dict.writeByte(byte(v))
if dict.availWrite() == 0 {
+ fr.Discard(pos)
f.toRead = dict.readFlush()
f.step = huffmanBufioReader
f.stepState = stateInit
@@ -594,6 +614,7 @@ readLiteral:
}
goto readLiteral
case v == 256:
+ fr.Discard(pos)
f.b, f.nb = fb, fnb
f.finishBlock()
return
@@ -605,15 +626,22 @@ readLiteral:
length = int(val.length) + 3
n := uint(val.extra)
for fnb < n {
- c, err := fr.ReadByte()
- if err != nil {
- f.b, f.nb = fb, fnb
- if debugDecode {
- fmt.Println("morebits n>0:", err)
+ if pos >= len(pbuf) {
+ fr.Discard(pos)
+ var err error
+ pbuf, err = peekBufio(fr)
+ pos = 0
+ if len(pbuf) == 0 {
+ f.b, f.nb = fb, fnb
+ if debugDecode {
+ fmt.Println("morebits n>0:", err)
+ }
+ f.err = err
+ return
}
- f.err = err
- return
}
+ c := pbuf[pos]
+ pos++
f.roffset++
fb |= uint32(c) << (fnb & regSizeMaskUint32)
fnb += 8
@@ -622,6 +650,7 @@ readLiteral:
fb >>= n & regSizeMaskUint32
fnb -= n
default:
+ fr.Discard(pos)
if debugDecode {
fmt.Println(v, ">= maxNumLit")
}
@@ -633,15 +662,22 @@ readLiteral:
var dist uint32
if f.hd == nil {
for fnb < 5 {
- c, err := fr.ReadByte()
- if err != nil {
- f.b, f.nb = fb, fnb
- if debugDecode {
- fmt.Println("morebits f.nb<5:", err)
+ if pos >= len(pbuf) {
+ fr.Discard(pos)
+ var err error
+ pbuf, err = peekBufio(fr)
+ pos = 0
+ if len(pbuf) == 0 {
+ f.b, f.nb = fb, fnb
+ if debugDecode {
+ fmt.Println("morebits f.nb<5:", err)
+ }
+ f.err = err
+ return
}
- f.err = err
- return
}
+ c := pbuf[pos]
+ pos++
f.roffset++
fb |= uint32(c) << (fnb & regSizeMaskUint32)
fnb += 8
@@ -660,12 +696,19 @@ readLiteral:
// inline call to moreBits and reassign b,nb back to f on return.
for {
for fnb < n {
- c, err := fr.ReadByte()
- if err != nil {
- f.b, f.nb = fb, fnb
- f.err = noEOF(err)
- return
+ if pos >= len(pbuf) {
+ fr.Discard(pos)
+ var err error
+ pbuf, err = peekBufio(fr)
+ pos = 0
+ if len(pbuf) == 0 {
+ f.b, f.nb = fb, fnb
+ f.err = noEOF(err)
+ return
+ }
}
+ c := pbuf[pos]
+ pos++
f.roffset++
fb |= uint32(c) << (fnb & regSizeMaskUint32)
fnb += 8
@@ -678,6 +721,7 @@ readLiteral:
}
if n <= fnb {
if n == 0 {
+ fr.Discard(pos)
f.b, f.nb = fb, fnb
if debugDecode {
fmt.Println("huffsym: n==0")
@@ -701,15 +745,22 @@ readLiteral:
// have 1 bit in bottom of dist, need nb more.
extra := (dist & 1) << (nb & regSizeMaskUint32)
for fnb < nb {
- c, err := fr.ReadByte()
- if err != nil {
- f.b, f.nb = fb, fnb
- if debugDecode {
- fmt.Println("morebits f.nb
- Benchmark go-toml v1 BurntSushi/toml
- Marshal/HugoFrontMatter-2 2.1x 2.0x
- Marshal/ReferenceFile/map-2 2.0x 2.0x
- Marshal/ReferenceFile/struct-2 2.3x 2.5x
- Unmarshal/HugoFrontMatter-2 3.3x 2.8x
- Unmarshal/ReferenceFile/map-2 2.9x 3.0x
+ Unmarshal/ReferenceFile/struct-2 4.8x 5.0x
+ Marshal/HugoFrontMatter-2 2.3x 2.4x
+ Marshal/ReferenceFile/map-2 2.2x 2.6x
+ Marshal/ReferenceFile/struct-2 4.9x 5.0x
+ Unmarshal/HugoFrontMatter-2 7.8x 5.9x
+ Unmarshal/ReferenceFile/map-2 6.8x 6.4x Unmarshal/ReferenceFile/struct-2 6.8x 6.3x See more
@@ -255,17 +260,17 @@ provided for completeness.
This table can be generated with ./ci.sh benchmark -a -html.
" lines in HTML files). That may be
// because this is the only method of the 3 that has a *concept* of
// "junk"