Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumerManagerFactory ¶
func ConsumerManagerFactory(c interface{}, callbacks capi.FilterCallbackHandler) capi.StreamFilter
Types ¶
type Consumer ¶
type Consumer struct { Auth map[string]string `json:"auth"` Filters map[string]*model.FilterConfig `json:"filters,omitempty"` ConsumerConfigs map[string]api.PluginConsumerConfig `json:"-"` FilterConfigs map[string]*model.ParsedFilterConfig `json:"-"` // fields that generated from the configuration CanSkipMethod map[string]bool FilterNames []string FilterWrappers []*model.FilterWrapper // contains filtered or unexported fields }
func (*Consumer) InitConfigs ¶
func (*Consumer) PluginConfig ¶
func (c *Consumer) PluginConfig(name string) api.PluginConsumerConfig
type ConsumerManagerConfigParser ¶
type ConsumerManagerConfigParser struct { }
func (*ConsumerManagerConfigParser) Merge ¶
func (p *ConsumerManagerConfigParser) Merge(parent interface{}, child interface{}) interface{}
func (*ConsumerManagerConfigParser) Parse ¶
func (p *ConsumerManagerConfigParser) Parse(any *anypb.Any, callbacks capi.ConfigCallbackHandler) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.