Skip to content

Commit 3e71cca

Browse files
committed
Add type alias for event Envelope
Signed-off-by: Derek McGowan <[email protected]>
1 parent 87bab6c commit 3e71cca

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

api/services/events/v1/doc.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@
1616

1717
// Package events defines the event pushing and subscription service.
1818
package events
19+
20+
import types "github.com/containerd/containerd/api/types"
21+
22+
// Deprecated: Use [types.Envelope].
23+
type Envelope = types.Envelope

api/services/ttrpc/events/v1/doc.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@
1616

1717
// Package events defines the ttrpc event service.
1818
package events
19+
20+
import types "github.com/containerd/containerd/api/types"
21+
22+
// Deprecated: Use [types.Envelope].
23+
type Envelope = types.Envelope

0 commit comments

Comments
 (0)