Documentation ¶
Index ¶
- type ExporterFake
- type SliceInformerFake
- type TracerFake
- func (m *TracerFake) AppendLookupResults(results map[flow.RecordKey][]flow.RecordMetrics)
- func (m *TracerFake) AppendRingBufEvent(flow flow.RawRecord) error
- func (m *TracerFake) Close() error
- func (m *TracerFake) LookupAndDeleteMap() map[flow.RecordKey][]flow.RecordMetrics
- func (m *TracerFake) ReadRingBuf() (ringbuf.Record, error)
- func (m *TracerFake) Register(iface ifaces.Interface) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExporterFake ¶
type ExporterFake struct {
// contains filtered or unexported fields
}
func NewExporterFake ¶
func NewExporterFake() *ExporterFake
func (*ExporterFake) Export ¶
func (ef *ExporterFake) Export(in <-chan []*flow.Record)
type SliceInformerFake ¶
SliceInformerFake fakes the ifaces.Informer implementation by just notifying all the interfaces in the slice
type TracerFake ¶
type TracerFake struct {
// contains filtered or unexported fields
}
TracerFake fakes the kernel-side eBPF map structures for testing
func NewTracerFake ¶
func NewTracerFake() *TracerFake
func (*TracerFake) AppendLookupResults ¶
func (m *TracerFake) AppendLookupResults(results map[flow.RecordKey][]flow.RecordMetrics)
func (*TracerFake) AppendRingBufEvent ¶
func (m *TracerFake) AppendRingBufEvent(flow flow.RawRecord) error
func (*TracerFake) Close ¶
func (m *TracerFake) Close() error
func (*TracerFake) LookupAndDeleteMap ¶
func (m *TracerFake) LookupAndDeleteMap() map[flow.RecordKey][]flow.RecordMetrics
func (*TracerFake) ReadRingBuf ¶
func (m *TracerFake) ReadRingBuf() (ringbuf.Record, error)
Click to show internal directories.
Click to hide internal directories.