Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInputBinding ¶
func RegisterInputBinding(name string, factoryMethod func() bindings.InputBinding)
RegisterInputBinding registers a new factory method that creates an instance of an InputBinding. The key is the name of the binding, eg. kafka.
func RegisterOutputBinding ¶
func RegisterOutputBinding(name string, factoryMethod func() bindings.OutputBinding)
RegisterOutputBinding registers a new factory method that creates an instance of an OutputBinding. The key is the name of the binding, eg. kafka.
Types ¶
type Registry ¶
type Registry interface {
CreateInputBinding(name string) (bindings.InputBinding, error)
CreateOutputBinding(name string) (bindings.OutputBinding, error)
}
Registry is the interface of a components that allows callers to get registered instances of input and output bindings
Click to show internal directories.
Click to hide internal directories.