Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWithManagerContext ¶
type IWithManagerContext interface {
SetContext(ctx *ManagerContext)
}
type ManagerContext ¶
type ManagerContext struct { Logger logger.Logger PubsubProvider pubsub.IPubSubProvider SiteInfo v1alpha2.SiteInfo VencorContext *VendorContext }
func (*ManagerContext) Init ¶
func (v *ManagerContext) Init(c *VendorContext, p pubsub.IPubSubProvider) error
func (*ManagerContext) Publish ¶
func (v *ManagerContext) Publish(feed string, event v1alpha2.Event) error
func (*ManagerContext) Subscribe ¶
func (v *ManagerContext) Subscribe(feed string, handler v1alpha2.EventHandler) error
type VendorContext ¶
type VendorContext struct { Logger logger.Logger PubsubProvider pubsub.IPubSubProvider SiteInfo v1alpha2.SiteInfo EvaluationContext *utils.EvaluationContext }
func (*VendorContext) Init ¶
func (v *VendorContext) Init(p pubsub.IPubSubProvider) error
func (*VendorContext) Publish ¶
func (v *VendorContext) Publish(feed string, event v1alpha2.Event) error
func (*VendorContext) Subscribe ¶
func (v *VendorContext) Subscribe(feed string, handler v1alpha2.EventHandler) error
Click to show internal directories.
Click to hide internal directories.