commercetools

package
v1.12.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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) Close

func (ct *Binding) Close() error

Close releases the client.

func (Binding) GetComponentMetadata added in v1.11.0

func (ct Binding) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*Binding) Init

func (ct *Binding) Init(_ context.Context, metadata bindings.Metadata) error

Init does metadata parsing and connection establishment.

func (*Binding) Invoke

Invoke is triggered from Dapr.

func (*Binding) Operations

func (ct *Binding) Operations() []bindings.OperationKind

type Data

type Data struct {
	CommercetoolsAPI string
	Query            string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL