diff --git a/api/services/events/v1/doc.go b/api/services/events/v1/doc.go index b7f86da86..4470a663e 100644 --- a/api/services/events/v1/doc.go +++ b/api/services/events/v1/doc.go @@ -16,3 +16,8 @@ // Package events defines the event pushing and subscription service. package events + +import types "github.com/containerd/containerd/api/types" + +// Deprecated: Use [types.Envelope]. +type Envelope = types.Envelope diff --git a/api/services/ttrpc/events/v1/doc.go b/api/services/ttrpc/events/v1/doc.go index d3d9839d6..b374dde26 100644 --- a/api/services/ttrpc/events/v1/doc.go +++ b/api/services/ttrpc/events/v1/doc.go @@ -16,3 +16,8 @@ // Package events defines the ttrpc event service. package events + +import types "github.com/containerd/containerd/api/types" + +// Deprecated: Use [types.Envelope]. +type Envelope = types.Envelope