Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvAccessorCtor ¶
func EnvAccessorCtor() pkgadapter.EnvConfigAccessor
EnvAccessorCtor for configuration parameters
func NewAdapter ¶
func NewAdapter(ctx context.Context, envAcc pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewAdapter adapter implementation
Types ¶
type TargetEnvAccessor ¶
type TargetEnvAccessor struct {
pkgadapter.EnvConfig
mq.EnvConnectionConfig
ReplyToManager string `envconfig:"REPLY_TO_MANAGER"`
ReplyToQueue string `envconfig:"REPLY_TO_QUEUE"`
// CloudEvents responses parametrization
CloudEventPayloadPolicy string `envconfig:"EVENTS_PAYLOAD_POLICY" default:"error"`
DiscardCEContext bool `envconfig:"DISCARD_CE_CONTEXT"`
// BridgeIdentifier is the name of the bridge workflow this target is part of
BridgeIdentifier string `envconfig:"EVENTS_BRIDGE_IDENTIFIER"`
}
Click to show internal directories.
Click to hide internal directories.