Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEvaluationContextVendor ¶
type IEvaluationContextVendor interface {
GetEvaluationContext() *utils.EvaluationContext
}
type IVendor ¶
type IVendor interface { v1alpha2.Terminable RunLoop(ctx context.Context, interval time.Duration) error Init(config VendorConfig, managers []managers.IManagerFactroy, providers map[string]map[string]providers.IProvider, pubsubProvider pubsub.IPubSubProvider) error GetEndpoints() []v1alpha2.Endpoint GetInfo() VendorInfo SetEvaluationContext(context *utils.EvaluationContext) }
type IVendorFactory ¶
type IVendorFactory interface {
CreateVendor(config VendorConfig) (IVendor, error)
}
type Vendor ¶
type Vendor struct { Managers []managers.IManager Version string Route string Context *contexts.VendorContext Config VendorConfig }
func (*Vendor) Init ¶
func (v *Vendor) Init(config VendorConfig, factories []managers.IManagerFactroy, providers map[string]map[string]providers.IProvider, pubsubProvider pubsub.IPubSubProvider) error
func (*Vendor) SetEvaluationContext ¶
func (v *Vendor) SetEvaluationContext(context *utils.EvaluationContext)
type VendorConfig ¶
type VendorInfo ¶
Click to show internal directories.
Click to hide internal directories.