Merge pull request #10279 from dmcgowan/api-type-alias-envelope

Add type alias for event Envelope
This commit is contained in:
Maksym Pavlenko 2024-05-29 20:47:53 +00:00 committed by GitHub
commit 080d35b9ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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