mockmetastorev1

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMetastoreServiceClient

type MockMetastoreServiceClient struct {
	mock.Mock
}

MockMetastoreServiceClient is an autogenerated mock type for the MetastoreServiceClient type

func NewMockMetastoreServiceClient

func NewMockMetastoreServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMetastoreServiceClient

NewMockMetastoreServiceClient creates a new instance of MockMetastoreServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockMetastoreServiceClient) AddBlock

AddBlock provides a mock function with given fields: ctx, in, opts

func (*MockMetastoreServiceClient) EXPECT

func (*MockMetastoreServiceClient) GetProfileStats

GetProfileStats provides a mock function with given fields: ctx, in, opts

func (*MockMetastoreServiceClient) QueryMetadata

QueryMetadata provides a mock function with given fields: ctx, in, opts

func (*MockMetastoreServiceClient) ReadIndex

ReadIndex provides a mock function with given fields: ctx, in, opts

type MockMetastoreServiceClient_AddBlock_Call

type MockMetastoreServiceClient_AddBlock_Call struct {
	*mock.Call
}

MockMetastoreServiceClient_AddBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlock'

func (*MockMetastoreServiceClient_AddBlock_Call) Return

func (*MockMetastoreServiceClient_AddBlock_Call) Run

type MockMetastoreServiceClient_Expecter

type MockMetastoreServiceClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockMetastoreServiceClient_Expecter) AddBlock

func (_e *MockMetastoreServiceClient_Expecter) AddBlock(ctx interface{}, in interface{}, opts ...interface{}) *MockMetastoreServiceClient_AddBlock_Call

AddBlock is a helper method to define mock.On call

  • ctx context.Context
  • in *metastorev1.AddBlockRequest
  • opts ...grpc.CallOption

func (*MockMetastoreServiceClient_Expecter) GetProfileStats

func (_e *MockMetastoreServiceClient_Expecter) GetProfileStats(ctx interface{}, in interface{}, opts ...interface{}) *MockMetastoreServiceClient_GetProfileStats_Call

GetProfileStats is a helper method to define mock.On call

  • ctx context.Context
  • in *metastorev1.GetProfileStatsRequest
  • opts ...grpc.CallOption

func (*MockMetastoreServiceClient_Expecter) QueryMetadata

func (_e *MockMetastoreServiceClient_Expecter) QueryMetadata(ctx interface{}, in interface{}, opts ...interface{}) *MockMetastoreServiceClient_QueryMetadata_Call

QueryMetadata is a helper method to define mock.On call

  • ctx context.Context
  • in *metastorev1.QueryMetadataRequest
  • opts ...grpc.CallOption

func (*MockMetastoreServiceClient_Expecter) ReadIndex

func (_e *MockMetastoreServiceClient_Expecter) ReadIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockMetastoreServiceClient_ReadIndex_Call

ReadIndex is a helper method to define mock.On call

  • ctx context.Context
  • in *metastorev1.ReadIndexRequest
  • opts ...grpc.CallOption

type MockMetastoreServiceClient_GetProfileStats_Call

type MockMetastoreServiceClient_GetProfileStats_Call struct {
	*mock.Call
}

MockMetastoreServiceClient_GetProfileStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProfileStats'

func (*MockMetastoreServiceClient_GetProfileStats_Call) Return

func (*MockMetastoreServiceClient_GetProfileStats_Call) Run

type MockMetastoreServiceClient_QueryMetadata_Call

type MockMetastoreServiceClient_QueryMetadata_Call struct {
	*mock.Call
}

MockMetastoreServiceClient_QueryMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryMetadata'

func (*MockMetastoreServiceClient_QueryMetadata_Call) Return

func (*MockMetastoreServiceClient_QueryMetadata_Call) Run

type MockMetastoreServiceClient_ReadIndex_Call

type MockMetastoreServiceClient_ReadIndex_Call struct {
	*mock.Call
}

MockMetastoreServiceClient_ReadIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadIndex'

func (*MockMetastoreServiceClient_ReadIndex_Call) Return

func (*MockMetastoreServiceClient_ReadIndex_Call) Run

type MockMetastoreServiceServer added in v1.9.0

type MockMetastoreServiceServer struct {
	mock.Mock
}

MockMetastoreServiceServer is an autogenerated mock type for the MetastoreServiceServer type

func NewMockMetastoreServiceServer added in v1.9.0

func NewMockMetastoreServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMetastoreServiceServer

NewMockMetastoreServiceServer creates a new instance of MockMetastoreServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockMetastoreServiceServer) AddBlock added in v1.9.0

AddBlock provides a mock function with given fields: _a0, _a1

func (*MockMetastoreServiceServer) EXPECT added in v1.9.0

func (*MockMetastoreServiceServer) GetProfileStats added in v1.9.0

GetProfileStats provides a mock function with given fields: _a0, _a1

func (*MockMetastoreServiceServer) QueryMetadata added in v1.9.0

QueryMetadata provides a mock function with given fields: _a0, _a1

func (*MockMetastoreServiceServer) ReadIndex added in v1.9.0

ReadIndex provides a mock function with given fields: _a0, _a1

type MockMetastoreServiceServer_AddBlock_Call added in v1.9.0

type MockMetastoreServiceServer_AddBlock_Call struct {
	*mock.Call
}

MockMetastoreServiceServer_AddBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlock'

func (*MockMetastoreServiceServer_AddBlock_Call) Return added in v1.9.0

func (*MockMetastoreServiceServer_AddBlock_Call) Run added in v1.9.0

func (*MockMetastoreServiceServer_AddBlock_Call) RunAndReturn added in v1.9.0

type MockMetastoreServiceServer_Expecter added in v1.9.0

type MockMetastoreServiceServer_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockMetastoreServiceServer_Expecter) AddBlock added in v1.9.0

func (_e *MockMetastoreServiceServer_Expecter) AddBlock(_a0 interface{}, _a1 interface{}) *MockMetastoreServiceServer_AddBlock_Call

AddBlock is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *metastorev1.AddBlockRequest

func (*MockMetastoreServiceServer_Expecter) GetProfileStats added in v1.9.0

func (_e *MockMetastoreServiceServer_Expecter) GetProfileStats(_a0 interface{}, _a1 interface{}) *MockMetastoreServiceServer_GetProfileStats_Call

GetProfileStats is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *metastorev1.GetProfileStatsRequest

func (*MockMetastoreServiceServer_Expecter) QueryMetadata added in v1.9.0

func (_e *MockMetastoreServiceServer_Expecter) QueryMetadata(_a0 interface{}, _a1 interface{}) *MockMetastoreServiceServer_QueryMetadata_Call

QueryMetadata is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *metastorev1.QueryMetadataRequest

func (*MockMetastoreServiceServer_Expecter) ReadIndex added in v1.9.0

func (_e *MockMetastoreServiceServer_Expecter) ReadIndex(_a0 interface{}, _a1 interface{}) *MockMetastoreServiceServer_ReadIndex_Call

ReadIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *metastorev1.ReadIndexRequest

type MockMetastoreServiceServer_GetProfileStats_Call added in v1.9.0

type MockMetastoreServiceServer_GetProfileStats_Call struct {
	*mock.Call
}

MockMetastoreServiceServer_GetProfileStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProfileStats'

func (*MockMetastoreServiceServer_GetProfileStats_Call) Return added in v1.9.0

func (*MockMetastoreServiceServer_GetProfileStats_Call) Run added in v1.9.0

type MockMetastoreServiceServer_QueryMetadata_Call added in v1.9.0

type MockMetastoreServiceServer_QueryMetadata_Call struct {
	*mock.Call
}

MockMetastoreServiceServer_QueryMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryMetadata'

func (*MockMetastoreServiceServer_QueryMetadata_Call) Return added in v1.9.0

func (*MockMetastoreServiceServer_QueryMetadata_Call) Run added in v1.9.0

func (*MockMetastoreServiceServer_QueryMetadata_Call) RunAndReturn added in v1.9.0

type MockMetastoreServiceServer_ReadIndex_Call added in v1.9.0

type MockMetastoreServiceServer_ReadIndex_Call struct {
	*mock.Call
}

MockMetastoreServiceServer_ReadIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadIndex'

func (*MockMetastoreServiceServer_ReadIndex_Call) Return added in v1.9.0

func (*MockMetastoreServiceServer_ReadIndex_Call) Run added in v1.9.0

func (*MockMetastoreServiceServer_ReadIndex_Call) RunAndReturn added in v1.9.0

type MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call added in v1.9.0

type MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call struct {
	*mock.Call
}

MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedMetastoreServiceServer'

func (*MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call) Return added in v1.9.0

func (*MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call) Run added in v1.9.0

func (*MockMetastoreServiceServer_mustEmbedUnimplementedMetastoreServiceServer_Call) RunAndReturn added in v1.9.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL