Add type alias for event Envelope

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2024-05-28 14:41:35 -07:00
parent 87bab6cdc7
commit 3e71ccafc4
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB
2 changed files with 10 additions and 0 deletions

View File

@ -16,3 +16,8 @@
// Package events defines the event pushing and subscription service. // Package events defines the event pushing and subscription service.
package events package events
import types "github.com/containerd/containerd/api/types"
// Deprecated: Use [types.Envelope].
type Envelope = types.Envelope

View File

@ -16,3 +16,8 @@
// Package events defines the ttrpc event service. // Package events defines the ttrpc event service.
package events package events
import types "github.com/containerd/containerd/api/types"
// Deprecated: Use [types.Envelope].
type Envelope = types.Envelope