Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Name string
Binding bindings.InputBinding
Handler func(context.Context, string, []byte, map[string]string) ([]byte, error)
// DecorateContext, when set, decorates the long-lived read-loop context
// before Read is invoked on the binding. Dapr uses it to attach the
// workload's SPIFFE identity so the binding can authenticate to its backing
// infrastructure service.
DecorateContext func(context.Context) context.Context
}
Click to show internal directories.
Click to hide internal directories.