| 29 | ) |
| 30 | |
| 31 | type 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 | |
| 41 | func (h *flowsToWorldHandler) Init(registry *prometheus.Registry, options *api.MetricConfig) error { |
| 42 | c, err := api.ParseContextOptions(options.ContextOptionConfigs) |
nothing calls this directly
no outgoing calls
no test coverage detected