Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputBinding ¶ added in v0.4.0
type InputBinding struct { Names []string FactoryMethod func() bindings.InputBinding }
InputBinding is an input binding component definition.
func NewInput ¶ added in v0.4.0
func NewInput(name string, factoryMethod func() bindings.InputBinding, aliases ...string) InputBinding
NewInput creates a InputBinding.
type OutputBinding ¶ added in v0.4.0
type OutputBinding struct { Names []string FactoryMethod func() bindings.OutputBinding }
OutputBinding is an output binding component definition.
func NewOutput ¶ added in v0.4.0
func NewOutput(name string, factoryMethod func() bindings.OutputBinding, aliases ...string) OutputBinding
NewOutput creates a OutputBinding.
type Registry ¶
type Registry interface { RegisterInputBindings(components ...InputBinding) RegisterOutputBindings(components ...OutputBinding) HasInputBinding(name, version string) bool HasOutputBinding(name, version string) bool CreateInputBinding(name, version string) (bindings.InputBinding, error) CreateOutputBinding(name, version 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.