diff --git a/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingExternalSource.go b/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingExternalSource.go index 65c6e1775fb..6945d9611bc 100644 --- a/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingExternalSource.go +++ b/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingExternalSource.go @@ -14,7 +14,7 @@ type ServiceAliasMappingExternalSource struct { mock.Mock } -// Load provides a mock function with given fields: +// Load provides a mock function with no fields func (_m *ServiceAliasMappingExternalSource) Load() (map[string]string, error) { ret := _m.Called() diff --git a/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingStorage.go b/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingStorage.go index 9b110c75be3..f7d361f8597 100644 --- a/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingStorage.go +++ b/cmd/collector/app/sanitizer/cache/mocks/ServiceAliasMappingStorage.go @@ -14,7 +14,7 @@ type ServiceAliasMappingStorage struct { mock.Mock } -// Load provides a mock function with given fields: +// Load provides a mock function with no fields func (_m *ServiceAliasMappingStorage) Load() (map[string]string, error) { ret := _m.Called() diff --git a/cmd/ingester/app/consumer/mocks/Message.go b/cmd/ingester/app/consumer/mocks/Message.go index ab6b77fd72f..2eb5dd2e762 100644 --- a/cmd/ingester/app/consumer/mocks/Message.go +++ b/cmd/ingester/app/consumer/mocks/Message.go @@ -14,7 +14,7 @@ type Message struct { mock.Mock } -// Key provides a mock function with given fields: +// Key provides a mock function with no fields func (_m *Message) Key() []byte { ret := _m.Called() @@ -34,7 +34,7 @@ func (_m *Message) Key() []byte { return r0 } -// Offset provides a mock function with given fields: +// Offset provides a mock function with no fields func (_m *Message) Offset() int64 { ret := _m.Called() @@ -52,7 +52,7 @@ func (_m *Message) Offset() int64 { return r0 } -// Partition provides a mock function with given fields: +// Partition provides a mock function with no fields func (_m *Message) Partition() int32 { ret := _m.Called() @@ -70,7 +70,7 @@ func (_m *Message) Partition() int32 { return r0 } -// Topic provides a mock function with given fields: +// Topic provides a mock function with no fields func (_m *Message) Topic() string { ret := _m.Called() @@ -88,7 +88,7 @@ func (_m *Message) Topic() string { return r0 } -// Value provides a mock function with given fields: +// Value provides a mock function with no fields func (_m *Message) Value() []byte { ret := _m.Called() diff --git a/cmd/ingester/app/processor/mocks/SpanProcessor.go b/cmd/ingester/app/processor/mocks/SpanProcessor.go index 2bf8031fe9a..98979b91f37 100644 --- a/cmd/ingester/app/processor/mocks/SpanProcessor.go +++ b/cmd/ingester/app/processor/mocks/SpanProcessor.go @@ -17,7 +17,7 @@ type SpanProcessor struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *SpanProcessor) Close() error { ret := _m.Called() diff --git a/internal/tools/go.mod b/internal/tools/go.mod index 86312fbfe39..10129a59f7e 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -5,7 +5,7 @@ go 1.23.0 require ( github.com/golangci/golangci-lint v1.62.2 github.com/josephspurrier/goversioninfo v1.4.1 - github.com/vektra/mockery/v2 v2.49.1 + github.com/vektra/mockery/v2 v2.50.0 mvdan.cc/gofumpt v0.7.0 ) diff --git a/internal/tools/go.sum b/internal/tools/go.sum index 8f74b21b0f1..0ee69b73eca 100644 --- a/internal/tools/go.sum +++ b/internal/tools/go.sum @@ -567,8 +567,8 @@ github.com/uudashr/gocognit v1.1.3 h1:l+a111VcDbKfynh+airAy/DJQKaXh2m9vkoysMPSZy github.com/uudashr/gocognit v1.1.3/go.mod h1:aKH8/e8xbTRBwjbCkwZ8qt4l2EpKXl31KMHgSS+lZ2U= github.com/uudashr/iface v1.2.1 h1:vHHyzAUmWZ64Olq6NZT3vg/z1Ws56kyPdBOd5kTXDF8= github.com/uudashr/iface v1.2.1/go.mod h1:4QvspiRd3JLPAEXBQ9AiZpLbJlrWWgRChOKDJEuQTdg= -github.com/vektra/mockery/v2 v2.49.1 h1:P33NkpxL5QNsteqdtOAEOJ94kKXaqdsTHeD6GtVuNUc= -github.com/vektra/mockery/v2 v2.49.1/go.mod h1:xO2DeYemEPC2tCzIZ+a1tifZ/7Laf/Chxg3vlc+oDsI= +github.com/vektra/mockery/v2 v2.50.0 h1:0GYRH38nKiRghwUq+0aJXG1sT3yyTYj/J1xQRM8kGzQ= +github.com/vektra/mockery/v2 v2.50.0/go.mod h1:xO2DeYemEPC2tCzIZ+a1tifZ/7Laf/Chxg3vlc+oDsI= github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HHtvU= github.com/xen0n/gosmopolitan v1.2.2/go.mod h1:7XX7Mj61uLYrj0qmeN0zi7XDon9JRAEhYQqAPLVNTeg= github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM= diff --git a/pkg/cassandra/mocks/Iterator.go b/pkg/cassandra/mocks/Iterator.go index f276a01e68e..25c9322975e 100644 --- a/pkg/cassandra/mocks/Iterator.go +++ b/pkg/cassandra/mocks/Iterator.go @@ -14,7 +14,7 @@ type Iterator struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *Iterator) Close() error { ret := _m.Called() diff --git a/pkg/cassandra/mocks/Query.go b/pkg/cassandra/mocks/Query.go index de8254912ff..5aaba718fa5 100644 --- a/pkg/cassandra/mocks/Query.go +++ b/pkg/cassandra/mocks/Query.go @@ -57,7 +57,7 @@ func (_m *Query) Consistency(level cassandra.Consistency) cassandra.Query { return r0 } -// Exec provides a mock function with given fields: +// Exec provides a mock function with no fields func (_m *Query) Exec() error { ret := _m.Called() @@ -75,7 +75,7 @@ func (_m *Query) Exec() error { return r0 } -// Iter provides a mock function with given fields: +// Iter provides a mock function with no fields func (_m *Query) Iter() cassandra.Iterator { ret := _m.Called() @@ -143,7 +143,7 @@ func (_m *Query) ScanCAS(dest ...any) (bool, error) { return r0, r1 } -// String provides a mock function with given fields: +// String provides a mock function with no fields func (_m *Query) String() string { ret := _m.Called() diff --git a/pkg/cassandra/mocks/Session.go b/pkg/cassandra/mocks/Session.go index 3abc333c338..6034e51919d 100644 --- a/pkg/cassandra/mocks/Session.go +++ b/pkg/cassandra/mocks/Session.go @@ -17,7 +17,7 @@ type Session struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *Session) Close() { _m.Called() } diff --git a/pkg/es/client/mocks/ClusterAPI.go b/pkg/es/client/mocks/ClusterAPI.go index d45d4ff4608..4d254ab9c99 100644 --- a/pkg/es/client/mocks/ClusterAPI.go +++ b/pkg/es/client/mocks/ClusterAPI.go @@ -14,7 +14,7 @@ type ClusterAPI struct { mock.Mock } -// Version provides a mock function with given fields: +// Version provides a mock function with no fields func (_m *ClusterAPI) Version() (uint, error) { ret := _m.Called() diff --git a/pkg/es/mocks/Client.go b/pkg/es/mocks/Client.go index 1462937b7df..8adf7f176c2 100644 --- a/pkg/es/mocks/Client.go +++ b/pkg/es/mocks/Client.go @@ -17,7 +17,7 @@ type Client struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *Client) Close() error { ret := _m.Called() @@ -95,7 +95,7 @@ func (_m *Client) DeleteIndex(index string) es.IndicesDeleteService { return r0 } -// GetVersion provides a mock function with given fields: +// GetVersion provides a mock function with no fields func (_m *Client) GetVersion() uint { ret := _m.Called() @@ -113,7 +113,7 @@ func (_m *Client) GetVersion() uint { return r0 } -// Index provides a mock function with given fields: +// Index provides a mock function with no fields func (_m *Client) Index() es.IndexService { ret := _m.Called() @@ -153,7 +153,7 @@ func (_m *Client) IndexExists(index string) es.IndicesExistsService { return r0 } -// MultiSearch provides a mock function with given fields: +// MultiSearch provides a mock function with no fields func (_m *Client) MultiSearch() es.MultiSearchService { ret := _m.Called() diff --git a/pkg/es/mocks/IndexService.go b/pkg/es/mocks/IndexService.go index 8df53f7eaa3..0963805895d 100644 --- a/pkg/es/mocks/IndexService.go +++ b/pkg/es/mocks/IndexService.go @@ -17,7 +17,7 @@ type IndexService struct { mock.Mock } -// Add provides a mock function with given fields: +// Add provides a mock function with no fields func (_m *IndexService) Add() { _m.Called() } diff --git a/pkg/kafka/consumer/mocks/Consumer.go b/pkg/kafka/consumer/mocks/Consumer.go index 0754d073495..181ac26adc2 100644 --- a/pkg/kafka/consumer/mocks/Consumer.go +++ b/pkg/kafka/consumer/mocks/Consumer.go @@ -18,7 +18,7 @@ type Consumer struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *Consumer) Close() error { ret := _m.Called() @@ -41,7 +41,7 @@ func (_m *Consumer) MarkPartitionOffset(topic string, partition int32, offset in _m.Called(topic, partition, offset, metadata) } -// Partitions provides a mock function with given fields: +// Partitions provides a mock function with no fields func (_m *Consumer) Partitions() <-chan cluster.PartitionConsumer { ret := _m.Called() diff --git a/plugin/sampling/leaderelection/mocks/ElectionParticipant.go b/plugin/sampling/leaderelection/mocks/ElectionParticipant.go index a78df33b1b4..736897da2cc 100644 --- a/plugin/sampling/leaderelection/mocks/ElectionParticipant.go +++ b/plugin/sampling/leaderelection/mocks/ElectionParticipant.go @@ -14,7 +14,7 @@ type ElectionParticipant struct { mock.Mock } -// Close provides a mock function with given fields: +// Close provides a mock function with no fields func (_m *ElectionParticipant) Close() error { ret := _m.Called() @@ -32,7 +32,7 @@ func (_m *ElectionParticipant) Close() error { return r0 } -// IsLeader provides a mock function with given fields: +// IsLeader provides a mock function with no fields func (_m *ElectionParticipant) IsLeader() bool { ret := _m.Called() @@ -50,7 +50,7 @@ func (_m *ElectionParticipant) IsLeader() bool { return r0 } -// Start provides a mock function with given fields: +// Start provides a mock function with no fields func (_m *ElectionParticipant) Start() error { ret := _m.Called() diff --git a/plugin/storage/grpc/shared/mocks/PluginCapabilities.go b/plugin/storage/grpc/shared/mocks/PluginCapabilities.go index abe2c24a982..73d20dbe871 100644 --- a/plugin/storage/grpc/shared/mocks/PluginCapabilities.go +++ b/plugin/storage/grpc/shared/mocks/PluginCapabilities.go @@ -17,7 +17,7 @@ type PluginCapabilities struct { mock.Mock } -// Capabilities provides a mock function with given fields: +// Capabilities provides a mock function with no fields func (_m *PluginCapabilities) Capabilities() (*shared.Capabilities, error) { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceClient.go b/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceClient.go index 7186d354295..2e83e0b51dd 100644 --- a/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceClient.go +++ b/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceClient.go @@ -21,7 +21,7 @@ type ArchiveSpanReaderPlugin_GetArchiveTraceClient struct { mock.Mock } -// CloseSend provides a mock function with given fields: +// CloseSend provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) CloseSend() error { ret := _m.Called() @@ -39,7 +39,7 @@ func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) CloseSend() error { return r0 } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Context() context.Context { ret := _m.Called() @@ -59,7 +59,7 @@ func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Context() context.Conte return r0 } -// Header provides a mock function with given fields: +// Header provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Header() (metadata.MD, error) { ret := _m.Called() @@ -89,7 +89,7 @@ func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Header() (metadata.MD, return r0, r1 } -// Recv provides a mock function with given fields: +// Recv provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Recv() (*storage_v1.SpansResponseChunk, error) { ret := _m.Called() @@ -155,7 +155,7 @@ func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) SendMsg(m any) error { return r0 } -// Trailer provides a mock function with given fields: +// Trailer provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceClient) Trailer() metadata.MD { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceServer.go b/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceServer.go index 1adca0e413f..4bff56846e4 100644 --- a/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceServer.go +++ b/proto-gen/storage_v1/mocks/ArchiveSpanReaderPlugin_GetArchiveTraceServer.go @@ -21,7 +21,7 @@ type ArchiveSpanReaderPlugin_GetArchiveTraceServer struct { mock.Mock } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *ArchiveSpanReaderPlugin_GetArchiveTraceServer) Context() context.Context { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesClient.go b/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesClient.go index f5ca9f2c5d9..58fa5f895bc 100644 --- a/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesClient.go +++ b/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesClient.go @@ -21,7 +21,7 @@ type SpanReaderPlugin_FindTracesClient struct { mock.Mock } -// CloseSend provides a mock function with given fields: +// CloseSend provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesClient) CloseSend() error { ret := _m.Called() @@ -39,7 +39,7 @@ func (_m *SpanReaderPlugin_FindTracesClient) CloseSend() error { return r0 } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesClient) Context() context.Context { ret := _m.Called() @@ -59,7 +59,7 @@ func (_m *SpanReaderPlugin_FindTracesClient) Context() context.Context { return r0 } -// Header provides a mock function with given fields: +// Header provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesClient) Header() (metadata.MD, error) { ret := _m.Called() @@ -89,7 +89,7 @@ func (_m *SpanReaderPlugin_FindTracesClient) Header() (metadata.MD, error) { return r0, r1 } -// Recv provides a mock function with given fields: +// Recv provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesClient) Recv() (*storage_v1.SpansResponseChunk, error) { ret := _m.Called() @@ -155,7 +155,7 @@ func (_m *SpanReaderPlugin_FindTracesClient) SendMsg(m any) error { return r0 } -// Trailer provides a mock function with given fields: +// Trailer provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesClient) Trailer() metadata.MD { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesServer.go b/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesServer.go index 7be1120b031..e7c7dc6a925 100644 --- a/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesServer.go +++ b/proto-gen/storage_v1/mocks/SpanReaderPlugin_FindTracesServer.go @@ -21,7 +21,7 @@ type SpanReaderPlugin_FindTracesServer struct { mock.Mock } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *SpanReaderPlugin_FindTracesServer) Context() context.Context { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceClient.go b/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceClient.go index 2cb27c3d68a..d25e4696883 100644 --- a/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceClient.go +++ b/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceClient.go @@ -21,7 +21,7 @@ type SpanReaderPlugin_GetTraceClient struct { mock.Mock } -// CloseSend provides a mock function with given fields: +// CloseSend provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceClient) CloseSend() error { ret := _m.Called() @@ -39,7 +39,7 @@ func (_m *SpanReaderPlugin_GetTraceClient) CloseSend() error { return r0 } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceClient) Context() context.Context { ret := _m.Called() @@ -59,7 +59,7 @@ func (_m *SpanReaderPlugin_GetTraceClient) Context() context.Context { return r0 } -// Header provides a mock function with given fields: +// Header provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceClient) Header() (metadata.MD, error) { ret := _m.Called() @@ -89,7 +89,7 @@ func (_m *SpanReaderPlugin_GetTraceClient) Header() (metadata.MD, error) { return r0, r1 } -// Recv provides a mock function with given fields: +// Recv provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceClient) Recv() (*storage_v1.SpansResponseChunk, error) { ret := _m.Called() @@ -155,7 +155,7 @@ func (_m *SpanReaderPlugin_GetTraceClient) SendMsg(m any) error { return r0 } -// Trailer provides a mock function with given fields: +// Trailer provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceClient) Trailer() metadata.MD { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceServer.go b/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceServer.go index 8da8bb950b4..c80a4eb0b62 100644 --- a/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceServer.go +++ b/proto-gen/storage_v1/mocks/SpanReaderPlugin_GetTraceServer.go @@ -21,7 +21,7 @@ type SpanReaderPlugin_GetTraceServer struct { mock.Mock } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *SpanReaderPlugin_GetTraceServer) Context() context.Context { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamClient.go b/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamClient.go index 05bad20598a..fbaf9fdac72 100644 --- a/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamClient.go +++ b/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamClient.go @@ -21,7 +21,7 @@ type StreamingSpanWriterPlugin_WriteSpanStreamClient struct { mock.Mock } -// CloseAndRecv provides a mock function with given fields: +// CloseAndRecv provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) CloseAndRecv() (*storage_v1.WriteSpanResponse, error) { ret := _m.Called() @@ -51,7 +51,7 @@ func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) CloseAndRecv() (*stor return r0, r1 } -// CloseSend provides a mock function with given fields: +// CloseSend provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) CloseSend() error { ret := _m.Called() @@ -69,7 +69,7 @@ func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) CloseSend() error { return r0 } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) Context() context.Context { ret := _m.Called() @@ -89,7 +89,7 @@ func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) Context() context.Con return r0 } -// Header provides a mock function with given fields: +// Header provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) Header() (metadata.MD, error) { ret := _m.Called() @@ -173,7 +173,7 @@ func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) SendMsg(m any) error return r0 } -// Trailer provides a mock function with given fields: +// Trailer provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamClient) Trailer() metadata.MD { ret := _m.Called() diff --git a/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamServer.go b/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamServer.go index f11cb8653c6..959a707c554 100644 --- a/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamServer.go +++ b/proto-gen/storage_v1/mocks/StreamingSpanWriterPlugin_WriteSpanStreamServer.go @@ -21,7 +21,7 @@ type StreamingSpanWriterPlugin_WriteSpanStreamServer struct { mock.Mock } -// Context provides a mock function with given fields: +// Context provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamServer) Context() context.Context { ret := _m.Called() @@ -41,7 +41,7 @@ func (_m *StreamingSpanWriterPlugin_WriteSpanStreamServer) Context() context.Con return r0 } -// Recv provides a mock function with given fields: +// Recv provides a mock function with no fields func (_m *StreamingSpanWriterPlugin_WriteSpanStreamServer) Recv() (*storage_v1.WriteSpanRequest, error) { ret := _m.Called() diff --git a/storage/mocks/ArchiveFactory.go b/storage/mocks/ArchiveFactory.go index 6030697602b..294b46dec58 100644 --- a/storage/mocks/ArchiveFactory.go +++ b/storage/mocks/ArchiveFactory.go @@ -17,7 +17,7 @@ type ArchiveFactory struct { mock.Mock } -// CreateArchiveSpanReader provides a mock function with given fields: +// CreateArchiveSpanReader provides a mock function with no fields func (_m *ArchiveFactory) CreateArchiveSpanReader() (spanstore.Reader, error) { ret := _m.Called() @@ -47,7 +47,7 @@ func (_m *ArchiveFactory) CreateArchiveSpanReader() (spanstore.Reader, error) { return r0, r1 } -// CreateArchiveSpanWriter provides a mock function with given fields: +// CreateArchiveSpanWriter provides a mock function with no fields func (_m *ArchiveFactory) CreateArchiveSpanWriter() (spanstore.Writer, error) { ret := _m.Called() diff --git a/storage/mocks/BaseFactory.go b/storage/mocks/BaseFactory.go index 69e391526f7..f9f00ffe3a0 100644 --- a/storage/mocks/BaseFactory.go +++ b/storage/mocks/BaseFactory.go @@ -19,7 +19,7 @@ type BaseFactory struct { mock.Mock } -// CreateDependencyReader provides a mock function with given fields: +// CreateDependencyReader provides a mock function with no fields func (_m *BaseFactory) CreateDependencyReader() (dependencystore.Reader, error) { ret := _m.Called() @@ -49,7 +49,7 @@ func (_m *BaseFactory) CreateDependencyReader() (dependencystore.Reader, error) return r0, r1 } -// CreateSpanReader provides a mock function with given fields: +// CreateSpanReader provides a mock function with no fields func (_m *BaseFactory) CreateSpanReader() (spanstore.Reader, error) { ret := _m.Called() @@ -79,7 +79,7 @@ func (_m *BaseFactory) CreateSpanReader() (spanstore.Reader, error) { return r0, r1 } -// CreateSpanWriter provides a mock function with given fields: +// CreateSpanWriter provides a mock function with no fields func (_m *BaseFactory) CreateSpanWriter() (spanstore.Writer, error) { ret := _m.Called() diff --git a/storage/mocks/Factory.go b/storage/mocks/Factory.go index 90d14de5334..a38f70aa4fc 100644 --- a/storage/mocks/Factory.go +++ b/storage/mocks/Factory.go @@ -23,7 +23,7 @@ type Factory struct { mock.Mock } -// CreateDependencyReader provides a mock function with given fields: +// CreateDependencyReader provides a mock function with no fields func (_m *Factory) CreateDependencyReader() (dependencystore.Reader, error) { ret := _m.Called() @@ -53,7 +53,7 @@ func (_m *Factory) CreateDependencyReader() (dependencystore.Reader, error) { return r0, r1 } -// CreateSpanReader provides a mock function with given fields: +// CreateSpanReader provides a mock function with no fields func (_m *Factory) CreateSpanReader() (spanstore.Reader, error) { ret := _m.Called() @@ -83,7 +83,7 @@ func (_m *Factory) CreateSpanReader() (spanstore.Reader, error) { return r0, r1 } -// CreateSpanWriter provides a mock function with given fields: +// CreateSpanWriter provides a mock function with no fields func (_m *Factory) CreateSpanWriter() (spanstore.Writer, error) { ret := _m.Called() diff --git a/storage/mocks/MetricStoreFactory.go b/storage/mocks/MetricStoreFactory.go index 1302a76e928..66ff3ce9988 100644 --- a/storage/mocks/MetricStoreFactory.go +++ b/storage/mocks/MetricStoreFactory.go @@ -19,7 +19,7 @@ type MetricStoreFactory struct { mock.Mock } -// CreateMetricsReader provides a mock function with given fields: +// CreateMetricsReader provides a mock function with no fields func (_m *MetricStoreFactory) CreateMetricsReader() (metricstore.Reader, error) { ret := _m.Called() diff --git a/storage/mocks/SamplingStoreFactory.go b/storage/mocks/SamplingStoreFactory.go index 89cc1771d45..2f5b74dd805 100644 --- a/storage/mocks/SamplingStoreFactory.go +++ b/storage/mocks/SamplingStoreFactory.go @@ -19,7 +19,7 @@ type SamplingStoreFactory struct { mock.Mock } -// CreateLock provides a mock function with given fields: +// CreateLock provides a mock function with no fields func (_m *SamplingStoreFactory) CreateLock() (distributedlock.Lock, error) { ret := _m.Called() diff --git a/storage/samplingstore/mocks/Store.go b/storage/samplingstore/mocks/Store.go index 99f3c5be5e5..120782e1e81 100644 --- a/storage/samplingstore/mocks/Store.go +++ b/storage/samplingstore/mocks/Store.go @@ -19,7 +19,7 @@ type Store struct { mock.Mock } -// GetLatestProbabilities provides a mock function with given fields: +// GetLatestProbabilities provides a mock function with no fields func (_m *Store) GetLatestProbabilities() (model.ServiceOperationProbabilities, error) { ret := _m.Called()