Documentation
¶
Index ¶
- type DummyEventsES
- func (s *DummyEventsES) GetNumEvents() int
- func (s *DummyEventsES) Handle(req *http.Request) (*http.Response, error)
- func (s *DummyEventsES) HandleIgnore(req *http.Request) (*http.Response, error)
- func (s *DummyEventsES) InitHttpMock(addr string, mockTransport *httpmock.MockTransport)
- func (s *DummyEventsES) WaitLastEventMatches(startEvent int, matchFunc func(e *node.EventData) bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyEventsES ¶
This captures events meant to be sent to elastic search. This allows verification of events/audit logs in unit-tests, without needing to run elastic search. This does not capture jaeger logs.
func (*DummyEventsES) GetNumEvents ¶
func (s *DummyEventsES) GetNumEvents() int
func (*DummyEventsES) HandleIgnore ¶
func (*DummyEventsES) InitHttpMock ¶
func (s *DummyEventsES) InitHttpMock(addr string, mockTransport *httpmock.MockTransport)
This assumes httpmock has already been initialized via: httpmock.Activate() defer httpmock.DeactiveAndReset()
func (*DummyEventsES) WaitLastEventMatches ¶
Click to show internal directories.
Click to hide internal directories.