Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(ctx context.Context, envAcc pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewAdapter satisfies pkgadapter.AdapterConstructor. nolint:gocyclo
func NewEnvConfig ¶
func NewEnvConfig() adapter.EnvConfigAccessor
NewEnvConfig satisfies pkgadapter.EnvConfigConstructor.
Types ¶
type StaleList ¶
type StaleList struct {
// contains filtered or unexported fields
}
StaleList is a list of items that timeout lazily, only checking for item expiration when a new one is added.
This should not be used for storing a big number of items.
func NewStaleList ¶
func (*StaleList) AddAndCount ¶
AddAndCount adds a new element to the list and updates the count, removing any stale items from it.
type XDGSCRAMClient ¶
type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn }
func (*XDGSCRAMClient) Begin ¶
func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error)
func (*XDGSCRAMClient) Done ¶
func (x *XDGSCRAMClient) Done() bool
Click to show internal directories.
Click to hide internal directories.