package events
import "github.com/containerd/containerd/events"
Index ¶
Types ¶
type Envelope ¶
Envelope provides the packaging for an event.
func (*Envelope) Field ¶
Field returns the value for the given fieldpath as a string, if defined. If the value is not defined, the second value will be false.
type Event ¶
type Event interface{}
Event is a generic interface for any type of event
type Forwarder ¶
Forwarder forwards an event to the underlying event bus
type Publisher ¶
Publisher posts the event.
type Subscriber ¶
type Subscriber interface { Subscribe(ctx context.Context, filters ...string) (ch <-chan *Envelope, errs <-chan error) }
Subscriber allows callers to subscribe to events
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
events/exchange |
- Version
- v1.1.0-rc.2
- Published
- Apr 13, 2018
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 22 minutes ago –
Tools for package owners.