Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is the per-named-component loop handler.
type Manager ¶
type Manager interface {
Init(ctx context.Context, comp compapi.Component) error
Close(comp compapi.Component) error
}
Manager performs Init/Close on a single named component. Per-category sub-processors (binding, pubsub, state, secret, ...) satisfy this interface.
type PostInit ¶
type PostInit interface {
StartInput(ctx context.Context, comp compapi.Component) error
StopInput(comp compapi.Component)
}
PostInit is an optional capability for managers that need to run additional per-instance work after Init succeeds (e.g. bindings starting their input pipe when the category is reading). The Instance dispatches StartInput / StopInput events to managers implementing this interface.
Click to show internal directories.
Click to hide internal directories.