Documentation ¶
Overview ¶
Package mocks contains mocks for snapshot interfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSnapshotter ¶
MockSnapshotter is an autogenerated mock type for the Snapshotter type
func NewMockSnapshotter ¶
func NewMockSnapshotter(t NewMockSnapshotterT) *MockSnapshotter
NewMockSnapshotter creates a new instance of MockSnapshotter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockSnapshotter) SaveLogs ¶
func (_m *MockSnapshotter) SaveLogs(componentID string, ld plog.Logs)
SaveLogs provides a mock function with given fields: componentID, ld
func (*MockSnapshotter) SaveMetrics ¶
func (_m *MockSnapshotter) SaveMetrics(componentID string, md pmetric.Metrics)
SaveMetrics provides a mock function with given fields: componentID, md
func (*MockSnapshotter) SaveTraces ¶
func (_m *MockSnapshotter) SaveTraces(componentID string, td ptrace.Traces)
SaveTraces provides a mock function with given fields: componentID, td
type NewMockSnapshotterT ¶
NewMockSnapshotterT mock testing interface
Click to show internal directories.
Click to hide internal directories.