Documentation ¶
Index ¶
- func NewCommercetools(logger logger.Logger) bindings.OutputBinding
- type Binding
- func (ct *Binding) Close() error
- func (ct Binding) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
- func (ct *Binding) Init(_ context.Context, metadata bindings.Metadata) error
- func (ct *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (ct *Binding) Operations() []bindings.OperationKind
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommercetools ¶
func NewCommercetools(logger logger.Logger) bindings.OutputBinding
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
func (Binding) GetComponentMetadata ¶ added in v1.11.0
func (ct Binding) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
GetComponentMetadata returns the metadata of the component.
func (*Binding) Invoke ¶
func (ct *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Invoke is triggered from Dapr.
func (*Binding) Operations ¶
func (ct *Binding) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.