MCPcopy
hub / github.com/cilium/cilium / flowsToWorldHandler

Struct flowsToWorldHandler

pkg/hubble/metrics/flows-to-world/handler.go:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29)
30
31type flowsToWorldHandler struct {
32 flowsToWorld *prometheus.CounterVec
33 context *api.ContextOptions
34 AllowList filters.FilterFuncs
35 DenyList filters.FilterFuncs
36 anyDrop bool
37 port bool
38 synOnly bool
39}
40
41func (h *flowsToWorldHandler) Init(registry *prometheus.Registry, options *api.MetricConfig) error {
42 c, err := api.ParseContextOptions(options.ContextOptionConfigs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected