Merge pull request #10279 from dmcgowan/api-type-alias-envelope
Add type alias for event Envelope
This commit is contained in:
commit
080d35b9ea
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user