Documentation ¶
Index ¶
- func NewKafka(logger logger.Logger) bindings.InputOutputBinding
- type Binding
- func (b *Binding) Close() (err error)
- func (b *Binding) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
- 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 ¶ added in v1.8.0
type Binding struct {
// contains filtered or unexported fields
}
func (*Binding) GetComponentMetadata ¶ added in v1.11.0
func (b *Binding) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
GetComponentMetadata returns the metadata of the component.
func (*Binding) Invoke ¶ added in v1.8.0
func (b *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*Binding) Operations ¶ added in v1.8.0
func (b *Binding) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.