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.ConnectionConfig
mq.ReplyTo
mq.Auth
// 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"`
}
TargetEnvAccessor is the set of parameters parsed from the adapter's env.
Click to show internal directories.
Click to hide internal directories.