Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMatcher ¶
func NewMatcher(options ...MatcherOption) (*reqRespMatcher, error)
func NewParser ¶
func NewParser(options ...ParserOption) (*reqRespParser, error)
func NewProtoDetecter ¶
func NewProtoDetecter(pm *maps.ProtocolMap, log *zap.SugaredLogger) *protoDetecter
Types ¶
type Enricher ¶
type Enricher struct {
// contains filtered or unexported fields
}
func NewEnricher ¶
func NewEnricher(log *zap.SugaredLogger, store ResourcesStore) (*Enricher, error)
func (*Enricher) Run ¶
func (e *Enricher) Run(ctx context.Context, msgc chan *pb.ProtoMessage) chan *pb.K8SProtoMessage
type MatcherOption ¶
type MatcherOption func(o *matcherOptions) error
func MatcherWithLogger ¶
func MatcherWithLogger(log *zap.SugaredLogger) MatcherOption
func MatcherWithProtocols ¶
func MatcherWithProtocols(protos []types.ProtocolType) MatcherOption
type ParserOption ¶
type ParserOption func(o *parserOptions) error
func ParserWithBreaker ¶
func ParserWithBreaker(breaker Breaker) ParserOption
func ParserWithLogger ¶
func ParserWithLogger(log *zap.SugaredLogger) ParserOption
func ParserWithProtocols ¶
func ParserWithProtocols(protos []types.ProtocolType) ParserOption
Source Files ¶
Click to show internal directories.
Click to hide internal directories.