Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoreBusConfig ¶ added in v0.8.7
type CoreBusConfig struct { // FactoryResolver overrides the static resolver. FactoryResolverCtor FactoryResolverCtor // BuiltInFactories is the list of built in controller factories. BuiltInFactories []controller.Factory }
CoreBusConfig configures NewCoreBus.
type FactoryResolverCtor ¶ added in v0.8.7
type FactoryResolverCtor func(b bus.Bus, sr *static.Resolver) (controller.FactoryResolver, error)
FactoryResolverCtor constructs a Factory resolver.
type Option ¶ added in v0.8.7
type Option func(c *CoreBusConfig) error
Option is a core config option.
func WithControllerFactories ¶ added in v0.8.7
func WithControllerFactories(factories ...controller.Factory) Option
WithControllerFactories adds built-in factories.
func WithFactoryResolverCtor ¶ added in v0.8.7
func WithFactoryResolverCtor(ctor FactoryResolverCtor) Option
WithFactoryResolverCtor sets the Factory resolver constructor.
Click to show internal directories.
Click to hide internal directories.