Documentation ¶
Index ¶
- type IngestionServerMock
- func (s *IngestionServerMock) ReceivedEvent(supportID string) (event *events.Event, found bool)
- func (s *IngestionServerMock) Run(ctx context.Context)
- func (s *IngestionServerMock) Stream(pb.MetricsService_StreamServer) error
- func (s *IngestionServerMock) StreamEvents(stream pb.MetricsService_StreamEventsServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngestionServerMock ¶
type IngestionServerMock struct {
// contains filtered or unexported fields
}
func NewIngestionServerMock ¶
func NewIngestionServerMock(serverAddr string) (*IngestionServerMock, error)
func (*IngestionServerMock) ReceivedEvent ¶
func (s *IngestionServerMock) ReceivedEvent(supportID string) (event *events.Event, found bool)
func (*IngestionServerMock) Run ¶
func (s *IngestionServerMock) Run(ctx context.Context)
func (*IngestionServerMock) Stream ¶
func (s *IngestionServerMock) Stream(pb.MetricsService_StreamServer) error
func (*IngestionServerMock) StreamEvents ¶
func (s *IngestionServerMock) StreamEvents(stream pb.MetricsService_StreamEventsServer) error
Click to show internal directories.
Click to hide internal directories.