MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / AddContextFiller

Method AddContextFiller

pkg/component/component.go:289–291  ·  view source on GitHub ↗

AddContextFiller adds the specified filler.

(f fillcontext.Filler)

Source from the content-addressed store, hash-verified

287
288// AddContextFiller adds the specified filler.
289func (c *Component) AddContextFiller(f fillcontext.Filler) {
290 c.fillers = append(c.fillers, f)
291}
292
293// FromRequestContext returns a derived context from the component context with key values from the request context.
294// This can be used to decouple the lifetime from the request context while keeping security information.

Callers 15

TestPbaFunction · 0.95
initRightsMethod · 0.95
TestWebFunction · 0.95
TestGRPCFunction · 0.95
TestGetGatewayFunction · 0.95
TestContextFunction · 0.80
WithTracerProviderFunction · 0.80
TestDeviceRegistryGetFunction · 0.80
TestDeviceRegistrySetFunction · 0.80
TestDeviceRegistryDeleteFunction · 0.80
TestDownlinkQueueReplaceFunction · 0.80

Implementers 1

Componentpkg/component/component.go

Calls

no outgoing calls

Tested by 15

TestPbaFunction · 0.76
TestWebFunction · 0.76
TestGRPCFunction · 0.76
TestGetGatewayFunction · 0.76
TestContextFunction · 0.64
TestDeviceRegistryGetFunction · 0.64
TestDeviceRegistrySetFunction · 0.64
TestDeviceRegistryDeleteFunction · 0.64
TestDownlinkQueueReplaceFunction · 0.64
TestDownlinkQueuePushFunction · 0.64
TestDownlinkQueueListFunction · 0.64