Documentation ¶
Index ¶
- func NewKafka(logger logger.Logger) bindings.InputOutputBinding
- type Binding
- func (b *Binding) Close() (err error)
- func (b *Binding) GetComponentMetadata() map[string]string
- func (b *Binding) Init(ctx context.Context, metadata bindings.Metadata) error
- func (b *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (b *Binding) Operations() []bindings.OperationKind
- func (b *Binding) Read(ctx context.Context, handler bindings.Handler) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
func (*Binding) GetComponentMetadata ¶
GetComponentMetadata returns the metadata of the component.
func (*Binding) Invoke ¶
func (b *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*Binding) Operations ¶
func (b *Binding) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.