Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser for all flows
func New ¶
func New( log logrus.FieldLogger, endpointGetter getters.EndpointGetter, identityGetter getters.IdentityGetter, dnsGetter getters.DNSGetter, ipGetter getters.IPGetter, serviceGetter getters.ServiceGetter, linkGetter getters.LinkGetter, cgroupGetter getters.PodMetadataGetter, opts ...options.Option, ) (*Parser, error)
New creates a new parser
func (*Parser) Decode ¶
func (p *Parser) Decode(monitorEvent *observerTypes.MonitorEvent) (*v1.Event, error)
Decode decodes a cilium monitor 'payload' and returns a v1.Event with the Event field populated.
Click to show internal directories.
Click to hide internal directories.