mocks

package
v0.10.3-0...-74752f2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkManager

type ChunkManager struct {
	mock.Mock
}

ChunkManager is an autogenerated mock type for the ChunkManager type

func NewChunkManager

func NewChunkManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ChunkManager

NewChunkManager creates a new instance of ChunkManager. 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 (*ChunkManager) EXPECT

func (_m *ChunkManager) EXPECT() *ChunkManager_Expecter

func (*ChunkManager) Exist

func (_m *ChunkManager) Exist(ctx context.Context, filePath string) (bool, error)

Exist provides a mock function with given fields: ctx, filePath

func (*ChunkManager) Mmap

func (_m *ChunkManager) Mmap(ctx context.Context, filePath string) (*mmap.ReaderAt, error)

Mmap provides a mock function with given fields: ctx, filePath

func (*ChunkManager) MultiRead

func (_m *ChunkManager) MultiRead(ctx context.Context, filePaths []string) ([][]byte, error)

MultiRead provides a mock function with given fields: ctx, filePaths

func (*ChunkManager) MultiRemove

func (_m *ChunkManager) MultiRemove(ctx context.Context, filePaths []string) error

MultiRemove provides a mock function with given fields: ctx, filePaths

func (*ChunkManager) MultiWrite

func (_m *ChunkManager) MultiWrite(ctx context.Context, contents map[string][]byte) error

MultiWrite provides a mock function with given fields: ctx, contents

func (*ChunkManager) Path

func (_m *ChunkManager) Path(ctx context.Context, filePath string) (string, error)

Path provides a mock function with given fields: ctx, filePath

func (*ChunkManager) Read

func (_m *ChunkManager) Read(ctx context.Context, filePath string) ([]byte, error)

Read provides a mock function with given fields: ctx, filePath

func (*ChunkManager) ReadAt

func (_m *ChunkManager) ReadAt(ctx context.Context, filePath string, off int64, length int64) ([]byte, error)

ReadAt provides a mock function with given fields: ctx, filePath, off, length

func (*ChunkManager) Reader

func (_m *ChunkManager) Reader(ctx context.Context, filePath string) (storage.FileReader, error)

Reader provides a mock function with given fields: ctx, filePath

func (*ChunkManager) Remove

func (_m *ChunkManager) Remove(ctx context.Context, filePath string) error

Remove provides a mock function with given fields: ctx, filePath

func (*ChunkManager) RemoveWithPrefix

func (_m *ChunkManager) RemoveWithPrefix(ctx context.Context, prefix string) error

RemoveWithPrefix provides a mock function with given fields: ctx, prefix

func (*ChunkManager) RootPath

func (_m *ChunkManager) RootPath() string

RootPath provides a mock function with given fields:

func (*ChunkManager) Size

func (_m *ChunkManager) Size(ctx context.Context, filePath string) (int64, error)

Size provides a mock function with given fields: ctx, filePath

func (*ChunkManager) WalkWithPrefix

func (_m *ChunkManager) WalkWithPrefix(ctx context.Context, prefix string, recursive bool, walkFunc storage.ChunkObjectWalkFunc) error

WalkWithPrefix provides a mock function with given fields: ctx, prefix, recursive, walkFunc

func (*ChunkManager) Write

func (_m *ChunkManager) Write(ctx context.Context, filePath string, content []byte) error

Write provides a mock function with given fields: ctx, filePath, content

type ChunkManager_Exist_Call

type ChunkManager_Exist_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Exist_Call) Return

func (*ChunkManager_Exist_Call) Run

func (_c *ChunkManager_Exist_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Exist_Call

func (*ChunkManager_Exist_Call) RunAndReturn

type ChunkManager_Expecter

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

func (*ChunkManager_Expecter) Exist

func (_e *ChunkManager_Expecter) Exist(ctx interface{}, filePath interface{}) *ChunkManager_Exist_Call

Exist is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) Mmap

func (_e *ChunkManager_Expecter) Mmap(ctx interface{}, filePath interface{}) *ChunkManager_Mmap_Call

Mmap is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) MultiRead

func (_e *ChunkManager_Expecter) MultiRead(ctx interface{}, filePaths interface{}) *ChunkManager_MultiRead_Call

MultiRead is a helper method to define mock.On call

  • ctx context.Context
  • filePaths []string

func (*ChunkManager_Expecter) MultiRemove

func (_e *ChunkManager_Expecter) MultiRemove(ctx interface{}, filePaths interface{}) *ChunkManager_MultiRemove_Call

MultiRemove is a helper method to define mock.On call

  • ctx context.Context
  • filePaths []string

func (*ChunkManager_Expecter) MultiWrite

func (_e *ChunkManager_Expecter) MultiWrite(ctx interface{}, contents interface{}) *ChunkManager_MultiWrite_Call

MultiWrite is a helper method to define mock.On call

  • ctx context.Context
  • contents map[string][]byte

func (*ChunkManager_Expecter) Path

func (_e *ChunkManager_Expecter) Path(ctx interface{}, filePath interface{}) *ChunkManager_Path_Call

Path is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) Read

func (_e *ChunkManager_Expecter) Read(ctx interface{}, filePath interface{}) *ChunkManager_Read_Call

Read is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) ReadAt

func (_e *ChunkManager_Expecter) ReadAt(ctx interface{}, filePath interface{}, off interface{}, length interface{}) *ChunkManager_ReadAt_Call

ReadAt is a helper method to define mock.On call

  • ctx context.Context
  • filePath string
  • off int64
  • length int64

func (*ChunkManager_Expecter) Reader

func (_e *ChunkManager_Expecter) Reader(ctx interface{}, filePath interface{}) *ChunkManager_Reader_Call

Reader is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) Remove

func (_e *ChunkManager_Expecter) Remove(ctx interface{}, filePath interface{}) *ChunkManager_Remove_Call

Remove is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) RemoveWithPrefix

func (_e *ChunkManager_Expecter) RemoveWithPrefix(ctx interface{}, prefix interface{}) *ChunkManager_RemoveWithPrefix_Call

RemoveWithPrefix is a helper method to define mock.On call

  • ctx context.Context
  • prefix string

func (*ChunkManager_Expecter) RootPath

RootPath is a helper method to define mock.On call

func (*ChunkManager_Expecter) Size

func (_e *ChunkManager_Expecter) Size(ctx interface{}, filePath interface{}) *ChunkManager_Size_Call

Size is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*ChunkManager_Expecter) WalkWithPrefix

func (_e *ChunkManager_Expecter) WalkWithPrefix(ctx interface{}, prefix interface{}, recursive interface{}, walkFunc interface{}) *ChunkManager_WalkWithPrefix_Call

WalkWithPrefix is a helper method to define mock.On call

  • ctx context.Context
  • prefix string
  • recursive bool
  • walkFunc storage.ChunkObjectWalkFunc

func (*ChunkManager_Expecter) Write

func (_e *ChunkManager_Expecter) Write(ctx interface{}, filePath interface{}, content interface{}) *ChunkManager_Write_Call

Write is a helper method to define mock.On call

  • ctx context.Context
  • filePath string
  • content []byte

type ChunkManager_Mmap_Call

type ChunkManager_Mmap_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Mmap_Call) Return

func (*ChunkManager_Mmap_Call) Run

func (_c *ChunkManager_Mmap_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Mmap_Call

func (*ChunkManager_Mmap_Call) RunAndReturn

type ChunkManager_MultiRead_Call

type ChunkManager_MultiRead_Call struct {
	*mock.Call
}

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

func (*ChunkManager_MultiRead_Call) Return

func (*ChunkManager_MultiRead_Call) Run

func (_c *ChunkManager_MultiRead_Call) Run(run func(ctx context.Context, filePaths []string)) *ChunkManager_MultiRead_Call

func (*ChunkManager_MultiRead_Call) RunAndReturn

type ChunkManager_MultiRemove_Call

type ChunkManager_MultiRemove_Call struct {
	*mock.Call
}

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

func (*ChunkManager_MultiRemove_Call) Return

func (*ChunkManager_MultiRemove_Call) Run

func (*ChunkManager_MultiRemove_Call) RunAndReturn

type ChunkManager_MultiWrite_Call

type ChunkManager_MultiWrite_Call struct {
	*mock.Call
}

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

func (*ChunkManager_MultiWrite_Call) Return

func (*ChunkManager_MultiWrite_Call) Run

func (_c *ChunkManager_MultiWrite_Call) Run(run func(ctx context.Context, contents map[string][]byte)) *ChunkManager_MultiWrite_Call

func (*ChunkManager_MultiWrite_Call) RunAndReturn

type ChunkManager_Path_Call

type ChunkManager_Path_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Path_Call) Return

func (*ChunkManager_Path_Call) Run

func (_c *ChunkManager_Path_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Path_Call

func (*ChunkManager_Path_Call) RunAndReturn

type ChunkManager_ReadAt_Call

type ChunkManager_ReadAt_Call struct {
	*mock.Call
}

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

func (*ChunkManager_ReadAt_Call) Return

func (*ChunkManager_ReadAt_Call) Run

func (_c *ChunkManager_ReadAt_Call) Run(run func(ctx context.Context, filePath string, off int64, length int64)) *ChunkManager_ReadAt_Call

func (*ChunkManager_ReadAt_Call) RunAndReturn

type ChunkManager_Read_Call

type ChunkManager_Read_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Read_Call) Return

func (_c *ChunkManager_Read_Call) Return(_a0 []byte, _a1 error) *ChunkManager_Read_Call

func (*ChunkManager_Read_Call) Run

func (_c *ChunkManager_Read_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Read_Call

func (*ChunkManager_Read_Call) RunAndReturn

func (_c *ChunkManager_Read_Call) RunAndReturn(run func(context.Context, string) ([]byte, error)) *ChunkManager_Read_Call

type ChunkManager_Reader_Call

type ChunkManager_Reader_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Reader_Call) Return

func (*ChunkManager_Reader_Call) Run

func (_c *ChunkManager_Reader_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Reader_Call

func (*ChunkManager_Reader_Call) RunAndReturn

type ChunkManager_RemoveWithPrefix_Call

type ChunkManager_RemoveWithPrefix_Call struct {
	*mock.Call
}

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

func (*ChunkManager_RemoveWithPrefix_Call) Return

func (*ChunkManager_RemoveWithPrefix_Call) Run

func (*ChunkManager_RemoveWithPrefix_Call) RunAndReturn

type ChunkManager_Remove_Call

type ChunkManager_Remove_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Remove_Call) Return

func (*ChunkManager_Remove_Call) Run

func (_c *ChunkManager_Remove_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Remove_Call

func (*ChunkManager_Remove_Call) RunAndReturn

type ChunkManager_RootPath_Call

type ChunkManager_RootPath_Call struct {
	*mock.Call
}

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

func (*ChunkManager_RootPath_Call) Return

func (*ChunkManager_RootPath_Call) Run

func (*ChunkManager_RootPath_Call) RunAndReturn

func (_c *ChunkManager_RootPath_Call) RunAndReturn(run func() string) *ChunkManager_RootPath_Call

type ChunkManager_Size_Call

type ChunkManager_Size_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Size_Call) Return

func (*ChunkManager_Size_Call) Run

func (_c *ChunkManager_Size_Call) Run(run func(ctx context.Context, filePath string)) *ChunkManager_Size_Call

func (*ChunkManager_Size_Call) RunAndReturn

type ChunkManager_WalkWithPrefix_Call

type ChunkManager_WalkWithPrefix_Call struct {
	*mock.Call
}

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

func (*ChunkManager_WalkWithPrefix_Call) Return

func (*ChunkManager_WalkWithPrefix_Call) Run

func (*ChunkManager_WalkWithPrefix_Call) RunAndReturn

type ChunkManager_Write_Call

type ChunkManager_Write_Call struct {
	*mock.Call
}

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

func (*ChunkManager_Write_Call) Return

func (*ChunkManager_Write_Call) Run

func (_c *ChunkManager_Write_Call) Run(run func(ctx context.Context, filePath string, content []byte)) *ChunkManager_Write_Call

func (*ChunkManager_Write_Call) RunAndReturn

type MockDataCoord

type MockDataCoord struct {
	mock.Mock
}

MockDataCoord is an autogenerated mock type for the DataCoordComponent type

func NewMockDataCoord

func NewMockDataCoord(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDataCoord

NewMockDataCoord creates a new instance of MockDataCoord. 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 (*MockDataCoord) AllocSegment

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

func (*MockDataCoord) AlterIndex

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

func (*MockDataCoord) AssignSegmentID

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

func (*MockDataCoord) BroadcastAlteredCollection

func (_m *MockDataCoord) BroadcastAlteredCollection(_a0 context.Context, _a1 *datapb.AlterCollectionRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) CheckHealth

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

func (*MockDataCoord) CreateIndex

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

func (*MockDataCoord) DescribeIndex

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

func (*MockDataCoord) DropIndex

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

func (*MockDataCoord) DropVirtualChannel

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

func (*MockDataCoord) EXPECT

func (_m *MockDataCoord) EXPECT() *MockDataCoord_Expecter

func (*MockDataCoord) Flush

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

func (*MockDataCoord) GcConfirm

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

func (*MockDataCoord) GcControl

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

func (*MockDataCoord) GetChannelRecoveryInfo

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

func (*MockDataCoord) GetCollectionStatistics

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

func (*MockDataCoord) GetCompactionState

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

func (*MockDataCoord) GetCompactionStateWithPlans

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

func (*MockDataCoord) GetComponentStates

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

func (*MockDataCoord) GetFlushAllState

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

func (*MockDataCoord) GetFlushState

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

func (*MockDataCoord) GetFlushedSegments

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

func (*MockDataCoord) GetImportProgress

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

func (*MockDataCoord) GetIndexBuildProgress

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

func (*MockDataCoord) GetIndexInfos

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

func (*MockDataCoord) GetIndexState

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

func (*MockDataCoord) GetIndexStatistics

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

func (*MockDataCoord) GetInsertBinlogPaths

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

func (*MockDataCoord) GetMetrics

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

func (*MockDataCoord) GetPartitionStatistics

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

func (*MockDataCoord) GetRecoveryInfo

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

func (*MockDataCoord) GetRecoveryInfoV2

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

func (*MockDataCoord) GetSegmentIndexState

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

func (*MockDataCoord) GetSegmentInfo

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

func (*MockDataCoord) GetSegmentInfoChannel

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

func (*MockDataCoord) GetSegmentStates

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

func (*MockDataCoord) GetSegmentsByStates

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

func (*MockDataCoord) GetStatisticsChannel

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

func (*MockDataCoord) GetTimeTickChannel

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

func (*MockDataCoord) ImportV2

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

func (*MockDataCoord) Init

func (_m *MockDataCoord) Init() error

Init provides a mock function with given fields:

func (*MockDataCoord) ListImports

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

func (*MockDataCoord) ListIndexes

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

func (*MockDataCoord) ManualCompaction

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

func (*MockDataCoord) MarkSegmentsDropped

func (_m *MockDataCoord) MarkSegmentsDropped(_a0 context.Context, _a1 *datapb.MarkSegmentsDroppedRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) Register

func (_m *MockDataCoord) Register() error

Register provides a mock function with given fields:

func (*MockDataCoord) RegisterStreamingCoordGRPCService

func (_m *MockDataCoord) RegisterStreamingCoordGRPCService(s *grpc.Server)

RegisterStreamingCoordGRPCService provides a mock function with given fields: s

func (*MockDataCoord) ReportDataNodeTtMsgs

func (_m *MockDataCoord) ReportDataNodeTtMsgs(_a0 context.Context, _a1 *datapb.ReportDataNodeTtMsgsRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) SaveBinlogPaths

func (_m *MockDataCoord) SaveBinlogPaths(_a0 context.Context, _a1 *datapb.SaveBinlogPathsRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) SetAddress

func (_m *MockDataCoord) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockDataCoord) SetDataNodeCreator

func (_m *MockDataCoord) SetDataNodeCreator(_a0 func(context.Context, string, int64) (types.DataNodeClient, error))

SetDataNodeCreator provides a mock function with given fields: _a0

func (*MockDataCoord) SetEtcdClient

func (_m *MockDataCoord) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockDataCoord) SetIndexNodeCreator

func (_m *MockDataCoord) SetIndexNodeCreator(_a0 func(context.Context, string, int64) (types.IndexNodeClient, error))

SetIndexNodeCreator provides a mock function with given fields: _a0

func (*MockDataCoord) SetRootCoordClient

func (_m *MockDataCoord) SetRootCoordClient(rootCoord types.RootCoordClient)

SetRootCoordClient provides a mock function with given fields: rootCoord

func (*MockDataCoord) SetSegmentState

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

func (*MockDataCoord) SetTiKVClient

func (_m *MockDataCoord) SetTiKVClient(client *txnkv.Client)

SetTiKVClient provides a mock function with given fields: client

func (*MockDataCoord) ShowConfigurations

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

func (*MockDataCoord) Start

func (_m *MockDataCoord) Start() error

Start provides a mock function with given fields:

func (*MockDataCoord) Stop

func (_m *MockDataCoord) Stop() error

Stop provides a mock function with given fields:

func (*MockDataCoord) UpdateChannelCheckpoint

func (_m *MockDataCoord) UpdateChannelCheckpoint(_a0 context.Context, _a1 *datapb.UpdateChannelCheckpointRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) UpdateSegmentStatistics

func (_m *MockDataCoord) UpdateSegmentStatistics(_a0 context.Context, _a1 *datapb.UpdateSegmentStatisticsRequest) (*commonpb.Status, error)

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

func (*MockDataCoord) WatchChannels

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

type MockDataCoordClient

type MockDataCoordClient struct {
	mock.Mock
}

MockDataCoordClient is an autogenerated mock type for the DataCoordClient type

func NewMockDataCoordClient

func NewMockDataCoordClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDataCoordClient

NewMockDataCoordClient creates a new instance of MockDataCoordClient. 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 (*MockDataCoordClient) AllocSegment

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

func (*MockDataCoordClient) AlterIndex

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

func (*MockDataCoordClient) AssignSegmentID

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

func (*MockDataCoordClient) BroadcastAlteredCollection

func (_m *MockDataCoordClient) BroadcastAlteredCollection(ctx context.Context, in *datapb.AlterCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataCoordClient) CheckHealth

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

func (*MockDataCoordClient) Close

func (_m *MockDataCoordClient) Close() error

Close provides a mock function with given fields:

func (*MockDataCoordClient) CreateIndex

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

func (*MockDataCoordClient) DescribeIndex

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

func (*MockDataCoordClient) DropIndex

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

func (*MockDataCoordClient) DropVirtualChannel

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

func (*MockDataCoordClient) EXPECT

func (*MockDataCoordClient) Flush

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

func (*MockDataCoordClient) GcConfirm

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

func (*MockDataCoordClient) GcControl

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

func (*MockDataCoordClient) GetChannelRecoveryInfo

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

func (*MockDataCoordClient) GetCollectionStatistics

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

func (*MockDataCoordClient) GetCompactionState

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

func (*MockDataCoordClient) GetCompactionStateWithPlans

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

func (*MockDataCoordClient) GetComponentStates

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

func (*MockDataCoordClient) GetFlushAllState

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

func (*MockDataCoordClient) GetFlushState

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

func (*MockDataCoordClient) GetFlushedSegments

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

func (*MockDataCoordClient) GetImportProgress

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

func (*MockDataCoordClient) GetIndexBuildProgress

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

func (*MockDataCoordClient) GetIndexInfos

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

func (*MockDataCoordClient) GetIndexState

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

func (*MockDataCoordClient) GetIndexStatistics

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

func (*MockDataCoordClient) GetInsertBinlogPaths

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

func (*MockDataCoordClient) GetMetrics

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

func (*MockDataCoordClient) GetPartitionStatistics

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

func (*MockDataCoordClient) GetRecoveryInfo

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

func (*MockDataCoordClient) GetRecoveryInfoV2

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

func (*MockDataCoordClient) GetSegmentIndexState

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

func (*MockDataCoordClient) GetSegmentInfo

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

func (*MockDataCoordClient) GetSegmentInfoChannel

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

func (*MockDataCoordClient) GetSegmentStates

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

func (*MockDataCoordClient) GetSegmentsByStates

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

func (*MockDataCoordClient) GetStatisticsChannel

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

func (*MockDataCoordClient) GetTimeTickChannel

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

func (*MockDataCoordClient) ImportV2

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

func (*MockDataCoordClient) ListImports

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

func (*MockDataCoordClient) ListIndexes

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

func (*MockDataCoordClient) ManualCompaction

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

func (*MockDataCoordClient) MarkSegmentsDropped

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

func (*MockDataCoordClient) ReportDataNodeTtMsgs

func (_m *MockDataCoordClient) ReportDataNodeTtMsgs(ctx context.Context, in *datapb.ReportDataNodeTtMsgsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataCoordClient) SaveBinlogPaths

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

func (*MockDataCoordClient) SetSegmentState

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

func (*MockDataCoordClient) ShowConfigurations

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

func (*MockDataCoordClient) UpdateChannelCheckpoint

func (_m *MockDataCoordClient) UpdateChannelCheckpoint(ctx context.Context, in *datapb.UpdateChannelCheckpointRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataCoordClient) UpdateSegmentStatistics

func (_m *MockDataCoordClient) UpdateSegmentStatistics(ctx context.Context, in *datapb.UpdateSegmentStatisticsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataCoordClient) WatchChannels

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

type MockDataCoordClient_AllocSegment_Call

type MockDataCoordClient_AllocSegment_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_AllocSegment_Call) Return

func (*MockDataCoordClient_AllocSegment_Call) Run

type MockDataCoordClient_AlterIndex_Call

type MockDataCoordClient_AlterIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_AlterIndex_Call) Return

func (*MockDataCoordClient_AlterIndex_Call) Run

func (*MockDataCoordClient_AlterIndex_Call) RunAndReturn

type MockDataCoordClient_AssignSegmentID_Call

type MockDataCoordClient_AssignSegmentID_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_AssignSegmentID_Call) Return

func (*MockDataCoordClient_AssignSegmentID_Call) Run

type MockDataCoordClient_BroadcastAlteredCollection_Call

type MockDataCoordClient_BroadcastAlteredCollection_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_BroadcastAlteredCollection_Call) Return

func (*MockDataCoordClient_BroadcastAlteredCollection_Call) Run

type MockDataCoordClient_CheckHealth_Call

type MockDataCoordClient_CheckHealth_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_CheckHealth_Call) Return

func (*MockDataCoordClient_CheckHealth_Call) Run

type MockDataCoordClient_Close_Call

type MockDataCoordClient_Close_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_Close_Call) Return

func (*MockDataCoordClient_Close_Call) Run

func (*MockDataCoordClient_Close_Call) RunAndReturn

type MockDataCoordClient_CreateIndex_Call

type MockDataCoordClient_CreateIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_CreateIndex_Call) Return

func (*MockDataCoordClient_CreateIndex_Call) Run

type MockDataCoordClient_DescribeIndex_Call

type MockDataCoordClient_DescribeIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_DescribeIndex_Call) Return

func (*MockDataCoordClient_DescribeIndex_Call) Run

type MockDataCoordClient_DropIndex_Call

type MockDataCoordClient_DropIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_DropIndex_Call) Return

func (*MockDataCoordClient_DropIndex_Call) Run

func (*MockDataCoordClient_DropIndex_Call) RunAndReturn

type MockDataCoordClient_DropVirtualChannel_Call

type MockDataCoordClient_DropVirtualChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_DropVirtualChannel_Call) Return

func (*MockDataCoordClient_DropVirtualChannel_Call) Run

type MockDataCoordClient_Expecter

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

func (*MockDataCoordClient_Expecter) AllocSegment

func (_e *MockDataCoordClient_Expecter) AllocSegment(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_AllocSegment_Call

AllocSegment is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.AllocSegmentRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) AlterIndex

func (_e *MockDataCoordClient_Expecter) AlterIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_AlterIndex_Call

AlterIndex is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.AlterIndexRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) AssignSegmentID

func (_e *MockDataCoordClient_Expecter) AssignSegmentID(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_AssignSegmentID_Call

AssignSegmentID is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.AssignSegmentIDRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) BroadcastAlteredCollection

func (_e *MockDataCoordClient_Expecter) BroadcastAlteredCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_BroadcastAlteredCollection_Call

BroadcastAlteredCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.AlterCollectionRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) CheckHealth

func (_e *MockDataCoordClient_Expecter) CheckHealth(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CheckHealthRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockDataCoordClient_Expecter) CreateIndex

func (_e *MockDataCoordClient_Expecter) CreateIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_CreateIndex_Call

CreateIndex is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.CreateIndexRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) DescribeIndex

func (_e *MockDataCoordClient_Expecter) DescribeIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_DescribeIndex_Call

DescribeIndex is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.DescribeIndexRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) DropIndex

func (_e *MockDataCoordClient_Expecter) DropIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_DropIndex_Call

DropIndex is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.DropIndexRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) DropVirtualChannel

func (_e *MockDataCoordClient_Expecter) DropVirtualChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_DropVirtualChannel_Call

DropVirtualChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.DropVirtualChannelRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) Flush

func (_e *MockDataCoordClient_Expecter) Flush(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_Flush_Call

Flush is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.FlushRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GcConfirm

func (_e *MockDataCoordClient_Expecter) GcConfirm(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GcConfirm_Call

GcConfirm is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GcConfirmRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GcControl

func (_e *MockDataCoordClient_Expecter) GcControl(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GcControl_Call

GcControl is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GcControlRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetChannelRecoveryInfo

func (_e *MockDataCoordClient_Expecter) GetChannelRecoveryInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetChannelRecoveryInfo_Call

GetChannelRecoveryInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetChannelRecoveryInfoRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetCollectionStatistics

func (_e *MockDataCoordClient_Expecter) GetCollectionStatistics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetCollectionStatistics_Call

GetCollectionStatistics is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetCollectionStatisticsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetCompactionState

func (_e *MockDataCoordClient_Expecter) GetCompactionState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetCompactionState_Call

GetCompactionState is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetCompactionStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetCompactionStateWithPlans

func (_e *MockDataCoordClient_Expecter) GetCompactionStateWithPlans(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetCompactionStateWithPlans_Call

GetCompactionStateWithPlans is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetCompactionPlansRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetComponentStates

func (_e *MockDataCoordClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetFlushAllState

func (_e *MockDataCoordClient_Expecter) GetFlushAllState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetFlushAllState_Call

GetFlushAllState is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetFlushAllStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetFlushState

func (_e *MockDataCoordClient_Expecter) GetFlushState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetFlushState_Call

GetFlushState is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetFlushStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetFlushedSegments

func (_e *MockDataCoordClient_Expecter) GetFlushedSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetFlushedSegments_Call

GetFlushedSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetFlushedSegmentsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetImportProgress

func (_e *MockDataCoordClient_Expecter) GetImportProgress(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetImportProgress_Call

GetImportProgress is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetImportProgressRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetIndexBuildProgress

func (_e *MockDataCoordClient_Expecter) GetIndexBuildProgress(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetIndexBuildProgress_Call

GetIndexBuildProgress is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.GetIndexBuildProgressRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetIndexInfos

func (_e *MockDataCoordClient_Expecter) GetIndexInfos(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetIndexInfos_Call

GetIndexInfos is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.GetIndexInfoRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetIndexState

func (_e *MockDataCoordClient_Expecter) GetIndexState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetIndexState_Call

GetIndexState is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.GetIndexStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetIndexStatistics

func (_e *MockDataCoordClient_Expecter) GetIndexStatistics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetIndexStatistics_Call

GetIndexStatistics is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.GetIndexStatisticsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetInsertBinlogPaths

func (_e *MockDataCoordClient_Expecter) GetInsertBinlogPaths(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetInsertBinlogPaths_Call

GetInsertBinlogPaths is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetInsertBinlogPathsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetMetrics

func (_e *MockDataCoordClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetPartitionStatistics

func (_e *MockDataCoordClient_Expecter) GetPartitionStatistics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetPartitionStatistics_Call

GetPartitionStatistics is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetPartitionStatisticsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetRecoveryInfo

func (_e *MockDataCoordClient_Expecter) GetRecoveryInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetRecoveryInfo_Call

GetRecoveryInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetRecoveryInfoRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetRecoveryInfoV2

func (_e *MockDataCoordClient_Expecter) GetRecoveryInfoV2(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetRecoveryInfoV2_Call

GetRecoveryInfoV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetRecoveryInfoRequestV2
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetSegmentIndexState

func (_e *MockDataCoordClient_Expecter) GetSegmentIndexState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetSegmentIndexState_Call

GetSegmentIndexState is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.GetSegmentIndexStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetSegmentInfo

func (_e *MockDataCoordClient_Expecter) GetSegmentInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetSegmentInfoRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetSegmentInfoChannel

func (_e *MockDataCoordClient_Expecter) GetSegmentInfoChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetSegmentInfoChannel_Call

GetSegmentInfoChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetSegmentInfoChannelRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetSegmentStates

func (_e *MockDataCoordClient_Expecter) GetSegmentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetSegmentStates_Call

GetSegmentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetSegmentStatesRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetSegmentsByStates

func (_e *MockDataCoordClient_Expecter) GetSegmentsByStates(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetSegmentsByStates_Call

GetSegmentsByStates is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.GetSegmentsByStatesRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetStatisticsChannel

func (_e *MockDataCoordClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) GetTimeTickChannel

func (_e *MockDataCoordClient_Expecter) GetTimeTickChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetTimeTickChannelRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ImportV2

func (_e *MockDataCoordClient_Expecter) ImportV2(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ImportRequestInternal
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ListImports

func (_e *MockDataCoordClient_Expecter) ListImports(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ListImports_Call

ListImports is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ListImportsRequestInternal
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ListIndexes

func (_e *MockDataCoordClient_Expecter) ListIndexes(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ListIndexes_Call

ListIndexes is a helper method to define mock.On call

  • ctx context.Context
  • in *indexpb.ListIndexesRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ManualCompaction

func (_e *MockDataCoordClient_Expecter) ManualCompaction(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ManualCompaction_Call

ManualCompaction is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ManualCompactionRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) MarkSegmentsDropped

func (_e *MockDataCoordClient_Expecter) MarkSegmentsDropped(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_MarkSegmentsDropped_Call

MarkSegmentsDropped is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.MarkSegmentsDroppedRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ReportDataNodeTtMsgs

func (_e *MockDataCoordClient_Expecter) ReportDataNodeTtMsgs(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ReportDataNodeTtMsgs_Call

ReportDataNodeTtMsgs is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.ReportDataNodeTtMsgsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) SaveBinlogPaths

func (_e *MockDataCoordClient_Expecter) SaveBinlogPaths(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_SaveBinlogPaths_Call

SaveBinlogPaths is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.SaveBinlogPathsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) SetSegmentState

func (_e *MockDataCoordClient_Expecter) SetSegmentState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_SetSegmentState_Call

SetSegmentState is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.SetSegmentStateRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) ShowConfigurations

func (_e *MockDataCoordClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) UpdateChannelCheckpoint

func (_e *MockDataCoordClient_Expecter) UpdateChannelCheckpoint(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_UpdateChannelCheckpoint_Call

UpdateChannelCheckpoint is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.UpdateChannelCheckpointRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) UpdateSegmentStatistics

func (_e *MockDataCoordClient_Expecter) UpdateSegmentStatistics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_UpdateSegmentStatistics_Call

UpdateSegmentStatistics is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.UpdateSegmentStatisticsRequest
  • opts ...grpc.CallOption

func (*MockDataCoordClient_Expecter) WatchChannels

func (_e *MockDataCoordClient_Expecter) WatchChannels(ctx interface{}, in interface{}, opts ...interface{}) *MockDataCoordClient_WatchChannels_Call

WatchChannels is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.WatchChannelsRequest
  • opts ...grpc.CallOption

type MockDataCoordClient_Flush_Call

type MockDataCoordClient_Flush_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_Flush_Call) Return

func (*MockDataCoordClient_Flush_Call) Run

func (*MockDataCoordClient_Flush_Call) RunAndReturn

type MockDataCoordClient_GcConfirm_Call

type MockDataCoordClient_GcConfirm_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GcConfirm_Call) Return

func (*MockDataCoordClient_GcConfirm_Call) Run

type MockDataCoordClient_GcControl_Call

type MockDataCoordClient_GcControl_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GcControl_Call) Return

func (*MockDataCoordClient_GcControl_Call) Run

func (*MockDataCoordClient_GcControl_Call) RunAndReturn

type MockDataCoordClient_GetChannelRecoveryInfo_Call

type MockDataCoordClient_GetChannelRecoveryInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetChannelRecoveryInfo_Call) Run

type MockDataCoordClient_GetCollectionStatistics_Call

type MockDataCoordClient_GetCollectionStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetCollectionStatistics_Call) Run

type MockDataCoordClient_GetCompactionStateWithPlans_Call

type MockDataCoordClient_GetCompactionStateWithPlans_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetCompactionStateWithPlans_Call) Run

type MockDataCoordClient_GetCompactionState_Call

type MockDataCoordClient_GetCompactionState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetCompactionState_Call) Return

func (*MockDataCoordClient_GetCompactionState_Call) Run

type MockDataCoordClient_GetComponentStates_Call

type MockDataCoordClient_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetComponentStates_Call) Return

func (*MockDataCoordClient_GetComponentStates_Call) Run

type MockDataCoordClient_GetFlushAllState_Call

type MockDataCoordClient_GetFlushAllState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetFlushAllState_Call) Return

func (*MockDataCoordClient_GetFlushAllState_Call) Run

type MockDataCoordClient_GetFlushState_Call

type MockDataCoordClient_GetFlushState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetFlushState_Call) Return

func (*MockDataCoordClient_GetFlushState_Call) Run

type MockDataCoordClient_GetFlushedSegments_Call

type MockDataCoordClient_GetFlushedSegments_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetFlushedSegments_Call) Return

func (*MockDataCoordClient_GetFlushedSegments_Call) Run

type MockDataCoordClient_GetImportProgress_Call

type MockDataCoordClient_GetImportProgress_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetImportProgress_Call) Return

func (*MockDataCoordClient_GetImportProgress_Call) Run

type MockDataCoordClient_GetIndexBuildProgress_Call

type MockDataCoordClient_GetIndexBuildProgress_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetIndexBuildProgress_Call) Run

type MockDataCoordClient_GetIndexInfos_Call

type MockDataCoordClient_GetIndexInfos_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetIndexInfos_Call) Return

func (*MockDataCoordClient_GetIndexInfos_Call) Run

type MockDataCoordClient_GetIndexState_Call

type MockDataCoordClient_GetIndexState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetIndexState_Call) Return

func (*MockDataCoordClient_GetIndexState_Call) Run

type MockDataCoordClient_GetIndexStatistics_Call

type MockDataCoordClient_GetIndexStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetIndexStatistics_Call) Return

func (*MockDataCoordClient_GetIndexStatistics_Call) Run

type MockDataCoordClient_GetInsertBinlogPaths_Call

type MockDataCoordClient_GetInsertBinlogPaths_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetInsertBinlogPaths_Call) Return

func (*MockDataCoordClient_GetInsertBinlogPaths_Call) Run

type MockDataCoordClient_GetMetrics_Call

type MockDataCoordClient_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetMetrics_Call) Return

func (*MockDataCoordClient_GetMetrics_Call) Run

type MockDataCoordClient_GetPartitionStatistics_Call

type MockDataCoordClient_GetPartitionStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetPartitionStatistics_Call) Run

type MockDataCoordClient_GetRecoveryInfoV2_Call

type MockDataCoordClient_GetRecoveryInfoV2_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetRecoveryInfoV2_Call) Return

func (*MockDataCoordClient_GetRecoveryInfoV2_Call) Run

type MockDataCoordClient_GetRecoveryInfo_Call

type MockDataCoordClient_GetRecoveryInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetRecoveryInfo_Call) Return

func (*MockDataCoordClient_GetRecoveryInfo_Call) Run

type MockDataCoordClient_GetSegmentIndexState_Call

type MockDataCoordClient_GetSegmentIndexState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetSegmentIndexState_Call) Return

func (*MockDataCoordClient_GetSegmentIndexState_Call) Run

type MockDataCoordClient_GetSegmentInfoChannel_Call

type MockDataCoordClient_GetSegmentInfoChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetSegmentInfoChannel_Call) Return

func (*MockDataCoordClient_GetSegmentInfoChannel_Call) Run

type MockDataCoordClient_GetSegmentInfo_Call

type MockDataCoordClient_GetSegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetSegmentInfo_Call) Return

func (*MockDataCoordClient_GetSegmentInfo_Call) Run

type MockDataCoordClient_GetSegmentStates_Call

type MockDataCoordClient_GetSegmentStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetSegmentStates_Call) Return

func (*MockDataCoordClient_GetSegmentStates_Call) Run

type MockDataCoordClient_GetSegmentsByStates_Call

type MockDataCoordClient_GetSegmentsByStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetSegmentsByStates_Call) Return

func (*MockDataCoordClient_GetSegmentsByStates_Call) Run

type MockDataCoordClient_GetStatisticsChannel_Call

type MockDataCoordClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetStatisticsChannel_Call) Return

func (*MockDataCoordClient_GetStatisticsChannel_Call) Run

type MockDataCoordClient_GetTimeTickChannel_Call

type MockDataCoordClient_GetTimeTickChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_GetTimeTickChannel_Call) Return

func (*MockDataCoordClient_GetTimeTickChannel_Call) Run

type MockDataCoordClient_ImportV2_Call

type MockDataCoordClient_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ImportV2_Call) Return

func (*MockDataCoordClient_ImportV2_Call) Run

type MockDataCoordClient_ListImports_Call

type MockDataCoordClient_ListImports_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ListImports_Call) Return

func (*MockDataCoordClient_ListImports_Call) Run

type MockDataCoordClient_ListIndexes_Call

type MockDataCoordClient_ListIndexes_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ListIndexes_Call) Return

func (*MockDataCoordClient_ListIndexes_Call) Run

type MockDataCoordClient_ManualCompaction_Call

type MockDataCoordClient_ManualCompaction_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ManualCompaction_Call) Return

func (*MockDataCoordClient_ManualCompaction_Call) Run

type MockDataCoordClient_MarkSegmentsDropped_Call

type MockDataCoordClient_MarkSegmentsDropped_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_MarkSegmentsDropped_Call) Return

func (*MockDataCoordClient_MarkSegmentsDropped_Call) Run

type MockDataCoordClient_ReportDataNodeTtMsgs_Call

type MockDataCoordClient_ReportDataNodeTtMsgs_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ReportDataNodeTtMsgs_Call) Return

func (*MockDataCoordClient_ReportDataNodeTtMsgs_Call) Run

type MockDataCoordClient_SaveBinlogPaths_Call

type MockDataCoordClient_SaveBinlogPaths_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_SaveBinlogPaths_Call) Return

func (*MockDataCoordClient_SaveBinlogPaths_Call) Run

type MockDataCoordClient_SetSegmentState_Call

type MockDataCoordClient_SetSegmentState_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_SetSegmentState_Call) Return

func (*MockDataCoordClient_SetSegmentState_Call) Run

type MockDataCoordClient_ShowConfigurations_Call

type MockDataCoordClient_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_ShowConfigurations_Call) Return

func (*MockDataCoordClient_ShowConfigurations_Call) Run

type MockDataCoordClient_UpdateChannelCheckpoint_Call

type MockDataCoordClient_UpdateChannelCheckpoint_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_UpdateChannelCheckpoint_Call) Return

func (*MockDataCoordClient_UpdateChannelCheckpoint_Call) Run

type MockDataCoordClient_UpdateSegmentStatistics_Call

type MockDataCoordClient_UpdateSegmentStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_UpdateSegmentStatistics_Call) Return

func (*MockDataCoordClient_UpdateSegmentStatistics_Call) Run

type MockDataCoordClient_WatchChannels_Call

type MockDataCoordClient_WatchChannels_Call struct {
	*mock.Call
}

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

func (*MockDataCoordClient_WatchChannels_Call) Return

func (*MockDataCoordClient_WatchChannels_Call) Run

type MockDataCoord_AllocSegment_Call

type MockDataCoord_AllocSegment_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_AllocSegment_Call) Return

func (*MockDataCoord_AllocSegment_Call) Run

type MockDataCoord_AlterIndex_Call

type MockDataCoord_AlterIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_AlterIndex_Call) Return

func (*MockDataCoord_AlterIndex_Call) Run

func (*MockDataCoord_AlterIndex_Call) RunAndReturn

type MockDataCoord_AssignSegmentID_Call

type MockDataCoord_AssignSegmentID_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_AssignSegmentID_Call) Return

func (*MockDataCoord_AssignSegmentID_Call) Run

type MockDataCoord_BroadcastAlteredCollection_Call

type MockDataCoord_BroadcastAlteredCollection_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_BroadcastAlteredCollection_Call) Return

func (*MockDataCoord_BroadcastAlteredCollection_Call) Run

type MockDataCoord_CheckHealth_Call

type MockDataCoord_CheckHealth_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_CheckHealth_Call) Return

func (*MockDataCoord_CheckHealth_Call) Run

type MockDataCoord_CreateIndex_Call

type MockDataCoord_CreateIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_CreateIndex_Call) Return

func (*MockDataCoord_CreateIndex_Call) Run

func (*MockDataCoord_CreateIndex_Call) RunAndReturn

type MockDataCoord_DescribeIndex_Call

type MockDataCoord_DescribeIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_DescribeIndex_Call) Return

func (*MockDataCoord_DescribeIndex_Call) Run

type MockDataCoord_DropIndex_Call

type MockDataCoord_DropIndex_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_DropIndex_Call) Return

func (*MockDataCoord_DropIndex_Call) Run

func (*MockDataCoord_DropIndex_Call) RunAndReturn

type MockDataCoord_DropVirtualChannel_Call

type MockDataCoord_DropVirtualChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_DropVirtualChannel_Call) Return

func (*MockDataCoord_DropVirtualChannel_Call) Run

type MockDataCoord_Expecter

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

func (*MockDataCoord_Expecter) AllocSegment

func (_e *MockDataCoord_Expecter) AllocSegment(_a0 interface{}, _a1 interface{}) *MockDataCoord_AllocSegment_Call

AllocSegment is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.AllocSegmentRequest

func (*MockDataCoord_Expecter) AlterIndex

func (_e *MockDataCoord_Expecter) AlterIndex(_a0 interface{}, _a1 interface{}) *MockDataCoord_AlterIndex_Call

AlterIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.AlterIndexRequest

func (*MockDataCoord_Expecter) AssignSegmentID

func (_e *MockDataCoord_Expecter) AssignSegmentID(_a0 interface{}, _a1 interface{}) *MockDataCoord_AssignSegmentID_Call

AssignSegmentID is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.AssignSegmentIDRequest

func (*MockDataCoord_Expecter) BroadcastAlteredCollection

func (_e *MockDataCoord_Expecter) BroadcastAlteredCollection(_a0 interface{}, _a1 interface{}) *MockDataCoord_BroadcastAlteredCollection_Call

BroadcastAlteredCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.AlterCollectionRequest

func (*MockDataCoord_Expecter) CheckHealth

func (_e *MockDataCoord_Expecter) CheckHealth(_a0 interface{}, _a1 interface{}) *MockDataCoord_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CheckHealthRequest

func (*MockDataCoord_Expecter) CreateIndex

func (_e *MockDataCoord_Expecter) CreateIndex(_a0 interface{}, _a1 interface{}) *MockDataCoord_CreateIndex_Call

CreateIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.CreateIndexRequest

func (*MockDataCoord_Expecter) DescribeIndex

func (_e *MockDataCoord_Expecter) DescribeIndex(_a0 interface{}, _a1 interface{}) *MockDataCoord_DescribeIndex_Call

DescribeIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.DescribeIndexRequest

func (*MockDataCoord_Expecter) DropIndex

func (_e *MockDataCoord_Expecter) DropIndex(_a0 interface{}, _a1 interface{}) *MockDataCoord_DropIndex_Call

DropIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.DropIndexRequest

func (*MockDataCoord_Expecter) DropVirtualChannel

func (_e *MockDataCoord_Expecter) DropVirtualChannel(_a0 interface{}, _a1 interface{}) *MockDataCoord_DropVirtualChannel_Call

DropVirtualChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.DropVirtualChannelRequest

func (*MockDataCoord_Expecter) Flush

func (_e *MockDataCoord_Expecter) Flush(_a0 interface{}, _a1 interface{}) *MockDataCoord_Flush_Call

Flush is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.FlushRequest

func (*MockDataCoord_Expecter) GcConfirm

func (_e *MockDataCoord_Expecter) GcConfirm(_a0 interface{}, _a1 interface{}) *MockDataCoord_GcConfirm_Call

GcConfirm is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GcConfirmRequest

func (*MockDataCoord_Expecter) GcControl

func (_e *MockDataCoord_Expecter) GcControl(_a0 interface{}, _a1 interface{}) *MockDataCoord_GcControl_Call

GcControl is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GcControlRequest

func (*MockDataCoord_Expecter) GetChannelRecoveryInfo

func (_e *MockDataCoord_Expecter) GetChannelRecoveryInfo(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetChannelRecoveryInfo_Call

GetChannelRecoveryInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetChannelRecoveryInfoRequest

func (*MockDataCoord_Expecter) GetCollectionStatistics

func (_e *MockDataCoord_Expecter) GetCollectionStatistics(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetCollectionStatistics_Call

GetCollectionStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetCollectionStatisticsRequest

func (*MockDataCoord_Expecter) GetCompactionState

func (_e *MockDataCoord_Expecter) GetCompactionState(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetCompactionState_Call

GetCompactionState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetCompactionStateRequest

func (*MockDataCoord_Expecter) GetCompactionStateWithPlans

func (_e *MockDataCoord_Expecter) GetCompactionStateWithPlans(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetCompactionStateWithPlans_Call

GetCompactionStateWithPlans is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetCompactionPlansRequest

func (*MockDataCoord_Expecter) GetComponentStates

func (_e *MockDataCoord_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockDataCoord_Expecter) GetFlushAllState

func (_e *MockDataCoord_Expecter) GetFlushAllState(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetFlushAllState_Call

GetFlushAllState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetFlushAllStateRequest

func (*MockDataCoord_Expecter) GetFlushState

func (_e *MockDataCoord_Expecter) GetFlushState(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetFlushState_Call

GetFlushState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetFlushStateRequest

func (*MockDataCoord_Expecter) GetFlushedSegments

func (_e *MockDataCoord_Expecter) GetFlushedSegments(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetFlushedSegments_Call

GetFlushedSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetFlushedSegmentsRequest

func (*MockDataCoord_Expecter) GetImportProgress

func (_e *MockDataCoord_Expecter) GetImportProgress(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetImportProgress_Call

GetImportProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetImportProgressRequest

func (*MockDataCoord_Expecter) GetIndexBuildProgress

func (_e *MockDataCoord_Expecter) GetIndexBuildProgress(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetIndexBuildProgress_Call

GetIndexBuildProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.GetIndexBuildProgressRequest

func (*MockDataCoord_Expecter) GetIndexInfos

func (_e *MockDataCoord_Expecter) GetIndexInfos(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetIndexInfos_Call

GetIndexInfos is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.GetIndexInfoRequest

func (*MockDataCoord_Expecter) GetIndexState

func (_e *MockDataCoord_Expecter) GetIndexState(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetIndexState_Call

GetIndexState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.GetIndexStateRequest

func (*MockDataCoord_Expecter) GetIndexStatistics

func (_e *MockDataCoord_Expecter) GetIndexStatistics(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetIndexStatistics_Call

GetIndexStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.GetIndexStatisticsRequest

func (*MockDataCoord_Expecter) GetInsertBinlogPaths

func (_e *MockDataCoord_Expecter) GetInsertBinlogPaths(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetInsertBinlogPaths_Call

GetInsertBinlogPaths is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetInsertBinlogPathsRequest

func (*MockDataCoord_Expecter) GetMetrics

func (_e *MockDataCoord_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockDataCoord_Expecter) GetPartitionStatistics

func (_e *MockDataCoord_Expecter) GetPartitionStatistics(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetPartitionStatistics_Call

GetPartitionStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetPartitionStatisticsRequest

func (*MockDataCoord_Expecter) GetRecoveryInfo

func (_e *MockDataCoord_Expecter) GetRecoveryInfo(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetRecoveryInfo_Call

GetRecoveryInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetRecoveryInfoRequest

func (*MockDataCoord_Expecter) GetRecoveryInfoV2

func (_e *MockDataCoord_Expecter) GetRecoveryInfoV2(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetRecoveryInfoV2_Call

GetRecoveryInfoV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetRecoveryInfoRequestV2

func (*MockDataCoord_Expecter) GetSegmentIndexState

func (_e *MockDataCoord_Expecter) GetSegmentIndexState(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetSegmentIndexState_Call

GetSegmentIndexState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.GetSegmentIndexStateRequest

func (*MockDataCoord_Expecter) GetSegmentInfo

func (_e *MockDataCoord_Expecter) GetSegmentInfo(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetSegmentInfoRequest

func (*MockDataCoord_Expecter) GetSegmentInfoChannel

func (_e *MockDataCoord_Expecter) GetSegmentInfoChannel(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetSegmentInfoChannel_Call

GetSegmentInfoChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetSegmentInfoChannelRequest

func (*MockDataCoord_Expecter) GetSegmentStates

func (_e *MockDataCoord_Expecter) GetSegmentStates(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetSegmentStates_Call

GetSegmentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetSegmentStatesRequest

func (*MockDataCoord_Expecter) GetSegmentsByStates

func (_e *MockDataCoord_Expecter) GetSegmentsByStates(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetSegmentsByStates_Call

GetSegmentsByStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.GetSegmentsByStatesRequest

func (*MockDataCoord_Expecter) GetStatisticsChannel

func (_e *MockDataCoord_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockDataCoord_Expecter) GetTimeTickChannel

func (_e *MockDataCoord_Expecter) GetTimeTickChannel(_a0 interface{}, _a1 interface{}) *MockDataCoord_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetTimeTickChannelRequest

func (*MockDataCoord_Expecter) ImportV2

func (_e *MockDataCoord_Expecter) ImportV2(_a0 interface{}, _a1 interface{}) *MockDataCoord_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ImportRequestInternal

func (*MockDataCoord_Expecter) Init

Init is a helper method to define mock.On call

func (*MockDataCoord_Expecter) ListImports

func (_e *MockDataCoord_Expecter) ListImports(_a0 interface{}, _a1 interface{}) *MockDataCoord_ListImports_Call

ListImports is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ListImportsRequestInternal

func (*MockDataCoord_Expecter) ListIndexes

func (_e *MockDataCoord_Expecter) ListIndexes(_a0 interface{}, _a1 interface{}) *MockDataCoord_ListIndexes_Call

ListIndexes is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *indexpb.ListIndexesRequest

func (*MockDataCoord_Expecter) ManualCompaction

func (_e *MockDataCoord_Expecter) ManualCompaction(_a0 interface{}, _a1 interface{}) *MockDataCoord_ManualCompaction_Call

ManualCompaction is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ManualCompactionRequest

func (*MockDataCoord_Expecter) MarkSegmentsDropped

func (_e *MockDataCoord_Expecter) MarkSegmentsDropped(_a0 interface{}, _a1 interface{}) *MockDataCoord_MarkSegmentsDropped_Call

MarkSegmentsDropped is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.MarkSegmentsDroppedRequest

func (*MockDataCoord_Expecter) Register

Register is a helper method to define mock.On call

func (*MockDataCoord_Expecter) RegisterStreamingCoordGRPCService

func (_e *MockDataCoord_Expecter) RegisterStreamingCoordGRPCService(s interface{}) *MockDataCoord_RegisterStreamingCoordGRPCService_Call

RegisterStreamingCoordGRPCService is a helper method to define mock.On call

  • s *grpc.Server

func (*MockDataCoord_Expecter) ReportDataNodeTtMsgs

func (_e *MockDataCoord_Expecter) ReportDataNodeTtMsgs(_a0 interface{}, _a1 interface{}) *MockDataCoord_ReportDataNodeTtMsgs_Call

ReportDataNodeTtMsgs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.ReportDataNodeTtMsgsRequest

func (*MockDataCoord_Expecter) SaveBinlogPaths

func (_e *MockDataCoord_Expecter) SaveBinlogPaths(_a0 interface{}, _a1 interface{}) *MockDataCoord_SaveBinlogPaths_Call

SaveBinlogPaths is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.SaveBinlogPathsRequest

func (*MockDataCoord_Expecter) SetAddress

func (_e *MockDataCoord_Expecter) SetAddress(address interface{}) *MockDataCoord_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockDataCoord_Expecter) SetDataNodeCreator

func (_e *MockDataCoord_Expecter) SetDataNodeCreator(_a0 interface{}) *MockDataCoord_SetDataNodeCreator_Call

SetDataNodeCreator is a helper method to define mock.On call

  • _a0 func(context.Context , string , int64)(types.DataNodeClient , error)

func (*MockDataCoord_Expecter) SetEtcdClient

func (_e *MockDataCoord_Expecter) SetEtcdClient(etcdClient interface{}) *MockDataCoord_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockDataCoord_Expecter) SetIndexNodeCreator

func (_e *MockDataCoord_Expecter) SetIndexNodeCreator(_a0 interface{}) *MockDataCoord_SetIndexNodeCreator_Call

SetIndexNodeCreator is a helper method to define mock.On call

  • _a0 func(context.Context , string , int64)(types.IndexNodeClient , error)

func (*MockDataCoord_Expecter) SetRootCoordClient

func (_e *MockDataCoord_Expecter) SetRootCoordClient(rootCoord interface{}) *MockDataCoord_SetRootCoordClient_Call

SetRootCoordClient is a helper method to define mock.On call

  • rootCoord types.RootCoordClient

func (*MockDataCoord_Expecter) SetSegmentState

func (_e *MockDataCoord_Expecter) SetSegmentState(_a0 interface{}, _a1 interface{}) *MockDataCoord_SetSegmentState_Call

SetSegmentState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.SetSegmentStateRequest

func (*MockDataCoord_Expecter) SetTiKVClient

func (_e *MockDataCoord_Expecter) SetTiKVClient(client interface{}) *MockDataCoord_SetTiKVClient_Call

SetTiKVClient is a helper method to define mock.On call

  • client *txnkv.Client

func (*MockDataCoord_Expecter) ShowConfigurations

func (_e *MockDataCoord_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *MockDataCoord_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*MockDataCoord_Expecter) Start

Start is a helper method to define mock.On call

func (*MockDataCoord_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockDataCoord_Expecter) UpdateChannelCheckpoint

func (_e *MockDataCoord_Expecter) UpdateChannelCheckpoint(_a0 interface{}, _a1 interface{}) *MockDataCoord_UpdateChannelCheckpoint_Call

UpdateChannelCheckpoint is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.UpdateChannelCheckpointRequest

func (*MockDataCoord_Expecter) UpdateSegmentStatistics

func (_e *MockDataCoord_Expecter) UpdateSegmentStatistics(_a0 interface{}, _a1 interface{}) *MockDataCoord_UpdateSegmentStatistics_Call

UpdateSegmentStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.UpdateSegmentStatisticsRequest

func (*MockDataCoord_Expecter) WatchChannels

func (_e *MockDataCoord_Expecter) WatchChannels(_a0 interface{}, _a1 interface{}) *MockDataCoord_WatchChannels_Call

WatchChannels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.WatchChannelsRequest

type MockDataCoord_Flush_Call

type MockDataCoord_Flush_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_Flush_Call) Return

func (*MockDataCoord_Flush_Call) Run

func (*MockDataCoord_Flush_Call) RunAndReturn

type MockDataCoord_GcConfirm_Call

type MockDataCoord_GcConfirm_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GcConfirm_Call) Return

func (*MockDataCoord_GcConfirm_Call) Run

func (*MockDataCoord_GcConfirm_Call) RunAndReturn

type MockDataCoord_GcControl_Call

type MockDataCoord_GcControl_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GcControl_Call) Return

func (*MockDataCoord_GcControl_Call) Run

func (*MockDataCoord_GcControl_Call) RunAndReturn

type MockDataCoord_GetChannelRecoveryInfo_Call

type MockDataCoord_GetChannelRecoveryInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetChannelRecoveryInfo_Call) Return

func (*MockDataCoord_GetChannelRecoveryInfo_Call) Run

type MockDataCoord_GetCollectionStatistics_Call

type MockDataCoord_GetCollectionStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetCollectionStatistics_Call) Run

type MockDataCoord_GetCompactionStateWithPlans_Call

type MockDataCoord_GetCompactionStateWithPlans_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetCompactionStateWithPlans_Call) Return

func (*MockDataCoord_GetCompactionStateWithPlans_Call) Run

type MockDataCoord_GetCompactionState_Call

type MockDataCoord_GetCompactionState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetCompactionState_Call) Return

func (*MockDataCoord_GetCompactionState_Call) Run

type MockDataCoord_GetComponentStates_Call

type MockDataCoord_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetComponentStates_Call) Return

func (*MockDataCoord_GetComponentStates_Call) Run

type MockDataCoord_GetFlushAllState_Call

type MockDataCoord_GetFlushAllState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetFlushAllState_Call) Return

func (*MockDataCoord_GetFlushAllState_Call) Run

type MockDataCoord_GetFlushState_Call

type MockDataCoord_GetFlushState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetFlushState_Call) Return

func (*MockDataCoord_GetFlushState_Call) Run

type MockDataCoord_GetFlushedSegments_Call

type MockDataCoord_GetFlushedSegments_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetFlushedSegments_Call) Return

func (*MockDataCoord_GetFlushedSegments_Call) Run

type MockDataCoord_GetImportProgress_Call

type MockDataCoord_GetImportProgress_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetImportProgress_Call) Return

func (*MockDataCoord_GetImportProgress_Call) Run

type MockDataCoord_GetIndexBuildProgress_Call

type MockDataCoord_GetIndexBuildProgress_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetIndexBuildProgress_Call) Return

func (*MockDataCoord_GetIndexBuildProgress_Call) Run

type MockDataCoord_GetIndexInfos_Call

type MockDataCoord_GetIndexInfos_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetIndexInfos_Call) Return

func (*MockDataCoord_GetIndexInfos_Call) Run

type MockDataCoord_GetIndexState_Call

type MockDataCoord_GetIndexState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetIndexState_Call) Return

func (*MockDataCoord_GetIndexState_Call) Run

type MockDataCoord_GetIndexStatistics_Call

type MockDataCoord_GetIndexStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetIndexStatistics_Call) Return

func (*MockDataCoord_GetIndexStatistics_Call) Run

type MockDataCoord_GetInsertBinlogPaths_Call

type MockDataCoord_GetInsertBinlogPaths_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetInsertBinlogPaths_Call) Return

func (*MockDataCoord_GetInsertBinlogPaths_Call) Run

type MockDataCoord_GetMetrics_Call

type MockDataCoord_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetMetrics_Call) Return

func (*MockDataCoord_GetMetrics_Call) Run

type MockDataCoord_GetPartitionStatistics_Call

type MockDataCoord_GetPartitionStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetPartitionStatistics_Call) Return

func (*MockDataCoord_GetPartitionStatistics_Call) Run

type MockDataCoord_GetRecoveryInfoV2_Call

type MockDataCoord_GetRecoveryInfoV2_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetRecoveryInfoV2_Call) Return

func (*MockDataCoord_GetRecoveryInfoV2_Call) Run

type MockDataCoord_GetRecoveryInfo_Call

type MockDataCoord_GetRecoveryInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetRecoveryInfo_Call) Return

func (*MockDataCoord_GetRecoveryInfo_Call) Run

type MockDataCoord_GetSegmentIndexState_Call

type MockDataCoord_GetSegmentIndexState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetSegmentIndexState_Call) Return

func (*MockDataCoord_GetSegmentIndexState_Call) Run

type MockDataCoord_GetSegmentInfoChannel_Call

type MockDataCoord_GetSegmentInfoChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetSegmentInfoChannel_Call) Return

func (*MockDataCoord_GetSegmentInfoChannel_Call) Run

type MockDataCoord_GetSegmentInfo_Call

type MockDataCoord_GetSegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetSegmentInfo_Call) Return

func (*MockDataCoord_GetSegmentInfo_Call) Run

type MockDataCoord_GetSegmentStates_Call

type MockDataCoord_GetSegmentStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetSegmentStates_Call) Return

func (*MockDataCoord_GetSegmentStates_Call) Run

type MockDataCoord_GetSegmentsByStates_Call

type MockDataCoord_GetSegmentsByStates_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetSegmentsByStates_Call) Return

func (*MockDataCoord_GetSegmentsByStates_Call) Run

type MockDataCoord_GetStatisticsChannel_Call

type MockDataCoord_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetStatisticsChannel_Call) Return

func (*MockDataCoord_GetStatisticsChannel_Call) Run

type MockDataCoord_GetTimeTickChannel_Call

type MockDataCoord_GetTimeTickChannel_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_GetTimeTickChannel_Call) Return

func (*MockDataCoord_GetTimeTickChannel_Call) Run

type MockDataCoord_ImportV2_Call

type MockDataCoord_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ImportV2_Call) Return

func (*MockDataCoord_ImportV2_Call) Run

type MockDataCoord_Init_Call

type MockDataCoord_Init_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_Init_Call) Return

func (*MockDataCoord_Init_Call) Run

func (_c *MockDataCoord_Init_Call) Run(run func()) *MockDataCoord_Init_Call

func (*MockDataCoord_Init_Call) RunAndReturn

func (_c *MockDataCoord_Init_Call) RunAndReturn(run func() error) *MockDataCoord_Init_Call

type MockDataCoord_ListImports_Call

type MockDataCoord_ListImports_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ListImports_Call) Return

func (*MockDataCoord_ListImports_Call) Run

type MockDataCoord_ListIndexes_Call

type MockDataCoord_ListIndexes_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ListIndexes_Call) Return

func (*MockDataCoord_ListIndexes_Call) Run

type MockDataCoord_ManualCompaction_Call

type MockDataCoord_ManualCompaction_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ManualCompaction_Call) Return

func (*MockDataCoord_ManualCompaction_Call) Run

type MockDataCoord_MarkSegmentsDropped_Call

type MockDataCoord_MarkSegmentsDropped_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_MarkSegmentsDropped_Call) Return

func (*MockDataCoord_MarkSegmentsDropped_Call) Run

type MockDataCoord_RegisterStreamingCoordGRPCService_Call

type MockDataCoord_RegisterStreamingCoordGRPCService_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_RegisterStreamingCoordGRPCService_Call) Return

func (*MockDataCoord_RegisterStreamingCoordGRPCService_Call) Run

func (*MockDataCoord_RegisterStreamingCoordGRPCService_Call) RunAndReturn

type MockDataCoord_Register_Call

type MockDataCoord_Register_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_Register_Call) Return

func (*MockDataCoord_Register_Call) Run

func (*MockDataCoord_Register_Call) RunAndReturn

func (_c *MockDataCoord_Register_Call) RunAndReturn(run func() error) *MockDataCoord_Register_Call

type MockDataCoord_ReportDataNodeTtMsgs_Call

type MockDataCoord_ReportDataNodeTtMsgs_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ReportDataNodeTtMsgs_Call) Return

func (*MockDataCoord_ReportDataNodeTtMsgs_Call) Run

type MockDataCoord_SaveBinlogPaths_Call

type MockDataCoord_SaveBinlogPaths_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SaveBinlogPaths_Call) Return

func (*MockDataCoord_SaveBinlogPaths_Call) Run

func (*MockDataCoord_SaveBinlogPaths_Call) RunAndReturn

type MockDataCoord_SetAddress_Call

type MockDataCoord_SetAddress_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetAddress_Call) Return

func (*MockDataCoord_SetAddress_Call) Run

func (*MockDataCoord_SetAddress_Call) RunAndReturn

type MockDataCoord_SetDataNodeCreator_Call

type MockDataCoord_SetDataNodeCreator_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetDataNodeCreator_Call) Return

func (*MockDataCoord_SetDataNodeCreator_Call) Run

func (*MockDataCoord_SetDataNodeCreator_Call) RunAndReturn

type MockDataCoord_SetEtcdClient_Call

type MockDataCoord_SetEtcdClient_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetEtcdClient_Call) Return

func (*MockDataCoord_SetEtcdClient_Call) Run

func (*MockDataCoord_SetEtcdClient_Call) RunAndReturn

type MockDataCoord_SetIndexNodeCreator_Call

type MockDataCoord_SetIndexNodeCreator_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetIndexNodeCreator_Call) Return

func (*MockDataCoord_SetIndexNodeCreator_Call) Run

func (*MockDataCoord_SetIndexNodeCreator_Call) RunAndReturn

type MockDataCoord_SetRootCoordClient_Call

type MockDataCoord_SetRootCoordClient_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetRootCoordClient_Call) Return

func (*MockDataCoord_SetRootCoordClient_Call) Run

func (*MockDataCoord_SetRootCoordClient_Call) RunAndReturn

type MockDataCoord_SetSegmentState_Call

type MockDataCoord_SetSegmentState_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetSegmentState_Call) Return

func (*MockDataCoord_SetSegmentState_Call) Run

type MockDataCoord_SetTiKVClient_Call

type MockDataCoord_SetTiKVClient_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_SetTiKVClient_Call) Return

func (*MockDataCoord_SetTiKVClient_Call) Run

func (*MockDataCoord_SetTiKVClient_Call) RunAndReturn

type MockDataCoord_ShowConfigurations_Call

type MockDataCoord_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_ShowConfigurations_Call) Return

func (*MockDataCoord_ShowConfigurations_Call) Run

type MockDataCoord_Start_Call

type MockDataCoord_Start_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_Start_Call) Return

func (*MockDataCoord_Start_Call) Run

func (*MockDataCoord_Start_Call) RunAndReturn

func (_c *MockDataCoord_Start_Call) RunAndReturn(run func() error) *MockDataCoord_Start_Call

type MockDataCoord_Stop_Call

type MockDataCoord_Stop_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_Stop_Call) Return

func (*MockDataCoord_Stop_Call) Run

func (_c *MockDataCoord_Stop_Call) Run(run func()) *MockDataCoord_Stop_Call

func (*MockDataCoord_Stop_Call) RunAndReturn

func (_c *MockDataCoord_Stop_Call) RunAndReturn(run func() error) *MockDataCoord_Stop_Call

type MockDataCoord_UpdateChannelCheckpoint_Call

type MockDataCoord_UpdateChannelCheckpoint_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_UpdateChannelCheckpoint_Call) Return

func (*MockDataCoord_UpdateChannelCheckpoint_Call) Run

type MockDataCoord_UpdateSegmentStatistics_Call

type MockDataCoord_UpdateSegmentStatistics_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_UpdateSegmentStatistics_Call) Return

func (*MockDataCoord_UpdateSegmentStatistics_Call) Run

type MockDataCoord_WatchChannels_Call

type MockDataCoord_WatchChannels_Call struct {
	*mock.Call
}

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

func (*MockDataCoord_WatchChannels_Call) Return

func (*MockDataCoord_WatchChannels_Call) Run

type MockDataNode

type MockDataNode struct {
	mock.Mock
}

MockDataNode is an autogenerated mock type for the DataNodeComponent type

func NewMockDataNode

func NewMockDataNode(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDataNode

NewMockDataNode creates a new instance of MockDataNode. 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 (*MockDataNode) CheckChannelOperationProgress

func (_m *MockDataNode) CheckChannelOperationProgress(_a0 context.Context, _a1 *datapb.ChannelWatchInfo) (*datapb.ChannelOperationProgressResponse, error)

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

func (*MockDataNode) CompactionV2

func (_m *MockDataNode) CompactionV2(_a0 context.Context, _a1 *datapb.CompactionPlan) (*commonpb.Status, error)

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

func (*MockDataNode) DropCompactionPlan

func (_m *MockDataNode) DropCompactionPlan(_a0 context.Context, _a1 *datapb.DropCompactionPlanRequest) (*commonpb.Status, error)

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

func (*MockDataNode) DropImport

func (_m *MockDataNode) DropImport(_a0 context.Context, _a1 *datapb.DropImportRequest) (*commonpb.Status, error)

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

func (*MockDataNode) EXPECT

func (_m *MockDataNode) EXPECT() *MockDataNode_Expecter

func (*MockDataNode) FlushChannels

func (_m *MockDataNode) FlushChannels(_a0 context.Context, _a1 *datapb.FlushChannelsRequest) (*commonpb.Status, error)

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

func (*MockDataNode) FlushSegments

func (_m *MockDataNode) FlushSegments(_a0 context.Context, _a1 *datapb.FlushSegmentsRequest) (*commonpb.Status, error)

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

func (*MockDataNode) GetAddress

func (_m *MockDataNode) GetAddress() string

GetAddress provides a mock function with given fields:

func (*MockDataNode) GetCompactionState

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

func (*MockDataNode) GetComponentStates

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

func (*MockDataNode) GetMetrics

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

func (*MockDataNode) GetNodeID

func (_m *MockDataNode) GetNodeID() int64

GetNodeID provides a mock function with given fields:

func (*MockDataNode) GetStateCode

func (_m *MockDataNode) GetStateCode() commonpb.StateCode

GetStateCode provides a mock function with given fields:

func (*MockDataNode) GetStatisticsChannel

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

func (*MockDataNode) ImportV2

func (_m *MockDataNode) ImportV2(_a0 context.Context, _a1 *datapb.ImportRequest) (*commonpb.Status, error)

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

func (*MockDataNode) Init

func (_m *MockDataNode) Init() error

Init provides a mock function with given fields:

func (*MockDataNode) NotifyChannelOperation

func (_m *MockDataNode) NotifyChannelOperation(_a0 context.Context, _a1 *datapb.ChannelOperationsRequest) (*commonpb.Status, error)

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

func (*MockDataNode) PreImport

func (_m *MockDataNode) PreImport(_a0 context.Context, _a1 *datapb.PreImportRequest) (*commonpb.Status, error)

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

func (*MockDataNode) QueryImport

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

func (*MockDataNode) QueryPreImport

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

func (*MockDataNode) QuerySlot

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

func (*MockDataNode) Register

func (_m *MockDataNode) Register() error

Register provides a mock function with given fields:

func (*MockDataNode) ResendSegmentStats

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

func (*MockDataNode) SetAddress

func (_m *MockDataNode) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockDataNode) SetDataCoordClient

func (_m *MockDataNode) SetDataCoordClient(dataCoord types.DataCoordClient) error

SetDataCoordClient provides a mock function with given fields: dataCoord

func (*MockDataNode) SetEtcdClient

func (_m *MockDataNode) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockDataNode) SetRootCoordClient

func (_m *MockDataNode) SetRootCoordClient(rootCoord types.RootCoordClient) error

SetRootCoordClient provides a mock function with given fields: rootCoord

func (*MockDataNode) ShowConfigurations

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

func (*MockDataNode) Start

func (_m *MockDataNode) Start() error

Start provides a mock function with given fields:

func (*MockDataNode) Stop

func (_m *MockDataNode) Stop() error

Stop provides a mock function with given fields:

func (*MockDataNode) SyncSegments

func (_m *MockDataNode) SyncSegments(_a0 context.Context, _a1 *datapb.SyncSegmentsRequest) (*commonpb.Status, error)

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

func (*MockDataNode) UpdateStateCode

func (_m *MockDataNode) UpdateStateCode(stateCode commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: stateCode

func (*MockDataNode) WatchDmChannels

func (_m *MockDataNode) WatchDmChannels(_a0 context.Context, _a1 *datapb.WatchDmChannelsRequest) (*commonpb.Status, error)

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

type MockDataNodeClient

type MockDataNodeClient struct {
	mock.Mock
}

MockDataNodeClient is an autogenerated mock type for the DataNodeClient type

func NewMockDataNodeClient

func NewMockDataNodeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDataNodeClient

NewMockDataNodeClient creates a new instance of MockDataNodeClient. 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 (*MockDataNodeClient) CheckChannelOperationProgress

func (_m *MockDataNodeClient) CheckChannelOperationProgress(ctx context.Context, in *datapb.ChannelWatchInfo, opts ...grpc.CallOption) (*datapb.ChannelOperationProgressResponse, error)

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

func (*MockDataNodeClient) Close

func (_m *MockDataNodeClient) Close() error

Close provides a mock function with given fields:

func (*MockDataNodeClient) CompactionV2

func (_m *MockDataNodeClient) CompactionV2(ctx context.Context, in *datapb.CompactionPlan, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataNodeClient) DropCompactionPlan

func (_m *MockDataNodeClient) DropCompactionPlan(ctx context.Context, in *datapb.DropCompactionPlanRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataNodeClient) DropImport

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

func (*MockDataNodeClient) EXPECT

func (*MockDataNodeClient) FlushChannels

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

func (*MockDataNodeClient) FlushSegments

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

func (*MockDataNodeClient) GetCompactionState

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

func (*MockDataNodeClient) GetComponentStates

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

func (*MockDataNodeClient) GetMetrics

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

func (*MockDataNodeClient) GetStatisticsChannel

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

func (*MockDataNodeClient) ImportV2

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

func (*MockDataNodeClient) NotifyChannelOperation

func (_m *MockDataNodeClient) NotifyChannelOperation(ctx context.Context, in *datapb.ChannelOperationsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockDataNodeClient) PreImport

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

func (*MockDataNodeClient) QueryImport

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

func (*MockDataNodeClient) QueryPreImport

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

func (*MockDataNodeClient) QuerySlot

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

func (*MockDataNodeClient) ResendSegmentStats

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

func (*MockDataNodeClient) ShowConfigurations

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

func (*MockDataNodeClient) SyncSegments

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

func (*MockDataNodeClient) WatchDmChannels

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

type MockDataNodeClient_CheckChannelOperationProgress_Call

type MockDataNodeClient_CheckChannelOperationProgress_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_CheckChannelOperationProgress_Call) Run

type MockDataNodeClient_Close_Call

type MockDataNodeClient_Close_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_Close_Call) Return

func (*MockDataNodeClient_Close_Call) Run

func (*MockDataNodeClient_Close_Call) RunAndReturn

type MockDataNodeClient_CompactionV2_Call

type MockDataNodeClient_CompactionV2_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_CompactionV2_Call) Return

func (*MockDataNodeClient_CompactionV2_Call) Run

func (*MockDataNodeClient_CompactionV2_Call) RunAndReturn

type MockDataNodeClient_DropCompactionPlan_Call

type MockDataNodeClient_DropCompactionPlan_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_DropCompactionPlan_Call) Return

func (*MockDataNodeClient_DropCompactionPlan_Call) Run

type MockDataNodeClient_DropImport_Call

type MockDataNodeClient_DropImport_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_DropImport_Call) Return

func (*MockDataNodeClient_DropImport_Call) Run

func (*MockDataNodeClient_DropImport_Call) RunAndReturn

type MockDataNodeClient_Expecter

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

func (*MockDataNodeClient_Expecter) CheckChannelOperationProgress

func (_e *MockDataNodeClient_Expecter) CheckChannelOperationProgress(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_CheckChannelOperationProgress_Call

CheckChannelOperationProgress is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.ChannelWatchInfo
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockDataNodeClient_Expecter) CompactionV2

func (_e *MockDataNodeClient_Expecter) CompactionV2(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_CompactionV2_Call

CompactionV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.CompactionPlan
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) DropCompactionPlan

func (_e *MockDataNodeClient_Expecter) DropCompactionPlan(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_DropCompactionPlan_Call

DropCompactionPlan is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.DropCompactionPlanRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) DropImport

func (_e *MockDataNodeClient_Expecter) DropImport(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_DropImport_Call

DropImport is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.DropImportRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) FlushChannels

func (_e *MockDataNodeClient_Expecter) FlushChannels(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_FlushChannels_Call

FlushChannels is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.FlushChannelsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) FlushSegments

func (_e *MockDataNodeClient_Expecter) FlushSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_FlushSegments_Call

FlushSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.FlushSegmentsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) GetCompactionState

func (_e *MockDataNodeClient_Expecter) GetCompactionState(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_GetCompactionState_Call

GetCompactionState is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.CompactionStateRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) GetComponentStates

func (_e *MockDataNodeClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) GetMetrics

func (_e *MockDataNodeClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) GetStatisticsChannel

func (_e *MockDataNodeClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) ImportV2

func (_e *MockDataNodeClient_Expecter) ImportV2(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.ImportRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) NotifyChannelOperation

func (_e *MockDataNodeClient_Expecter) NotifyChannelOperation(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_NotifyChannelOperation_Call

NotifyChannelOperation is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.ChannelOperationsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) PreImport

func (_e *MockDataNodeClient_Expecter) PreImport(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_PreImport_Call

PreImport is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.PreImportRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) QueryImport

func (_e *MockDataNodeClient_Expecter) QueryImport(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_QueryImport_Call

QueryImport is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.QueryImportRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) QueryPreImport

func (_e *MockDataNodeClient_Expecter) QueryPreImport(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_QueryPreImport_Call

QueryPreImport is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.QueryPreImportRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) QuerySlot

func (_e *MockDataNodeClient_Expecter) QuerySlot(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_QuerySlot_Call

QuerySlot is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.QuerySlotRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) ResendSegmentStats

func (_e *MockDataNodeClient_Expecter) ResendSegmentStats(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_ResendSegmentStats_Call

ResendSegmentStats is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.ResendSegmentStatsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) ShowConfigurations

func (_e *MockDataNodeClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) SyncSegments

func (_e *MockDataNodeClient_Expecter) SyncSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_SyncSegments_Call

SyncSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.SyncSegmentsRequest
  • opts ...grpc.CallOption

func (*MockDataNodeClient_Expecter) WatchDmChannels

func (_e *MockDataNodeClient_Expecter) WatchDmChannels(ctx interface{}, in interface{}, opts ...interface{}) *MockDataNodeClient_WatchDmChannels_Call

WatchDmChannels is a helper method to define mock.On call

  • ctx context.Context
  • in *datapb.WatchDmChannelsRequest
  • opts ...grpc.CallOption

type MockDataNodeClient_FlushChannels_Call

type MockDataNodeClient_FlushChannels_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_FlushChannels_Call) Return

func (*MockDataNodeClient_FlushChannels_Call) Run

type MockDataNodeClient_FlushSegments_Call

type MockDataNodeClient_FlushSegments_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_FlushSegments_Call) Return

func (*MockDataNodeClient_FlushSegments_Call) Run

type MockDataNodeClient_GetCompactionState_Call

type MockDataNodeClient_GetCompactionState_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_GetCompactionState_Call) Return

func (*MockDataNodeClient_GetCompactionState_Call) Run

type MockDataNodeClient_GetComponentStates_Call

type MockDataNodeClient_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_GetComponentStates_Call) Return

func (*MockDataNodeClient_GetComponentStates_Call) Run

type MockDataNodeClient_GetMetrics_Call

type MockDataNodeClient_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_GetMetrics_Call) Return

func (*MockDataNodeClient_GetMetrics_Call) Run

type MockDataNodeClient_GetStatisticsChannel_Call

type MockDataNodeClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_GetStatisticsChannel_Call) Return

func (*MockDataNodeClient_GetStatisticsChannel_Call) Run

type MockDataNodeClient_ImportV2_Call

type MockDataNodeClient_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_ImportV2_Call) Return

func (*MockDataNodeClient_ImportV2_Call) Run

func (*MockDataNodeClient_ImportV2_Call) RunAndReturn

type MockDataNodeClient_NotifyChannelOperation_Call

type MockDataNodeClient_NotifyChannelOperation_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_NotifyChannelOperation_Call) Return

func (*MockDataNodeClient_NotifyChannelOperation_Call) Run

type MockDataNodeClient_PreImport_Call

type MockDataNodeClient_PreImport_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_PreImport_Call) Return

func (*MockDataNodeClient_PreImport_Call) Run

func (*MockDataNodeClient_PreImport_Call) RunAndReturn

type MockDataNodeClient_QueryImport_Call

type MockDataNodeClient_QueryImport_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_QueryImport_Call) Return

func (*MockDataNodeClient_QueryImport_Call) Run

type MockDataNodeClient_QueryPreImport_Call

type MockDataNodeClient_QueryPreImport_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_QueryPreImport_Call) Return

func (*MockDataNodeClient_QueryPreImport_Call) Run

type MockDataNodeClient_QuerySlot_Call

type MockDataNodeClient_QuerySlot_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_QuerySlot_Call) Return

func (*MockDataNodeClient_QuerySlot_Call) Run

type MockDataNodeClient_ResendSegmentStats_Call

type MockDataNodeClient_ResendSegmentStats_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_ResendSegmentStats_Call) Return

func (*MockDataNodeClient_ResendSegmentStats_Call) Run

type MockDataNodeClient_ShowConfigurations_Call

type MockDataNodeClient_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_ShowConfigurations_Call) Return

func (*MockDataNodeClient_ShowConfigurations_Call) Run

type MockDataNodeClient_SyncSegments_Call

type MockDataNodeClient_SyncSegments_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_SyncSegments_Call) Return

func (*MockDataNodeClient_SyncSegments_Call) Run

type MockDataNodeClient_WatchDmChannels_Call

type MockDataNodeClient_WatchDmChannels_Call struct {
	*mock.Call
}

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

func (*MockDataNodeClient_WatchDmChannels_Call) Return

func (*MockDataNodeClient_WatchDmChannels_Call) Run

type MockDataNode_CheckChannelOperationProgress_Call

type MockDataNode_CheckChannelOperationProgress_Call struct {
	*mock.Call
}

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

func (*MockDataNode_CheckChannelOperationProgress_Call) Run

type MockDataNode_CompactionV2_Call

type MockDataNode_CompactionV2_Call struct {
	*mock.Call
}

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

func (*MockDataNode_CompactionV2_Call) Return

func (*MockDataNode_CompactionV2_Call) Run

func (*MockDataNode_CompactionV2_Call) RunAndReturn

type MockDataNode_DropCompactionPlan_Call

type MockDataNode_DropCompactionPlan_Call struct {
	*mock.Call
}

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

func (*MockDataNode_DropCompactionPlan_Call) Return

func (*MockDataNode_DropCompactionPlan_Call) Run

type MockDataNode_DropImport_Call

type MockDataNode_DropImport_Call struct {
	*mock.Call
}

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

func (*MockDataNode_DropImport_Call) Return

func (*MockDataNode_DropImport_Call) Run

func (*MockDataNode_DropImport_Call) RunAndReturn

type MockDataNode_Expecter

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

func (*MockDataNode_Expecter) CheckChannelOperationProgress

func (_e *MockDataNode_Expecter) CheckChannelOperationProgress(_a0 interface{}, _a1 interface{}) *MockDataNode_CheckChannelOperationProgress_Call

CheckChannelOperationProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.ChannelWatchInfo

func (*MockDataNode_Expecter) CompactionV2

func (_e *MockDataNode_Expecter) CompactionV2(_a0 interface{}, _a1 interface{}) *MockDataNode_CompactionV2_Call

CompactionV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.CompactionPlan

func (*MockDataNode_Expecter) DropCompactionPlan

func (_e *MockDataNode_Expecter) DropCompactionPlan(_a0 interface{}, _a1 interface{}) *MockDataNode_DropCompactionPlan_Call

DropCompactionPlan is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.DropCompactionPlanRequest

func (*MockDataNode_Expecter) DropImport

func (_e *MockDataNode_Expecter) DropImport(_a0 interface{}, _a1 interface{}) *MockDataNode_DropImport_Call

DropImport is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.DropImportRequest

func (*MockDataNode_Expecter) FlushChannels

func (_e *MockDataNode_Expecter) FlushChannels(_a0 interface{}, _a1 interface{}) *MockDataNode_FlushChannels_Call

FlushChannels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.FlushChannelsRequest

func (*MockDataNode_Expecter) FlushSegments

func (_e *MockDataNode_Expecter) FlushSegments(_a0 interface{}, _a1 interface{}) *MockDataNode_FlushSegments_Call

FlushSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.FlushSegmentsRequest

func (*MockDataNode_Expecter) GetAddress

GetAddress is a helper method to define mock.On call

func (*MockDataNode_Expecter) GetCompactionState

func (_e *MockDataNode_Expecter) GetCompactionState(_a0 interface{}, _a1 interface{}) *MockDataNode_GetCompactionState_Call

GetCompactionState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.CompactionStateRequest

func (*MockDataNode_Expecter) GetComponentStates

func (_e *MockDataNode_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockDataNode_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockDataNode_Expecter) GetMetrics

func (_e *MockDataNode_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockDataNode_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockDataNode_Expecter) GetNodeID

GetNodeID is a helper method to define mock.On call

func (*MockDataNode_Expecter) GetStateCode

GetStateCode is a helper method to define mock.On call

func (*MockDataNode_Expecter) GetStatisticsChannel

func (_e *MockDataNode_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockDataNode_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockDataNode_Expecter) ImportV2

func (_e *MockDataNode_Expecter) ImportV2(_a0 interface{}, _a1 interface{}) *MockDataNode_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.ImportRequest

func (*MockDataNode_Expecter) Init

Init is a helper method to define mock.On call

func (*MockDataNode_Expecter) NotifyChannelOperation

func (_e *MockDataNode_Expecter) NotifyChannelOperation(_a0 interface{}, _a1 interface{}) *MockDataNode_NotifyChannelOperation_Call

NotifyChannelOperation is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.ChannelOperationsRequest

func (*MockDataNode_Expecter) PreImport

func (_e *MockDataNode_Expecter) PreImport(_a0 interface{}, _a1 interface{}) *MockDataNode_PreImport_Call

PreImport is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.PreImportRequest

func (*MockDataNode_Expecter) QueryImport

func (_e *MockDataNode_Expecter) QueryImport(_a0 interface{}, _a1 interface{}) *MockDataNode_QueryImport_Call

QueryImport is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.QueryImportRequest

func (*MockDataNode_Expecter) QueryPreImport

func (_e *MockDataNode_Expecter) QueryPreImport(_a0 interface{}, _a1 interface{}) *MockDataNode_QueryPreImport_Call

QueryPreImport is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.QueryPreImportRequest

func (*MockDataNode_Expecter) QuerySlot

func (_e *MockDataNode_Expecter) QuerySlot(_a0 interface{}, _a1 interface{}) *MockDataNode_QuerySlot_Call

QuerySlot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.QuerySlotRequest

func (*MockDataNode_Expecter) Register

Register is a helper method to define mock.On call

func (*MockDataNode_Expecter) ResendSegmentStats

func (_e *MockDataNode_Expecter) ResendSegmentStats(_a0 interface{}, _a1 interface{}) *MockDataNode_ResendSegmentStats_Call

ResendSegmentStats is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.ResendSegmentStatsRequest

func (*MockDataNode_Expecter) SetAddress

func (_e *MockDataNode_Expecter) SetAddress(address interface{}) *MockDataNode_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockDataNode_Expecter) SetDataCoordClient

func (_e *MockDataNode_Expecter) SetDataCoordClient(dataCoord interface{}) *MockDataNode_SetDataCoordClient_Call

SetDataCoordClient is a helper method to define mock.On call

  • dataCoord types.DataCoordClient

func (*MockDataNode_Expecter) SetEtcdClient

func (_e *MockDataNode_Expecter) SetEtcdClient(etcdClient interface{}) *MockDataNode_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockDataNode_Expecter) SetRootCoordClient

func (_e *MockDataNode_Expecter) SetRootCoordClient(rootCoord interface{}) *MockDataNode_SetRootCoordClient_Call

SetRootCoordClient is a helper method to define mock.On call

  • rootCoord types.RootCoordClient

func (*MockDataNode_Expecter) ShowConfigurations

func (_e *MockDataNode_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *MockDataNode_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*MockDataNode_Expecter) Start

Start is a helper method to define mock.On call

func (*MockDataNode_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockDataNode_Expecter) SyncSegments

func (_e *MockDataNode_Expecter) SyncSegments(_a0 interface{}, _a1 interface{}) *MockDataNode_SyncSegments_Call

SyncSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.SyncSegmentsRequest

func (*MockDataNode_Expecter) UpdateStateCode

func (_e *MockDataNode_Expecter) UpdateStateCode(stateCode interface{}) *MockDataNode_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • stateCode commonpb.StateCode

func (*MockDataNode_Expecter) WatchDmChannels

func (_e *MockDataNode_Expecter) WatchDmChannels(_a0 interface{}, _a1 interface{}) *MockDataNode_WatchDmChannels_Call

WatchDmChannels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *datapb.WatchDmChannelsRequest

type MockDataNode_FlushChannels_Call

type MockDataNode_FlushChannels_Call struct {
	*mock.Call
}

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

func (*MockDataNode_FlushChannels_Call) Return

func (*MockDataNode_FlushChannels_Call) Run

func (*MockDataNode_FlushChannels_Call) RunAndReturn

type MockDataNode_FlushSegments_Call

type MockDataNode_FlushSegments_Call struct {
	*mock.Call
}

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

func (*MockDataNode_FlushSegments_Call) Return

func (*MockDataNode_FlushSegments_Call) Run

func (*MockDataNode_FlushSegments_Call) RunAndReturn

type MockDataNode_GetAddress_Call

type MockDataNode_GetAddress_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetAddress_Call) Return

func (*MockDataNode_GetAddress_Call) Run

func (*MockDataNode_GetAddress_Call) RunAndReturn

type MockDataNode_GetCompactionState_Call

type MockDataNode_GetCompactionState_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetCompactionState_Call) Return

func (*MockDataNode_GetCompactionState_Call) Run

type MockDataNode_GetComponentStates_Call

type MockDataNode_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetComponentStates_Call) Return

func (*MockDataNode_GetComponentStates_Call) Run

type MockDataNode_GetMetrics_Call

type MockDataNode_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetMetrics_Call) Return

func (*MockDataNode_GetMetrics_Call) Run

type MockDataNode_GetNodeID_Call

type MockDataNode_GetNodeID_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetNodeID_Call) Return

func (*MockDataNode_GetNodeID_Call) Run

func (*MockDataNode_GetNodeID_Call) RunAndReturn

func (_c *MockDataNode_GetNodeID_Call) RunAndReturn(run func() int64) *MockDataNode_GetNodeID_Call

type MockDataNode_GetStateCode_Call

type MockDataNode_GetStateCode_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetStateCode_Call) Return

func (*MockDataNode_GetStateCode_Call) Run

func (*MockDataNode_GetStateCode_Call) RunAndReturn

type MockDataNode_GetStatisticsChannel_Call

type MockDataNode_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockDataNode_GetStatisticsChannel_Call) Return

func (*MockDataNode_GetStatisticsChannel_Call) Run

type MockDataNode_ImportV2_Call

type MockDataNode_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockDataNode_ImportV2_Call) Return

func (*MockDataNode_ImportV2_Call) Run

func (*MockDataNode_ImportV2_Call) RunAndReturn

type MockDataNode_Init_Call

type MockDataNode_Init_Call struct {
	*mock.Call
}

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

func (*MockDataNode_Init_Call) Return

func (*MockDataNode_Init_Call) Run

func (_c *MockDataNode_Init_Call) Run(run func()) *MockDataNode_Init_Call

func (*MockDataNode_Init_Call) RunAndReturn

func (_c *MockDataNode_Init_Call) RunAndReturn(run func() error) *MockDataNode_Init_Call

type MockDataNode_NotifyChannelOperation_Call

type MockDataNode_NotifyChannelOperation_Call struct {
	*mock.Call
}

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

func (*MockDataNode_NotifyChannelOperation_Call) Return

func (*MockDataNode_NotifyChannelOperation_Call) Run

type MockDataNode_PreImport_Call

type MockDataNode_PreImport_Call struct {
	*mock.Call
}

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

func (*MockDataNode_PreImport_Call) Return

func (*MockDataNode_PreImport_Call) Run

func (*MockDataNode_PreImport_Call) RunAndReturn

type MockDataNode_QueryImport_Call

type MockDataNode_QueryImport_Call struct {
	*mock.Call
}

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

func (*MockDataNode_QueryImport_Call) Return

func (*MockDataNode_QueryImport_Call) Run

type MockDataNode_QueryPreImport_Call

type MockDataNode_QueryPreImport_Call struct {
	*mock.Call
}

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

func (*MockDataNode_QueryPreImport_Call) Return

func (*MockDataNode_QueryPreImport_Call) Run

type MockDataNode_QuerySlot_Call

type MockDataNode_QuerySlot_Call struct {
	*mock.Call
}

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

func (*MockDataNode_QuerySlot_Call) Return

func (*MockDataNode_QuerySlot_Call) Run

func (*MockDataNode_QuerySlot_Call) RunAndReturn

type MockDataNode_Register_Call

type MockDataNode_Register_Call struct {
	*mock.Call
}

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

func (*MockDataNode_Register_Call) Return

func (*MockDataNode_Register_Call) Run

func (*MockDataNode_Register_Call) RunAndReturn

func (_c *MockDataNode_Register_Call) RunAndReturn(run func() error) *MockDataNode_Register_Call

type MockDataNode_ResendSegmentStats_Call

type MockDataNode_ResendSegmentStats_Call struct {
	*mock.Call
}

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

func (*MockDataNode_ResendSegmentStats_Call) Return

func (*MockDataNode_ResendSegmentStats_Call) Run

type MockDataNode_SetAddress_Call

type MockDataNode_SetAddress_Call struct {
	*mock.Call
}

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

func (*MockDataNode_SetAddress_Call) Return

func (*MockDataNode_SetAddress_Call) Run

func (*MockDataNode_SetAddress_Call) RunAndReturn

type MockDataNode_SetDataCoordClient_Call

type MockDataNode_SetDataCoordClient_Call struct {
	*mock.Call
}

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

func (*MockDataNode_SetDataCoordClient_Call) Return

func (*MockDataNode_SetDataCoordClient_Call) Run

func (*MockDataNode_SetDataCoordClient_Call) RunAndReturn

type MockDataNode_SetEtcdClient_Call

type MockDataNode_SetEtcdClient_Call struct {
	*mock.Call
}

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

func (*MockDataNode_SetEtcdClient_Call) Return

func (*MockDataNode_SetEtcdClient_Call) Run

func (*MockDataNode_SetEtcdClient_Call) RunAndReturn

type MockDataNode_SetRootCoordClient_Call

type MockDataNode_SetRootCoordClient_Call struct {
	*mock.Call
}

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

func (*MockDataNode_SetRootCoordClient_Call) Return

func (*MockDataNode_SetRootCoordClient_Call) Run

func (*MockDataNode_SetRootCoordClient_Call) RunAndReturn

type MockDataNode_ShowConfigurations_Call

type MockDataNode_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockDataNode_ShowConfigurations_Call) Return

func (*MockDataNode_ShowConfigurations_Call) Run

type MockDataNode_Start_Call

type MockDataNode_Start_Call struct {
	*mock.Call
}

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

func (*MockDataNode_Start_Call) Return

func (*MockDataNode_Start_Call) Run

func (_c *MockDataNode_Start_Call) Run(run func()) *MockDataNode_Start_Call

func (*MockDataNode_Start_Call) RunAndReturn

func (_c *MockDataNode_Start_Call) RunAndReturn(run func() error) *MockDataNode_Start_Call

type MockDataNode_Stop_Call

type MockDataNode_Stop_Call struct {
	*mock.Call
}

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

func (*MockDataNode_Stop_Call) Return

func (*MockDataNode_Stop_Call) Run

func (_c *MockDataNode_Stop_Call) Run(run func()) *MockDataNode_Stop_Call

func (*MockDataNode_Stop_Call) RunAndReturn

func (_c *MockDataNode_Stop_Call) RunAndReturn(run func() error) *MockDataNode_Stop_Call

type MockDataNode_SyncSegments_Call

type MockDataNode_SyncSegments_Call struct {
	*mock.Call
}

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

func (*MockDataNode_SyncSegments_Call) Return

func (*MockDataNode_SyncSegments_Call) Run

func (*MockDataNode_SyncSegments_Call) RunAndReturn

type MockDataNode_UpdateStateCode_Call

type MockDataNode_UpdateStateCode_Call struct {
	*mock.Call
}

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

func (*MockDataNode_UpdateStateCode_Call) Return

func (*MockDataNode_UpdateStateCode_Call) Run

func (*MockDataNode_UpdateStateCode_Call) RunAndReturn

type MockDataNode_WatchDmChannels_Call

type MockDataNode_WatchDmChannels_Call struct {
	*mock.Call
}

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

func (*MockDataNode_WatchDmChannels_Call) Return

func (*MockDataNode_WatchDmChannels_Call) Run

func (*MockDataNode_WatchDmChannels_Call) RunAndReturn

type MockGrpcClient

type MockGrpcClient[T grpcclient.GrpcComponent] struct {
	mock.Mock
}

MockGrpcClient is an autogenerated mock type for the GrpcClient type

func NewMockGrpcClient

func NewMockGrpcClient[T grpcclient.GrpcComponent](t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGrpcClient[T]

NewMockGrpcClient creates a new instance of MockGrpcClient. 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 (*MockGrpcClient[T]) Call

func (_m *MockGrpcClient[T]) Call(ctx context.Context, caller func(T) (interface{}, error)) (interface{}, error)

Call provides a mock function with given fields: ctx, caller

func (*MockGrpcClient[T]) Close

func (_m *MockGrpcClient[T]) Close() error

Close provides a mock function with given fields:

func (*MockGrpcClient[T]) EXPECT

func (_m *MockGrpcClient[T]) EXPECT() *MockGrpcClient_Expecter[T]

func (*MockGrpcClient[T]) EnableEncryption

func (_m *MockGrpcClient[T]) EnableEncryption()

EnableEncryption provides a mock function with given fields:

func (*MockGrpcClient[T]) GetNodeID

func (_m *MockGrpcClient[T]) GetNodeID() int64

GetNodeID provides a mock function with given fields:

func (*MockGrpcClient[T]) GetRole

func (_m *MockGrpcClient[T]) GetRole() string

GetRole provides a mock function with given fields:

func (*MockGrpcClient[T]) ReCall

func (_m *MockGrpcClient[T]) ReCall(ctx context.Context, caller func(T) (interface{}, error)) (interface{}, error)

ReCall provides a mock function with given fields: ctx, caller

func (*MockGrpcClient[T]) SetGetAddrFunc

func (_m *MockGrpcClient[T]) SetGetAddrFunc(_a0 func() (string, error))

SetGetAddrFunc provides a mock function with given fields: _a0

func (*MockGrpcClient[T]) SetInternalTLSCertPool

func (_m *MockGrpcClient[T]) SetInternalTLSCertPool(cp *x509.CertPool)

SetInternalTLSCertPool provides a mock function with given fields: cp

func (*MockGrpcClient[T]) SetNewGrpcClientFunc

func (_m *MockGrpcClient[T]) SetNewGrpcClientFunc(_a0 func(*grpc.ClientConn) T)

SetNewGrpcClientFunc provides a mock function with given fields: _a0

func (*MockGrpcClient[T]) SetNodeID

func (_m *MockGrpcClient[T]) SetNodeID(_a0 int64)

SetNodeID provides a mock function with given fields: _a0

func (*MockGrpcClient[T]) SetRole

func (_m *MockGrpcClient[T]) SetRole(_a0 string)

SetRole provides a mock function with given fields: _a0

func (*MockGrpcClient[T]) SetSession

func (_m *MockGrpcClient[T]) SetSession(sess *sessionutil.Session)

SetSession provides a mock function with given fields: sess

type MockGrpcClient_Call_Call

type MockGrpcClient_Call_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_Call_Call[T]) Return

func (_c *MockGrpcClient_Call_Call[T]) Return(_a0 interface{}, _a1 error) *MockGrpcClient_Call_Call[T]

func (*MockGrpcClient_Call_Call[T]) Run

func (_c *MockGrpcClient_Call_Call[T]) Run(run func(ctx context.Context, caller func(T) (interface{}, error))) *MockGrpcClient_Call_Call[T]

func (*MockGrpcClient_Call_Call[T]) RunAndReturn

func (_c *MockGrpcClient_Call_Call[T]) RunAndReturn(run func(context.Context, func(T) (interface{}, error)) (interface{}, error)) *MockGrpcClient_Call_Call[T]

type MockGrpcClient_Close_Call

type MockGrpcClient_Close_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_Close_Call[T]) Return

func (*MockGrpcClient_Close_Call[T]) Run

func (_c *MockGrpcClient_Close_Call[T]) Run(run func()) *MockGrpcClient_Close_Call[T]

func (*MockGrpcClient_Close_Call[T]) RunAndReturn

func (_c *MockGrpcClient_Close_Call[T]) RunAndReturn(run func() error) *MockGrpcClient_Close_Call[T]

type MockGrpcClient_EnableEncryption_Call

type MockGrpcClient_EnableEncryption_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_EnableEncryption_Call[T]) Return

func (*MockGrpcClient_EnableEncryption_Call[T]) Run

func (*MockGrpcClient_EnableEncryption_Call[T]) RunAndReturn

type MockGrpcClient_Expecter

type MockGrpcClient_Expecter[T grpcclient.GrpcComponent] struct {
	// contains filtered or unexported fields
}

func (*MockGrpcClient_Expecter[T]) Call

func (_e *MockGrpcClient_Expecter[T]) Call(ctx interface{}, caller interface{}) *MockGrpcClient_Call_Call[T]

Call is a helper method to define mock.On call

  • ctx context.Context
  • caller func(T)(interface{} , error)

func (*MockGrpcClient_Expecter[T]) Close

Close is a helper method to define mock.On call

func (*MockGrpcClient_Expecter[T]) EnableEncryption

func (_e *MockGrpcClient_Expecter[T]) EnableEncryption() *MockGrpcClient_EnableEncryption_Call[T]

EnableEncryption is a helper method to define mock.On call

func (*MockGrpcClient_Expecter[T]) GetNodeID

GetNodeID is a helper method to define mock.On call

func (*MockGrpcClient_Expecter[T]) GetRole

GetRole is a helper method to define mock.On call

func (*MockGrpcClient_Expecter[T]) ReCall

func (_e *MockGrpcClient_Expecter[T]) ReCall(ctx interface{}, caller interface{}) *MockGrpcClient_ReCall_Call[T]

ReCall is a helper method to define mock.On call

  • ctx context.Context
  • caller func(T)(interface{} , error)

func (*MockGrpcClient_Expecter[T]) SetGetAddrFunc

func (_e *MockGrpcClient_Expecter[T]) SetGetAddrFunc(_a0 interface{}) *MockGrpcClient_SetGetAddrFunc_Call[T]

SetGetAddrFunc is a helper method to define mock.On call

  • _a0 func()(string , error)

func (*MockGrpcClient_Expecter[T]) SetInternalTLSCertPool

func (_e *MockGrpcClient_Expecter[T]) SetInternalTLSCertPool(cp interface{}) *MockGrpcClient_SetInternalTLSCertPool_Call[T]

SetInternalTLSCertPool is a helper method to define mock.On call

  • cp *x509.CertPool

func (*MockGrpcClient_Expecter[T]) SetNewGrpcClientFunc

func (_e *MockGrpcClient_Expecter[T]) SetNewGrpcClientFunc(_a0 interface{}) *MockGrpcClient_SetNewGrpcClientFunc_Call[T]

SetNewGrpcClientFunc is a helper method to define mock.On call

  • _a0 func(*grpc.ClientConn) T

func (*MockGrpcClient_Expecter[T]) SetNodeID

func (_e *MockGrpcClient_Expecter[T]) SetNodeID(_a0 interface{}) *MockGrpcClient_SetNodeID_Call[T]

SetNodeID is a helper method to define mock.On call

  • _a0 int64

func (*MockGrpcClient_Expecter[T]) SetRole

func (_e *MockGrpcClient_Expecter[T]) SetRole(_a0 interface{}) *MockGrpcClient_SetRole_Call[T]

SetRole is a helper method to define mock.On call

  • _a0 string

func (*MockGrpcClient_Expecter[T]) SetSession

func (_e *MockGrpcClient_Expecter[T]) SetSession(sess interface{}) *MockGrpcClient_SetSession_Call[T]

SetSession is a helper method to define mock.On call

  • sess *sessionutil.Session

type MockGrpcClient_GetNodeID_Call

type MockGrpcClient_GetNodeID_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_GetNodeID_Call[T]) Return

func (*MockGrpcClient_GetNodeID_Call[T]) Run

func (*MockGrpcClient_GetNodeID_Call[T]) RunAndReturn

func (_c *MockGrpcClient_GetNodeID_Call[T]) RunAndReturn(run func() int64) *MockGrpcClient_GetNodeID_Call[T]

type MockGrpcClient_GetRole_Call

type MockGrpcClient_GetRole_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_GetRole_Call[T]) Return

func (*MockGrpcClient_GetRole_Call[T]) Run

func (_c *MockGrpcClient_GetRole_Call[T]) Run(run func()) *MockGrpcClient_GetRole_Call[T]

func (*MockGrpcClient_GetRole_Call[T]) RunAndReturn

func (_c *MockGrpcClient_GetRole_Call[T]) RunAndReturn(run func() string) *MockGrpcClient_GetRole_Call[T]

type MockGrpcClient_ReCall_Call

type MockGrpcClient_ReCall_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_ReCall_Call[T]) Return

func (_c *MockGrpcClient_ReCall_Call[T]) Return(_a0 interface{}, _a1 error) *MockGrpcClient_ReCall_Call[T]

func (*MockGrpcClient_ReCall_Call[T]) Run

func (_c *MockGrpcClient_ReCall_Call[T]) Run(run func(ctx context.Context, caller func(T) (interface{}, error))) *MockGrpcClient_ReCall_Call[T]

func (*MockGrpcClient_ReCall_Call[T]) RunAndReturn

func (_c *MockGrpcClient_ReCall_Call[T]) RunAndReturn(run func(context.Context, func(T) (interface{}, error)) (interface{}, error)) *MockGrpcClient_ReCall_Call[T]

type MockGrpcClient_SetGetAddrFunc_Call

type MockGrpcClient_SetGetAddrFunc_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetGetAddrFunc_Call[T]) Return

func (*MockGrpcClient_SetGetAddrFunc_Call[T]) Run

func (*MockGrpcClient_SetGetAddrFunc_Call[T]) RunAndReturn

func (_c *MockGrpcClient_SetGetAddrFunc_Call[T]) RunAndReturn(run func(func() (string, error))) *MockGrpcClient_SetGetAddrFunc_Call[T]

type MockGrpcClient_SetInternalTLSCertPool_Call

type MockGrpcClient_SetInternalTLSCertPool_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetInternalTLSCertPool_Call[T]) Return

func (*MockGrpcClient_SetInternalTLSCertPool_Call[T]) Run

func (*MockGrpcClient_SetInternalTLSCertPool_Call[T]) RunAndReturn

type MockGrpcClient_SetNewGrpcClientFunc_Call

type MockGrpcClient_SetNewGrpcClientFunc_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetNewGrpcClientFunc_Call[T]) Return

func (*MockGrpcClient_SetNewGrpcClientFunc_Call[T]) Run

func (*MockGrpcClient_SetNewGrpcClientFunc_Call[T]) RunAndReturn

type MockGrpcClient_SetNodeID_Call

type MockGrpcClient_SetNodeID_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetNodeID_Call[T]) Return

func (*MockGrpcClient_SetNodeID_Call[T]) Run

func (*MockGrpcClient_SetNodeID_Call[T]) RunAndReturn

func (_c *MockGrpcClient_SetNodeID_Call[T]) RunAndReturn(run func(int64)) *MockGrpcClient_SetNodeID_Call[T]

type MockGrpcClient_SetRole_Call

type MockGrpcClient_SetRole_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetRole_Call[T]) Return

func (*MockGrpcClient_SetRole_Call[T]) Run

func (_c *MockGrpcClient_SetRole_Call[T]) Run(run func(_a0 string)) *MockGrpcClient_SetRole_Call[T]

func (*MockGrpcClient_SetRole_Call[T]) RunAndReturn

func (_c *MockGrpcClient_SetRole_Call[T]) RunAndReturn(run func(string)) *MockGrpcClient_SetRole_Call[T]

type MockGrpcClient_SetSession_Call

type MockGrpcClient_SetSession_Call[T grpcclient.GrpcComponent] struct {
	*mock.Call
}

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

func (*MockGrpcClient_SetSession_Call[T]) Return

func (*MockGrpcClient_SetSession_Call[T]) Run

func (*MockGrpcClient_SetSession_Call[T]) RunAndReturn

type MockIndexNode

type MockIndexNode struct {
	mock.Mock
}

MockIndexNode is an autogenerated mock type for the IndexNodeComponent type

func NewMockIndexNode

func NewMockIndexNode(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIndexNode

NewMockIndexNode creates a new instance of MockIndexNode. 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 (*MockIndexNode) CreateJob

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

func (*MockIndexNode) CreateJobV2

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

func (*MockIndexNode) DropJobs

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

func (*MockIndexNode) DropJobsV2

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

func (*MockIndexNode) EXPECT

func (_m *MockIndexNode) EXPECT() *MockIndexNode_Expecter

func (*MockIndexNode) GetAddress

func (_m *MockIndexNode) GetAddress() string

GetAddress provides a mock function with given fields:

func (*MockIndexNode) GetComponentStates

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

func (*MockIndexNode) GetJobStats

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

func (*MockIndexNode) GetMetrics

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

func (*MockIndexNode) GetStatisticsChannel

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

func (*MockIndexNode) Init

func (_m *MockIndexNode) Init() error

Init provides a mock function with given fields:

func (*MockIndexNode) QueryJobs

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

func (*MockIndexNode) QueryJobsV2

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

func (*MockIndexNode) Register

func (_m *MockIndexNode) Register() error

Register provides a mock function with given fields:

func (*MockIndexNode) SetAddress

func (_m *MockIndexNode) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockIndexNode) SetEtcdClient

func (_m *MockIndexNode) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockIndexNode) ShowConfigurations

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

func (*MockIndexNode) Start

func (_m *MockIndexNode) Start() error

Start provides a mock function with given fields:

func (*MockIndexNode) Stop

func (_m *MockIndexNode) Stop() error

Stop provides a mock function with given fields:

func (*MockIndexNode) UpdateStateCode

func (_m *MockIndexNode) UpdateStateCode(stateCode commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: stateCode

type MockIndexNodeClient

type MockIndexNodeClient struct {
	mock.Mock
}

MockIndexNodeClient is an autogenerated mock type for the IndexNodeClient type

func NewMockIndexNodeClient

func NewMockIndexNodeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIndexNodeClient

NewMockIndexNodeClient creates a new instance of MockIndexNodeClient. 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 (*MockIndexNodeClient) Close

func (_m *MockIndexNodeClient) Close() error

Close provides a mock function with given fields:

func (*MockIndexNodeClient) CreateJob

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

func (*MockIndexNodeClient) CreateJobV2

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

func (*MockIndexNodeClient) DropJobs

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

func (*MockIndexNodeClient) DropJobsV2

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

func (*MockIndexNodeClient) EXPECT

func (*MockIndexNodeClient) GetComponentStates

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

func (*MockIndexNodeClient) GetJobStats

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

func (*MockIndexNodeClient) GetMetrics

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

func (*MockIndexNodeClient) GetStatisticsChannel

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

func (*MockIndexNodeClient) QueryJobs

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

func (*MockIndexNodeClient) QueryJobsV2

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

func (*MockIndexNodeClient) ShowConfigurations

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

type MockIndexNodeClient_Close_Call

type MockIndexNodeClient_Close_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_Close_Call) Return

func (*MockIndexNodeClient_Close_Call) Run

func (*MockIndexNodeClient_Close_Call) RunAndReturn

type MockIndexNodeClient_CreateJobV2_Call

type MockIndexNodeClient_CreateJobV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_CreateJobV2_Call) Return

func (*MockIndexNodeClient_CreateJobV2_Call) Run

type MockIndexNodeClient_CreateJob_Call

type MockIndexNodeClient_CreateJob_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_CreateJob_Call) Return

func (*MockIndexNodeClient_CreateJob_Call) Run

func (*MockIndexNodeClient_CreateJob_Call) RunAndReturn

type MockIndexNodeClient_DropJobsV2_Call

type MockIndexNodeClient_DropJobsV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_DropJobsV2_Call) Return

func (*MockIndexNodeClient_DropJobsV2_Call) Run

func (*MockIndexNodeClient_DropJobsV2_Call) RunAndReturn

type MockIndexNodeClient_DropJobs_Call

type MockIndexNodeClient_DropJobs_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_DropJobs_Call) Return

func (*MockIndexNodeClient_DropJobs_Call) Run

func (*MockIndexNodeClient_DropJobs_Call) RunAndReturn

type MockIndexNodeClient_Expecter

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

func (*MockIndexNodeClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockIndexNodeClient_Expecter) CreateJob

func (_e *MockIndexNodeClient_Expecter) CreateJob(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_CreateJob_Call

CreateJob is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.CreateJobRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) CreateJobV2

func (_e *MockIndexNodeClient_Expecter) CreateJobV2(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_CreateJobV2_Call

CreateJobV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.CreateJobV2Request
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) DropJobs

func (_e *MockIndexNodeClient_Expecter) DropJobs(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_DropJobs_Call

DropJobs is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.DropJobsRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) DropJobsV2

func (_e *MockIndexNodeClient_Expecter) DropJobsV2(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_DropJobsV2_Call

DropJobsV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.DropJobsV2Request
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) GetComponentStates

func (_e *MockIndexNodeClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) GetJobStats

func (_e *MockIndexNodeClient_Expecter) GetJobStats(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_GetJobStats_Call

GetJobStats is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.GetJobStatsRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) GetMetrics

func (_e *MockIndexNodeClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) GetStatisticsChannel

func (_e *MockIndexNodeClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) QueryJobs

func (_e *MockIndexNodeClient_Expecter) QueryJobs(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_QueryJobs_Call

QueryJobs is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.QueryJobsRequest
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) QueryJobsV2

func (_e *MockIndexNodeClient_Expecter) QueryJobsV2(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_QueryJobsV2_Call

QueryJobsV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *workerpb.QueryJobsV2Request
  • opts ...grpc.CallOption

func (*MockIndexNodeClient_Expecter) ShowConfigurations

func (_e *MockIndexNodeClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockIndexNodeClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

type MockIndexNodeClient_GetComponentStates_Call

type MockIndexNodeClient_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_GetComponentStates_Call) Return

func (*MockIndexNodeClient_GetComponentStates_Call) Run

type MockIndexNodeClient_GetJobStats_Call

type MockIndexNodeClient_GetJobStats_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_GetJobStats_Call) Return

func (*MockIndexNodeClient_GetJobStats_Call) Run

type MockIndexNodeClient_GetMetrics_Call

type MockIndexNodeClient_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_GetMetrics_Call) Return

func (*MockIndexNodeClient_GetMetrics_Call) Run

type MockIndexNodeClient_GetStatisticsChannel_Call

type MockIndexNodeClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_GetStatisticsChannel_Call) Return

func (*MockIndexNodeClient_GetStatisticsChannel_Call) Run

type MockIndexNodeClient_QueryJobsV2_Call

type MockIndexNodeClient_QueryJobsV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_QueryJobsV2_Call) Return

func (*MockIndexNodeClient_QueryJobsV2_Call) Run

type MockIndexNodeClient_QueryJobs_Call

type MockIndexNodeClient_QueryJobs_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_QueryJobs_Call) Return

func (*MockIndexNodeClient_QueryJobs_Call) Run

type MockIndexNodeClient_ShowConfigurations_Call

type MockIndexNodeClient_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockIndexNodeClient_ShowConfigurations_Call) Return

func (*MockIndexNodeClient_ShowConfigurations_Call) Run

type MockIndexNode_CreateJobV2_Call

type MockIndexNode_CreateJobV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_CreateJobV2_Call) Return

func (*MockIndexNode_CreateJobV2_Call) Run

func (*MockIndexNode_CreateJobV2_Call) RunAndReturn

type MockIndexNode_CreateJob_Call

type MockIndexNode_CreateJob_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_CreateJob_Call) Return

func (*MockIndexNode_CreateJob_Call) Run

func (*MockIndexNode_CreateJob_Call) RunAndReturn

type MockIndexNode_DropJobsV2_Call

type MockIndexNode_DropJobsV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_DropJobsV2_Call) Return

func (*MockIndexNode_DropJobsV2_Call) Run

func (*MockIndexNode_DropJobsV2_Call) RunAndReturn

type MockIndexNode_DropJobs_Call

type MockIndexNode_DropJobs_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_DropJobs_Call) Return

func (*MockIndexNode_DropJobs_Call) Run

func (*MockIndexNode_DropJobs_Call) RunAndReturn

type MockIndexNode_Expecter

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

func (*MockIndexNode_Expecter) CreateJob

func (_e *MockIndexNode_Expecter) CreateJob(_a0 interface{}, _a1 interface{}) *MockIndexNode_CreateJob_Call

CreateJob is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.CreateJobRequest

func (*MockIndexNode_Expecter) CreateJobV2

func (_e *MockIndexNode_Expecter) CreateJobV2(_a0 interface{}, _a1 interface{}) *MockIndexNode_CreateJobV2_Call

CreateJobV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.CreateJobV2Request

func (*MockIndexNode_Expecter) DropJobs

func (_e *MockIndexNode_Expecter) DropJobs(_a0 interface{}, _a1 interface{}) *MockIndexNode_DropJobs_Call

DropJobs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.DropJobsRequest

func (*MockIndexNode_Expecter) DropJobsV2

func (_e *MockIndexNode_Expecter) DropJobsV2(_a0 interface{}, _a1 interface{}) *MockIndexNode_DropJobsV2_Call

DropJobsV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.DropJobsV2Request

func (*MockIndexNode_Expecter) GetAddress

GetAddress is a helper method to define mock.On call

func (*MockIndexNode_Expecter) GetComponentStates

func (_e *MockIndexNode_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockIndexNode_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockIndexNode_Expecter) GetJobStats

func (_e *MockIndexNode_Expecter) GetJobStats(_a0 interface{}, _a1 interface{}) *MockIndexNode_GetJobStats_Call

GetJobStats is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.GetJobStatsRequest

func (*MockIndexNode_Expecter) GetMetrics

func (_e *MockIndexNode_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockIndexNode_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockIndexNode_Expecter) GetStatisticsChannel

func (_e *MockIndexNode_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockIndexNode_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockIndexNode_Expecter) Init

Init is a helper method to define mock.On call

func (*MockIndexNode_Expecter) QueryJobs

func (_e *MockIndexNode_Expecter) QueryJobs(_a0 interface{}, _a1 interface{}) *MockIndexNode_QueryJobs_Call

QueryJobs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.QueryJobsRequest

func (*MockIndexNode_Expecter) QueryJobsV2

func (_e *MockIndexNode_Expecter) QueryJobsV2(_a0 interface{}, _a1 interface{}) *MockIndexNode_QueryJobsV2_Call

QueryJobsV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *workerpb.QueryJobsV2Request

func (*MockIndexNode_Expecter) Register

Register is a helper method to define mock.On call

func (*MockIndexNode_Expecter) SetAddress

func (_e *MockIndexNode_Expecter) SetAddress(address interface{}) *MockIndexNode_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockIndexNode_Expecter) SetEtcdClient

func (_e *MockIndexNode_Expecter) SetEtcdClient(etcdClient interface{}) *MockIndexNode_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockIndexNode_Expecter) ShowConfigurations

func (_e *MockIndexNode_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *MockIndexNode_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*MockIndexNode_Expecter) Start

Start is a helper method to define mock.On call

func (*MockIndexNode_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockIndexNode_Expecter) UpdateStateCode

func (_e *MockIndexNode_Expecter) UpdateStateCode(stateCode interface{}) *MockIndexNode_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • stateCode commonpb.StateCode

type MockIndexNode_GetAddress_Call

type MockIndexNode_GetAddress_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_GetAddress_Call) Return

func (*MockIndexNode_GetAddress_Call) Run

func (*MockIndexNode_GetAddress_Call) RunAndReturn

type MockIndexNode_GetComponentStates_Call

type MockIndexNode_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_GetComponentStates_Call) Return

func (*MockIndexNode_GetComponentStates_Call) Run

type MockIndexNode_GetJobStats_Call

type MockIndexNode_GetJobStats_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_GetJobStats_Call) Return

func (*MockIndexNode_GetJobStats_Call) Run

type MockIndexNode_GetMetrics_Call

type MockIndexNode_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_GetMetrics_Call) Return

func (*MockIndexNode_GetMetrics_Call) Run

type MockIndexNode_GetStatisticsChannel_Call

type MockIndexNode_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_GetStatisticsChannel_Call) Return

func (*MockIndexNode_GetStatisticsChannel_Call) Run

type MockIndexNode_Init_Call

type MockIndexNode_Init_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_Init_Call) Return

func (*MockIndexNode_Init_Call) Run

func (_c *MockIndexNode_Init_Call) Run(run func()) *MockIndexNode_Init_Call

func (*MockIndexNode_Init_Call) RunAndReturn

func (_c *MockIndexNode_Init_Call) RunAndReturn(run func() error) *MockIndexNode_Init_Call

type MockIndexNode_QueryJobsV2_Call

type MockIndexNode_QueryJobsV2_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_QueryJobsV2_Call) Return

func (*MockIndexNode_QueryJobsV2_Call) Run

type MockIndexNode_QueryJobs_Call

type MockIndexNode_QueryJobs_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_QueryJobs_Call) Return

func (*MockIndexNode_QueryJobs_Call) Run

type MockIndexNode_Register_Call

type MockIndexNode_Register_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_Register_Call) Return

func (*MockIndexNode_Register_Call) Run

func (*MockIndexNode_Register_Call) RunAndReturn

func (_c *MockIndexNode_Register_Call) RunAndReturn(run func() error) *MockIndexNode_Register_Call

type MockIndexNode_SetAddress_Call

type MockIndexNode_SetAddress_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_SetAddress_Call) Return

func (*MockIndexNode_SetAddress_Call) Run

func (*MockIndexNode_SetAddress_Call) RunAndReturn

type MockIndexNode_SetEtcdClient_Call

type MockIndexNode_SetEtcdClient_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_SetEtcdClient_Call) Return

func (*MockIndexNode_SetEtcdClient_Call) Run

func (*MockIndexNode_SetEtcdClient_Call) RunAndReturn

type MockIndexNode_ShowConfigurations_Call

type MockIndexNode_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_ShowConfigurations_Call) Return

func (*MockIndexNode_ShowConfigurations_Call) Run

type MockIndexNode_Start_Call

type MockIndexNode_Start_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_Start_Call) Return

func (*MockIndexNode_Start_Call) Run

func (*MockIndexNode_Start_Call) RunAndReturn

func (_c *MockIndexNode_Start_Call) RunAndReturn(run func() error) *MockIndexNode_Start_Call

type MockIndexNode_Stop_Call

type MockIndexNode_Stop_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_Stop_Call) Return

func (*MockIndexNode_Stop_Call) Run

func (_c *MockIndexNode_Stop_Call) Run(run func()) *MockIndexNode_Stop_Call

func (*MockIndexNode_Stop_Call) RunAndReturn

func (_c *MockIndexNode_Stop_Call) RunAndReturn(run func() error) *MockIndexNode_Stop_Call

type MockIndexNode_UpdateStateCode_Call

type MockIndexNode_UpdateStateCode_Call struct {
	*mock.Call
}

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

func (*MockIndexNode_UpdateStateCode_Call) Return

func (*MockIndexNode_UpdateStateCode_Call) Run

func (*MockIndexNode_UpdateStateCode_Call) RunAndReturn

type MockProxy

type MockProxy struct {
	mock.Mock
}

MockProxy is an autogenerated mock type for the ProxyComponent type

func NewMockProxy

func NewMockProxy(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProxy

NewMockProxy creates a new instance of MockProxy. 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 (*MockProxy) AllocTimestamp

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

func (*MockProxy) AlterAlias

func (_m *MockProxy) AlterAlias(_a0 context.Context, _a1 *milvuspb.AlterAliasRequest) (*commonpb.Status, error)

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

func (*MockProxy) AlterCollection

func (_m *MockProxy) AlterCollection(_a0 context.Context, _a1 *milvuspb.AlterCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) AlterCollectionField

func (_m *MockProxy) AlterCollectionField(_a0 context.Context, _a1 *milvuspb.AlterCollectionFieldRequest) (*commonpb.Status, error)

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

func (*MockProxy) AlterDatabase

func (_m *MockProxy) AlterDatabase(_a0 context.Context, _a1 *milvuspb.AlterDatabaseRequest) (*commonpb.Status, error)

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

func (*MockProxy) AlterIndex

func (_m *MockProxy) AlterIndex(_a0 context.Context, _a1 *milvuspb.AlterIndexRequest) (*commonpb.Status, error)

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

func (*MockProxy) BackupRBAC

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

func (*MockProxy) CalcDistance

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

func (*MockProxy) CheckHealth

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

func (*MockProxy) Connect

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

func (*MockProxy) CreateAlias

func (_m *MockProxy) CreateAlias(_a0 context.Context, _a1 *milvuspb.CreateAliasRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateCollection

func (_m *MockProxy) CreateCollection(_a0 context.Context, _a1 *milvuspb.CreateCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateCredential

func (_m *MockProxy) CreateCredential(_a0 context.Context, _a1 *milvuspb.CreateCredentialRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateDatabase

func (_m *MockProxy) CreateDatabase(_a0 context.Context, _a1 *milvuspb.CreateDatabaseRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateIndex

func (_m *MockProxy) CreateIndex(_a0 context.Context, _a1 *milvuspb.CreateIndexRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreatePartition

func (_m *MockProxy) CreatePartition(_a0 context.Context, _a1 *milvuspb.CreatePartitionRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreatePrivilegeGroup

func (_m *MockProxy) CreatePrivilegeGroup(_a0 context.Context, _a1 *milvuspb.CreatePrivilegeGroupRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateResourceGroup

func (_m *MockProxy) CreateResourceGroup(_a0 context.Context, _a1 *milvuspb.CreateResourceGroupRequest) (*commonpb.Status, error)

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

func (*MockProxy) CreateRole

func (_m *MockProxy) CreateRole(_a0 context.Context, _a1 *milvuspb.CreateRoleRequest) (*commonpb.Status, error)

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

func (*MockProxy) Delete

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

func (*MockProxy) DeleteCredential

func (_m *MockProxy) DeleteCredential(_a0 context.Context, _a1 *milvuspb.DeleteCredentialRequest) (*commonpb.Status, error)

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

func (*MockProxy) DescribeAlias

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

func (*MockProxy) DescribeCollection

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

func (*MockProxy) DescribeDatabase

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

func (*MockProxy) DescribeIndex

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

func (*MockProxy) DescribeResourceGroup

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

func (*MockProxy) DescribeSegmentIndexData

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

func (*MockProxy) DropAlias

func (_m *MockProxy) DropAlias(_a0 context.Context, _a1 *milvuspb.DropAliasRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropCollection

func (_m *MockProxy) DropCollection(_a0 context.Context, _a1 *milvuspb.DropCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropDatabase

func (_m *MockProxy) DropDatabase(_a0 context.Context, _a1 *milvuspb.DropDatabaseRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropIndex

func (_m *MockProxy) DropIndex(_a0 context.Context, _a1 *milvuspb.DropIndexRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropPartition

func (_m *MockProxy) DropPartition(_a0 context.Context, _a1 *milvuspb.DropPartitionRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropPrivilegeGroup

func (_m *MockProxy) DropPrivilegeGroup(_a0 context.Context, _a1 *milvuspb.DropPrivilegeGroupRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropResourceGroup

func (_m *MockProxy) DropResourceGroup(_a0 context.Context, _a1 *milvuspb.DropResourceGroupRequest) (*commonpb.Status, error)

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

func (*MockProxy) DropRole

func (_m *MockProxy) DropRole(_a0 context.Context, _a1 *milvuspb.DropRoleRequest) (*commonpb.Status, error)

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

func (*MockProxy) Dummy

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

func (*MockProxy) EXPECT

func (_m *MockProxy) EXPECT() *MockProxy_Expecter

func (*MockProxy) Flush

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

func (*MockProxy) FlushAll

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

func (*MockProxy) GetAddress

func (_m *MockProxy) GetAddress() string

GetAddress provides a mock function with given fields:

func (*MockProxy) GetCollectionStatistics

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

func (*MockProxy) GetCompactionState

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

func (*MockProxy) GetCompactionStateWithPlans

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

func (*MockProxy) GetComponentStates

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

func (*MockProxy) GetDdChannel

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

func (*MockProxy) GetFlushAllState

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

func (*MockProxy) GetFlushState

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

func (*MockProxy) GetImportProgress

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

func (*MockProxy) GetImportState

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

func (*MockProxy) GetIndexBuildProgress

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

func (*MockProxy) GetIndexState

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

func (*MockProxy) GetIndexStatistics

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

func (*MockProxy) GetLoadState

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

func (*MockProxy) GetLoadingProgress

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

func (*MockProxy) GetMetrics

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

func (*MockProxy) GetPartitionStatistics

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

func (*MockProxy) GetPersistentSegmentInfo

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

func (*MockProxy) GetProxyMetrics

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

func (*MockProxy) GetQuerySegmentInfo

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

func (*MockProxy) GetRateLimiter

func (_m *MockProxy) GetRateLimiter() (types.Limiter, error)

GetRateLimiter provides a mock function with given fields:

func (*MockProxy) GetReplicas

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

func (*MockProxy) GetStatisticsChannel

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

func (*MockProxy) GetVersion

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

func (*MockProxy) HasCollection

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

func (*MockProxy) HasPartition

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

func (*MockProxy) HybridSearch

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

func (*MockProxy) Import

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

func (*MockProxy) ImportV2

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

func (*MockProxy) Init

func (_m *MockProxy) Init() error

Init provides a mock function with given fields:

func (*MockProxy) Insert

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

func (*MockProxy) InvalidateCollectionMetaCache

func (_m *MockProxy) InvalidateCollectionMetaCache(_a0 context.Context, _a1 *proxypb.InvalidateCollMetaCacheRequest) (*commonpb.Status, error)

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

func (*MockProxy) InvalidateCredentialCache

func (_m *MockProxy) InvalidateCredentialCache(_a0 context.Context, _a1 *proxypb.InvalidateCredCacheRequest) (*commonpb.Status, error)

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

func (*MockProxy) InvalidateShardLeaderCache

func (_m *MockProxy) InvalidateShardLeaderCache(_a0 context.Context, _a1 *proxypb.InvalidateShardLeaderCacheRequest) (*commonpb.Status, error)

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

func (*MockProxy) ListAliases

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

func (*MockProxy) ListClientInfos

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

func (*MockProxy) ListCredUsers

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

func (*MockProxy) ListDatabases

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

func (*MockProxy) ListImportTasks

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

func (*MockProxy) ListImports

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

func (*MockProxy) ListIndexedSegment

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

func (*MockProxy) ListPrivilegeGroups

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

func (*MockProxy) ListResourceGroups

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

func (*MockProxy) LoadBalance

func (_m *MockProxy) LoadBalance(_a0 context.Context, _a1 *milvuspb.LoadBalanceRequest) (*commonpb.Status, error)

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

func (*MockProxy) LoadCollection

func (_m *MockProxy) LoadCollection(_a0 context.Context, _a1 *milvuspb.LoadCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) LoadPartitions

func (_m *MockProxy) LoadPartitions(_a0 context.Context, _a1 *milvuspb.LoadPartitionsRequest) (*commonpb.Status, error)

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

func (*MockProxy) ManualCompaction

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

func (*MockProxy) OperatePrivilege

func (_m *MockProxy) OperatePrivilege(_a0 context.Context, _a1 *milvuspb.OperatePrivilegeRequest) (*commonpb.Status, error)

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

func (*MockProxy) OperatePrivilegeGroup

func (_m *MockProxy) OperatePrivilegeGroup(_a0 context.Context, _a1 *milvuspb.OperatePrivilegeGroupRequest) (*commonpb.Status, error)

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

func (*MockProxy) OperatePrivilegeV2

func (_m *MockProxy) OperatePrivilegeV2(_a0 context.Context, _a1 *milvuspb.OperatePrivilegeV2Request) (*commonpb.Status, error)

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

func (*MockProxy) OperateUserRole

func (_m *MockProxy) OperateUserRole(_a0 context.Context, _a1 *milvuspb.OperateUserRoleRequest) (*commonpb.Status, error)

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

func (*MockProxy) Query

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

func (*MockProxy) RefreshPolicyInfoCache

func (_m *MockProxy) RefreshPolicyInfoCache(_a0 context.Context, _a1 *proxypb.RefreshPolicyInfoCacheRequest) (*commonpb.Status, error)

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

func (*MockProxy) Register

func (_m *MockProxy) Register() error

Register provides a mock function with given fields:

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

func (*MockProxy) ReleaseCollection

func (_m *MockProxy) ReleaseCollection(_a0 context.Context, _a1 *milvuspb.ReleaseCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) ReleasePartitions

func (_m *MockProxy) ReleasePartitions(_a0 context.Context, _a1 *milvuspb.ReleasePartitionsRequest) (*commonpb.Status, error)

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

func (*MockProxy) RenameCollection

func (_m *MockProxy) RenameCollection(_a0 context.Context, _a1 *milvuspb.RenameCollectionRequest) (*commonpb.Status, error)

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

func (*MockProxy) ReplicateMessage

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

func (*MockProxy) RestoreRBAC

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

func (*MockProxy) Search

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

func (*MockProxy) SelectGrant

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

func (*MockProxy) SelectRole

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

func (*MockProxy) SelectUser

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

func (*MockProxy) SetAddress

func (_m *MockProxy) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockProxy) SetDataCoordClient

func (_m *MockProxy) SetDataCoordClient(dataCoord types.DataCoordClient)

SetDataCoordClient provides a mock function with given fields: dataCoord

func (*MockProxy) SetEtcdClient

func (_m *MockProxy) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockProxy) SetQueryCoordClient

func (_m *MockProxy) SetQueryCoordClient(queryCoord types.QueryCoordClient)

SetQueryCoordClient provides a mock function with given fields: queryCoord

func (*MockProxy) SetQueryNodeCreator

func (_m *MockProxy) SetQueryNodeCreator(_a0 func(context.Context, string, int64) (types.QueryNodeClient, error))

SetQueryNodeCreator provides a mock function with given fields: _a0

func (*MockProxy) SetRates

func (_m *MockProxy) SetRates(_a0 context.Context, _a1 *proxypb.SetRatesRequest) (*commonpb.Status, error)

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

func (*MockProxy) SetRootCoordClient

func (_m *MockProxy) SetRootCoordClient(rootCoord types.RootCoordClient)

SetRootCoordClient provides a mock function with given fields: rootCoord

func (*MockProxy) ShowCollections

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

func (*MockProxy) ShowPartitions

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

func (*MockProxy) Start

func (_m *MockProxy) Start() error

Start provides a mock function with given fields:

func (*MockProxy) Stop

func (_m *MockProxy) Stop() error

Stop provides a mock function with given fields:

func (*MockProxy) TransferNode

func (_m *MockProxy) TransferNode(_a0 context.Context, _a1 *milvuspb.TransferNodeRequest) (*commonpb.Status, error)

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

func (*MockProxy) TransferReplica

func (_m *MockProxy) TransferReplica(_a0 context.Context, _a1 *milvuspb.TransferReplicaRequest) (*commonpb.Status, error)

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

func (*MockProxy) UpdateCredential

func (_m *MockProxy) UpdateCredential(_a0 context.Context, _a1 *milvuspb.UpdateCredentialRequest) (*commonpb.Status, error)

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

func (*MockProxy) UpdateCredentialCache

func (_m *MockProxy) UpdateCredentialCache(_a0 context.Context, _a1 *proxypb.UpdateCredCacheRequest) (*commonpb.Status, error)

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

func (*MockProxy) UpdateResourceGroups

func (_m *MockProxy) UpdateResourceGroups(_a0 context.Context, _a1 *milvuspb.UpdateResourceGroupsRequest) (*commonpb.Status, error)

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

func (*MockProxy) UpdateStateCode

func (_m *MockProxy) UpdateStateCode(stateCode commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: stateCode

func (*MockProxy) Upsert

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

type MockProxyClient

type MockProxyClient struct {
	mock.Mock
}

MockProxyClient is an autogenerated mock type for the ProxyClient type

func NewMockProxyClient

func NewMockProxyClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProxyClient

NewMockProxyClient creates a new instance of MockProxyClient. 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 (*MockProxyClient) Close

func (_m *MockProxyClient) Close() error

Close provides a mock function with given fields:

func (*MockProxyClient) EXPECT

func (*MockProxyClient) GetComponentStates

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

func (*MockProxyClient) GetDdChannel

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

func (*MockProxyClient) GetImportProgress

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

func (*MockProxyClient) GetProxyMetrics

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

func (*MockProxyClient) GetStatisticsChannel

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

func (*MockProxyClient) ImportV2

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

func (*MockProxyClient) InvalidateCollectionMetaCache

func (_m *MockProxyClient) InvalidateCollectionMetaCache(ctx context.Context, in *proxypb.InvalidateCollMetaCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockProxyClient) InvalidateCredentialCache

func (_m *MockProxyClient) InvalidateCredentialCache(ctx context.Context, in *proxypb.InvalidateCredCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockProxyClient) InvalidateShardLeaderCache

func (_m *MockProxyClient) InvalidateShardLeaderCache(ctx context.Context, in *proxypb.InvalidateShardLeaderCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockProxyClient) ListClientInfos

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

func (*MockProxyClient) ListImports

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

func (*MockProxyClient) RefreshPolicyInfoCache

func (_m *MockProxyClient) RefreshPolicyInfoCache(ctx context.Context, in *proxypb.RefreshPolicyInfoCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockProxyClient) SetRates

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

func (*MockProxyClient) UpdateCredentialCache

func (_m *MockProxyClient) UpdateCredentialCache(ctx context.Context, in *proxypb.UpdateCredCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

type MockProxyClient_Close_Call

type MockProxyClient_Close_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_Close_Call) Return

func (*MockProxyClient_Close_Call) Run

func (*MockProxyClient_Close_Call) RunAndReturn

func (_c *MockProxyClient_Close_Call) RunAndReturn(run func() error) *MockProxyClient_Close_Call

type MockProxyClient_Expecter

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

func (*MockProxyClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockProxyClient_Expecter) GetComponentStates

func (_e *MockProxyClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) GetDdChannel

func (_e *MockProxyClient_Expecter) GetDdChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_GetDdChannel_Call

GetDdChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetDdChannelRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) GetImportProgress

func (_e *MockProxyClient_Expecter) GetImportProgress(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_GetImportProgress_Call

GetImportProgress is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetImportProgressRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) GetProxyMetrics

func (_e *MockProxyClient_Expecter) GetProxyMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_GetProxyMetrics_Call

GetProxyMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) GetStatisticsChannel

func (_e *MockProxyClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) ImportV2

func (_e *MockProxyClient_Expecter) ImportV2(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ImportRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) InvalidateCollectionMetaCache

func (_e *MockProxyClient_Expecter) InvalidateCollectionMetaCache(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_InvalidateCollectionMetaCache_Call

InvalidateCollectionMetaCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.InvalidateCollMetaCacheRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) InvalidateCredentialCache

func (_e *MockProxyClient_Expecter) InvalidateCredentialCache(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_InvalidateCredentialCache_Call

InvalidateCredentialCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.InvalidateCredCacheRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) InvalidateShardLeaderCache

func (_e *MockProxyClient_Expecter) InvalidateShardLeaderCache(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_InvalidateShardLeaderCache_Call

InvalidateShardLeaderCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.InvalidateShardLeaderCacheRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) ListClientInfos

func (_e *MockProxyClient_Expecter) ListClientInfos(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_ListClientInfos_Call

ListClientInfos is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.ListClientInfosRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) ListImports

func (_e *MockProxyClient_Expecter) ListImports(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_ListImports_Call

ListImports is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ListImportsRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) RefreshPolicyInfoCache

func (_e *MockProxyClient_Expecter) RefreshPolicyInfoCache(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_RefreshPolicyInfoCache_Call

RefreshPolicyInfoCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.RefreshPolicyInfoCacheRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) SetRates

func (_e *MockProxyClient_Expecter) SetRates(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_SetRates_Call

SetRates is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.SetRatesRequest
  • opts ...grpc.CallOption

func (*MockProxyClient_Expecter) UpdateCredentialCache

func (_e *MockProxyClient_Expecter) UpdateCredentialCache(ctx interface{}, in interface{}, opts ...interface{}) *MockProxyClient_UpdateCredentialCache_Call

UpdateCredentialCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.UpdateCredCacheRequest
  • opts ...grpc.CallOption

type MockProxyClient_GetComponentStates_Call

type MockProxyClient_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_GetComponentStates_Call) Return

func (*MockProxyClient_GetComponentStates_Call) Run

type MockProxyClient_GetDdChannel_Call

type MockProxyClient_GetDdChannel_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_GetDdChannel_Call) Return

func (*MockProxyClient_GetDdChannel_Call) Run

type MockProxyClient_GetImportProgress_Call

type MockProxyClient_GetImportProgress_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_GetImportProgress_Call) Return

func (*MockProxyClient_GetImportProgress_Call) Run

type MockProxyClient_GetProxyMetrics_Call

type MockProxyClient_GetProxyMetrics_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_GetProxyMetrics_Call) Return

func (*MockProxyClient_GetProxyMetrics_Call) Run

type MockProxyClient_GetStatisticsChannel_Call

type MockProxyClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_GetStatisticsChannel_Call) Return

func (*MockProxyClient_GetStatisticsChannel_Call) Run

type MockProxyClient_ImportV2_Call

type MockProxyClient_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_ImportV2_Call) Return

func (*MockProxyClient_ImportV2_Call) Run

type MockProxyClient_InvalidateCollectionMetaCache_Call

type MockProxyClient_InvalidateCollectionMetaCache_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_InvalidateCollectionMetaCache_Call) Return

func (*MockProxyClient_InvalidateCollectionMetaCache_Call) Run

type MockProxyClient_InvalidateCredentialCache_Call

type MockProxyClient_InvalidateCredentialCache_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_InvalidateCredentialCache_Call) Return

func (*MockProxyClient_InvalidateCredentialCache_Call) Run

type MockProxyClient_InvalidateShardLeaderCache_Call

type MockProxyClient_InvalidateShardLeaderCache_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_InvalidateShardLeaderCache_Call) Return

func (*MockProxyClient_InvalidateShardLeaderCache_Call) Run

type MockProxyClient_ListClientInfos_Call

type MockProxyClient_ListClientInfos_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_ListClientInfos_Call) Return

func (*MockProxyClient_ListClientInfos_Call) Run

type MockProxyClient_ListImports_Call

type MockProxyClient_ListImports_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_ListImports_Call) Return

func (*MockProxyClient_ListImports_Call) Run

type MockProxyClient_RefreshPolicyInfoCache_Call

type MockProxyClient_RefreshPolicyInfoCache_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_RefreshPolicyInfoCache_Call) Return

func (*MockProxyClient_RefreshPolicyInfoCache_Call) Run

type MockProxyClient_SetRates_Call

type MockProxyClient_SetRates_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_SetRates_Call) Return

func (*MockProxyClient_SetRates_Call) Run

func (*MockProxyClient_SetRates_Call) RunAndReturn

type MockProxyClient_UpdateCredentialCache_Call

type MockProxyClient_UpdateCredentialCache_Call struct {
	*mock.Call
}

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

func (*MockProxyClient_UpdateCredentialCache_Call) Return

func (*MockProxyClient_UpdateCredentialCache_Call) Run

type MockProxy_AllocTimestamp_Call

type MockProxy_AllocTimestamp_Call struct {
	*mock.Call
}

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

func (*MockProxy_AllocTimestamp_Call) Return

func (*MockProxy_AllocTimestamp_Call) Run

type MockProxy_AlterAlias_Call

type MockProxy_AlterAlias_Call struct {
	*mock.Call
}

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

func (*MockProxy_AlterAlias_Call) Return

func (*MockProxy_AlterAlias_Call) Run

func (*MockProxy_AlterAlias_Call) RunAndReturn

type MockProxy_AlterCollectionField_Call

type MockProxy_AlterCollectionField_Call struct {
	*mock.Call
}

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

func (*MockProxy_AlterCollectionField_Call) Return

func (*MockProxy_AlterCollectionField_Call) Run

type MockProxy_AlterCollection_Call

type MockProxy_AlterCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_AlterCollection_Call) Return

func (*MockProxy_AlterCollection_Call) Run

func (*MockProxy_AlterCollection_Call) RunAndReturn

type MockProxy_AlterDatabase_Call

type MockProxy_AlterDatabase_Call struct {
	*mock.Call
}

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

func (*MockProxy_AlterDatabase_Call) Return

func (*MockProxy_AlterDatabase_Call) Run

func (*MockProxy_AlterDatabase_Call) RunAndReturn

type MockProxy_AlterIndex_Call

type MockProxy_AlterIndex_Call struct {
	*mock.Call
}

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

func (*MockProxy_AlterIndex_Call) Return

func (*MockProxy_AlterIndex_Call) Run

func (*MockProxy_AlterIndex_Call) RunAndReturn

type MockProxy_BackupRBAC_Call

type MockProxy_BackupRBAC_Call struct {
	*mock.Call
}

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

func (*MockProxy_BackupRBAC_Call) Return

func (*MockProxy_BackupRBAC_Call) Run

type MockProxy_CalcDistance_Call

type MockProxy_CalcDistance_Call struct {
	*mock.Call
}

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

func (*MockProxy_CalcDistance_Call) Return

func (*MockProxy_CalcDistance_Call) Run

type MockProxy_CheckHealth_Call

type MockProxy_CheckHealth_Call struct {
	*mock.Call
}

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

func (*MockProxy_CheckHealth_Call) Return

func (*MockProxy_CheckHealth_Call) Run

type MockProxy_Connect_Call

type MockProxy_Connect_Call struct {
	*mock.Call
}

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

func (*MockProxy_Connect_Call) Return

func (*MockProxy_Connect_Call) Run

func (*MockProxy_Connect_Call) RunAndReturn

type MockProxy_CreateAlias_Call

type MockProxy_CreateAlias_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateAlias_Call) Return

func (*MockProxy_CreateAlias_Call) Run

func (*MockProxy_CreateAlias_Call) RunAndReturn

type MockProxy_CreateCollection_Call

type MockProxy_CreateCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateCollection_Call) Return

func (*MockProxy_CreateCollection_Call) Run

func (*MockProxy_CreateCollection_Call) RunAndReturn

type MockProxy_CreateCredential_Call

type MockProxy_CreateCredential_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateCredential_Call) Return

func (*MockProxy_CreateCredential_Call) Run

func (*MockProxy_CreateCredential_Call) RunAndReturn

type MockProxy_CreateDatabase_Call

type MockProxy_CreateDatabase_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateDatabase_Call) Return

func (*MockProxy_CreateDatabase_Call) Run

func (*MockProxy_CreateDatabase_Call) RunAndReturn

type MockProxy_CreateIndex_Call

type MockProxy_CreateIndex_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateIndex_Call) Return

func (*MockProxy_CreateIndex_Call) Run

func (*MockProxy_CreateIndex_Call) RunAndReturn

type MockProxy_CreatePartition_Call

type MockProxy_CreatePartition_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreatePartition_Call) Return

func (*MockProxy_CreatePartition_Call) Run

func (*MockProxy_CreatePartition_Call) RunAndReturn

type MockProxy_CreatePrivilegeGroup_Call

type MockProxy_CreatePrivilegeGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreatePrivilegeGroup_Call) Return

func (*MockProxy_CreatePrivilegeGroup_Call) Run

type MockProxy_CreateResourceGroup_Call

type MockProxy_CreateResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateResourceGroup_Call) Return

func (*MockProxy_CreateResourceGroup_Call) Run

type MockProxy_CreateRole_Call

type MockProxy_CreateRole_Call struct {
	*mock.Call
}

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

func (*MockProxy_CreateRole_Call) Return

func (*MockProxy_CreateRole_Call) Run

func (*MockProxy_CreateRole_Call) RunAndReturn

type MockProxy_DeleteCredential_Call

type MockProxy_DeleteCredential_Call struct {
	*mock.Call
}

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

func (*MockProxy_DeleteCredential_Call) Return

func (*MockProxy_DeleteCredential_Call) Run

func (*MockProxy_DeleteCredential_Call) RunAndReturn

type MockProxy_Delete_Call

type MockProxy_Delete_Call struct {
	*mock.Call
}

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

func (*MockProxy_Delete_Call) Return

func (*MockProxy_Delete_Call) Run

func (*MockProxy_Delete_Call) RunAndReturn

type MockProxy_DescribeAlias_Call

type MockProxy_DescribeAlias_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeAlias_Call) Return

func (*MockProxy_DescribeAlias_Call) Run

type MockProxy_DescribeCollection_Call

type MockProxy_DescribeCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeCollection_Call) Return

func (*MockProxy_DescribeCollection_Call) Run

type MockProxy_DescribeDatabase_Call

type MockProxy_DescribeDatabase_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeDatabase_Call) Return

func (*MockProxy_DescribeDatabase_Call) Run

type MockProxy_DescribeIndex_Call

type MockProxy_DescribeIndex_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeIndex_Call) Return

func (*MockProxy_DescribeIndex_Call) Run

type MockProxy_DescribeResourceGroup_Call

type MockProxy_DescribeResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeResourceGroup_Call) Return

func (*MockProxy_DescribeResourceGroup_Call) Run

type MockProxy_DescribeSegmentIndexData_Call

type MockProxy_DescribeSegmentIndexData_Call struct {
	*mock.Call
}

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

func (*MockProxy_DescribeSegmentIndexData_Call) Run

type MockProxy_DropAlias_Call

type MockProxy_DropAlias_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropAlias_Call) Return

func (*MockProxy_DropAlias_Call) Run

func (*MockProxy_DropAlias_Call) RunAndReturn

type MockProxy_DropCollection_Call

type MockProxy_DropCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropCollection_Call) Return

func (*MockProxy_DropCollection_Call) Run

func (*MockProxy_DropCollection_Call) RunAndReturn

type MockProxy_DropDatabase_Call

type MockProxy_DropDatabase_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropDatabase_Call) Return

func (*MockProxy_DropDatabase_Call) Run

func (*MockProxy_DropDatabase_Call) RunAndReturn

type MockProxy_DropIndex_Call

type MockProxy_DropIndex_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropIndex_Call) Return

func (*MockProxy_DropIndex_Call) Run

func (*MockProxy_DropIndex_Call) RunAndReturn

type MockProxy_DropPartition_Call

type MockProxy_DropPartition_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropPartition_Call) Return

func (*MockProxy_DropPartition_Call) Run

func (*MockProxy_DropPartition_Call) RunAndReturn

type MockProxy_DropPrivilegeGroup_Call

type MockProxy_DropPrivilegeGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropPrivilegeGroup_Call) Return

func (*MockProxy_DropPrivilegeGroup_Call) Run

type MockProxy_DropResourceGroup_Call

type MockProxy_DropResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropResourceGroup_Call) Return

func (*MockProxy_DropResourceGroup_Call) Run

type MockProxy_DropRole_Call

type MockProxy_DropRole_Call struct {
	*mock.Call
}

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

func (*MockProxy_DropRole_Call) Return

func (*MockProxy_DropRole_Call) Run

func (*MockProxy_DropRole_Call) RunAndReturn

type MockProxy_Dummy_Call

type MockProxy_Dummy_Call struct {
	*mock.Call
}

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

func (*MockProxy_Dummy_Call) Return

func (*MockProxy_Dummy_Call) Run

func (*MockProxy_Dummy_Call) RunAndReturn

type MockProxy_Expecter

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

func (*MockProxy_Expecter) AllocTimestamp

func (_e *MockProxy_Expecter) AllocTimestamp(_a0 interface{}, _a1 interface{}) *MockProxy_AllocTimestamp_Call

AllocTimestamp is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AllocTimestampRequest

func (*MockProxy_Expecter) AlterAlias

func (_e *MockProxy_Expecter) AlterAlias(_a0 interface{}, _a1 interface{}) *MockProxy_AlterAlias_Call

AlterAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterAliasRequest

func (*MockProxy_Expecter) AlterCollection

func (_e *MockProxy_Expecter) AlterCollection(_a0 interface{}, _a1 interface{}) *MockProxy_AlterCollection_Call

AlterCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterCollectionRequest

func (*MockProxy_Expecter) AlterCollectionField

func (_e *MockProxy_Expecter) AlterCollectionField(_a0 interface{}, _a1 interface{}) *MockProxy_AlterCollectionField_Call

AlterCollectionField is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterCollectionFieldRequest

func (*MockProxy_Expecter) AlterDatabase

func (_e *MockProxy_Expecter) AlterDatabase(_a0 interface{}, _a1 interface{}) *MockProxy_AlterDatabase_Call

AlterDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterDatabaseRequest

func (*MockProxy_Expecter) AlterIndex

func (_e *MockProxy_Expecter) AlterIndex(_a0 interface{}, _a1 interface{}) *MockProxy_AlterIndex_Call

AlterIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterIndexRequest

func (*MockProxy_Expecter) BackupRBAC

func (_e *MockProxy_Expecter) BackupRBAC(_a0 interface{}, _a1 interface{}) *MockProxy_BackupRBAC_Call

BackupRBAC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.BackupRBACMetaRequest

func (*MockProxy_Expecter) CalcDistance

func (_e *MockProxy_Expecter) CalcDistance(_a0 interface{}, _a1 interface{}) *MockProxy_CalcDistance_Call

CalcDistance is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CalcDistanceRequest

func (*MockProxy_Expecter) CheckHealth

func (_e *MockProxy_Expecter) CheckHealth(_a0 interface{}, _a1 interface{}) *MockProxy_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CheckHealthRequest

func (*MockProxy_Expecter) Connect

func (_e *MockProxy_Expecter) Connect(_a0 interface{}, _a1 interface{}) *MockProxy_Connect_Call

Connect is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ConnectRequest

func (*MockProxy_Expecter) CreateAlias

func (_e *MockProxy_Expecter) CreateAlias(_a0 interface{}, _a1 interface{}) *MockProxy_CreateAlias_Call

CreateAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateAliasRequest

func (*MockProxy_Expecter) CreateCollection

func (_e *MockProxy_Expecter) CreateCollection(_a0 interface{}, _a1 interface{}) *MockProxy_CreateCollection_Call

CreateCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateCollectionRequest

func (*MockProxy_Expecter) CreateCredential

func (_e *MockProxy_Expecter) CreateCredential(_a0 interface{}, _a1 interface{}) *MockProxy_CreateCredential_Call

CreateCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateCredentialRequest

func (*MockProxy_Expecter) CreateDatabase

func (_e *MockProxy_Expecter) CreateDatabase(_a0 interface{}, _a1 interface{}) *MockProxy_CreateDatabase_Call

CreateDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateDatabaseRequest

func (*MockProxy_Expecter) CreateIndex

func (_e *MockProxy_Expecter) CreateIndex(_a0 interface{}, _a1 interface{}) *MockProxy_CreateIndex_Call

CreateIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateIndexRequest

func (*MockProxy_Expecter) CreatePartition

func (_e *MockProxy_Expecter) CreatePartition(_a0 interface{}, _a1 interface{}) *MockProxy_CreatePartition_Call

CreatePartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreatePartitionRequest

func (*MockProxy_Expecter) CreatePrivilegeGroup

func (_e *MockProxy_Expecter) CreatePrivilegeGroup(_a0 interface{}, _a1 interface{}) *MockProxy_CreatePrivilegeGroup_Call

CreatePrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreatePrivilegeGroupRequest

func (*MockProxy_Expecter) CreateResourceGroup

func (_e *MockProxy_Expecter) CreateResourceGroup(_a0 interface{}, _a1 interface{}) *MockProxy_CreateResourceGroup_Call

CreateResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateResourceGroupRequest

func (*MockProxy_Expecter) CreateRole

func (_e *MockProxy_Expecter) CreateRole(_a0 interface{}, _a1 interface{}) *MockProxy_CreateRole_Call

CreateRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateRoleRequest

func (*MockProxy_Expecter) Delete

func (_e *MockProxy_Expecter) Delete(_a0 interface{}, _a1 interface{}) *MockProxy_Delete_Call

Delete is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DeleteRequest

func (*MockProxy_Expecter) DeleteCredential

func (_e *MockProxy_Expecter) DeleteCredential(_a0 interface{}, _a1 interface{}) *MockProxy_DeleteCredential_Call

DeleteCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DeleteCredentialRequest

func (*MockProxy_Expecter) DescribeAlias

func (_e *MockProxy_Expecter) DescribeAlias(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeAlias_Call

DescribeAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeAliasRequest

func (*MockProxy_Expecter) DescribeCollection

func (_e *MockProxy_Expecter) DescribeCollection(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeCollection_Call

DescribeCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeCollectionRequest

func (*MockProxy_Expecter) DescribeDatabase

func (_e *MockProxy_Expecter) DescribeDatabase(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeDatabase_Call

DescribeDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeDatabaseRequest

func (*MockProxy_Expecter) DescribeIndex

func (_e *MockProxy_Expecter) DescribeIndex(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeIndex_Call

DescribeIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeIndexRequest

func (*MockProxy_Expecter) DescribeResourceGroup

func (_e *MockProxy_Expecter) DescribeResourceGroup(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeResourceGroup_Call

DescribeResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeResourceGroupRequest

func (*MockProxy_Expecter) DescribeSegmentIndexData

func (_e *MockProxy_Expecter) DescribeSegmentIndexData(_a0 interface{}, _a1 interface{}) *MockProxy_DescribeSegmentIndexData_Call

DescribeSegmentIndexData is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *federpb.DescribeSegmentIndexDataRequest

func (*MockProxy_Expecter) DropAlias

func (_e *MockProxy_Expecter) DropAlias(_a0 interface{}, _a1 interface{}) *MockProxy_DropAlias_Call

DropAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropAliasRequest

func (*MockProxy_Expecter) DropCollection

func (_e *MockProxy_Expecter) DropCollection(_a0 interface{}, _a1 interface{}) *MockProxy_DropCollection_Call

DropCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropCollectionRequest

func (*MockProxy_Expecter) DropDatabase

func (_e *MockProxy_Expecter) DropDatabase(_a0 interface{}, _a1 interface{}) *MockProxy_DropDatabase_Call

DropDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropDatabaseRequest

func (*MockProxy_Expecter) DropIndex

func (_e *MockProxy_Expecter) DropIndex(_a0 interface{}, _a1 interface{}) *MockProxy_DropIndex_Call

DropIndex is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropIndexRequest

func (*MockProxy_Expecter) DropPartition

func (_e *MockProxy_Expecter) DropPartition(_a0 interface{}, _a1 interface{}) *MockProxy_DropPartition_Call

DropPartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropPartitionRequest

func (*MockProxy_Expecter) DropPrivilegeGroup

func (_e *MockProxy_Expecter) DropPrivilegeGroup(_a0 interface{}, _a1 interface{}) *MockProxy_DropPrivilegeGroup_Call

DropPrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropPrivilegeGroupRequest

func (*MockProxy_Expecter) DropResourceGroup

func (_e *MockProxy_Expecter) DropResourceGroup(_a0 interface{}, _a1 interface{}) *MockProxy_DropResourceGroup_Call

DropResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropResourceGroupRequest

func (*MockProxy_Expecter) DropRole

func (_e *MockProxy_Expecter) DropRole(_a0 interface{}, _a1 interface{}) *MockProxy_DropRole_Call

DropRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropRoleRequest

func (*MockProxy_Expecter) Dummy

func (_e *MockProxy_Expecter) Dummy(_a0 interface{}, _a1 interface{}) *MockProxy_Dummy_Call

Dummy is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DummyRequest

func (*MockProxy_Expecter) Flush

func (_e *MockProxy_Expecter) Flush(_a0 interface{}, _a1 interface{}) *MockProxy_Flush_Call

Flush is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.FlushRequest

func (*MockProxy_Expecter) FlushAll

func (_e *MockProxy_Expecter) FlushAll(_a0 interface{}, _a1 interface{}) *MockProxy_FlushAll_Call

FlushAll is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.FlushAllRequest

func (*MockProxy_Expecter) GetAddress

GetAddress is a helper method to define mock.On call

func (*MockProxy_Expecter) GetCollectionStatistics

func (_e *MockProxy_Expecter) GetCollectionStatistics(_a0 interface{}, _a1 interface{}) *MockProxy_GetCollectionStatistics_Call

GetCollectionStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetCollectionStatisticsRequest

func (*MockProxy_Expecter) GetCompactionState

func (_e *MockProxy_Expecter) GetCompactionState(_a0 interface{}, _a1 interface{}) *MockProxy_GetCompactionState_Call

GetCompactionState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetCompactionStateRequest

func (*MockProxy_Expecter) GetCompactionStateWithPlans

func (_e *MockProxy_Expecter) GetCompactionStateWithPlans(_a0 interface{}, _a1 interface{}) *MockProxy_GetCompactionStateWithPlans_Call

GetCompactionStateWithPlans is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetCompactionPlansRequest

func (*MockProxy_Expecter) GetComponentStates

func (_e *MockProxy_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockProxy_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockProxy_Expecter) GetDdChannel

func (_e *MockProxy_Expecter) GetDdChannel(_a0 interface{}, _a1 interface{}) *MockProxy_GetDdChannel_Call

GetDdChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetDdChannelRequest

func (*MockProxy_Expecter) GetFlushAllState

func (_e *MockProxy_Expecter) GetFlushAllState(_a0 interface{}, _a1 interface{}) *MockProxy_GetFlushAllState_Call

GetFlushAllState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetFlushAllStateRequest

func (*MockProxy_Expecter) GetFlushState

func (_e *MockProxy_Expecter) GetFlushState(_a0 interface{}, _a1 interface{}) *MockProxy_GetFlushState_Call

GetFlushState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetFlushStateRequest

func (*MockProxy_Expecter) GetImportProgress

func (_e *MockProxy_Expecter) GetImportProgress(_a0 interface{}, _a1 interface{}) *MockProxy_GetImportProgress_Call

GetImportProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetImportProgressRequest

func (*MockProxy_Expecter) GetImportState

func (_e *MockProxy_Expecter) GetImportState(_a0 interface{}, _a1 interface{}) *MockProxy_GetImportState_Call

GetImportState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetImportStateRequest

func (*MockProxy_Expecter) GetIndexBuildProgress

func (_e *MockProxy_Expecter) GetIndexBuildProgress(_a0 interface{}, _a1 interface{}) *MockProxy_GetIndexBuildProgress_Call

GetIndexBuildProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetIndexBuildProgressRequest

func (*MockProxy_Expecter) GetIndexState

func (_e *MockProxy_Expecter) GetIndexState(_a0 interface{}, _a1 interface{}) *MockProxy_GetIndexState_Call

GetIndexState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetIndexStateRequest

func (*MockProxy_Expecter) GetIndexStatistics

func (_e *MockProxy_Expecter) GetIndexStatistics(_a0 interface{}, _a1 interface{}) *MockProxy_GetIndexStatistics_Call

GetIndexStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetIndexStatisticsRequest

func (*MockProxy_Expecter) GetLoadState

func (_e *MockProxy_Expecter) GetLoadState(_a0 interface{}, _a1 interface{}) *MockProxy_GetLoadState_Call

GetLoadState is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetLoadStateRequest

func (*MockProxy_Expecter) GetLoadingProgress

func (_e *MockProxy_Expecter) GetLoadingProgress(_a0 interface{}, _a1 interface{}) *MockProxy_GetLoadingProgress_Call

GetLoadingProgress is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetLoadingProgressRequest

func (*MockProxy_Expecter) GetMetrics

func (_e *MockProxy_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockProxy_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockProxy_Expecter) GetPartitionStatistics

func (_e *MockProxy_Expecter) GetPartitionStatistics(_a0 interface{}, _a1 interface{}) *MockProxy_GetPartitionStatistics_Call

GetPartitionStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetPartitionStatisticsRequest

func (*MockProxy_Expecter) GetPersistentSegmentInfo

func (_e *MockProxy_Expecter) GetPersistentSegmentInfo(_a0 interface{}, _a1 interface{}) *MockProxy_GetPersistentSegmentInfo_Call

GetPersistentSegmentInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetPersistentSegmentInfoRequest

func (*MockProxy_Expecter) GetProxyMetrics

func (_e *MockProxy_Expecter) GetProxyMetrics(_a0 interface{}, _a1 interface{}) *MockProxy_GetProxyMetrics_Call

GetProxyMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockProxy_Expecter) GetQuerySegmentInfo

func (_e *MockProxy_Expecter) GetQuerySegmentInfo(_a0 interface{}, _a1 interface{}) *MockProxy_GetQuerySegmentInfo_Call

GetQuerySegmentInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetQuerySegmentInfoRequest

func (*MockProxy_Expecter) GetRateLimiter

func (_e *MockProxy_Expecter) GetRateLimiter() *MockProxy_GetRateLimiter_Call

GetRateLimiter is a helper method to define mock.On call

func (*MockProxy_Expecter) GetReplicas

func (_e *MockProxy_Expecter) GetReplicas(_a0 interface{}, _a1 interface{}) *MockProxy_GetReplicas_Call

GetReplicas is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetReplicasRequest

func (*MockProxy_Expecter) GetStatisticsChannel

func (_e *MockProxy_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockProxy_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockProxy_Expecter) GetVersion

func (_e *MockProxy_Expecter) GetVersion(_a0 interface{}, _a1 interface{}) *MockProxy_GetVersion_Call

GetVersion is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetVersionRequest

func (*MockProxy_Expecter) HasCollection

func (_e *MockProxy_Expecter) HasCollection(_a0 interface{}, _a1 interface{}) *MockProxy_HasCollection_Call

HasCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.HasCollectionRequest

func (*MockProxy_Expecter) HasPartition

func (_e *MockProxy_Expecter) HasPartition(_a0 interface{}, _a1 interface{}) *MockProxy_HasPartition_Call

HasPartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.HasPartitionRequest

func (*MockProxy_Expecter) HybridSearch

func (_e *MockProxy_Expecter) HybridSearch(_a0 interface{}, _a1 interface{}) *MockProxy_HybridSearch_Call

HybridSearch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.HybridSearchRequest

func (*MockProxy_Expecter) Import

func (_e *MockProxy_Expecter) Import(_a0 interface{}, _a1 interface{}) *MockProxy_Import_Call

Import is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ImportRequest

func (*MockProxy_Expecter) ImportV2

func (_e *MockProxy_Expecter) ImportV2(_a0 interface{}, _a1 interface{}) *MockProxy_ImportV2_Call

ImportV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ImportRequest

func (*MockProxy_Expecter) Init

Init is a helper method to define mock.On call

func (*MockProxy_Expecter) Insert

func (_e *MockProxy_Expecter) Insert(_a0 interface{}, _a1 interface{}) *MockProxy_Insert_Call

Insert is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.InsertRequest

func (*MockProxy_Expecter) InvalidateCollectionMetaCache

func (_e *MockProxy_Expecter) InvalidateCollectionMetaCache(_a0 interface{}, _a1 interface{}) *MockProxy_InvalidateCollectionMetaCache_Call

InvalidateCollectionMetaCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.InvalidateCollMetaCacheRequest

func (*MockProxy_Expecter) InvalidateCredentialCache

func (_e *MockProxy_Expecter) InvalidateCredentialCache(_a0 interface{}, _a1 interface{}) *MockProxy_InvalidateCredentialCache_Call

InvalidateCredentialCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.InvalidateCredCacheRequest

func (*MockProxy_Expecter) InvalidateShardLeaderCache

func (_e *MockProxy_Expecter) InvalidateShardLeaderCache(_a0 interface{}, _a1 interface{}) *MockProxy_InvalidateShardLeaderCache_Call

InvalidateShardLeaderCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.InvalidateShardLeaderCacheRequest

func (*MockProxy_Expecter) ListAliases

func (_e *MockProxy_Expecter) ListAliases(_a0 interface{}, _a1 interface{}) *MockProxy_ListAliases_Call

ListAliases is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListAliasesRequest

func (*MockProxy_Expecter) ListClientInfos

func (_e *MockProxy_Expecter) ListClientInfos(_a0 interface{}, _a1 interface{}) *MockProxy_ListClientInfos_Call

ListClientInfos is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.ListClientInfosRequest

func (*MockProxy_Expecter) ListCredUsers

func (_e *MockProxy_Expecter) ListCredUsers(_a0 interface{}, _a1 interface{}) *MockProxy_ListCredUsers_Call

ListCredUsers is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListCredUsersRequest

func (*MockProxy_Expecter) ListDatabases

func (_e *MockProxy_Expecter) ListDatabases(_a0 interface{}, _a1 interface{}) *MockProxy_ListDatabases_Call

ListDatabases is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListDatabasesRequest

func (*MockProxy_Expecter) ListImportTasks

func (_e *MockProxy_Expecter) ListImportTasks(_a0 interface{}, _a1 interface{}) *MockProxy_ListImportTasks_Call

ListImportTasks is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListImportTasksRequest

func (*MockProxy_Expecter) ListImports

func (_e *MockProxy_Expecter) ListImports(_a0 interface{}, _a1 interface{}) *MockProxy_ListImports_Call

ListImports is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ListImportsRequest

func (*MockProxy_Expecter) ListIndexedSegment

func (_e *MockProxy_Expecter) ListIndexedSegment(_a0 interface{}, _a1 interface{}) *MockProxy_ListIndexedSegment_Call

ListIndexedSegment is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *federpb.ListIndexedSegmentRequest

func (*MockProxy_Expecter) ListPrivilegeGroups

func (_e *MockProxy_Expecter) ListPrivilegeGroups(_a0 interface{}, _a1 interface{}) *MockProxy_ListPrivilegeGroups_Call

ListPrivilegeGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListPrivilegeGroupsRequest

func (*MockProxy_Expecter) ListResourceGroups

func (_e *MockProxy_Expecter) ListResourceGroups(_a0 interface{}, _a1 interface{}) *MockProxy_ListResourceGroups_Call

ListResourceGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListResourceGroupsRequest

func (*MockProxy_Expecter) LoadBalance

func (_e *MockProxy_Expecter) LoadBalance(_a0 interface{}, _a1 interface{}) *MockProxy_LoadBalance_Call

LoadBalance is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.LoadBalanceRequest

func (*MockProxy_Expecter) LoadCollection

func (_e *MockProxy_Expecter) LoadCollection(_a0 interface{}, _a1 interface{}) *MockProxy_LoadCollection_Call

LoadCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.LoadCollectionRequest

func (*MockProxy_Expecter) LoadPartitions

func (_e *MockProxy_Expecter) LoadPartitions(_a0 interface{}, _a1 interface{}) *MockProxy_LoadPartitions_Call

LoadPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.LoadPartitionsRequest

func (*MockProxy_Expecter) ManualCompaction

func (_e *MockProxy_Expecter) ManualCompaction(_a0 interface{}, _a1 interface{}) *MockProxy_ManualCompaction_Call

ManualCompaction is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ManualCompactionRequest

func (*MockProxy_Expecter) OperatePrivilege

func (_e *MockProxy_Expecter) OperatePrivilege(_a0 interface{}, _a1 interface{}) *MockProxy_OperatePrivilege_Call

OperatePrivilege is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperatePrivilegeRequest

func (*MockProxy_Expecter) OperatePrivilegeGroup

func (_e *MockProxy_Expecter) OperatePrivilegeGroup(_a0 interface{}, _a1 interface{}) *MockProxy_OperatePrivilegeGroup_Call

OperatePrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperatePrivilegeGroupRequest

func (*MockProxy_Expecter) OperatePrivilegeV2

func (_e *MockProxy_Expecter) OperatePrivilegeV2(_a0 interface{}, _a1 interface{}) *MockProxy_OperatePrivilegeV2_Call

OperatePrivilegeV2 is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperatePrivilegeV2Request

func (*MockProxy_Expecter) OperateUserRole

func (_e *MockProxy_Expecter) OperateUserRole(_a0 interface{}, _a1 interface{}) *MockProxy_OperateUserRole_Call

OperateUserRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperateUserRoleRequest

func (*MockProxy_Expecter) Query

func (_e *MockProxy_Expecter) Query(_a0 interface{}, _a1 interface{}) *MockProxy_Query_Call

Query is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.QueryRequest

func (*MockProxy_Expecter) RefreshPolicyInfoCache

func (_e *MockProxy_Expecter) RefreshPolicyInfoCache(_a0 interface{}, _a1 interface{}) *MockProxy_RefreshPolicyInfoCache_Call

RefreshPolicyInfoCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.RefreshPolicyInfoCacheRequest

func (*MockProxy_Expecter) Register

Register is a helper method to define mock.On call

func (_e *MockProxy_Expecter) RegisterLink(_a0 interface{}, _a1 interface{}) *MockProxy_RegisterLink_Call

RegisterLink is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.RegisterLinkRequest

func (*MockProxy_Expecter) ReleaseCollection

func (_e *MockProxy_Expecter) ReleaseCollection(_a0 interface{}, _a1 interface{}) *MockProxy_ReleaseCollection_Call

ReleaseCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ReleaseCollectionRequest

func (*MockProxy_Expecter) ReleasePartitions

func (_e *MockProxy_Expecter) ReleasePartitions(_a0 interface{}, _a1 interface{}) *MockProxy_ReleasePartitions_Call

ReleasePartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ReleasePartitionsRequest

func (*MockProxy_Expecter) RenameCollection

func (_e *MockProxy_Expecter) RenameCollection(_a0 interface{}, _a1 interface{}) *MockProxy_RenameCollection_Call

RenameCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.RenameCollectionRequest

func (*MockProxy_Expecter) ReplicateMessage

func (_e *MockProxy_Expecter) ReplicateMessage(_a0 interface{}, _a1 interface{}) *MockProxy_ReplicateMessage_Call

ReplicateMessage is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ReplicateMessageRequest

func (*MockProxy_Expecter) RestoreRBAC

func (_e *MockProxy_Expecter) RestoreRBAC(_a0 interface{}, _a1 interface{}) *MockProxy_RestoreRBAC_Call

RestoreRBAC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.RestoreRBACMetaRequest

func (*MockProxy_Expecter) Search

func (_e *MockProxy_Expecter) Search(_a0 interface{}, _a1 interface{}) *MockProxy_Search_Call

Search is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SearchRequest

func (*MockProxy_Expecter) SelectGrant

func (_e *MockProxy_Expecter) SelectGrant(_a0 interface{}, _a1 interface{}) *MockProxy_SelectGrant_Call

SelectGrant is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectGrantRequest

func (*MockProxy_Expecter) SelectRole

func (_e *MockProxy_Expecter) SelectRole(_a0 interface{}, _a1 interface{}) *MockProxy_SelectRole_Call

SelectRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectRoleRequest

func (*MockProxy_Expecter) SelectUser

func (_e *MockProxy_Expecter) SelectUser(_a0 interface{}, _a1 interface{}) *MockProxy_SelectUser_Call

SelectUser is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectUserRequest

func (*MockProxy_Expecter) SetAddress

func (_e *MockProxy_Expecter) SetAddress(address interface{}) *MockProxy_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockProxy_Expecter) SetDataCoordClient

func (_e *MockProxy_Expecter) SetDataCoordClient(dataCoord interface{}) *MockProxy_SetDataCoordClient_Call

SetDataCoordClient is a helper method to define mock.On call

  • dataCoord types.DataCoordClient

func (*MockProxy_Expecter) SetEtcdClient

func (_e *MockProxy_Expecter) SetEtcdClient(etcdClient interface{}) *MockProxy_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockProxy_Expecter) SetQueryCoordClient

func (_e *MockProxy_Expecter) SetQueryCoordClient(queryCoord interface{}) *MockProxy_SetQueryCoordClient_Call

SetQueryCoordClient is a helper method to define mock.On call

  • queryCoord types.QueryCoordClient

func (*MockProxy_Expecter) SetQueryNodeCreator

func (_e *MockProxy_Expecter) SetQueryNodeCreator(_a0 interface{}) *MockProxy_SetQueryNodeCreator_Call

SetQueryNodeCreator is a helper method to define mock.On call

  • _a0 func(context.Context , string , int64)(types.QueryNodeClient , error)

func (*MockProxy_Expecter) SetRates

func (_e *MockProxy_Expecter) SetRates(_a0 interface{}, _a1 interface{}) *MockProxy_SetRates_Call

SetRates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.SetRatesRequest

func (*MockProxy_Expecter) SetRootCoordClient

func (_e *MockProxy_Expecter) SetRootCoordClient(rootCoord interface{}) *MockProxy_SetRootCoordClient_Call

SetRootCoordClient is a helper method to define mock.On call

  • rootCoord types.RootCoordClient

func (*MockProxy_Expecter) ShowCollections

func (_e *MockProxy_Expecter) ShowCollections(_a0 interface{}, _a1 interface{}) *MockProxy_ShowCollections_Call

ShowCollections is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowCollectionsRequest

func (*MockProxy_Expecter) ShowPartitions

func (_e *MockProxy_Expecter) ShowPartitions(_a0 interface{}, _a1 interface{}) *MockProxy_ShowPartitions_Call

ShowPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowPartitionsRequest

func (*MockProxy_Expecter) Start

Start is a helper method to define mock.On call

func (*MockProxy_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockProxy_Expecter) TransferNode

func (_e *MockProxy_Expecter) TransferNode(_a0 interface{}, _a1 interface{}) *MockProxy_TransferNode_Call

TransferNode is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.TransferNodeRequest

func (*MockProxy_Expecter) TransferReplica

func (_e *MockProxy_Expecter) TransferReplica(_a0 interface{}, _a1 interface{}) *MockProxy_TransferReplica_Call

TransferReplica is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.TransferReplicaRequest

func (*MockProxy_Expecter) UpdateCredential

func (_e *MockProxy_Expecter) UpdateCredential(_a0 interface{}, _a1 interface{}) *MockProxy_UpdateCredential_Call

UpdateCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.UpdateCredentialRequest

func (*MockProxy_Expecter) UpdateCredentialCache

func (_e *MockProxy_Expecter) UpdateCredentialCache(_a0 interface{}, _a1 interface{}) *MockProxy_UpdateCredentialCache_Call

UpdateCredentialCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.UpdateCredCacheRequest

func (*MockProxy_Expecter) UpdateResourceGroups

func (_e *MockProxy_Expecter) UpdateResourceGroups(_a0 interface{}, _a1 interface{}) *MockProxy_UpdateResourceGroups_Call

UpdateResourceGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.UpdateResourceGroupsRequest

func (*MockProxy_Expecter) UpdateStateCode

func (_e *MockProxy_Expecter) UpdateStateCode(stateCode interface{}) *MockProxy_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • stateCode commonpb.StateCode

func (*MockProxy_Expecter) Upsert

func (_e *MockProxy_Expecter) Upsert(_a0 interface{}, _a1 interface{}) *MockProxy_Upsert_Call

Upsert is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.UpsertRequest

type MockProxy_FlushAll_Call

type MockProxy_FlushAll_Call struct {
	*mock.Call
}

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

func (*MockProxy_FlushAll_Call) Return

func (*MockProxy_FlushAll_Call) Run

func (*MockProxy_FlushAll_Call) RunAndReturn

type MockProxy_Flush_Call

type MockProxy_Flush_Call struct {
	*mock.Call
}

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

func (*MockProxy_Flush_Call) Return

func (*MockProxy_Flush_Call) Run

func (*MockProxy_Flush_Call) RunAndReturn

type MockProxy_GetAddress_Call

type MockProxy_GetAddress_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetAddress_Call) Return

func (*MockProxy_GetAddress_Call) Run

func (*MockProxy_GetAddress_Call) RunAndReturn

func (_c *MockProxy_GetAddress_Call) RunAndReturn(run func() string) *MockProxy_GetAddress_Call

type MockProxy_GetCollectionStatistics_Call

type MockProxy_GetCollectionStatistics_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetCollectionStatistics_Call) Run

type MockProxy_GetCompactionStateWithPlans_Call

type MockProxy_GetCompactionStateWithPlans_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetCompactionStateWithPlans_Call) Return

func (*MockProxy_GetCompactionStateWithPlans_Call) Run

type MockProxy_GetCompactionState_Call

type MockProxy_GetCompactionState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetCompactionState_Call) Return

func (*MockProxy_GetCompactionState_Call) Run

type MockProxy_GetComponentStates_Call

type MockProxy_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetComponentStates_Call) Return

func (*MockProxy_GetComponentStates_Call) Run

type MockProxy_GetDdChannel_Call

type MockProxy_GetDdChannel_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetDdChannel_Call) Return

func (*MockProxy_GetDdChannel_Call) Run

type MockProxy_GetFlushAllState_Call

type MockProxy_GetFlushAllState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetFlushAllState_Call) Return

func (*MockProxy_GetFlushAllState_Call) Run

type MockProxy_GetFlushState_Call

type MockProxy_GetFlushState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetFlushState_Call) Return

func (*MockProxy_GetFlushState_Call) Run

type MockProxy_GetImportProgress_Call

type MockProxy_GetImportProgress_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetImportProgress_Call) Return

func (*MockProxy_GetImportProgress_Call) Run

type MockProxy_GetImportState_Call

type MockProxy_GetImportState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetImportState_Call) Return

func (*MockProxy_GetImportState_Call) Run

type MockProxy_GetIndexBuildProgress_Call

type MockProxy_GetIndexBuildProgress_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetIndexBuildProgress_Call) Return

func (*MockProxy_GetIndexBuildProgress_Call) Run

type MockProxy_GetIndexState_Call

type MockProxy_GetIndexState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetIndexState_Call) Return

func (*MockProxy_GetIndexState_Call) Run

type MockProxy_GetIndexStatistics_Call

type MockProxy_GetIndexStatistics_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetIndexStatistics_Call) Return

func (*MockProxy_GetIndexStatistics_Call) Run

type MockProxy_GetLoadState_Call

type MockProxy_GetLoadState_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetLoadState_Call) Return

func (*MockProxy_GetLoadState_Call) Run

type MockProxy_GetLoadingProgress_Call

type MockProxy_GetLoadingProgress_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetLoadingProgress_Call) Return

func (*MockProxy_GetLoadingProgress_Call) Run

type MockProxy_GetMetrics_Call

type MockProxy_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetMetrics_Call) Return

func (*MockProxy_GetMetrics_Call) Run

type MockProxy_GetPartitionStatistics_Call

type MockProxy_GetPartitionStatistics_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetPartitionStatistics_Call) Return

func (*MockProxy_GetPartitionStatistics_Call) Run

type MockProxy_GetPersistentSegmentInfo_Call

type MockProxy_GetPersistentSegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetPersistentSegmentInfo_Call) Run

type MockProxy_GetProxyMetrics_Call

type MockProxy_GetProxyMetrics_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetProxyMetrics_Call) Return

func (*MockProxy_GetProxyMetrics_Call) Run

type MockProxy_GetQuerySegmentInfo_Call

type MockProxy_GetQuerySegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetQuerySegmentInfo_Call) Return

func (*MockProxy_GetQuerySegmentInfo_Call) Run

type MockProxy_GetRateLimiter_Call

type MockProxy_GetRateLimiter_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetRateLimiter_Call) Return

func (*MockProxy_GetRateLimiter_Call) Run

func (*MockProxy_GetRateLimiter_Call) RunAndReturn

type MockProxy_GetReplicas_Call

type MockProxy_GetReplicas_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetReplicas_Call) Return

func (*MockProxy_GetReplicas_Call) Run

type MockProxy_GetStatisticsChannel_Call

type MockProxy_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetStatisticsChannel_Call) Return

func (*MockProxy_GetStatisticsChannel_Call) Run

type MockProxy_GetVersion_Call

type MockProxy_GetVersion_Call struct {
	*mock.Call
}

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

func (*MockProxy_GetVersion_Call) Return

func (*MockProxy_GetVersion_Call) Run

type MockProxy_HasCollection_Call

type MockProxy_HasCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_HasCollection_Call) Return

func (*MockProxy_HasCollection_Call) Run

type MockProxy_HasPartition_Call

type MockProxy_HasPartition_Call struct {
	*mock.Call
}

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

func (*MockProxy_HasPartition_Call) Return

func (*MockProxy_HasPartition_Call) Run

func (*MockProxy_HasPartition_Call) RunAndReturn

type MockProxy_HybridSearch_Call

type MockProxy_HybridSearch_Call struct {
	*mock.Call
}

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

func (*MockProxy_HybridSearch_Call) Return

func (*MockProxy_HybridSearch_Call) Run

func (*MockProxy_HybridSearch_Call) RunAndReturn

type MockProxy_ImportV2_Call

type MockProxy_ImportV2_Call struct {
	*mock.Call
}

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

func (*MockProxy_ImportV2_Call) Return

func (*MockProxy_ImportV2_Call) Run

func (*MockProxy_ImportV2_Call) RunAndReturn

type MockProxy_Import_Call

type MockProxy_Import_Call struct {
	*mock.Call
}

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

func (*MockProxy_Import_Call) Return

func (*MockProxy_Import_Call) Run

func (*MockProxy_Import_Call) RunAndReturn

type MockProxy_Init_Call

type MockProxy_Init_Call struct {
	*mock.Call
}

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

func (*MockProxy_Init_Call) Return

func (*MockProxy_Init_Call) Run

func (_c *MockProxy_Init_Call) Run(run func()) *MockProxy_Init_Call

func (*MockProxy_Init_Call) RunAndReturn

func (_c *MockProxy_Init_Call) RunAndReturn(run func() error) *MockProxy_Init_Call

type MockProxy_Insert_Call

type MockProxy_Insert_Call struct {
	*mock.Call
}

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

func (*MockProxy_Insert_Call) Return

func (*MockProxy_Insert_Call) Run

func (*MockProxy_Insert_Call) RunAndReturn

type MockProxy_InvalidateCollectionMetaCache_Call

type MockProxy_InvalidateCollectionMetaCache_Call struct {
	*mock.Call
}

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

func (*MockProxy_InvalidateCollectionMetaCache_Call) Return

func (*MockProxy_InvalidateCollectionMetaCache_Call) Run

type MockProxy_InvalidateCredentialCache_Call

type MockProxy_InvalidateCredentialCache_Call struct {
	*mock.Call
}

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

func (*MockProxy_InvalidateCredentialCache_Call) Return

func (*MockProxy_InvalidateCredentialCache_Call) Run

type MockProxy_InvalidateShardLeaderCache_Call

type MockProxy_InvalidateShardLeaderCache_Call struct {
	*mock.Call
}

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

func (*MockProxy_InvalidateShardLeaderCache_Call) Return

func (*MockProxy_InvalidateShardLeaderCache_Call) Run

type MockProxy_ListAliases_Call

type MockProxy_ListAliases_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListAliases_Call) Return

func (*MockProxy_ListAliases_Call) Run

type MockProxy_ListClientInfos_Call

type MockProxy_ListClientInfos_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListClientInfos_Call) Return

func (*MockProxy_ListClientInfos_Call) Run

type MockProxy_ListCredUsers_Call

type MockProxy_ListCredUsers_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListCredUsers_Call) Return

func (*MockProxy_ListCredUsers_Call) Run

type MockProxy_ListDatabases_Call

type MockProxy_ListDatabases_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListDatabases_Call) Return

func (*MockProxy_ListDatabases_Call) Run

type MockProxy_ListImportTasks_Call

type MockProxy_ListImportTasks_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListImportTasks_Call) Return

func (*MockProxy_ListImportTasks_Call) Run

type MockProxy_ListImports_Call

type MockProxy_ListImports_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListImports_Call) Return

func (*MockProxy_ListImports_Call) Run

type MockProxy_ListIndexedSegment_Call

type MockProxy_ListIndexedSegment_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListIndexedSegment_Call) Return

func (*MockProxy_ListIndexedSegment_Call) Run

type MockProxy_ListPrivilegeGroups_Call

type MockProxy_ListPrivilegeGroups_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListPrivilegeGroups_Call) Return

func (*MockProxy_ListPrivilegeGroups_Call) Run

type MockProxy_ListResourceGroups_Call

type MockProxy_ListResourceGroups_Call struct {
	*mock.Call
}

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

func (*MockProxy_ListResourceGroups_Call) Return

func (*MockProxy_ListResourceGroups_Call) Run

type MockProxy_LoadBalance_Call

type MockProxy_LoadBalance_Call struct {
	*mock.Call
}

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

func (*MockProxy_LoadBalance_Call) Return

func (*MockProxy_LoadBalance_Call) Run

func (*MockProxy_LoadBalance_Call) RunAndReturn

type MockProxy_LoadCollection_Call

type MockProxy_LoadCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_LoadCollection_Call) Return

func (*MockProxy_LoadCollection_Call) Run

func (*MockProxy_LoadCollection_Call) RunAndReturn

type MockProxy_LoadPartitions_Call

type MockProxy_LoadPartitions_Call struct {
	*mock.Call
}

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

func (*MockProxy_LoadPartitions_Call) Return

func (*MockProxy_LoadPartitions_Call) Run

func (*MockProxy_LoadPartitions_Call) RunAndReturn

type MockProxy_ManualCompaction_Call

type MockProxy_ManualCompaction_Call struct {
	*mock.Call
}

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

func (*MockProxy_ManualCompaction_Call) Return

func (*MockProxy_ManualCompaction_Call) Run

type MockProxy_OperatePrivilegeGroup_Call

type MockProxy_OperatePrivilegeGroup_Call struct {
	*mock.Call
}

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

func (*MockProxy_OperatePrivilegeGroup_Call) Return

func (*MockProxy_OperatePrivilegeGroup_Call) Run

type MockProxy_OperatePrivilegeV2_Call

type MockProxy_OperatePrivilegeV2_Call struct {
	*mock.Call
}

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

func (*MockProxy_OperatePrivilegeV2_Call) Return

func (*MockProxy_OperatePrivilegeV2_Call) Run

type MockProxy_OperatePrivilege_Call

type MockProxy_OperatePrivilege_Call struct {
	*mock.Call
}

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

func (*MockProxy_OperatePrivilege_Call) Return

func (*MockProxy_OperatePrivilege_Call) Run

func (*MockProxy_OperatePrivilege_Call) RunAndReturn

type MockProxy_OperateUserRole_Call

type MockProxy_OperateUserRole_Call struct {
	*mock.Call
}

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

func (*MockProxy_OperateUserRole_Call) Return

func (*MockProxy_OperateUserRole_Call) Run

func (*MockProxy_OperateUserRole_Call) RunAndReturn

type MockProxy_Query_Call

type MockProxy_Query_Call struct {
	*mock.Call
}

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

func (*MockProxy_Query_Call) Return

func (*MockProxy_Query_Call) Run

func (*MockProxy_Query_Call) RunAndReturn

type MockProxy_RefreshPolicyInfoCache_Call

type MockProxy_RefreshPolicyInfoCache_Call struct {
	*mock.Call
}

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

func (*MockProxy_RefreshPolicyInfoCache_Call) Return

func (*MockProxy_RefreshPolicyInfoCache_Call) Run

type MockProxy_RegisterLink_Call struct {
	*mock.Call
}

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

type MockProxy_Register_Call

type MockProxy_Register_Call struct {
	*mock.Call
}

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

func (*MockProxy_Register_Call) Return

func (*MockProxy_Register_Call) Run

func (_c *MockProxy_Register_Call) Run(run func()) *MockProxy_Register_Call

func (*MockProxy_Register_Call) RunAndReturn

func (_c *MockProxy_Register_Call) RunAndReturn(run func() error) *MockProxy_Register_Call

type MockProxy_ReleaseCollection_Call

type MockProxy_ReleaseCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_ReleaseCollection_Call) Return

func (*MockProxy_ReleaseCollection_Call) Run

type MockProxy_ReleasePartitions_Call

type MockProxy_ReleasePartitions_Call struct {
	*mock.Call
}

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

func (*MockProxy_ReleasePartitions_Call) Return

func (*MockProxy_ReleasePartitions_Call) Run

type MockProxy_RenameCollection_Call

type MockProxy_RenameCollection_Call struct {
	*mock.Call
}

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

func (*MockProxy_RenameCollection_Call) Return

func (*MockProxy_RenameCollection_Call) Run

func (*MockProxy_RenameCollection_Call) RunAndReturn

type MockProxy_ReplicateMessage_Call

type MockProxy_ReplicateMessage_Call struct {
	*mock.Call
}

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

func (*MockProxy_ReplicateMessage_Call) Return

func (*MockProxy_ReplicateMessage_Call) Run

type MockProxy_RestoreRBAC_Call

type MockProxy_RestoreRBAC_Call struct {
	*mock.Call
}

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

func (*MockProxy_RestoreRBAC_Call) Return

func (*MockProxy_RestoreRBAC_Call) Run

func (*MockProxy_RestoreRBAC_Call) RunAndReturn

type MockProxy_Search_Call

type MockProxy_Search_Call struct {
	*mock.Call
}

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

func (*MockProxy_Search_Call) Return

func (*MockProxy_Search_Call) Run

func (*MockProxy_Search_Call) RunAndReturn

type MockProxy_SelectGrant_Call

type MockProxy_SelectGrant_Call struct {
	*mock.Call
}

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

func (*MockProxy_SelectGrant_Call) Return

func (*MockProxy_SelectGrant_Call) Run

type MockProxy_SelectRole_Call

type MockProxy_SelectRole_Call struct {
	*mock.Call
}

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

func (*MockProxy_SelectRole_Call) Return

func (*MockProxy_SelectRole_Call) Run

type MockProxy_SelectUser_Call

type MockProxy_SelectUser_Call struct {
	*mock.Call
}

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

func (*MockProxy_SelectUser_Call) Return

func (*MockProxy_SelectUser_Call) Run

type MockProxy_SetAddress_Call

type MockProxy_SetAddress_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetAddress_Call) Return

func (*MockProxy_SetAddress_Call) Run

func (_c *MockProxy_SetAddress_Call) Run(run func(address string)) *MockProxy_SetAddress_Call

func (*MockProxy_SetAddress_Call) RunAndReturn

func (_c *MockProxy_SetAddress_Call) RunAndReturn(run func(string)) *MockProxy_SetAddress_Call

type MockProxy_SetDataCoordClient_Call

type MockProxy_SetDataCoordClient_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetDataCoordClient_Call) Return

func (*MockProxy_SetDataCoordClient_Call) Run

func (*MockProxy_SetDataCoordClient_Call) RunAndReturn

type MockProxy_SetEtcdClient_Call

type MockProxy_SetEtcdClient_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetEtcdClient_Call) Return

func (*MockProxy_SetEtcdClient_Call) Run

func (*MockProxy_SetEtcdClient_Call) RunAndReturn

type MockProxy_SetQueryCoordClient_Call

type MockProxy_SetQueryCoordClient_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetQueryCoordClient_Call) Return

func (*MockProxy_SetQueryCoordClient_Call) Run

func (*MockProxy_SetQueryCoordClient_Call) RunAndReturn

type MockProxy_SetQueryNodeCreator_Call

type MockProxy_SetQueryNodeCreator_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetQueryNodeCreator_Call) Return

func (*MockProxy_SetQueryNodeCreator_Call) Run

func (*MockProxy_SetQueryNodeCreator_Call) RunAndReturn

type MockProxy_SetRates_Call

type MockProxy_SetRates_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetRates_Call) Return

func (*MockProxy_SetRates_Call) Run

func (*MockProxy_SetRates_Call) RunAndReturn

type MockProxy_SetRootCoordClient_Call

type MockProxy_SetRootCoordClient_Call struct {
	*mock.Call
}

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

func (*MockProxy_SetRootCoordClient_Call) Return

func (*MockProxy_SetRootCoordClient_Call) Run

func (*MockProxy_SetRootCoordClient_Call) RunAndReturn

type MockProxy_ShowCollections_Call

type MockProxy_ShowCollections_Call struct {
	*mock.Call
}

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

func (*MockProxy_ShowCollections_Call) Return

func (*MockProxy_ShowCollections_Call) Run

type MockProxy_ShowPartitions_Call

type MockProxy_ShowPartitions_Call struct {
	*mock.Call
}

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

func (*MockProxy_ShowPartitions_Call) Return

func (*MockProxy_ShowPartitions_Call) Run

type MockProxy_Start_Call

type MockProxy_Start_Call struct {
	*mock.Call
}

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

func (*MockProxy_Start_Call) Return

func (*MockProxy_Start_Call) Run

func (_c *MockProxy_Start_Call) Run(run func()) *MockProxy_Start_Call

func (*MockProxy_Start_Call) RunAndReturn

func (_c *MockProxy_Start_Call) RunAndReturn(run func() error) *MockProxy_Start_Call

type MockProxy_Stop_Call

type MockProxy_Stop_Call struct {
	*mock.Call
}

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

func (*MockProxy_Stop_Call) Return

func (*MockProxy_Stop_Call) Run

func (_c *MockProxy_Stop_Call) Run(run func()) *MockProxy_Stop_Call

func (*MockProxy_Stop_Call) RunAndReturn

func (_c *MockProxy_Stop_Call) RunAndReturn(run func() error) *MockProxy_Stop_Call

type MockProxy_TransferNode_Call

type MockProxy_TransferNode_Call struct {
	*mock.Call
}

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

func (*MockProxy_TransferNode_Call) Return

func (*MockProxy_TransferNode_Call) Run

func (*MockProxy_TransferNode_Call) RunAndReturn

type MockProxy_TransferReplica_Call

type MockProxy_TransferReplica_Call struct {
	*mock.Call
}

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

func (*MockProxy_TransferReplica_Call) Return

func (*MockProxy_TransferReplica_Call) Run

func (*MockProxy_TransferReplica_Call) RunAndReturn

type MockProxy_UpdateCredentialCache_Call

type MockProxy_UpdateCredentialCache_Call struct {
	*mock.Call
}

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

func (*MockProxy_UpdateCredentialCache_Call) Return

func (*MockProxy_UpdateCredentialCache_Call) Run

func (*MockProxy_UpdateCredentialCache_Call) RunAndReturn

type MockProxy_UpdateCredential_Call

type MockProxy_UpdateCredential_Call struct {
	*mock.Call
}

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

func (*MockProxy_UpdateCredential_Call) Return

func (*MockProxy_UpdateCredential_Call) Run

func (*MockProxy_UpdateCredential_Call) RunAndReturn

type MockProxy_UpdateResourceGroups_Call

type MockProxy_UpdateResourceGroups_Call struct {
	*mock.Call
}

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

func (*MockProxy_UpdateResourceGroups_Call) Return

func (*MockProxy_UpdateResourceGroups_Call) Run

type MockProxy_UpdateStateCode_Call

type MockProxy_UpdateStateCode_Call struct {
	*mock.Call
}

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

func (*MockProxy_UpdateStateCode_Call) Return

func (*MockProxy_UpdateStateCode_Call) Run

func (*MockProxy_UpdateStateCode_Call) RunAndReturn

type MockProxy_Upsert_Call

type MockProxy_Upsert_Call struct {
	*mock.Call
}

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

func (*MockProxy_Upsert_Call) Return

func (*MockProxy_Upsert_Call) Run

func (*MockProxy_Upsert_Call) RunAndReturn

type MockQueryCoord

type MockQueryCoord struct {
	mock.Mock
}

MockQueryCoord is an autogenerated mock type for the QueryCoordComponent type

func NewMockQueryCoord

func NewMockQueryCoord(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryCoord

NewMockQueryCoord creates a new instance of MockQueryCoord. 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 (*MockQueryCoord) ActivateChecker

func (_m *MockQueryCoord) ActivateChecker(_a0 context.Context, _a1 *querypb.ActivateCheckerRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) CheckHealth

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

func (*MockQueryCoord) CheckQueryNodeDistribution

func (_m *MockQueryCoord) CheckQueryNodeDistribution(_a0 context.Context, _a1 *querypb.CheckQueryNodeDistributionRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) CreateResourceGroup

func (_m *MockQueryCoord) CreateResourceGroup(_a0 context.Context, _a1 *milvuspb.CreateResourceGroupRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) DeactivateChecker

func (_m *MockQueryCoord) DeactivateChecker(_a0 context.Context, _a1 *querypb.DeactivateCheckerRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) DescribeResourceGroup

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

func (*MockQueryCoord) DropResourceGroup

func (_m *MockQueryCoord) DropResourceGroup(_a0 context.Context, _a1 *milvuspb.DropResourceGroupRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) EXPECT

func (*MockQueryCoord) GetComponentStates

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

func (*MockQueryCoord) GetMetrics

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

func (*MockQueryCoord) GetPartitionStates

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

func (*MockQueryCoord) GetQueryNodeDistribution

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

func (*MockQueryCoord) GetReplicas

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

func (*MockQueryCoord) GetSegmentInfo

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

func (*MockQueryCoord) GetShardLeaders

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

func (*MockQueryCoord) GetStatisticsChannel

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

func (*MockQueryCoord) GetTimeTickChannel

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

func (*MockQueryCoord) Init

func (_m *MockQueryCoord) Init() error

Init provides a mock function with given fields:

func (*MockQueryCoord) ListCheckers

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

func (*MockQueryCoord) ListQueryNode

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

func (*MockQueryCoord) ListResourceGroups

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

func (*MockQueryCoord) LoadBalance

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

func (*MockQueryCoord) LoadCollection

func (_m *MockQueryCoord) LoadCollection(_a0 context.Context, _a1 *querypb.LoadCollectionRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) LoadPartitions

func (_m *MockQueryCoord) LoadPartitions(_a0 context.Context, _a1 *querypb.LoadPartitionsRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) Register

func (_m *MockQueryCoord) Register() error

Register provides a mock function with given fields:

func (*MockQueryCoord) ReleaseCollection

func (_m *MockQueryCoord) ReleaseCollection(_a0 context.Context, _a1 *querypb.ReleaseCollectionRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) ReleasePartitions

func (_m *MockQueryCoord) ReleasePartitions(_a0 context.Context, _a1 *querypb.ReleasePartitionsRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) ResumeBalance

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

func (*MockQueryCoord) ResumeNode

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

func (*MockQueryCoord) SetAddress

func (_m *MockQueryCoord) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockQueryCoord) SetDataCoordClient

func (_m *MockQueryCoord) SetDataCoordClient(dataCoord types.DataCoordClient) error

SetDataCoordClient provides a mock function with given fields: dataCoord

func (*MockQueryCoord) SetEtcdClient

func (_m *MockQueryCoord) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockQueryCoord) SetQueryNodeCreator

func (_m *MockQueryCoord) SetQueryNodeCreator(_a0 func(context.Context, string, int64) (types.QueryNodeClient, error))

SetQueryNodeCreator provides a mock function with given fields: _a0

func (*MockQueryCoord) SetRootCoordClient

func (_m *MockQueryCoord) SetRootCoordClient(rootCoord types.RootCoordClient) error

SetRootCoordClient provides a mock function with given fields: rootCoord

func (*MockQueryCoord) SetTiKVClient

func (_m *MockQueryCoord) SetTiKVClient(client *txnkv.Client)

SetTiKVClient provides a mock function with given fields: client

func (*MockQueryCoord) ShowCollections

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

func (*MockQueryCoord) ShowConfigurations

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

func (*MockQueryCoord) ShowPartitions

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

func (*MockQueryCoord) Start

func (_m *MockQueryCoord) Start() error

Start provides a mock function with given fields:

func (*MockQueryCoord) Stop

func (_m *MockQueryCoord) Stop() error

Stop provides a mock function with given fields:

func (*MockQueryCoord) SuspendBalance

func (_m *MockQueryCoord) SuspendBalance(_a0 context.Context, _a1 *querypb.SuspendBalanceRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) SuspendNode

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

func (*MockQueryCoord) SyncNewCreatedPartition

func (_m *MockQueryCoord) SyncNewCreatedPartition(_a0 context.Context, _a1 *querypb.SyncNewCreatedPartitionRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) TransferChannel

func (_m *MockQueryCoord) TransferChannel(_a0 context.Context, _a1 *querypb.TransferChannelRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) TransferNode

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

func (*MockQueryCoord) TransferReplica

func (_m *MockQueryCoord) TransferReplica(_a0 context.Context, _a1 *querypb.TransferReplicaRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) TransferSegment

func (_m *MockQueryCoord) TransferSegment(_a0 context.Context, _a1 *querypb.TransferSegmentRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) UpdateLoadConfig

func (_m *MockQueryCoord) UpdateLoadConfig(_a0 context.Context, _a1 *querypb.UpdateLoadConfigRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) UpdateResourceGroups

func (_m *MockQueryCoord) UpdateResourceGroups(_a0 context.Context, _a1 *querypb.UpdateResourceGroupsRequest) (*commonpb.Status, error)

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

func (*MockQueryCoord) UpdateStateCode

func (_m *MockQueryCoord) UpdateStateCode(stateCode commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: stateCode

type MockQueryCoordClient

type MockQueryCoordClient struct {
	mock.Mock
}

MockQueryCoordClient is an autogenerated mock type for the QueryCoordClient type

func NewMockQueryCoordClient

func NewMockQueryCoordClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryCoordClient

NewMockQueryCoordClient creates a new instance of MockQueryCoordClient. 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 (*MockQueryCoordClient) ActivateChecker

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

func (*MockQueryCoordClient) CheckHealth

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

func (*MockQueryCoordClient) CheckQueryNodeDistribution

func (_m *MockQueryCoordClient) CheckQueryNodeDistribution(ctx context.Context, in *querypb.CheckQueryNodeDistributionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

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

func (*MockQueryCoordClient) Close

func (_m *MockQueryCoordClient) Close() error

Close provides a mock function with given fields:

func (*MockQueryCoordClient) CreateResourceGroup

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

func (*MockQueryCoordClient) DeactivateChecker

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

func (*MockQueryCoordClient) DescribeResourceGroup

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

func (*MockQueryCoordClient) DropResourceGroup

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

func (*MockQueryCoordClient) EXPECT

func (*MockQueryCoordClient) GetComponentStates

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

func (*MockQueryCoordClient) GetMetrics

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

func (*MockQueryCoordClient) GetPartitionStates

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

func (*MockQueryCoordClient) GetQueryNodeDistribution

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

func (*MockQueryCoordClient) GetReplicas

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

func (*MockQueryCoordClient) GetSegmentInfo

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

func (*MockQueryCoordClient) GetShardLeaders

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

func (*MockQueryCoordClient) GetStatisticsChannel

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

func (*MockQueryCoordClient) GetTimeTickChannel

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

func (*MockQueryCoordClient) ListCheckers

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

func (*MockQueryCoordClient) ListQueryNode

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

func (*MockQueryCoordClient) ListResourceGroups

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

func (*MockQueryCoordClient) LoadBalance

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

func (*MockQueryCoordClient) LoadCollection

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

func (*MockQueryCoordClient) LoadPartitions

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

func (*MockQueryCoordClient) ReleaseCollection

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

func (*MockQueryCoordClient) ReleasePartitions

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

func (*MockQueryCoordClient) ResumeBalance

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

func (*MockQueryCoordClient) ResumeNode

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

func (*MockQueryCoordClient) ShowCollections

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

func (*MockQueryCoordClient) ShowConfigurations

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

func (*MockQueryCoordClient) ShowPartitions

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

func (*MockQueryCoordClient) SuspendBalance

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

func (*MockQueryCoordClient) SuspendNode

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

func (*MockQueryCoordClient) SyncNewCreatedPartition

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

func (*MockQueryCoordClient) TransferChannel

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

func (*MockQueryCoordClient) TransferNode

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

func (*MockQueryCoordClient) TransferReplica

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

func (*MockQueryCoordClient) TransferSegment

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

func (*MockQueryCoordClient) UpdateLoadConfig

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

func (*MockQueryCoordClient) UpdateResourceGroups

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

type MockQueryCoordClient_ActivateChecker_Call

type MockQueryCoordClient_ActivateChecker_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ActivateChecker_Call) Return

func (*MockQueryCoordClient_ActivateChecker_Call) Run

type MockQueryCoordClient_CheckHealth_Call

type MockQueryCoordClient_CheckHealth_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_CheckHealth_Call) Return

func (*MockQueryCoordClient_CheckHealth_Call) Run

type MockQueryCoordClient_CheckQueryNodeDistribution_Call

type MockQueryCoordClient_CheckQueryNodeDistribution_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_CheckQueryNodeDistribution_Call) Return

type MockQueryCoordClient_Close_Call

type MockQueryCoordClient_Close_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_Close_Call) Return

func (*MockQueryCoordClient_Close_Call) Run

func (*MockQueryCoordClient_Close_Call) RunAndReturn

type MockQueryCoordClient_CreateResourceGroup_Call

type MockQueryCoordClient_CreateResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_CreateResourceGroup_Call) Return

func (*MockQueryCoordClient_CreateResourceGroup_Call) Run

type MockQueryCoordClient_DeactivateChecker_Call

type MockQueryCoordClient_DeactivateChecker_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_DeactivateChecker_Call) Return

func (*MockQueryCoordClient_DeactivateChecker_Call) Run

type MockQueryCoordClient_DescribeResourceGroup_Call

type MockQueryCoordClient_DescribeResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_DescribeResourceGroup_Call) Run

type MockQueryCoordClient_DropResourceGroup_Call

type MockQueryCoordClient_DropResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_DropResourceGroup_Call) Return

func (*MockQueryCoordClient_DropResourceGroup_Call) Run

type MockQueryCoordClient_Expecter

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

func (*MockQueryCoordClient_Expecter) ActivateChecker

func (_e *MockQueryCoordClient_Expecter) ActivateChecker(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ActivateChecker_Call

ActivateChecker is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ActivateCheckerRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) CheckHealth

func (_e *MockQueryCoordClient_Expecter) CheckHealth(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CheckHealthRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) CheckQueryNodeDistribution

func (_e *MockQueryCoordClient_Expecter) CheckQueryNodeDistribution(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_CheckQueryNodeDistribution_Call

CheckQueryNodeDistribution is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.CheckQueryNodeDistributionRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockQueryCoordClient_Expecter) CreateResourceGroup

func (_e *MockQueryCoordClient_Expecter) CreateResourceGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_CreateResourceGroup_Call

CreateResourceGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreateResourceGroupRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) DeactivateChecker

func (_e *MockQueryCoordClient_Expecter) DeactivateChecker(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_DeactivateChecker_Call

DeactivateChecker is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.DeactivateCheckerRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) DescribeResourceGroup

func (_e *MockQueryCoordClient_Expecter) DescribeResourceGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_DescribeResourceGroup_Call

DescribeResourceGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.DescribeResourceGroupRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) DropResourceGroup

func (_e *MockQueryCoordClient_Expecter) DropResourceGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_DropResourceGroup_Call

DropResourceGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropResourceGroupRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetComponentStates

func (_e *MockQueryCoordClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetMetrics

func (_e *MockQueryCoordClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetPartitionStates

func (_e *MockQueryCoordClient_Expecter) GetPartitionStates(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetPartitionStates_Call

GetPartitionStates is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetPartitionStatesRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetQueryNodeDistribution

func (_e *MockQueryCoordClient_Expecter) GetQueryNodeDistribution(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetQueryNodeDistribution_Call

GetQueryNodeDistribution is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetQueryNodeDistributionRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetReplicas

func (_e *MockQueryCoordClient_Expecter) GetReplicas(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetReplicas_Call

GetReplicas is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetReplicasRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetSegmentInfo

func (_e *MockQueryCoordClient_Expecter) GetSegmentInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetSegmentInfoRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetShardLeaders

func (_e *MockQueryCoordClient_Expecter) GetShardLeaders(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetShardLeaders_Call

GetShardLeaders is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetShardLeadersRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetStatisticsChannel

func (_e *MockQueryCoordClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) GetTimeTickChannel

func (_e *MockQueryCoordClient_Expecter) GetTimeTickChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetTimeTickChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ListCheckers

func (_e *MockQueryCoordClient_Expecter) ListCheckers(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ListCheckers_Call

ListCheckers is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ListCheckersRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ListQueryNode

func (_e *MockQueryCoordClient_Expecter) ListQueryNode(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ListQueryNode_Call

ListQueryNode is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ListQueryNodeRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ListResourceGroups

func (_e *MockQueryCoordClient_Expecter) ListResourceGroups(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ListResourceGroups_Call

ListResourceGroups is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ListResourceGroupsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) LoadBalance

func (_e *MockQueryCoordClient_Expecter) LoadBalance(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_LoadBalance_Call

LoadBalance is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.LoadBalanceRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) LoadCollection

func (_e *MockQueryCoordClient_Expecter) LoadCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_LoadCollection_Call

LoadCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.LoadCollectionRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) LoadPartitions

func (_e *MockQueryCoordClient_Expecter) LoadPartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_LoadPartitions_Call

LoadPartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.LoadPartitionsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ReleaseCollection

func (_e *MockQueryCoordClient_Expecter) ReleaseCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ReleaseCollection_Call

ReleaseCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ReleaseCollectionRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ReleasePartitions

func (_e *MockQueryCoordClient_Expecter) ReleasePartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ReleasePartitions_Call

ReleasePartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ReleasePartitionsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ResumeBalance

func (_e *MockQueryCoordClient_Expecter) ResumeBalance(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ResumeBalance_Call

ResumeBalance is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ResumeBalanceRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ResumeNode

func (_e *MockQueryCoordClient_Expecter) ResumeNode(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ResumeNode_Call

ResumeNode is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ResumeNodeRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ShowCollections

func (_e *MockQueryCoordClient_Expecter) ShowCollections(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ShowCollections_Call

ShowCollections is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ShowCollectionsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ShowConfigurations

func (_e *MockQueryCoordClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) ShowPartitions

func (_e *MockQueryCoordClient_Expecter) ShowPartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_ShowPartitions_Call

ShowPartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ShowPartitionsRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) SuspendBalance

func (_e *MockQueryCoordClient_Expecter) SuspendBalance(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_SuspendBalance_Call

SuspendBalance is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SuspendBalanceRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) SuspendNode

func (_e *MockQueryCoordClient_Expecter) SuspendNode(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_SuspendNode_Call

SuspendNode is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SuspendNodeRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) SyncNewCreatedPartition

func (_e *MockQueryCoordClient_Expecter) SyncNewCreatedPartition(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_SyncNewCreatedPartition_Call

SyncNewCreatedPartition is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SyncNewCreatedPartitionRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) TransferChannel

func (_e *MockQueryCoordClient_Expecter) TransferChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_TransferChannel_Call

TransferChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.TransferChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) TransferNode

func (_e *MockQueryCoordClient_Expecter) TransferNode(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_TransferNode_Call

TransferNode is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.TransferNodeRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) TransferReplica

func (_e *MockQueryCoordClient_Expecter) TransferReplica(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_TransferReplica_Call

TransferReplica is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.TransferReplicaRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) TransferSegment

func (_e *MockQueryCoordClient_Expecter) TransferSegment(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_TransferSegment_Call

TransferSegment is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.TransferSegmentRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) UpdateLoadConfig

func (_e *MockQueryCoordClient_Expecter) UpdateLoadConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_UpdateLoadConfig_Call

UpdateLoadConfig is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.UpdateLoadConfigRequest
  • opts ...grpc.CallOption

func (*MockQueryCoordClient_Expecter) UpdateResourceGroups

func (_e *MockQueryCoordClient_Expecter) UpdateResourceGroups(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryCoordClient_UpdateResourceGroups_Call

UpdateResourceGroups is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.UpdateResourceGroupsRequest
  • opts ...grpc.CallOption

type MockQueryCoordClient_GetComponentStates_Call

type MockQueryCoordClient_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetComponentStates_Call) Return

func (*MockQueryCoordClient_GetComponentStates_Call) Run

type MockQueryCoordClient_GetMetrics_Call

type MockQueryCoordClient_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetMetrics_Call) Return

func (*MockQueryCoordClient_GetMetrics_Call) Run

type MockQueryCoordClient_GetPartitionStates_Call

type MockQueryCoordClient_GetPartitionStates_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetPartitionStates_Call) Return

func (*MockQueryCoordClient_GetPartitionStates_Call) Run

type MockQueryCoordClient_GetQueryNodeDistribution_Call

type MockQueryCoordClient_GetQueryNodeDistribution_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetQueryNodeDistribution_Call) Run

type MockQueryCoordClient_GetReplicas_Call

type MockQueryCoordClient_GetReplicas_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetReplicas_Call) Return

func (*MockQueryCoordClient_GetReplicas_Call) Run

type MockQueryCoordClient_GetSegmentInfo_Call

type MockQueryCoordClient_GetSegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetSegmentInfo_Call) Return

func (*MockQueryCoordClient_GetSegmentInfo_Call) Run

type MockQueryCoordClient_GetShardLeaders_Call

type MockQueryCoordClient_GetShardLeaders_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetShardLeaders_Call) Return

func (*MockQueryCoordClient_GetShardLeaders_Call) Run

type MockQueryCoordClient_GetStatisticsChannel_Call

type MockQueryCoordClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetStatisticsChannel_Call) Return

func (*MockQueryCoordClient_GetStatisticsChannel_Call) Run

type MockQueryCoordClient_GetTimeTickChannel_Call

type MockQueryCoordClient_GetTimeTickChannel_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_GetTimeTickChannel_Call) Return

func (*MockQueryCoordClient_GetTimeTickChannel_Call) Run

type MockQueryCoordClient_ListCheckers_Call

type MockQueryCoordClient_ListCheckers_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ListCheckers_Call) Return

func (*MockQueryCoordClient_ListCheckers_Call) Run

type MockQueryCoordClient_ListQueryNode_Call

type MockQueryCoordClient_ListQueryNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ListQueryNode_Call) Return

func (*MockQueryCoordClient_ListQueryNode_Call) Run

type MockQueryCoordClient_ListResourceGroups_Call

type MockQueryCoordClient_ListResourceGroups_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ListResourceGroups_Call) Return

func (*MockQueryCoordClient_ListResourceGroups_Call) Run

type MockQueryCoordClient_LoadBalance_Call

type MockQueryCoordClient_LoadBalance_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_LoadBalance_Call) Return

func (*MockQueryCoordClient_LoadBalance_Call) Run

type MockQueryCoordClient_LoadCollection_Call

type MockQueryCoordClient_LoadCollection_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_LoadCollection_Call) Return

func (*MockQueryCoordClient_LoadCollection_Call) Run

type MockQueryCoordClient_LoadPartitions_Call

type MockQueryCoordClient_LoadPartitions_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_LoadPartitions_Call) Return

func (*MockQueryCoordClient_LoadPartitions_Call) Run

type MockQueryCoordClient_ReleaseCollection_Call

type MockQueryCoordClient_ReleaseCollection_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ReleaseCollection_Call) Return

func (*MockQueryCoordClient_ReleaseCollection_Call) Run

type MockQueryCoordClient_ReleasePartitions_Call

type MockQueryCoordClient_ReleasePartitions_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ReleasePartitions_Call) Return

func (*MockQueryCoordClient_ReleasePartitions_Call) Run

type MockQueryCoordClient_ResumeBalance_Call

type MockQueryCoordClient_ResumeBalance_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ResumeBalance_Call) Return

func (*MockQueryCoordClient_ResumeBalance_Call) Run

type MockQueryCoordClient_ResumeNode_Call

type MockQueryCoordClient_ResumeNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ResumeNode_Call) Return

func (*MockQueryCoordClient_ResumeNode_Call) Run

func (*MockQueryCoordClient_ResumeNode_Call) RunAndReturn

type MockQueryCoordClient_ShowCollections_Call

type MockQueryCoordClient_ShowCollections_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ShowCollections_Call) Return

func (*MockQueryCoordClient_ShowCollections_Call) Run

type MockQueryCoordClient_ShowConfigurations_Call

type MockQueryCoordClient_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ShowConfigurations_Call) Run

type MockQueryCoordClient_ShowPartitions_Call

type MockQueryCoordClient_ShowPartitions_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_ShowPartitions_Call) Return

func (*MockQueryCoordClient_ShowPartitions_Call) Run

type MockQueryCoordClient_SuspendBalance_Call

type MockQueryCoordClient_SuspendBalance_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_SuspendBalance_Call) Return

func (*MockQueryCoordClient_SuspendBalance_Call) Run

type MockQueryCoordClient_SuspendNode_Call

type MockQueryCoordClient_SuspendNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_SuspendNode_Call) Return

func (*MockQueryCoordClient_SuspendNode_Call) Run

type MockQueryCoordClient_SyncNewCreatedPartition_Call

type MockQueryCoordClient_SyncNewCreatedPartition_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_SyncNewCreatedPartition_Call) Return

func (*MockQueryCoordClient_SyncNewCreatedPartition_Call) Run

type MockQueryCoordClient_TransferChannel_Call

type MockQueryCoordClient_TransferChannel_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_TransferChannel_Call) Return

func (*MockQueryCoordClient_TransferChannel_Call) Run

type MockQueryCoordClient_TransferNode_Call

type MockQueryCoordClient_TransferNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_TransferNode_Call) Return

func (*MockQueryCoordClient_TransferNode_Call) Run

type MockQueryCoordClient_TransferReplica_Call

type MockQueryCoordClient_TransferReplica_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_TransferReplica_Call) Return

func (*MockQueryCoordClient_TransferReplica_Call) Run

type MockQueryCoordClient_TransferSegment_Call

type MockQueryCoordClient_TransferSegment_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_TransferSegment_Call) Return

func (*MockQueryCoordClient_TransferSegment_Call) Run

type MockQueryCoordClient_UpdateLoadConfig_Call

type MockQueryCoordClient_UpdateLoadConfig_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_UpdateLoadConfig_Call) Return

func (*MockQueryCoordClient_UpdateLoadConfig_Call) Run

type MockQueryCoordClient_UpdateResourceGroups_Call

type MockQueryCoordClient_UpdateResourceGroups_Call struct {
	*mock.Call
}

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

func (*MockQueryCoordClient_UpdateResourceGroups_Call) Return

func (*MockQueryCoordClient_UpdateResourceGroups_Call) Run

type MockQueryCoord_ActivateChecker_Call

type MockQueryCoord_ActivateChecker_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ActivateChecker_Call) Return

func (*MockQueryCoord_ActivateChecker_Call) Run

func (*MockQueryCoord_ActivateChecker_Call) RunAndReturn

type MockQueryCoord_CheckHealth_Call

type MockQueryCoord_CheckHealth_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_CheckHealth_Call) Return

func (*MockQueryCoord_CheckHealth_Call) Run

type MockQueryCoord_CheckQueryNodeDistribution_Call

type MockQueryCoord_CheckQueryNodeDistribution_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_CheckQueryNodeDistribution_Call) Return

func (*MockQueryCoord_CheckQueryNodeDistribution_Call) Run

type MockQueryCoord_CreateResourceGroup_Call

type MockQueryCoord_CreateResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_CreateResourceGroup_Call) Return

func (*MockQueryCoord_CreateResourceGroup_Call) Run

type MockQueryCoord_DeactivateChecker_Call

type MockQueryCoord_DeactivateChecker_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_DeactivateChecker_Call) Return

func (*MockQueryCoord_DeactivateChecker_Call) Run

type MockQueryCoord_DescribeResourceGroup_Call

type MockQueryCoord_DescribeResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_DescribeResourceGroup_Call) Return

func (*MockQueryCoord_DescribeResourceGroup_Call) Run

type MockQueryCoord_DropResourceGroup_Call

type MockQueryCoord_DropResourceGroup_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_DropResourceGroup_Call) Return

func (*MockQueryCoord_DropResourceGroup_Call) Run

type MockQueryCoord_Expecter

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

func (*MockQueryCoord_Expecter) ActivateChecker

func (_e *MockQueryCoord_Expecter) ActivateChecker(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ActivateChecker_Call

ActivateChecker is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ActivateCheckerRequest

func (*MockQueryCoord_Expecter) CheckHealth

func (_e *MockQueryCoord_Expecter) CheckHealth(_a0 interface{}, _a1 interface{}) *MockQueryCoord_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CheckHealthRequest

func (*MockQueryCoord_Expecter) CheckQueryNodeDistribution

func (_e *MockQueryCoord_Expecter) CheckQueryNodeDistribution(_a0 interface{}, _a1 interface{}) *MockQueryCoord_CheckQueryNodeDistribution_Call

CheckQueryNodeDistribution is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.CheckQueryNodeDistributionRequest

func (*MockQueryCoord_Expecter) CreateResourceGroup

func (_e *MockQueryCoord_Expecter) CreateResourceGroup(_a0 interface{}, _a1 interface{}) *MockQueryCoord_CreateResourceGroup_Call

CreateResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateResourceGroupRequest

func (*MockQueryCoord_Expecter) DeactivateChecker

func (_e *MockQueryCoord_Expecter) DeactivateChecker(_a0 interface{}, _a1 interface{}) *MockQueryCoord_DeactivateChecker_Call

DeactivateChecker is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.DeactivateCheckerRequest

func (*MockQueryCoord_Expecter) DescribeResourceGroup

func (_e *MockQueryCoord_Expecter) DescribeResourceGroup(_a0 interface{}, _a1 interface{}) *MockQueryCoord_DescribeResourceGroup_Call

DescribeResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.DescribeResourceGroupRequest

func (*MockQueryCoord_Expecter) DropResourceGroup

func (_e *MockQueryCoord_Expecter) DropResourceGroup(_a0 interface{}, _a1 interface{}) *MockQueryCoord_DropResourceGroup_Call

DropResourceGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropResourceGroupRequest

func (*MockQueryCoord_Expecter) GetComponentStates

func (_e *MockQueryCoord_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockQueryCoord_Expecter) GetMetrics

func (_e *MockQueryCoord_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockQueryCoord_Expecter) GetPartitionStates

func (_e *MockQueryCoord_Expecter) GetPartitionStates(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetPartitionStates_Call

GetPartitionStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetPartitionStatesRequest

func (*MockQueryCoord_Expecter) GetQueryNodeDistribution

func (_e *MockQueryCoord_Expecter) GetQueryNodeDistribution(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetQueryNodeDistribution_Call

GetQueryNodeDistribution is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetQueryNodeDistributionRequest

func (*MockQueryCoord_Expecter) GetReplicas

func (_e *MockQueryCoord_Expecter) GetReplicas(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetReplicas_Call

GetReplicas is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetReplicasRequest

func (*MockQueryCoord_Expecter) GetSegmentInfo

func (_e *MockQueryCoord_Expecter) GetSegmentInfo(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetSegmentInfoRequest

func (*MockQueryCoord_Expecter) GetShardLeaders

func (_e *MockQueryCoord_Expecter) GetShardLeaders(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetShardLeaders_Call

GetShardLeaders is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetShardLeadersRequest

func (*MockQueryCoord_Expecter) GetStatisticsChannel

func (_e *MockQueryCoord_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockQueryCoord_Expecter) GetTimeTickChannel

func (_e *MockQueryCoord_Expecter) GetTimeTickChannel(_a0 interface{}, _a1 interface{}) *MockQueryCoord_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetTimeTickChannelRequest

func (*MockQueryCoord_Expecter) Init

Init is a helper method to define mock.On call

func (*MockQueryCoord_Expecter) ListCheckers

func (_e *MockQueryCoord_Expecter) ListCheckers(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ListCheckers_Call

ListCheckers is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ListCheckersRequest

func (*MockQueryCoord_Expecter) ListQueryNode

func (_e *MockQueryCoord_Expecter) ListQueryNode(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ListQueryNode_Call

ListQueryNode is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ListQueryNodeRequest

func (*MockQueryCoord_Expecter) ListResourceGroups

func (_e *MockQueryCoord_Expecter) ListResourceGroups(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ListResourceGroups_Call

ListResourceGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListResourceGroupsRequest

func (*MockQueryCoord_Expecter) LoadBalance

func (_e *MockQueryCoord_Expecter) LoadBalance(_a0 interface{}, _a1 interface{}) *MockQueryCoord_LoadBalance_Call

LoadBalance is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.LoadBalanceRequest

func (*MockQueryCoord_Expecter) LoadCollection

func (_e *MockQueryCoord_Expecter) LoadCollection(_a0 interface{}, _a1 interface{}) *MockQueryCoord_LoadCollection_Call

LoadCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.LoadCollectionRequest

func (*MockQueryCoord_Expecter) LoadPartitions

func (_e *MockQueryCoord_Expecter) LoadPartitions(_a0 interface{}, _a1 interface{}) *MockQueryCoord_LoadPartitions_Call

LoadPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.LoadPartitionsRequest

func (*MockQueryCoord_Expecter) Register

Register is a helper method to define mock.On call

func (*MockQueryCoord_Expecter) ReleaseCollection

func (_e *MockQueryCoord_Expecter) ReleaseCollection(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ReleaseCollection_Call

ReleaseCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ReleaseCollectionRequest

func (*MockQueryCoord_Expecter) ReleasePartitions

func (_e *MockQueryCoord_Expecter) ReleasePartitions(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ReleasePartitions_Call

ReleasePartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ReleasePartitionsRequest

func (*MockQueryCoord_Expecter) ResumeBalance

func (_e *MockQueryCoord_Expecter) ResumeBalance(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ResumeBalance_Call

ResumeBalance is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ResumeBalanceRequest

func (*MockQueryCoord_Expecter) ResumeNode

func (_e *MockQueryCoord_Expecter) ResumeNode(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ResumeNode_Call

ResumeNode is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ResumeNodeRequest

func (*MockQueryCoord_Expecter) SetAddress

func (_e *MockQueryCoord_Expecter) SetAddress(address interface{}) *MockQueryCoord_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockQueryCoord_Expecter) SetDataCoordClient

func (_e *MockQueryCoord_Expecter) SetDataCoordClient(dataCoord interface{}) *MockQueryCoord_SetDataCoordClient_Call

SetDataCoordClient is a helper method to define mock.On call

  • dataCoord types.DataCoordClient

func (*MockQueryCoord_Expecter) SetEtcdClient

func (_e *MockQueryCoord_Expecter) SetEtcdClient(etcdClient interface{}) *MockQueryCoord_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockQueryCoord_Expecter) SetQueryNodeCreator

func (_e *MockQueryCoord_Expecter) SetQueryNodeCreator(_a0 interface{}) *MockQueryCoord_SetQueryNodeCreator_Call

SetQueryNodeCreator is a helper method to define mock.On call

  • _a0 func(context.Context , string , int64)(types.QueryNodeClient , error)

func (*MockQueryCoord_Expecter) SetRootCoordClient

func (_e *MockQueryCoord_Expecter) SetRootCoordClient(rootCoord interface{}) *MockQueryCoord_SetRootCoordClient_Call

SetRootCoordClient is a helper method to define mock.On call

  • rootCoord types.RootCoordClient

func (*MockQueryCoord_Expecter) SetTiKVClient

func (_e *MockQueryCoord_Expecter) SetTiKVClient(client interface{}) *MockQueryCoord_SetTiKVClient_Call

SetTiKVClient is a helper method to define mock.On call

  • client *txnkv.Client

func (*MockQueryCoord_Expecter) ShowCollections

func (_e *MockQueryCoord_Expecter) ShowCollections(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ShowCollections_Call

ShowCollections is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ShowCollectionsRequest

func (*MockQueryCoord_Expecter) ShowConfigurations

func (_e *MockQueryCoord_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*MockQueryCoord_Expecter) ShowPartitions

func (_e *MockQueryCoord_Expecter) ShowPartitions(_a0 interface{}, _a1 interface{}) *MockQueryCoord_ShowPartitions_Call

ShowPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ShowPartitionsRequest

func (*MockQueryCoord_Expecter) Start

Start is a helper method to define mock.On call

func (*MockQueryCoord_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockQueryCoord_Expecter) SuspendBalance

func (_e *MockQueryCoord_Expecter) SuspendBalance(_a0 interface{}, _a1 interface{}) *MockQueryCoord_SuspendBalance_Call

SuspendBalance is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SuspendBalanceRequest

func (*MockQueryCoord_Expecter) SuspendNode

func (_e *MockQueryCoord_Expecter) SuspendNode(_a0 interface{}, _a1 interface{}) *MockQueryCoord_SuspendNode_Call

SuspendNode is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SuspendNodeRequest

func (*MockQueryCoord_Expecter) SyncNewCreatedPartition

func (_e *MockQueryCoord_Expecter) SyncNewCreatedPartition(_a0 interface{}, _a1 interface{}) *MockQueryCoord_SyncNewCreatedPartition_Call

SyncNewCreatedPartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SyncNewCreatedPartitionRequest

func (*MockQueryCoord_Expecter) TransferChannel

func (_e *MockQueryCoord_Expecter) TransferChannel(_a0 interface{}, _a1 interface{}) *MockQueryCoord_TransferChannel_Call

TransferChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.TransferChannelRequest

func (*MockQueryCoord_Expecter) TransferNode

func (_e *MockQueryCoord_Expecter) TransferNode(_a0 interface{}, _a1 interface{}) *MockQueryCoord_TransferNode_Call

TransferNode is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.TransferNodeRequest

func (*MockQueryCoord_Expecter) TransferReplica

func (_e *MockQueryCoord_Expecter) TransferReplica(_a0 interface{}, _a1 interface{}) *MockQueryCoord_TransferReplica_Call

TransferReplica is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.TransferReplicaRequest

func (*MockQueryCoord_Expecter) TransferSegment

func (_e *MockQueryCoord_Expecter) TransferSegment(_a0 interface{}, _a1 interface{}) *MockQueryCoord_TransferSegment_Call

TransferSegment is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.TransferSegmentRequest

func (*MockQueryCoord_Expecter) UpdateLoadConfig

func (_e *MockQueryCoord_Expecter) UpdateLoadConfig(_a0 interface{}, _a1 interface{}) *MockQueryCoord_UpdateLoadConfig_Call

UpdateLoadConfig is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.UpdateLoadConfigRequest

func (*MockQueryCoord_Expecter) UpdateResourceGroups

func (_e *MockQueryCoord_Expecter) UpdateResourceGroups(_a0 interface{}, _a1 interface{}) *MockQueryCoord_UpdateResourceGroups_Call

UpdateResourceGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.UpdateResourceGroupsRequest

func (*MockQueryCoord_Expecter) UpdateStateCode

func (_e *MockQueryCoord_Expecter) UpdateStateCode(stateCode interface{}) *MockQueryCoord_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • stateCode commonpb.StateCode

type MockQueryCoord_GetComponentStates_Call

type MockQueryCoord_GetComponentStates_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetComponentStates_Call) Return

func (*MockQueryCoord_GetComponentStates_Call) Run

type MockQueryCoord_GetMetrics_Call

type MockQueryCoord_GetMetrics_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetMetrics_Call) Return

func (*MockQueryCoord_GetMetrics_Call) Run

type MockQueryCoord_GetPartitionStates_Call

type MockQueryCoord_GetPartitionStates_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetPartitionStates_Call) Return

func (*MockQueryCoord_GetPartitionStates_Call) Run

type MockQueryCoord_GetQueryNodeDistribution_Call

type MockQueryCoord_GetQueryNodeDistribution_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetQueryNodeDistribution_Call) Run

type MockQueryCoord_GetReplicas_Call

type MockQueryCoord_GetReplicas_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetReplicas_Call) Return

func (*MockQueryCoord_GetReplicas_Call) Run

type MockQueryCoord_GetSegmentInfo_Call

type MockQueryCoord_GetSegmentInfo_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetSegmentInfo_Call) Return

func (*MockQueryCoord_GetSegmentInfo_Call) Run

type MockQueryCoord_GetShardLeaders_Call

type MockQueryCoord_GetShardLeaders_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetShardLeaders_Call) Return

func (*MockQueryCoord_GetShardLeaders_Call) Run

type MockQueryCoord_GetStatisticsChannel_Call

type MockQueryCoord_GetStatisticsChannel_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetStatisticsChannel_Call) Return

func (*MockQueryCoord_GetStatisticsChannel_Call) Run

type MockQueryCoord_GetTimeTickChannel_Call

type MockQueryCoord_GetTimeTickChannel_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_GetTimeTickChannel_Call) Return

func (*MockQueryCoord_GetTimeTickChannel_Call) Run

type MockQueryCoord_Init_Call

type MockQueryCoord_Init_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_Init_Call) Return

func (*MockQueryCoord_Init_Call) Run

func (*MockQueryCoord_Init_Call) RunAndReturn

func (_c *MockQueryCoord_Init_Call) RunAndReturn(run func() error) *MockQueryCoord_Init_Call

type MockQueryCoord_ListCheckers_Call

type MockQueryCoord_ListCheckers_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ListCheckers_Call) Return

func (*MockQueryCoord_ListCheckers_Call) Run

type MockQueryCoord_ListQueryNode_Call

type MockQueryCoord_ListQueryNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ListQueryNode_Call) Return

func (*MockQueryCoord_ListQueryNode_Call) Run

type MockQueryCoord_ListResourceGroups_Call

type MockQueryCoord_ListResourceGroups_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ListResourceGroups_Call) Return

func (*MockQueryCoord_ListResourceGroups_Call) Run

type MockQueryCoord_LoadBalance_Call

type MockQueryCoord_LoadBalance_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_LoadBalance_Call) Return

func (*MockQueryCoord_LoadBalance_Call) Run

func (*MockQueryCoord_LoadBalance_Call) RunAndReturn

type MockQueryCoord_LoadCollection_Call

type MockQueryCoord_LoadCollection_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_LoadCollection_Call) Return

func (*MockQueryCoord_LoadCollection_Call) Run

func (*MockQueryCoord_LoadCollection_Call) RunAndReturn

type MockQueryCoord_LoadPartitions_Call

type MockQueryCoord_LoadPartitions_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_LoadPartitions_Call) Return

func (*MockQueryCoord_LoadPartitions_Call) Run

func (*MockQueryCoord_LoadPartitions_Call) RunAndReturn

type MockQueryCoord_Register_Call

type MockQueryCoord_Register_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_Register_Call) Return

func (*MockQueryCoord_Register_Call) Run

func (*MockQueryCoord_Register_Call) RunAndReturn

func (_c *MockQueryCoord_Register_Call) RunAndReturn(run func() error) *MockQueryCoord_Register_Call

type MockQueryCoord_ReleaseCollection_Call

type MockQueryCoord_ReleaseCollection_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ReleaseCollection_Call) Return

func (*MockQueryCoord_ReleaseCollection_Call) Run

type MockQueryCoord_ReleasePartitions_Call

type MockQueryCoord_ReleasePartitions_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ReleasePartitions_Call) Return

func (*MockQueryCoord_ReleasePartitions_Call) Run

type MockQueryCoord_ResumeBalance_Call

type MockQueryCoord_ResumeBalance_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ResumeBalance_Call) Return

func (*MockQueryCoord_ResumeBalance_Call) Run

func (*MockQueryCoord_ResumeBalance_Call) RunAndReturn

type MockQueryCoord_ResumeNode_Call

type MockQueryCoord_ResumeNode_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ResumeNode_Call) Return

func (*MockQueryCoord_ResumeNode_Call) Run

func (*MockQueryCoord_ResumeNode_Call) RunAndReturn

type MockQueryCoord_SetAddress_Call

type MockQueryCoord_SetAddress_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetAddress_Call) Return

func (*MockQueryCoord_SetAddress_Call) Run

func (*MockQueryCoord_SetAddress_Call) RunAndReturn

type MockQueryCoord_SetDataCoordClient_Call

type MockQueryCoord_SetDataCoordClient_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetDataCoordClient_Call) Return

func (*MockQueryCoord_SetDataCoordClient_Call) Run

func (*MockQueryCoord_SetDataCoordClient_Call) RunAndReturn

type MockQueryCoord_SetEtcdClient_Call

type MockQueryCoord_SetEtcdClient_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetEtcdClient_Call) Return

func (*MockQueryCoord_SetEtcdClient_Call) Run

func (*MockQueryCoord_SetEtcdClient_Call) RunAndReturn

type MockQueryCoord_SetQueryNodeCreator_Call

type MockQueryCoord_SetQueryNodeCreator_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetQueryNodeCreator_Call) Return

func (*MockQueryCoord_SetQueryNodeCreator_Call) Run

func (*MockQueryCoord_SetQueryNodeCreator_Call) RunAndReturn

type MockQueryCoord_SetRootCoordClient_Call

type MockQueryCoord_SetRootCoordClient_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetRootCoordClient_Call) Return

func (*MockQueryCoord_SetRootCoordClient_Call) Run

func (*MockQueryCoord_SetRootCoordClient_Call) RunAndReturn

type MockQueryCoord_SetTiKVClient_Call

type MockQueryCoord_SetTiKVClient_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_SetTiKVClient_Call) Return

func (*MockQueryCoord_SetTiKVClient_Call) Run

func (*MockQueryCoord_SetTiKVClient_Call) RunAndReturn

type MockQueryCoord_ShowCollections_Call

type MockQueryCoord_ShowCollections_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ShowCollections_Call) Return

func (*MockQueryCoord_ShowCollections_Call) Run

type MockQueryCoord_ShowConfigurations_Call

type MockQueryCoord_ShowConfigurations_Call struct {
	*mock.Call
}

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

func (*MockQueryCoord_ShowConfigurations_Call) Return

func (*MockQueryCoord_ShowConfigurations_Call) Run

type MockQueryCoord_ShowPartitions_Call

type MockQueryCoord_ShowPartitions_Call struct {
	*mock.Call
}

MockQueryCoord_ShowPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowPartitions'

func (*MockQueryCoord_ShowPartitions_Call) Return

func (*MockQueryCoord_ShowPartitions_Call) Run

type MockQueryCoord_Start_Call

type MockQueryCoord_Start_Call struct {
	*mock.Call
}

MockQueryCoord_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*MockQueryCoord_Start_Call) Return

func (*MockQueryCoord_Start_Call) Run

func (*MockQueryCoord_Start_Call) RunAndReturn

func (_c *MockQueryCoord_Start_Call) RunAndReturn(run func() error) *MockQueryCoord_Start_Call

type MockQueryCoord_Stop_Call

type MockQueryCoord_Stop_Call struct {
	*mock.Call
}

MockQueryCoord_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*MockQueryCoord_Stop_Call) Return

func (*MockQueryCoord_Stop_Call) Run

func (*MockQueryCoord_Stop_Call) RunAndReturn

func (_c *MockQueryCoord_Stop_Call) RunAndReturn(run func() error) *MockQueryCoord_Stop_Call

type MockQueryCoord_SuspendBalance_Call

type MockQueryCoord_SuspendBalance_Call struct {
	*mock.Call
}

MockQueryCoord_SuspendBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuspendBalance'

func (*MockQueryCoord_SuspendBalance_Call) Return

func (*MockQueryCoord_SuspendBalance_Call) Run

func (*MockQueryCoord_SuspendBalance_Call) RunAndReturn

type MockQueryCoord_SuspendNode_Call

type MockQueryCoord_SuspendNode_Call struct {
	*mock.Call
}

MockQueryCoord_SuspendNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuspendNode'

func (*MockQueryCoord_SuspendNode_Call) Return

func (*MockQueryCoord_SuspendNode_Call) Run

func (*MockQueryCoord_SuspendNode_Call) RunAndReturn

type MockQueryCoord_SyncNewCreatedPartition_Call

type MockQueryCoord_SyncNewCreatedPartition_Call struct {
	*mock.Call
}

MockQueryCoord_SyncNewCreatedPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncNewCreatedPartition'

func (*MockQueryCoord_SyncNewCreatedPartition_Call) Return

func (*MockQueryCoord_SyncNewCreatedPartition_Call) Run

type MockQueryCoord_TransferChannel_Call

type MockQueryCoord_TransferChannel_Call struct {
	*mock.Call
}

MockQueryCoord_TransferChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferChannel'

func (*MockQueryCoord_TransferChannel_Call) Return

func (*MockQueryCoord_TransferChannel_Call) Run

func (*MockQueryCoord_TransferChannel_Call) RunAndReturn

type MockQueryCoord_TransferNode_Call

type MockQueryCoord_TransferNode_Call struct {
	*mock.Call
}

MockQueryCoord_TransferNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferNode'

func (*MockQueryCoord_TransferNode_Call) Return

func (*MockQueryCoord_TransferNode_Call) Run

func (*MockQueryCoord_TransferNode_Call) RunAndReturn

type MockQueryCoord_TransferReplica_Call

type MockQueryCoord_TransferReplica_Call struct {
	*mock.Call
}

MockQueryCoord_TransferReplica_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferReplica'

func (*MockQueryCoord_TransferReplica_Call) Return

func (*MockQueryCoord_TransferReplica_Call) Run

func (*MockQueryCoord_TransferReplica_Call) RunAndReturn

type MockQueryCoord_TransferSegment_Call

type MockQueryCoord_TransferSegment_Call struct {
	*mock.Call
}

MockQueryCoord_TransferSegment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferSegment'

func (*MockQueryCoord_TransferSegment_Call) Return

func (*MockQueryCoord_TransferSegment_Call) Run

func (*MockQueryCoord_TransferSegment_Call) RunAndReturn

type MockQueryCoord_UpdateLoadConfig_Call

type MockQueryCoord_UpdateLoadConfig_Call struct {
	*mock.Call
}

MockQueryCoord_UpdateLoadConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLoadConfig'

func (*MockQueryCoord_UpdateLoadConfig_Call) Return

func (*MockQueryCoord_UpdateLoadConfig_Call) Run

type MockQueryCoord_UpdateResourceGroups_Call

type MockQueryCoord_UpdateResourceGroups_Call struct {
	*mock.Call
}

MockQueryCoord_UpdateResourceGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateResourceGroups'

func (*MockQueryCoord_UpdateResourceGroups_Call) Return

func (*MockQueryCoord_UpdateResourceGroups_Call) Run

type MockQueryCoord_UpdateStateCode_Call

type MockQueryCoord_UpdateStateCode_Call struct {
	*mock.Call
}

MockQueryCoord_UpdateStateCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStateCode'

func (*MockQueryCoord_UpdateStateCode_Call) Return

func (*MockQueryCoord_UpdateStateCode_Call) Run

func (*MockQueryCoord_UpdateStateCode_Call) RunAndReturn

type MockQueryNode

type MockQueryNode struct {
	mock.Mock
}

MockQueryNode is an autogenerated mock type for the QueryNodeComponent type

func NewMockQueryNode

func NewMockQueryNode(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryNode

NewMockQueryNode creates a new instance of MockQueryNode. 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 (*MockQueryNode) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) DeleteBatch

DeleteBatch provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) EXPECT

func (_m *MockQueryNode) EXPECT() *MockQueryNode_Expecter

func (*MockQueryNode) GetAddress

func (_m *MockQueryNode) GetAddress() string

GetAddress provides a mock function with given fields:

func (*MockQueryNode) GetComponentStates

GetComponentStates provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetDataDistribution

GetDataDistribution provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetMetrics

GetMetrics provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetNodeID

func (_m *MockQueryNode) GetNodeID() int64

GetNodeID provides a mock function with given fields:

func (*MockQueryNode) GetSegmentInfo

GetSegmentInfo provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetStatistics

GetStatistics provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetStatisticsChannel

GetStatisticsChannel provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) GetTimeTickChannel

GetTimeTickChannel provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) Init

func (_m *MockQueryNode) Init() error

Init provides a mock function with given fields:

func (*MockQueryNode) LoadPartitions

func (_m *MockQueryNode) LoadPartitions(_a0 context.Context, _a1 *querypb.LoadPartitionsRequest) (*commonpb.Status, error)

LoadPartitions provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) LoadSegments

func (_m *MockQueryNode) LoadSegments(_a0 context.Context, _a1 *querypb.LoadSegmentsRequest) (*commonpb.Status, error)

LoadSegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) Query

Query provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) QuerySegments

QuerySegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) QueryStream

QueryStream provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) QueryStreamSegments

QueryStreamSegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) Register

func (_m *MockQueryNode) Register() error

Register provides a mock function with given fields:

func (*MockQueryNode) ReleaseCollection

func (_m *MockQueryNode) ReleaseCollection(_a0 context.Context, _a1 *querypb.ReleaseCollectionRequest) (*commonpb.Status, error)

ReleaseCollection provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) ReleasePartitions

func (_m *MockQueryNode) ReleasePartitions(_a0 context.Context, _a1 *querypb.ReleasePartitionsRequest) (*commonpb.Status, error)

ReleasePartitions provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) ReleaseSegments

func (_m *MockQueryNode) ReleaseSegments(_a0 context.Context, _a1 *querypb.ReleaseSegmentsRequest) (*commonpb.Status, error)

ReleaseSegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) Search

Search provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) SearchSegments

func (_m *MockQueryNode) SearchSegments(_a0 context.Context, _a1 *querypb.SearchRequest) (*internalpb.SearchResults, error)

SearchSegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) SetAddress

func (_m *MockQueryNode) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*MockQueryNode) SetEtcdClient

func (_m *MockQueryNode) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*MockQueryNode) ShowConfigurations

ShowConfigurations provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) Start

func (_m *MockQueryNode) Start() error

Start provides a mock function with given fields:

func (*MockQueryNode) Stop

func (_m *MockQueryNode) Stop() error

Stop provides a mock function with given fields:

func (*MockQueryNode) SyncDistribution

func (_m *MockQueryNode) SyncDistribution(_a0 context.Context, _a1 *querypb.SyncDistributionRequest) (*commonpb.Status, error)

SyncDistribution provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) SyncReplicaSegments

func (_m *MockQueryNode) SyncReplicaSegments(_a0 context.Context, _a1 *querypb.SyncReplicaSegmentsRequest) (*commonpb.Status, error)

SyncReplicaSegments provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) UnsubDmChannel

func (_m *MockQueryNode) UnsubDmChannel(_a0 context.Context, _a1 *querypb.UnsubDmChannelRequest) (*commonpb.Status, error)

UnsubDmChannel provides a mock function with given fields: _a0, _a1

func (*MockQueryNode) UpdateStateCode

func (_m *MockQueryNode) UpdateStateCode(stateCode commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: stateCode

func (*MockQueryNode) WatchDmChannels

func (_m *MockQueryNode) WatchDmChannels(_a0 context.Context, _a1 *querypb.WatchDmChannelsRequest) (*commonpb.Status, error)

WatchDmChannels provides a mock function with given fields: _a0, _a1

type MockQueryNodeClient

type MockQueryNodeClient struct {
	mock.Mock
}

MockQueryNodeClient is an autogenerated mock type for the QueryNodeClient type

func NewMockQueryNodeClient

func NewMockQueryNodeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryNodeClient

NewMockQueryNodeClient creates a new instance of MockQueryNodeClient. 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 (*MockQueryNodeClient) Close

func (_m *MockQueryNodeClient) Close() error

Close provides a mock function with given fields:

func (*MockQueryNodeClient) Delete

Delete provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) DeleteBatch

DeleteBatch provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) EXPECT

func (*MockQueryNodeClient) GetComponentStates

GetComponentStates provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetDataDistribution

GetDataDistribution provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetMetrics

GetMetrics provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetSegmentInfo

GetSegmentInfo provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetStatistics

GetStatistics provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetStatisticsChannel

GetStatisticsChannel provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) GetTimeTickChannel

GetTimeTickChannel provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) LoadPartitions

LoadPartitions provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) LoadSegments

LoadSegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) Query

Query provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) QuerySegments

QuerySegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) QueryStream

QueryStream provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) QueryStreamSegments

QueryStreamSegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) ReleaseCollection

ReleaseCollection provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) ReleasePartitions

ReleasePartitions provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) ReleaseSegments

ReleaseSegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) Search

Search provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) SearchSegments

SearchSegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) ShowConfigurations

ShowConfigurations provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) SyncDistribution

SyncDistribution provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) SyncReplicaSegments

SyncReplicaSegments provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) UnsubDmChannel

UnsubDmChannel provides a mock function with given fields: ctx, in, opts

func (*MockQueryNodeClient) WatchDmChannels

WatchDmChannels provides a mock function with given fields: ctx, in, opts

type MockQueryNodeClient_Close_Call

type MockQueryNodeClient_Close_Call struct {
	*mock.Call
}

MockQueryNodeClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockQueryNodeClient_Close_Call) Return

func (*MockQueryNodeClient_Close_Call) Run

func (*MockQueryNodeClient_Close_Call) RunAndReturn

type MockQueryNodeClient_DeleteBatch_Call

type MockQueryNodeClient_DeleteBatch_Call struct {
	*mock.Call
}

MockQueryNodeClient_DeleteBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBatch'

func (*MockQueryNodeClient_DeleteBatch_Call) Return

func (*MockQueryNodeClient_DeleteBatch_Call) Run

type MockQueryNodeClient_Delete_Call

type MockQueryNodeClient_Delete_Call struct {
	*mock.Call
}

MockQueryNodeClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockQueryNodeClient_Delete_Call) Return

func (*MockQueryNodeClient_Delete_Call) Run

func (*MockQueryNodeClient_Delete_Call) RunAndReturn

type MockQueryNodeClient_Expecter

type MockQueryNodeClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockQueryNodeClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockQueryNodeClient_Expecter) Delete

func (_e *MockQueryNodeClient_Expecter) Delete(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.DeleteRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) DeleteBatch

func (_e *MockQueryNodeClient_Expecter) DeleteBatch(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_DeleteBatch_Call

DeleteBatch is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.DeleteBatchRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetComponentStates

func (_e *MockQueryNodeClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetDataDistribution

func (_e *MockQueryNodeClient_Expecter) GetDataDistribution(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetDataDistribution_Call

GetDataDistribution is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetDataDistributionRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetMetrics

func (_e *MockQueryNodeClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetSegmentInfo

func (_e *MockQueryNodeClient_Expecter) GetSegmentInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetSegmentInfoRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetStatistics

func (_e *MockQueryNodeClient_Expecter) GetStatistics(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetStatistics_Call

GetStatistics is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.GetStatisticsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetStatisticsChannel

func (_e *MockQueryNodeClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) GetTimeTickChannel

func (_e *MockQueryNodeClient_Expecter) GetTimeTickChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetTimeTickChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) LoadPartitions

func (_e *MockQueryNodeClient_Expecter) LoadPartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_LoadPartitions_Call

LoadPartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.LoadPartitionsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) LoadSegments

func (_e *MockQueryNodeClient_Expecter) LoadSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_LoadSegments_Call

LoadSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.LoadSegmentsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) Query

func (_e *MockQueryNodeClient_Expecter) Query(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_Query_Call

Query is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.QueryRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) QuerySegments

func (_e *MockQueryNodeClient_Expecter) QuerySegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_QuerySegments_Call

QuerySegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.QueryRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) QueryStream

func (_e *MockQueryNodeClient_Expecter) QueryStream(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_QueryStream_Call

QueryStream is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.QueryRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) QueryStreamSegments

func (_e *MockQueryNodeClient_Expecter) QueryStreamSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_QueryStreamSegments_Call

QueryStreamSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.QueryRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) ReleaseCollection

func (_e *MockQueryNodeClient_Expecter) ReleaseCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_ReleaseCollection_Call

ReleaseCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ReleaseCollectionRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) ReleasePartitions

func (_e *MockQueryNodeClient_Expecter) ReleasePartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_ReleasePartitions_Call

ReleasePartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ReleasePartitionsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) ReleaseSegments

func (_e *MockQueryNodeClient_Expecter) ReleaseSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_ReleaseSegments_Call

ReleaseSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.ReleaseSegmentsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) Search

func (_e *MockQueryNodeClient_Expecter) Search(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_Search_Call

Search is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SearchRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) SearchSegments

func (_e *MockQueryNodeClient_Expecter) SearchSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_SearchSegments_Call

SearchSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SearchRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) ShowConfigurations

func (_e *MockQueryNodeClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) SyncDistribution

func (_e *MockQueryNodeClient_Expecter) SyncDistribution(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_SyncDistribution_Call

SyncDistribution is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SyncDistributionRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) SyncReplicaSegments

func (_e *MockQueryNodeClient_Expecter) SyncReplicaSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_SyncReplicaSegments_Call

SyncReplicaSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.SyncReplicaSegmentsRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) UnsubDmChannel

func (_e *MockQueryNodeClient_Expecter) UnsubDmChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_UnsubDmChannel_Call

UnsubDmChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.UnsubDmChannelRequest
  • opts ...grpc.CallOption

func (*MockQueryNodeClient_Expecter) WatchDmChannels

func (_e *MockQueryNodeClient_Expecter) WatchDmChannels(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryNodeClient_WatchDmChannels_Call

WatchDmChannels is a helper method to define mock.On call

  • ctx context.Context
  • in *querypb.WatchDmChannelsRequest
  • opts ...grpc.CallOption

type MockQueryNodeClient_GetComponentStates_Call

type MockQueryNodeClient_GetComponentStates_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetComponentStates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentStates'

func (*MockQueryNodeClient_GetComponentStates_Call) Return

func (*MockQueryNodeClient_GetComponentStates_Call) Run

type MockQueryNodeClient_GetDataDistribution_Call

type MockQueryNodeClient_GetDataDistribution_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetDataDistribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataDistribution'

func (*MockQueryNodeClient_GetDataDistribution_Call) Return

func (*MockQueryNodeClient_GetDataDistribution_Call) Run

type MockQueryNodeClient_GetMetrics_Call

type MockQueryNodeClient_GetMetrics_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetrics'

func (*MockQueryNodeClient_GetMetrics_Call) Return

func (*MockQueryNodeClient_GetMetrics_Call) Run

type MockQueryNodeClient_GetSegmentInfo_Call

type MockQueryNodeClient_GetSegmentInfo_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetSegmentInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSegmentInfo'

func (*MockQueryNodeClient_GetSegmentInfo_Call) Return

func (*MockQueryNodeClient_GetSegmentInfo_Call) Run

type MockQueryNodeClient_GetStatisticsChannel_Call

type MockQueryNodeClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetStatisticsChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatisticsChannel'

func (*MockQueryNodeClient_GetStatisticsChannel_Call) Return

func (*MockQueryNodeClient_GetStatisticsChannel_Call) Run

type MockQueryNodeClient_GetStatistics_Call

type MockQueryNodeClient_GetStatistics_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetStatistics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatistics'

func (*MockQueryNodeClient_GetStatistics_Call) Return

func (*MockQueryNodeClient_GetStatistics_Call) Run

type MockQueryNodeClient_GetTimeTickChannel_Call

type MockQueryNodeClient_GetTimeTickChannel_Call struct {
	*mock.Call
}

MockQueryNodeClient_GetTimeTickChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeTickChannel'

func (*MockQueryNodeClient_GetTimeTickChannel_Call) Return

func (*MockQueryNodeClient_GetTimeTickChannel_Call) Run

type MockQueryNodeClient_LoadPartitions_Call

type MockQueryNodeClient_LoadPartitions_Call struct {
	*mock.Call
}

MockQueryNodeClient_LoadPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadPartitions'

func (*MockQueryNodeClient_LoadPartitions_Call) Return

func (*MockQueryNodeClient_LoadPartitions_Call) Run

type MockQueryNodeClient_LoadSegments_Call

type MockQueryNodeClient_LoadSegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_LoadSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSegments'

func (*MockQueryNodeClient_LoadSegments_Call) Return

func (*MockQueryNodeClient_LoadSegments_Call) Run

type MockQueryNodeClient_QuerySegments_Call

type MockQueryNodeClient_QuerySegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_QuerySegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QuerySegments'

func (*MockQueryNodeClient_QuerySegments_Call) Return

func (*MockQueryNodeClient_QuerySegments_Call) Run

type MockQueryNodeClient_QueryStreamSegments_Call

type MockQueryNodeClient_QueryStreamSegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_QueryStreamSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryStreamSegments'

func (*MockQueryNodeClient_QueryStreamSegments_Call) Run

type MockQueryNodeClient_QueryStream_Call

type MockQueryNodeClient_QueryStream_Call struct {
	*mock.Call
}

MockQueryNodeClient_QueryStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryStream'

func (*MockQueryNodeClient_QueryStream_Call) Return

func (*MockQueryNodeClient_QueryStream_Call) Run

type MockQueryNodeClient_Query_Call

type MockQueryNodeClient_Query_Call struct {
	*mock.Call
}

MockQueryNodeClient_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'

func (*MockQueryNodeClient_Query_Call) Return

func (*MockQueryNodeClient_Query_Call) Run

type MockQueryNodeClient_ReleaseCollection_Call

type MockQueryNodeClient_ReleaseCollection_Call struct {
	*mock.Call
}

MockQueryNodeClient_ReleaseCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseCollection'

func (*MockQueryNodeClient_ReleaseCollection_Call) Return

func (*MockQueryNodeClient_ReleaseCollection_Call) Run

type MockQueryNodeClient_ReleasePartitions_Call

type MockQueryNodeClient_ReleasePartitions_Call struct {
	*mock.Call
}

MockQueryNodeClient_ReleasePartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleasePartitions'

func (*MockQueryNodeClient_ReleasePartitions_Call) Return

func (*MockQueryNodeClient_ReleasePartitions_Call) Run

type MockQueryNodeClient_ReleaseSegments_Call

type MockQueryNodeClient_ReleaseSegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_ReleaseSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseSegments'

func (*MockQueryNodeClient_ReleaseSegments_Call) Return

func (*MockQueryNodeClient_ReleaseSegments_Call) Run

type MockQueryNodeClient_SearchSegments_Call

type MockQueryNodeClient_SearchSegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_SearchSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchSegments'

func (*MockQueryNodeClient_SearchSegments_Call) Return

func (*MockQueryNodeClient_SearchSegments_Call) Run

type MockQueryNodeClient_Search_Call

type MockQueryNodeClient_Search_Call struct {
	*mock.Call
}

MockQueryNodeClient_Search_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Search'

func (*MockQueryNodeClient_Search_Call) Return

func (*MockQueryNodeClient_Search_Call) Run

type MockQueryNodeClient_ShowConfigurations_Call

type MockQueryNodeClient_ShowConfigurations_Call struct {
	*mock.Call
}

MockQueryNodeClient_ShowConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowConfigurations'

func (*MockQueryNodeClient_ShowConfigurations_Call) Return

func (*MockQueryNodeClient_ShowConfigurations_Call) Run

type MockQueryNodeClient_SyncDistribution_Call

type MockQueryNodeClient_SyncDistribution_Call struct {
	*mock.Call
}

MockQueryNodeClient_SyncDistribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncDistribution'

func (*MockQueryNodeClient_SyncDistribution_Call) Return

func (*MockQueryNodeClient_SyncDistribution_Call) Run

type MockQueryNodeClient_SyncReplicaSegments_Call

type MockQueryNodeClient_SyncReplicaSegments_Call struct {
	*mock.Call
}

MockQueryNodeClient_SyncReplicaSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncReplicaSegments'

func (*MockQueryNodeClient_SyncReplicaSegments_Call) Return

func (*MockQueryNodeClient_SyncReplicaSegments_Call) Run

type MockQueryNodeClient_UnsubDmChannel_Call

type MockQueryNodeClient_UnsubDmChannel_Call struct {
	*mock.Call
}

MockQueryNodeClient_UnsubDmChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubDmChannel'

func (*MockQueryNodeClient_UnsubDmChannel_Call) Return

func (*MockQueryNodeClient_UnsubDmChannel_Call) Run

type MockQueryNodeClient_WatchDmChannels_Call

type MockQueryNodeClient_WatchDmChannels_Call struct {
	*mock.Call
}

MockQueryNodeClient_WatchDmChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchDmChannels'

func (*MockQueryNodeClient_WatchDmChannels_Call) Return

func (*MockQueryNodeClient_WatchDmChannels_Call) Run

type MockQueryNode_DeleteBatch_Call

type MockQueryNode_DeleteBatch_Call struct {
	*mock.Call
}

MockQueryNode_DeleteBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBatch'

func (*MockQueryNode_DeleteBatch_Call) Return

func (*MockQueryNode_DeleteBatch_Call) Run

type MockQueryNode_Delete_Call

type MockQueryNode_Delete_Call struct {
	*mock.Call
}

MockQueryNode_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockQueryNode_Delete_Call) Return

func (*MockQueryNode_Delete_Call) Run

func (*MockQueryNode_Delete_Call) RunAndReturn

type MockQueryNode_Expecter

type MockQueryNode_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockQueryNode_Expecter) Delete

func (_e *MockQueryNode_Expecter) Delete(_a0 interface{}, _a1 interface{}) *MockQueryNode_Delete_Call

Delete is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.DeleteRequest

func (*MockQueryNode_Expecter) DeleteBatch

func (_e *MockQueryNode_Expecter) DeleteBatch(_a0 interface{}, _a1 interface{}) *MockQueryNode_DeleteBatch_Call

DeleteBatch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.DeleteBatchRequest

func (*MockQueryNode_Expecter) GetAddress

GetAddress is a helper method to define mock.On call

func (*MockQueryNode_Expecter) GetComponentStates

func (_e *MockQueryNode_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*MockQueryNode_Expecter) GetDataDistribution

func (_e *MockQueryNode_Expecter) GetDataDistribution(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetDataDistribution_Call

GetDataDistribution is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetDataDistributionRequest

func (*MockQueryNode_Expecter) GetMetrics

func (_e *MockQueryNode_Expecter) GetMetrics(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetMetricsRequest

func (*MockQueryNode_Expecter) GetNodeID

GetNodeID is a helper method to define mock.On call

func (*MockQueryNode_Expecter) GetSegmentInfo

func (_e *MockQueryNode_Expecter) GetSegmentInfo(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetSegmentInfo_Call

GetSegmentInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetSegmentInfoRequest

func (*MockQueryNode_Expecter) GetStatistics

func (_e *MockQueryNode_Expecter) GetStatistics(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetStatistics_Call

GetStatistics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.GetStatisticsRequest

func (*MockQueryNode_Expecter) GetStatisticsChannel

func (_e *MockQueryNode_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*MockQueryNode_Expecter) GetTimeTickChannel

func (_e *MockQueryNode_Expecter) GetTimeTickChannel(_a0 interface{}, _a1 interface{}) *MockQueryNode_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetTimeTickChannelRequest

func (*MockQueryNode_Expecter) Init

Init is a helper method to define mock.On call

func (*MockQueryNode_Expecter) LoadPartitions

func (_e *MockQueryNode_Expecter) LoadPartitions(_a0 interface{}, _a1 interface{}) *MockQueryNode_LoadPartitions_Call

LoadPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.LoadPartitionsRequest

func (*MockQueryNode_Expecter) LoadSegments

func (_e *MockQueryNode_Expecter) LoadSegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_LoadSegments_Call

LoadSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.LoadSegmentsRequest

func (*MockQueryNode_Expecter) Query

func (_e *MockQueryNode_Expecter) Query(_a0 interface{}, _a1 interface{}) *MockQueryNode_Query_Call

Query is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.QueryRequest

func (*MockQueryNode_Expecter) QuerySegments

func (_e *MockQueryNode_Expecter) QuerySegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_QuerySegments_Call

QuerySegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.QueryRequest

func (*MockQueryNode_Expecter) QueryStream

func (_e *MockQueryNode_Expecter) QueryStream(_a0 interface{}, _a1 interface{}) *MockQueryNode_QueryStream_Call

QueryStream is a helper method to define mock.On call

  • _a0 *querypb.QueryRequest
  • _a1 querypb.QueryNode_QueryStreamServer

func (*MockQueryNode_Expecter) QueryStreamSegments

func (_e *MockQueryNode_Expecter) QueryStreamSegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_QueryStreamSegments_Call

QueryStreamSegments is a helper method to define mock.On call

  • _a0 *querypb.QueryRequest
  • _a1 querypb.QueryNode_QueryStreamSegmentsServer

func (*MockQueryNode_Expecter) Register

Register is a helper method to define mock.On call

func (*MockQueryNode_Expecter) ReleaseCollection

func (_e *MockQueryNode_Expecter) ReleaseCollection(_a0 interface{}, _a1 interface{}) *MockQueryNode_ReleaseCollection_Call

ReleaseCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ReleaseCollectionRequest

func (*MockQueryNode_Expecter) ReleasePartitions

func (_e *MockQueryNode_Expecter) ReleasePartitions(_a0 interface{}, _a1 interface{}) *MockQueryNode_ReleasePartitions_Call

ReleasePartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ReleasePartitionsRequest

func (*MockQueryNode_Expecter) ReleaseSegments

func (_e *MockQueryNode_Expecter) ReleaseSegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_ReleaseSegments_Call

ReleaseSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.ReleaseSegmentsRequest

func (*MockQueryNode_Expecter) Search

func (_e *MockQueryNode_Expecter) Search(_a0 interface{}, _a1 interface{}) *MockQueryNode_Search_Call

Search is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SearchRequest

func (*MockQueryNode_Expecter) SearchSegments

func (_e *MockQueryNode_Expecter) SearchSegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_SearchSegments_Call

SearchSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SearchRequest

func (*MockQueryNode_Expecter) SetAddress

func (_e *MockQueryNode_Expecter) SetAddress(address interface{}) *MockQueryNode_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*MockQueryNode_Expecter) SetEtcdClient

func (_e *MockQueryNode_Expecter) SetEtcdClient(etcdClient interface{}) *MockQueryNode_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*MockQueryNode_Expecter) ShowConfigurations

func (_e *MockQueryNode_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *MockQueryNode_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*MockQueryNode_Expecter) Start

Start is a helper method to define mock.On call

func (*MockQueryNode_Expecter) Stop

Stop is a helper method to define mock.On call

func (*MockQueryNode_Expecter) SyncDistribution

func (_e *MockQueryNode_Expecter) SyncDistribution(_a0 interface{}, _a1 interface{}) *MockQueryNode_SyncDistribution_Call

SyncDistribution is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SyncDistributionRequest

func (*MockQueryNode_Expecter) SyncReplicaSegments

func (_e *MockQueryNode_Expecter) SyncReplicaSegments(_a0 interface{}, _a1 interface{}) *MockQueryNode_SyncReplicaSegments_Call

SyncReplicaSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.SyncReplicaSegmentsRequest

func (*MockQueryNode_Expecter) UnsubDmChannel

func (_e *MockQueryNode_Expecter) UnsubDmChannel(_a0 interface{}, _a1 interface{}) *MockQueryNode_UnsubDmChannel_Call

UnsubDmChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.UnsubDmChannelRequest

func (*MockQueryNode_Expecter) UpdateStateCode

func (_e *MockQueryNode_Expecter) UpdateStateCode(stateCode interface{}) *MockQueryNode_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • stateCode commonpb.StateCode

func (*MockQueryNode_Expecter) WatchDmChannels

func (_e *MockQueryNode_Expecter) WatchDmChannels(_a0 interface{}, _a1 interface{}) *MockQueryNode_WatchDmChannels_Call

WatchDmChannels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *querypb.WatchDmChannelsRequest

type MockQueryNode_GetAddress_Call

type MockQueryNode_GetAddress_Call struct {
	*mock.Call
}

MockQueryNode_GetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAddress'

func (*MockQueryNode_GetAddress_Call) Return

func (*MockQueryNode_GetAddress_Call) Run

func (*MockQueryNode_GetAddress_Call) RunAndReturn

type MockQueryNode_GetComponentStates_Call

type MockQueryNode_GetComponentStates_Call struct {
	*mock.Call
}

MockQueryNode_GetComponentStates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentStates'

func (*MockQueryNode_GetComponentStates_Call) Return

func (*MockQueryNode_GetComponentStates_Call) Run

type MockQueryNode_GetDataDistribution_Call

type MockQueryNode_GetDataDistribution_Call struct {
	*mock.Call
}

MockQueryNode_GetDataDistribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataDistribution'

func (*MockQueryNode_GetDataDistribution_Call) Return

func (*MockQueryNode_GetDataDistribution_Call) Run

type MockQueryNode_GetMetrics_Call

type MockQueryNode_GetMetrics_Call struct {
	*mock.Call
}

MockQueryNode_GetMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetrics'

func (*MockQueryNode_GetMetrics_Call) Return

func (*MockQueryNode_GetMetrics_Call) Run

type MockQueryNode_GetNodeID_Call

type MockQueryNode_GetNodeID_Call struct {
	*mock.Call
}

MockQueryNode_GetNodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNodeID'

func (*MockQueryNode_GetNodeID_Call) Return

func (*MockQueryNode_GetNodeID_Call) Run

func (*MockQueryNode_GetNodeID_Call) RunAndReturn

func (_c *MockQueryNode_GetNodeID_Call) RunAndReturn(run func() int64) *MockQueryNode_GetNodeID_Call

type MockQueryNode_GetSegmentInfo_Call

type MockQueryNode_GetSegmentInfo_Call struct {
	*mock.Call
}

MockQueryNode_GetSegmentInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSegmentInfo'

func (*MockQueryNode_GetSegmentInfo_Call) Return

func (*MockQueryNode_GetSegmentInfo_Call) Run

type MockQueryNode_GetStatisticsChannel_Call

type MockQueryNode_GetStatisticsChannel_Call struct {
	*mock.Call
}

MockQueryNode_GetStatisticsChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatisticsChannel'

func (*MockQueryNode_GetStatisticsChannel_Call) Return

func (*MockQueryNode_GetStatisticsChannel_Call) Run

type MockQueryNode_GetStatistics_Call

type MockQueryNode_GetStatistics_Call struct {
	*mock.Call
}

MockQueryNode_GetStatistics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatistics'

func (*MockQueryNode_GetStatistics_Call) Return

func (*MockQueryNode_GetStatistics_Call) Run

type MockQueryNode_GetTimeTickChannel_Call

type MockQueryNode_GetTimeTickChannel_Call struct {
	*mock.Call
}

MockQueryNode_GetTimeTickChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeTickChannel'

func (*MockQueryNode_GetTimeTickChannel_Call) Return

func (*MockQueryNode_GetTimeTickChannel_Call) Run

type MockQueryNode_Init_Call

type MockQueryNode_Init_Call struct {
	*mock.Call
}

MockQueryNode_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'

func (*MockQueryNode_Init_Call) Return

func (*MockQueryNode_Init_Call) Run

func (_c *MockQueryNode_Init_Call) Run(run func()) *MockQueryNode_Init_Call

func (*MockQueryNode_Init_Call) RunAndReturn

func (_c *MockQueryNode_Init_Call) RunAndReturn(run func() error) *MockQueryNode_Init_Call

type MockQueryNode_LoadPartitions_Call

type MockQueryNode_LoadPartitions_Call struct {
	*mock.Call
}

MockQueryNode_LoadPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadPartitions'

func (*MockQueryNode_LoadPartitions_Call) Return

func (*MockQueryNode_LoadPartitions_Call) Run

func (*MockQueryNode_LoadPartitions_Call) RunAndReturn

type MockQueryNode_LoadSegments_Call

type MockQueryNode_LoadSegments_Call struct {
	*mock.Call
}

MockQueryNode_LoadSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSegments'

func (*MockQueryNode_LoadSegments_Call) Return

func (*MockQueryNode_LoadSegments_Call) Run

func (*MockQueryNode_LoadSegments_Call) RunAndReturn

type MockQueryNode_QuerySegments_Call

type MockQueryNode_QuerySegments_Call struct {
	*mock.Call
}

MockQueryNode_QuerySegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QuerySegments'

func (*MockQueryNode_QuerySegments_Call) Return

func (*MockQueryNode_QuerySegments_Call) Run

func (*MockQueryNode_QuerySegments_Call) RunAndReturn

type MockQueryNode_QueryStreamSegments_Call

type MockQueryNode_QueryStreamSegments_Call struct {
	*mock.Call
}

MockQueryNode_QueryStreamSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryStreamSegments'

func (*MockQueryNode_QueryStreamSegments_Call) Return

type MockQueryNode_QueryStream_Call

type MockQueryNode_QueryStream_Call struct {
	*mock.Call
}

MockQueryNode_QueryStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryStream'

func (*MockQueryNode_QueryStream_Call) Return

func (*MockQueryNode_QueryStream_Call) Run

type MockQueryNode_Query_Call

type MockQueryNode_Query_Call struct {
	*mock.Call
}

MockQueryNode_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'

func (*MockQueryNode_Query_Call) Return

func (*MockQueryNode_Query_Call) Run

func (*MockQueryNode_Query_Call) RunAndReturn

type MockQueryNode_Register_Call

type MockQueryNode_Register_Call struct {
	*mock.Call
}

MockQueryNode_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*MockQueryNode_Register_Call) Return

func (*MockQueryNode_Register_Call) Run

func (*MockQueryNode_Register_Call) RunAndReturn

func (_c *MockQueryNode_Register_Call) RunAndReturn(run func() error) *MockQueryNode_Register_Call

type MockQueryNode_ReleaseCollection_Call

type MockQueryNode_ReleaseCollection_Call struct {
	*mock.Call
}

MockQueryNode_ReleaseCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseCollection'

func (*MockQueryNode_ReleaseCollection_Call) Return

func (*MockQueryNode_ReleaseCollection_Call) Run

type MockQueryNode_ReleasePartitions_Call

type MockQueryNode_ReleasePartitions_Call struct {
	*mock.Call
}

MockQueryNode_ReleasePartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleasePartitions'

func (*MockQueryNode_ReleasePartitions_Call) Return

func (*MockQueryNode_ReleasePartitions_Call) Run

type MockQueryNode_ReleaseSegments_Call

type MockQueryNode_ReleaseSegments_Call struct {
	*mock.Call
}

MockQueryNode_ReleaseSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseSegments'

func (*MockQueryNode_ReleaseSegments_Call) Return

func (*MockQueryNode_ReleaseSegments_Call) Run

func (*MockQueryNode_ReleaseSegments_Call) RunAndReturn

type MockQueryNode_SearchSegments_Call

type MockQueryNode_SearchSegments_Call struct {
	*mock.Call
}

MockQueryNode_SearchSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchSegments'

func (*MockQueryNode_SearchSegments_Call) Return

func (*MockQueryNode_SearchSegments_Call) Run

func (*MockQueryNode_SearchSegments_Call) RunAndReturn

type MockQueryNode_Search_Call

type MockQueryNode_Search_Call struct {
	*mock.Call
}

MockQueryNode_Search_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Search'

func (*MockQueryNode_Search_Call) Return

func (*MockQueryNode_Search_Call) Run

func (*MockQueryNode_Search_Call) RunAndReturn

type MockQueryNode_SetAddress_Call

type MockQueryNode_SetAddress_Call struct {
	*mock.Call
}

MockQueryNode_SetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAddress'

func (*MockQueryNode_SetAddress_Call) Return

func (*MockQueryNode_SetAddress_Call) Run

func (*MockQueryNode_SetAddress_Call) RunAndReturn

type MockQueryNode_SetEtcdClient_Call

type MockQueryNode_SetEtcdClient_Call struct {
	*mock.Call
}

MockQueryNode_SetEtcdClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEtcdClient'

func (*MockQueryNode_SetEtcdClient_Call) Return

func (*MockQueryNode_SetEtcdClient_Call) Run

func (*MockQueryNode_SetEtcdClient_Call) RunAndReturn

type MockQueryNode_ShowConfigurations_Call

type MockQueryNode_ShowConfigurations_Call struct {
	*mock.Call
}

MockQueryNode_ShowConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowConfigurations'

func (*MockQueryNode_ShowConfigurations_Call) Return

func (*MockQueryNode_ShowConfigurations_Call) Run

type MockQueryNode_Start_Call

type MockQueryNode_Start_Call struct {
	*mock.Call
}

MockQueryNode_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*MockQueryNode_Start_Call) Return

func (*MockQueryNode_Start_Call) Run

func (*MockQueryNode_Start_Call) RunAndReturn

func (_c *MockQueryNode_Start_Call) RunAndReturn(run func() error) *MockQueryNode_Start_Call

type MockQueryNode_Stop_Call

type MockQueryNode_Stop_Call struct {
	*mock.Call
}

MockQueryNode_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*MockQueryNode_Stop_Call) Return

func (*MockQueryNode_Stop_Call) Run

func (_c *MockQueryNode_Stop_Call) Run(run func()) *MockQueryNode_Stop_Call

func (*MockQueryNode_Stop_Call) RunAndReturn

func (_c *MockQueryNode_Stop_Call) RunAndReturn(run func() error) *MockQueryNode_Stop_Call

type MockQueryNode_SyncDistribution_Call

type MockQueryNode_SyncDistribution_Call struct {
	*mock.Call
}

MockQueryNode_SyncDistribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncDistribution'

func (*MockQueryNode_SyncDistribution_Call) Return

func (*MockQueryNode_SyncDistribution_Call) Run

func (*MockQueryNode_SyncDistribution_Call) RunAndReturn

type MockQueryNode_SyncReplicaSegments_Call

type MockQueryNode_SyncReplicaSegments_Call struct {
	*mock.Call
}

MockQueryNode_SyncReplicaSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncReplicaSegments'

func (*MockQueryNode_SyncReplicaSegments_Call) Return

func (*MockQueryNode_SyncReplicaSegments_Call) Run

type MockQueryNode_UnsubDmChannel_Call

type MockQueryNode_UnsubDmChannel_Call struct {
	*mock.Call
}

MockQueryNode_UnsubDmChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubDmChannel'

func (*MockQueryNode_UnsubDmChannel_Call) Return

func (*MockQueryNode_UnsubDmChannel_Call) Run

func (*MockQueryNode_UnsubDmChannel_Call) RunAndReturn

type MockQueryNode_UpdateStateCode_Call

type MockQueryNode_UpdateStateCode_Call struct {
	*mock.Call
}

MockQueryNode_UpdateStateCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStateCode'

func (*MockQueryNode_UpdateStateCode_Call) Return

func (*MockQueryNode_UpdateStateCode_Call) Run

func (*MockQueryNode_UpdateStateCode_Call) RunAndReturn

type MockQueryNode_WatchDmChannels_Call

type MockQueryNode_WatchDmChannels_Call struct {
	*mock.Call
}

MockQueryNode_WatchDmChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchDmChannels'

func (*MockQueryNode_WatchDmChannels_Call) Return

func (*MockQueryNode_WatchDmChannels_Call) Run

func (*MockQueryNode_WatchDmChannels_Call) RunAndReturn

type MockRootCoordClient

type MockRootCoordClient struct {
	mock.Mock
}

MockRootCoordClient is an autogenerated mock type for the RootCoordClient type

func NewMockRootCoordClient

func NewMockRootCoordClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRootCoordClient

NewMockRootCoordClient creates a new instance of MockRootCoordClient. 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 (*MockRootCoordClient) AllocID

AllocID provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) AllocTimestamp

AllocTimestamp provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) AlterAlias

AlterAlias provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) AlterCollection

AlterCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) AlterDatabase

AlterDatabase provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) BackupRBAC

BackupRBAC provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CheckHealth

CheckHealth provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) Close

func (_m *MockRootCoordClient) Close() error

Close provides a mock function with given fields:

func (*MockRootCoordClient) CreateAlias

CreateAlias provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreateCollection

CreateCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreateCredential

func (_m *MockRootCoordClient) CreateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error)

CreateCredential provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreateDatabase

CreateDatabase provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreatePartition

CreatePartition provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreatePrivilegeGroup

CreatePrivilegeGroup provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) CreateRole

CreateRole provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DeleteCredential

DeleteCredential provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DescribeAlias

DescribeAlias provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DescribeCollection

DescribeCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DescribeCollectionInternal

DescribeCollectionInternal provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DescribeDatabase

DescribeDatabase provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropAlias

DropAlias provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropCollection

DropCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropDatabase

DropDatabase provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropPartition

DropPartition provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropPrivilegeGroup

DropPrivilegeGroup provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) DropRole

DropRole provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) EXPECT

func (*MockRootCoordClient) GetComponentStates

GetComponentStates provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) GetCredential

GetCredential provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) GetMetrics

GetMetrics provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) GetPChannelInfo

GetPChannelInfo provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) GetStatisticsChannel

GetStatisticsChannel provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) GetTimeTickChannel

GetTimeTickChannel provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) HasCollection

HasCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) HasPartition

HasPartition provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) InvalidateCollectionMetaCache

func (_m *MockRootCoordClient) InvalidateCollectionMetaCache(ctx context.Context, in *proxypb.InvalidateCollMetaCacheRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

InvalidateCollectionMetaCache provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ListAliases

ListAliases provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ListCredUsers

ListCredUsers provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ListDatabases

ListDatabases provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ListPolicy

ListPolicy provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ListPrivilegeGroups

ListPrivilegeGroups provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) OperatePrivilege

OperatePrivilege provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) OperatePrivilegeGroup

OperatePrivilegeGroup provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) OperateUserRole

OperateUserRole provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) RenameCollection

RenameCollection provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) RestoreRBAC

RestoreRBAC provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) SelectGrant

SelectGrant provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) SelectRole

SelectRole provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) SelectUser

SelectUser provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ShowCollections

ShowCollections provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ShowConfigurations

ShowConfigurations provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ShowPartitions

ShowPartitions provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ShowPartitionsInternal

ShowPartitionsInternal provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) ShowSegments

ShowSegments provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) UpdateChannelTimeTick

func (_m *MockRootCoordClient) UpdateChannelTimeTick(ctx context.Context, in *internalpb.ChannelTimeTickMsg, opts ...grpc.CallOption) (*commonpb.Status, error)

UpdateChannelTimeTick provides a mock function with given fields: ctx, in, opts

func (*MockRootCoordClient) UpdateCredential

func (_m *MockRootCoordClient) UpdateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error)

UpdateCredential provides a mock function with given fields: ctx, in, opts

type MockRootCoordClient_AllocID_Call

type MockRootCoordClient_AllocID_Call struct {
	*mock.Call
}

MockRootCoordClient_AllocID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocID'

func (*MockRootCoordClient_AllocID_Call) Return

func (*MockRootCoordClient_AllocID_Call) Run

type MockRootCoordClient_AllocTimestamp_Call

type MockRootCoordClient_AllocTimestamp_Call struct {
	*mock.Call
}

MockRootCoordClient_AllocTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocTimestamp'

func (*MockRootCoordClient_AllocTimestamp_Call) Return

func (*MockRootCoordClient_AllocTimestamp_Call) Run

type MockRootCoordClient_AlterAlias_Call

type MockRootCoordClient_AlterAlias_Call struct {
	*mock.Call
}

MockRootCoordClient_AlterAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterAlias'

func (*MockRootCoordClient_AlterAlias_Call) Return

func (*MockRootCoordClient_AlterAlias_Call) Run

func (*MockRootCoordClient_AlterAlias_Call) RunAndReturn

type MockRootCoordClient_AlterCollection_Call

type MockRootCoordClient_AlterCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_AlterCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterCollection'

func (*MockRootCoordClient_AlterCollection_Call) Return

func (*MockRootCoordClient_AlterCollection_Call) Run

type MockRootCoordClient_AlterDatabase_Call

type MockRootCoordClient_AlterDatabase_Call struct {
	*mock.Call
}

MockRootCoordClient_AlterDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterDatabase'

func (*MockRootCoordClient_AlterDatabase_Call) Return

func (*MockRootCoordClient_AlterDatabase_Call) Run

type MockRootCoordClient_BackupRBAC_Call

type MockRootCoordClient_BackupRBAC_Call struct {
	*mock.Call
}

MockRootCoordClient_BackupRBAC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupRBAC'

func (*MockRootCoordClient_BackupRBAC_Call) Return

func (*MockRootCoordClient_BackupRBAC_Call) Run

type MockRootCoordClient_CheckHealth_Call

type MockRootCoordClient_CheckHealth_Call struct {
	*mock.Call
}

MockRootCoordClient_CheckHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckHealth'

func (*MockRootCoordClient_CheckHealth_Call) Return

func (*MockRootCoordClient_CheckHealth_Call) Run

type MockRootCoordClient_Close_Call

type MockRootCoordClient_Close_Call struct {
	*mock.Call
}

MockRootCoordClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockRootCoordClient_Close_Call) Return

func (*MockRootCoordClient_Close_Call) Run

func (*MockRootCoordClient_Close_Call) RunAndReturn

type MockRootCoordClient_CreateAlias_Call

type MockRootCoordClient_CreateAlias_Call struct {
	*mock.Call
}

MockRootCoordClient_CreateAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAlias'

func (*MockRootCoordClient_CreateAlias_Call) Return

func (*MockRootCoordClient_CreateAlias_Call) Run

type MockRootCoordClient_CreateCollection_Call

type MockRootCoordClient_CreateCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_CreateCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCollection'

func (*MockRootCoordClient_CreateCollection_Call) Return

func (*MockRootCoordClient_CreateCollection_Call) Run

type MockRootCoordClient_CreateCredential_Call

type MockRootCoordClient_CreateCredential_Call struct {
	*mock.Call
}

MockRootCoordClient_CreateCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCredential'

func (*MockRootCoordClient_CreateCredential_Call) Return

func (*MockRootCoordClient_CreateCredential_Call) Run

type MockRootCoordClient_CreateDatabase_Call

type MockRootCoordClient_CreateDatabase_Call struct {
	*mock.Call
}

MockRootCoordClient_CreateDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDatabase'

func (*MockRootCoordClient_CreateDatabase_Call) Return

func (*MockRootCoordClient_CreateDatabase_Call) Run

type MockRootCoordClient_CreatePartition_Call

type MockRootCoordClient_CreatePartition_Call struct {
	*mock.Call
}

MockRootCoordClient_CreatePartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePartition'

func (*MockRootCoordClient_CreatePartition_Call) Return

func (*MockRootCoordClient_CreatePartition_Call) Run

type MockRootCoordClient_CreatePrivilegeGroup_Call

type MockRootCoordClient_CreatePrivilegeGroup_Call struct {
	*mock.Call
}

MockRootCoordClient_CreatePrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePrivilegeGroup'

func (*MockRootCoordClient_CreatePrivilegeGroup_Call) Return

func (*MockRootCoordClient_CreatePrivilegeGroup_Call) Run

type MockRootCoordClient_CreateRole_Call

type MockRootCoordClient_CreateRole_Call struct {
	*mock.Call
}

MockRootCoordClient_CreateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRole'

func (*MockRootCoordClient_CreateRole_Call) Return

func (*MockRootCoordClient_CreateRole_Call) Run

func (*MockRootCoordClient_CreateRole_Call) RunAndReturn

type MockRootCoordClient_DeleteCredential_Call

type MockRootCoordClient_DeleteCredential_Call struct {
	*mock.Call
}

MockRootCoordClient_DeleteCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCredential'

func (*MockRootCoordClient_DeleteCredential_Call) Return

func (*MockRootCoordClient_DeleteCredential_Call) Run

type MockRootCoordClient_DescribeAlias_Call

type MockRootCoordClient_DescribeAlias_Call struct {
	*mock.Call
}

MockRootCoordClient_DescribeAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAlias'

func (*MockRootCoordClient_DescribeAlias_Call) Return

func (*MockRootCoordClient_DescribeAlias_Call) Run

type MockRootCoordClient_DescribeCollectionInternal_Call

type MockRootCoordClient_DescribeCollectionInternal_Call struct {
	*mock.Call
}

MockRootCoordClient_DescribeCollectionInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeCollectionInternal'

func (*MockRootCoordClient_DescribeCollectionInternal_Call) Run

type MockRootCoordClient_DescribeCollection_Call

type MockRootCoordClient_DescribeCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_DescribeCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeCollection'

func (*MockRootCoordClient_DescribeCollection_Call) Return

func (*MockRootCoordClient_DescribeCollection_Call) Run

type MockRootCoordClient_DescribeDatabase_Call

type MockRootCoordClient_DescribeDatabase_Call struct {
	*mock.Call
}

MockRootCoordClient_DescribeDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDatabase'

func (*MockRootCoordClient_DescribeDatabase_Call) Return

func (*MockRootCoordClient_DescribeDatabase_Call) Run

type MockRootCoordClient_DropAlias_Call

type MockRootCoordClient_DropAlias_Call struct {
	*mock.Call
}

MockRootCoordClient_DropAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAlias'

func (*MockRootCoordClient_DropAlias_Call) Return

func (*MockRootCoordClient_DropAlias_Call) Run

func (*MockRootCoordClient_DropAlias_Call) RunAndReturn

type MockRootCoordClient_DropCollection_Call

type MockRootCoordClient_DropCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_DropCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropCollection'

func (*MockRootCoordClient_DropCollection_Call) Return

func (*MockRootCoordClient_DropCollection_Call) Run

type MockRootCoordClient_DropDatabase_Call

type MockRootCoordClient_DropDatabase_Call struct {
	*mock.Call
}

MockRootCoordClient_DropDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropDatabase'

func (*MockRootCoordClient_DropDatabase_Call) Return

func (*MockRootCoordClient_DropDatabase_Call) Run

type MockRootCoordClient_DropPartition_Call

type MockRootCoordClient_DropPartition_Call struct {
	*mock.Call
}

MockRootCoordClient_DropPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPartition'

func (*MockRootCoordClient_DropPartition_Call) Return

func (*MockRootCoordClient_DropPartition_Call) Run

type MockRootCoordClient_DropPrivilegeGroup_Call

type MockRootCoordClient_DropPrivilegeGroup_Call struct {
	*mock.Call
}

MockRootCoordClient_DropPrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPrivilegeGroup'

func (*MockRootCoordClient_DropPrivilegeGroup_Call) Return

func (*MockRootCoordClient_DropPrivilegeGroup_Call) Run

type MockRootCoordClient_DropRole_Call

type MockRootCoordClient_DropRole_Call struct {
	*mock.Call
}

MockRootCoordClient_DropRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropRole'

func (*MockRootCoordClient_DropRole_Call) Return

func (*MockRootCoordClient_DropRole_Call) Run

func (*MockRootCoordClient_DropRole_Call) RunAndReturn

type MockRootCoordClient_Expecter

type MockRootCoordClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRootCoordClient_Expecter) AllocID

func (_e *MockRootCoordClient_Expecter) AllocID(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_AllocID_Call

AllocID is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.AllocIDRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) AllocTimestamp

func (_e *MockRootCoordClient_Expecter) AllocTimestamp(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_AllocTimestamp_Call

AllocTimestamp is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.AllocTimestampRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) AlterAlias

func (_e *MockRootCoordClient_Expecter) AlterAlias(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_AlterAlias_Call

AlterAlias is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.AlterAliasRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) AlterCollection

func (_e *MockRootCoordClient_Expecter) AlterCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_AlterCollection_Call

AlterCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.AlterCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) AlterDatabase

func (_e *MockRootCoordClient_Expecter) AlterDatabase(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_AlterDatabase_Call

AlterDatabase is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.AlterDatabaseRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) BackupRBAC

func (_e *MockRootCoordClient_Expecter) BackupRBAC(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_BackupRBAC_Call

BackupRBAC is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.BackupRBACMetaRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CheckHealth

func (_e *MockRootCoordClient_Expecter) CheckHealth(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CheckHealthRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockRootCoordClient_Expecter) CreateAlias

func (_e *MockRootCoordClient_Expecter) CreateAlias(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreateAlias_Call

CreateAlias is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreateAliasRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreateCollection

func (_e *MockRootCoordClient_Expecter) CreateCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreateCollection_Call

CreateCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreateCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreateCredential

func (_e *MockRootCoordClient_Expecter) CreateCredential(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreateCredential_Call

CreateCredential is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.CredentialInfo
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreateDatabase

func (_e *MockRootCoordClient_Expecter) CreateDatabase(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreateDatabase_Call

CreateDatabase is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreateDatabaseRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreatePartition

func (_e *MockRootCoordClient_Expecter) CreatePartition(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreatePartition_Call

CreatePartition is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreatePartitionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreatePrivilegeGroup

func (_e *MockRootCoordClient_Expecter) CreatePrivilegeGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreatePrivilegeGroup_Call

CreatePrivilegeGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreatePrivilegeGroupRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) CreateRole

func (_e *MockRootCoordClient_Expecter) CreateRole(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_CreateRole_Call

CreateRole is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.CreateRoleRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DeleteCredential

func (_e *MockRootCoordClient_Expecter) DeleteCredential(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DeleteCredential_Call

DeleteCredential is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DeleteCredentialRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DescribeAlias

func (_e *MockRootCoordClient_Expecter) DescribeAlias(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DescribeAlias_Call

DescribeAlias is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DescribeAliasRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DescribeCollection

func (_e *MockRootCoordClient_Expecter) DescribeCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DescribeCollection_Call

DescribeCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DescribeCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DescribeCollectionInternal

func (_e *MockRootCoordClient_Expecter) DescribeCollectionInternal(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DescribeCollectionInternal_Call

DescribeCollectionInternal is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DescribeCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DescribeDatabase

func (_e *MockRootCoordClient_Expecter) DescribeDatabase(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DescribeDatabase_Call

DescribeDatabase is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.DescribeDatabaseRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropAlias

func (_e *MockRootCoordClient_Expecter) DropAlias(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropAlias_Call

DropAlias is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropAliasRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropCollection

func (_e *MockRootCoordClient_Expecter) DropCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropCollection_Call

DropCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropDatabase

func (_e *MockRootCoordClient_Expecter) DropDatabase(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropDatabase_Call

DropDatabase is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropDatabaseRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropPartition

func (_e *MockRootCoordClient_Expecter) DropPartition(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropPartition_Call

DropPartition is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropPartitionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropPrivilegeGroup

func (_e *MockRootCoordClient_Expecter) DropPrivilegeGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropPrivilegeGroup_Call

DropPrivilegeGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropPrivilegeGroupRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) DropRole

func (_e *MockRootCoordClient_Expecter) DropRole(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_DropRole_Call

DropRole is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.DropRoleRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetComponentStates

func (_e *MockRootCoordClient_Expecter) GetComponentStates(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetComponentStatesRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetCredential

func (_e *MockRootCoordClient_Expecter) GetCredential(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetCredential_Call

GetCredential is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.GetCredentialRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetMetrics

func (_e *MockRootCoordClient_Expecter) GetMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.GetMetricsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetPChannelInfo

func (_e *MockRootCoordClient_Expecter) GetPChannelInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetPChannelInfo_Call

GetPChannelInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *rootcoordpb.GetPChannelInfoRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetStatisticsChannel

func (_e *MockRootCoordClient_Expecter) GetStatisticsChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetStatisticsChannelRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) GetTimeTickChannel

func (_e *MockRootCoordClient_Expecter) GetTimeTickChannel(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.GetTimeTickChannelRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) HasCollection

func (_e *MockRootCoordClient_Expecter) HasCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_HasCollection_Call

HasCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.HasCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) HasPartition

func (_e *MockRootCoordClient_Expecter) HasPartition(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_HasPartition_Call

HasPartition is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.HasPartitionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) InvalidateCollectionMetaCache

func (_e *MockRootCoordClient_Expecter) InvalidateCollectionMetaCache(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_InvalidateCollectionMetaCache_Call

InvalidateCollectionMetaCache is a helper method to define mock.On call

  • ctx context.Context
  • in *proxypb.InvalidateCollMetaCacheRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ListAliases

func (_e *MockRootCoordClient_Expecter) ListAliases(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ListAliases_Call

ListAliases is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ListAliasesRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ListCredUsers

func (_e *MockRootCoordClient_Expecter) ListCredUsers(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ListCredUsers_Call

ListCredUsers is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ListCredUsersRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ListDatabases

func (_e *MockRootCoordClient_Expecter) ListDatabases(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ListDatabases_Call

ListDatabases is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ListDatabasesRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ListPolicy

func (_e *MockRootCoordClient_Expecter) ListPolicy(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ListPolicy_Call

ListPolicy is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ListPolicyRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ListPrivilegeGroups

func (_e *MockRootCoordClient_Expecter) ListPrivilegeGroups(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ListPrivilegeGroups_Call

ListPrivilegeGroups is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ListPrivilegeGroupsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) OperatePrivilege

func (_e *MockRootCoordClient_Expecter) OperatePrivilege(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_OperatePrivilege_Call

OperatePrivilege is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.OperatePrivilegeRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) OperatePrivilegeGroup

func (_e *MockRootCoordClient_Expecter) OperatePrivilegeGroup(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_OperatePrivilegeGroup_Call

OperatePrivilegeGroup is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.OperatePrivilegeGroupRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) OperateUserRole

func (_e *MockRootCoordClient_Expecter) OperateUserRole(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_OperateUserRole_Call

OperateUserRole is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.OperateUserRoleRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) RenameCollection

func (_e *MockRootCoordClient_Expecter) RenameCollection(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_RenameCollection_Call

RenameCollection is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.RenameCollectionRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) RestoreRBAC

func (_e *MockRootCoordClient_Expecter) RestoreRBAC(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_RestoreRBAC_Call

RestoreRBAC is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.RestoreRBACMetaRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) SelectGrant

func (_e *MockRootCoordClient_Expecter) SelectGrant(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_SelectGrant_Call

SelectGrant is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.SelectGrantRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) SelectRole

func (_e *MockRootCoordClient_Expecter) SelectRole(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_SelectRole_Call

SelectRole is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.SelectRoleRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) SelectUser

func (_e *MockRootCoordClient_Expecter) SelectUser(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_SelectUser_Call

SelectUser is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.SelectUserRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ShowCollections

func (_e *MockRootCoordClient_Expecter) ShowCollections(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ShowCollections_Call

ShowCollections is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ShowCollectionsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ShowConfigurations

func (_e *MockRootCoordClient_Expecter) ShowConfigurations(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ShowConfigurationsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ShowPartitions

func (_e *MockRootCoordClient_Expecter) ShowPartitions(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ShowPartitions_Call

ShowPartitions is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ShowPartitionsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ShowPartitionsInternal

func (_e *MockRootCoordClient_Expecter) ShowPartitionsInternal(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ShowPartitionsInternal_Call

ShowPartitionsInternal is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ShowPartitionsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) ShowSegments

func (_e *MockRootCoordClient_Expecter) ShowSegments(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_ShowSegments_Call

ShowSegments is a helper method to define mock.On call

  • ctx context.Context
  • in *milvuspb.ShowSegmentsRequest
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) UpdateChannelTimeTick

func (_e *MockRootCoordClient_Expecter) UpdateChannelTimeTick(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_UpdateChannelTimeTick_Call

UpdateChannelTimeTick is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.ChannelTimeTickMsg
  • opts ...grpc.CallOption

func (*MockRootCoordClient_Expecter) UpdateCredential

func (_e *MockRootCoordClient_Expecter) UpdateCredential(ctx interface{}, in interface{}, opts ...interface{}) *MockRootCoordClient_UpdateCredential_Call

UpdateCredential is a helper method to define mock.On call

  • ctx context.Context
  • in *internalpb.CredentialInfo
  • opts ...grpc.CallOption

type MockRootCoordClient_GetComponentStates_Call

type MockRootCoordClient_GetComponentStates_Call struct {
	*mock.Call
}

MockRootCoordClient_GetComponentStates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentStates'

func (*MockRootCoordClient_GetComponentStates_Call) Return

func (*MockRootCoordClient_GetComponentStates_Call) Run

type MockRootCoordClient_GetCredential_Call

type MockRootCoordClient_GetCredential_Call struct {
	*mock.Call
}

MockRootCoordClient_GetCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCredential'

func (*MockRootCoordClient_GetCredential_Call) Return

func (*MockRootCoordClient_GetCredential_Call) Run

type MockRootCoordClient_GetMetrics_Call

type MockRootCoordClient_GetMetrics_Call struct {
	*mock.Call
}

MockRootCoordClient_GetMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetrics'

func (*MockRootCoordClient_GetMetrics_Call) Return

func (*MockRootCoordClient_GetMetrics_Call) Run

type MockRootCoordClient_GetPChannelInfo_Call

type MockRootCoordClient_GetPChannelInfo_Call struct {
	*mock.Call
}

MockRootCoordClient_GetPChannelInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPChannelInfo'

func (*MockRootCoordClient_GetPChannelInfo_Call) Return

func (*MockRootCoordClient_GetPChannelInfo_Call) Run

type MockRootCoordClient_GetStatisticsChannel_Call

type MockRootCoordClient_GetStatisticsChannel_Call struct {
	*mock.Call
}

MockRootCoordClient_GetStatisticsChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatisticsChannel'

func (*MockRootCoordClient_GetStatisticsChannel_Call) Return

func (*MockRootCoordClient_GetStatisticsChannel_Call) Run

type MockRootCoordClient_GetTimeTickChannel_Call

type MockRootCoordClient_GetTimeTickChannel_Call struct {
	*mock.Call
}

MockRootCoordClient_GetTimeTickChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeTickChannel'

func (*MockRootCoordClient_GetTimeTickChannel_Call) Return

func (*MockRootCoordClient_GetTimeTickChannel_Call) Run

type MockRootCoordClient_HasCollection_Call

type MockRootCoordClient_HasCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_HasCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCollection'

func (*MockRootCoordClient_HasCollection_Call) Return

func (*MockRootCoordClient_HasCollection_Call) Run

type MockRootCoordClient_HasPartition_Call

type MockRootCoordClient_HasPartition_Call struct {
	*mock.Call
}

MockRootCoordClient_HasPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPartition'

func (*MockRootCoordClient_HasPartition_Call) Return

func (*MockRootCoordClient_HasPartition_Call) Run

type MockRootCoordClient_InvalidateCollectionMetaCache_Call

type MockRootCoordClient_InvalidateCollectionMetaCache_Call struct {
	*mock.Call
}

MockRootCoordClient_InvalidateCollectionMetaCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvalidateCollectionMetaCache'

func (*MockRootCoordClient_InvalidateCollectionMetaCache_Call) Return

func (*MockRootCoordClient_InvalidateCollectionMetaCache_Call) Run

type MockRootCoordClient_ListAliases_Call

type MockRootCoordClient_ListAliases_Call struct {
	*mock.Call
}

MockRootCoordClient_ListAliases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAliases'

func (*MockRootCoordClient_ListAliases_Call) Return

func (*MockRootCoordClient_ListAliases_Call) Run

type MockRootCoordClient_ListCredUsers_Call

type MockRootCoordClient_ListCredUsers_Call struct {
	*mock.Call
}

MockRootCoordClient_ListCredUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCredUsers'

func (*MockRootCoordClient_ListCredUsers_Call) Return

func (*MockRootCoordClient_ListCredUsers_Call) Run

type MockRootCoordClient_ListDatabases_Call

type MockRootCoordClient_ListDatabases_Call struct {
	*mock.Call
}

MockRootCoordClient_ListDatabases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDatabases'

func (*MockRootCoordClient_ListDatabases_Call) Return

func (*MockRootCoordClient_ListDatabases_Call) Run

type MockRootCoordClient_ListPolicy_Call

type MockRootCoordClient_ListPolicy_Call struct {
	*mock.Call
}

MockRootCoordClient_ListPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPolicy'

func (*MockRootCoordClient_ListPolicy_Call) Return

func (*MockRootCoordClient_ListPolicy_Call) Run

type MockRootCoordClient_ListPrivilegeGroups_Call

type MockRootCoordClient_ListPrivilegeGroups_Call struct {
	*mock.Call
}

MockRootCoordClient_ListPrivilegeGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPrivilegeGroups'

func (*MockRootCoordClient_ListPrivilegeGroups_Call) Return

func (*MockRootCoordClient_ListPrivilegeGroups_Call) Run

type MockRootCoordClient_OperatePrivilegeGroup_Call

type MockRootCoordClient_OperatePrivilegeGroup_Call struct {
	*mock.Call
}

MockRootCoordClient_OperatePrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatePrivilegeGroup'

func (*MockRootCoordClient_OperatePrivilegeGroup_Call) Return

func (*MockRootCoordClient_OperatePrivilegeGroup_Call) Run

type MockRootCoordClient_OperatePrivilege_Call

type MockRootCoordClient_OperatePrivilege_Call struct {
	*mock.Call
}

MockRootCoordClient_OperatePrivilege_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatePrivilege'

func (*MockRootCoordClient_OperatePrivilege_Call) Return

func (*MockRootCoordClient_OperatePrivilege_Call) Run

type MockRootCoordClient_OperateUserRole_Call

type MockRootCoordClient_OperateUserRole_Call struct {
	*mock.Call
}

MockRootCoordClient_OperateUserRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperateUserRole'

func (*MockRootCoordClient_OperateUserRole_Call) Return

func (*MockRootCoordClient_OperateUserRole_Call) Run

type MockRootCoordClient_RenameCollection_Call

type MockRootCoordClient_RenameCollection_Call struct {
	*mock.Call
}

MockRootCoordClient_RenameCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameCollection'

func (*MockRootCoordClient_RenameCollection_Call) Return

func (*MockRootCoordClient_RenameCollection_Call) Run

type MockRootCoordClient_RestoreRBAC_Call

type MockRootCoordClient_RestoreRBAC_Call struct {
	*mock.Call
}

MockRootCoordClient_RestoreRBAC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreRBAC'

func (*MockRootCoordClient_RestoreRBAC_Call) Return

func (*MockRootCoordClient_RestoreRBAC_Call) Run

type MockRootCoordClient_SelectGrant_Call

type MockRootCoordClient_SelectGrant_Call struct {
	*mock.Call
}

MockRootCoordClient_SelectGrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectGrant'

func (*MockRootCoordClient_SelectGrant_Call) Return

func (*MockRootCoordClient_SelectGrant_Call) Run

type MockRootCoordClient_SelectRole_Call

type MockRootCoordClient_SelectRole_Call struct {
	*mock.Call
}

MockRootCoordClient_SelectRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectRole'

func (*MockRootCoordClient_SelectRole_Call) Return

func (*MockRootCoordClient_SelectRole_Call) Run

type MockRootCoordClient_SelectUser_Call

type MockRootCoordClient_SelectUser_Call struct {
	*mock.Call
}

MockRootCoordClient_SelectUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectUser'

func (*MockRootCoordClient_SelectUser_Call) Return

func (*MockRootCoordClient_SelectUser_Call) Run

type MockRootCoordClient_ShowCollections_Call

type MockRootCoordClient_ShowCollections_Call struct {
	*mock.Call
}

MockRootCoordClient_ShowCollections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowCollections'

func (*MockRootCoordClient_ShowCollections_Call) Return

func (*MockRootCoordClient_ShowCollections_Call) Run

type MockRootCoordClient_ShowConfigurations_Call

type MockRootCoordClient_ShowConfigurations_Call struct {
	*mock.Call
}

MockRootCoordClient_ShowConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowConfigurations'

func (*MockRootCoordClient_ShowConfigurations_Call) Return

func (*MockRootCoordClient_ShowConfigurations_Call) Run

type MockRootCoordClient_ShowPartitionsInternal_Call

type MockRootCoordClient_ShowPartitionsInternal_Call struct {
	*mock.Call
}

MockRootCoordClient_ShowPartitionsInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowPartitionsInternal'

func (*MockRootCoordClient_ShowPartitionsInternal_Call) Return

func (*MockRootCoordClient_ShowPartitionsInternal_Call) Run

type MockRootCoordClient_ShowPartitions_Call

type MockRootCoordClient_ShowPartitions_Call struct {
	*mock.Call
}

MockRootCoordClient_ShowPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowPartitions'

func (*MockRootCoordClient_ShowPartitions_Call) Return

func (*MockRootCoordClient_ShowPartitions_Call) Run

type MockRootCoordClient_ShowSegments_Call

type MockRootCoordClient_ShowSegments_Call struct {
	*mock.Call
}

MockRootCoordClient_ShowSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowSegments'

func (*MockRootCoordClient_ShowSegments_Call) Return

func (*MockRootCoordClient_ShowSegments_Call) Run

type MockRootCoordClient_UpdateChannelTimeTick_Call

type MockRootCoordClient_UpdateChannelTimeTick_Call struct {
	*mock.Call
}

MockRootCoordClient_UpdateChannelTimeTick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannelTimeTick'

func (*MockRootCoordClient_UpdateChannelTimeTick_Call) Return

func (*MockRootCoordClient_UpdateChannelTimeTick_Call) Run

type MockRootCoordClient_UpdateCredential_Call

type MockRootCoordClient_UpdateCredential_Call struct {
	*mock.Call
}

MockRootCoordClient_UpdateCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCredential'

func (*MockRootCoordClient_UpdateCredential_Call) Return

func (*MockRootCoordClient_UpdateCredential_Call) Run

type RootCoord

type RootCoord struct {
	mock.Mock
}

RootCoord is an autogenerated mock type for the RootCoordComponent type

func NewRootCoord

func NewRootCoord(t interface {
	mock.TestingT
	Cleanup(func())
}) *RootCoord

NewRootCoord creates a new instance of RootCoord. 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 (*RootCoord) AllocID

AllocID provides a mock function with given fields: _a0, _a1

func (*RootCoord) AllocTimestamp

AllocTimestamp provides a mock function with given fields: _a0, _a1

func (*RootCoord) AlterAlias

func (_m *RootCoord) AlterAlias(_a0 context.Context, _a1 *milvuspb.AlterAliasRequest) (*commonpb.Status, error)

AlterAlias provides a mock function with given fields: _a0, _a1

func (*RootCoord) AlterCollection

func (_m *RootCoord) AlterCollection(_a0 context.Context, _a1 *milvuspb.AlterCollectionRequest) (*commonpb.Status, error)

AlterCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) AlterDatabase

func (_m *RootCoord) AlterDatabase(_a0 context.Context, _a1 *rootcoordpb.AlterDatabaseRequest) (*commonpb.Status, error)

AlterDatabase provides a mock function with given fields: _a0, _a1

func (*RootCoord) BackupRBAC

BackupRBAC provides a mock function with given fields: _a0, _a1

func (*RootCoord) CheckHealth

CheckHealth provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreateAlias

func (_m *RootCoord) CreateAlias(_a0 context.Context, _a1 *milvuspb.CreateAliasRequest) (*commonpb.Status, error)

CreateAlias provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreateCollection

func (_m *RootCoord) CreateCollection(_a0 context.Context, _a1 *milvuspb.CreateCollectionRequest) (*commonpb.Status, error)

CreateCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreateCredential

func (_m *RootCoord) CreateCredential(_a0 context.Context, _a1 *internalpb.CredentialInfo) (*commonpb.Status, error)

CreateCredential provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreateDatabase

func (_m *RootCoord) CreateDatabase(_a0 context.Context, _a1 *milvuspb.CreateDatabaseRequest) (*commonpb.Status, error)

CreateDatabase provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreatePartition

func (_m *RootCoord) CreatePartition(_a0 context.Context, _a1 *milvuspb.CreatePartitionRequest) (*commonpb.Status, error)

CreatePartition provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreatePrivilegeGroup

func (_m *RootCoord) CreatePrivilegeGroup(_a0 context.Context, _a1 *milvuspb.CreatePrivilegeGroupRequest) (*commonpb.Status, error)

CreatePrivilegeGroup provides a mock function with given fields: _a0, _a1

func (*RootCoord) CreateRole

func (_m *RootCoord) CreateRole(_a0 context.Context, _a1 *milvuspb.CreateRoleRequest) (*commonpb.Status, error)

CreateRole provides a mock function with given fields: _a0, _a1

func (*RootCoord) DeleteCredential

func (_m *RootCoord) DeleteCredential(_a0 context.Context, _a1 *milvuspb.DeleteCredentialRequest) (*commonpb.Status, error)

DeleteCredential provides a mock function with given fields: _a0, _a1

func (*RootCoord) DescribeAlias

DescribeAlias provides a mock function with given fields: _a0, _a1

func (*RootCoord) DescribeCollection

DescribeCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) DescribeCollectionInternal

DescribeCollectionInternal provides a mock function with given fields: _a0, _a1

func (*RootCoord) DescribeDatabase

DescribeDatabase provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropAlias

func (_m *RootCoord) DropAlias(_a0 context.Context, _a1 *milvuspb.DropAliasRequest) (*commonpb.Status, error)

DropAlias provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropCollection

func (_m *RootCoord) DropCollection(_a0 context.Context, _a1 *milvuspb.DropCollectionRequest) (*commonpb.Status, error)

DropCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropDatabase

func (_m *RootCoord) DropDatabase(_a0 context.Context, _a1 *milvuspb.DropDatabaseRequest) (*commonpb.Status, error)

DropDatabase provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropPartition

func (_m *RootCoord) DropPartition(_a0 context.Context, _a1 *milvuspb.DropPartitionRequest) (*commonpb.Status, error)

DropPartition provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropPrivilegeGroup

func (_m *RootCoord) DropPrivilegeGroup(_a0 context.Context, _a1 *milvuspb.DropPrivilegeGroupRequest) (*commonpb.Status, error)

DropPrivilegeGroup provides a mock function with given fields: _a0, _a1

func (*RootCoord) DropRole

func (_m *RootCoord) DropRole(_a0 context.Context, _a1 *milvuspb.DropRoleRequest) (*commonpb.Status, error)

DropRole provides a mock function with given fields: _a0, _a1

func (*RootCoord) EXPECT

func (_m *RootCoord) EXPECT() *RootCoord_Expecter

func (*RootCoord) GetComponentStates

GetComponentStates provides a mock function with given fields: _a0, _a1

func (*RootCoord) GetCredential

GetCredential provides a mock function with given fields: _a0, _a1

func (*RootCoord) GetMetrics

GetMetrics provides a mock function with given fields: ctx, req

func (*RootCoord) GetPChannelInfo

GetPChannelInfo provides a mock function with given fields: _a0, _a1

func (*RootCoord) GetStatisticsChannel

GetStatisticsChannel provides a mock function with given fields: _a0, _a1

func (*RootCoord) GetTimeTickChannel

GetTimeTickChannel provides a mock function with given fields: _a0, _a1

func (*RootCoord) HasCollection

HasCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) HasPartition

HasPartition provides a mock function with given fields: _a0, _a1

func (*RootCoord) Init

func (_m *RootCoord) Init() error

Init provides a mock function with given fields:

func (*RootCoord) InvalidateCollectionMetaCache

func (_m *RootCoord) InvalidateCollectionMetaCache(_a0 context.Context, _a1 *proxypb.InvalidateCollMetaCacheRequest) (*commonpb.Status, error)

InvalidateCollectionMetaCache provides a mock function with given fields: _a0, _a1

func (*RootCoord) ListAliases

ListAliases provides a mock function with given fields: _a0, _a1

func (*RootCoord) ListCredUsers

ListCredUsers provides a mock function with given fields: _a0, _a1

func (*RootCoord) ListDatabases

ListDatabases provides a mock function with given fields: _a0, _a1

func (*RootCoord) ListPolicy

ListPolicy provides a mock function with given fields: _a0, _a1

func (*RootCoord) ListPrivilegeGroups

ListPrivilegeGroups provides a mock function with given fields: _a0, _a1

func (*RootCoord) OperatePrivilege

func (_m *RootCoord) OperatePrivilege(_a0 context.Context, _a1 *milvuspb.OperatePrivilegeRequest) (*commonpb.Status, error)

OperatePrivilege provides a mock function with given fields: _a0, _a1

func (*RootCoord) OperatePrivilegeGroup

func (_m *RootCoord) OperatePrivilegeGroup(_a0 context.Context, _a1 *milvuspb.OperatePrivilegeGroupRequest) (*commonpb.Status, error)

OperatePrivilegeGroup provides a mock function with given fields: _a0, _a1

func (*RootCoord) OperateUserRole

func (_m *RootCoord) OperateUserRole(_a0 context.Context, _a1 *milvuspb.OperateUserRoleRequest) (*commonpb.Status, error)

OperateUserRole provides a mock function with given fields: _a0, _a1

func (*RootCoord) Register

func (_m *RootCoord) Register() error

Register provides a mock function with given fields:

func (*RootCoord) RenameCollection

func (_m *RootCoord) RenameCollection(_a0 context.Context, _a1 *milvuspb.RenameCollectionRequest) (*commonpb.Status, error)

RenameCollection provides a mock function with given fields: _a0, _a1

func (*RootCoord) RestoreRBAC

RestoreRBAC provides a mock function with given fields: _a0, _a1

func (*RootCoord) SelectGrant

SelectGrant provides a mock function with given fields: _a0, _a1

func (*RootCoord) SelectRole

SelectRole provides a mock function with given fields: _a0, _a1

func (*RootCoord) SelectUser

SelectUser provides a mock function with given fields: _a0, _a1

func (*RootCoord) SetAddress

func (_m *RootCoord) SetAddress(address string)

SetAddress provides a mock function with given fields: address

func (*RootCoord) SetDataCoordClient

func (_m *RootCoord) SetDataCoordClient(dataCoord types.DataCoordClient) error

SetDataCoordClient provides a mock function with given fields: dataCoord

func (*RootCoord) SetEtcdClient

func (_m *RootCoord) SetEtcdClient(etcdClient *clientv3.Client)

SetEtcdClient provides a mock function with given fields: etcdClient

func (*RootCoord) SetProxyCreator

func (_m *RootCoord) SetProxyCreator(_a0 func(context.Context, string, int64) (types.ProxyClient, error))

SetProxyCreator provides a mock function with given fields: _a0

func (*RootCoord) SetQueryCoordClient

func (_m *RootCoord) SetQueryCoordClient(queryCoord types.QueryCoordClient) error

SetQueryCoordClient provides a mock function with given fields: queryCoord

func (*RootCoord) SetTiKVClient

func (_m *RootCoord) SetTiKVClient(client *txnkv.Client)

SetTiKVClient provides a mock function with given fields: client

func (*RootCoord) ShowCollections

ShowCollections provides a mock function with given fields: _a0, _a1

func (*RootCoord) ShowConfigurations

ShowConfigurations provides a mock function with given fields: _a0, _a1

func (*RootCoord) ShowPartitions

ShowPartitions provides a mock function with given fields: _a0, _a1

func (*RootCoord) ShowPartitionsInternal

func (_m *RootCoord) ShowPartitionsInternal(_a0 context.Context, _a1 *milvuspb.ShowPartitionsRequest) (*milvuspb.ShowPartitionsResponse, error)

ShowPartitionsInternal provides a mock function with given fields: _a0, _a1

func (*RootCoord) ShowSegments

ShowSegments provides a mock function with given fields: _a0, _a1

func (*RootCoord) Start

func (_m *RootCoord) Start() error

Start provides a mock function with given fields:

func (*RootCoord) Stop

func (_m *RootCoord) Stop() error

Stop provides a mock function with given fields:

func (*RootCoord) UpdateChannelTimeTick

func (_m *RootCoord) UpdateChannelTimeTick(_a0 context.Context, _a1 *internalpb.ChannelTimeTickMsg) (*commonpb.Status, error)

UpdateChannelTimeTick provides a mock function with given fields: _a0, _a1

func (*RootCoord) UpdateCredential

func (_m *RootCoord) UpdateCredential(_a0 context.Context, _a1 *internalpb.CredentialInfo) (*commonpb.Status, error)

UpdateCredential provides a mock function with given fields: _a0, _a1

func (*RootCoord) UpdateStateCode

func (_m *RootCoord) UpdateStateCode(_a0 commonpb.StateCode)

UpdateStateCode provides a mock function with given fields: _a0

type RootCoord_AllocID_Call

type RootCoord_AllocID_Call struct {
	*mock.Call
}

RootCoord_AllocID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocID'

func (*RootCoord_AllocID_Call) Return

func (*RootCoord_AllocID_Call) Run

type RootCoord_AllocTimestamp_Call

type RootCoord_AllocTimestamp_Call struct {
	*mock.Call
}

RootCoord_AllocTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocTimestamp'

func (*RootCoord_AllocTimestamp_Call) Return

func (*RootCoord_AllocTimestamp_Call) Run

type RootCoord_AlterAlias_Call

type RootCoord_AlterAlias_Call struct {
	*mock.Call
}

RootCoord_AlterAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterAlias'

func (*RootCoord_AlterAlias_Call) Return

func (*RootCoord_AlterAlias_Call) Run

func (*RootCoord_AlterAlias_Call) RunAndReturn

type RootCoord_AlterCollection_Call

type RootCoord_AlterCollection_Call struct {
	*mock.Call
}

RootCoord_AlterCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterCollection'

func (*RootCoord_AlterCollection_Call) Return

func (*RootCoord_AlterCollection_Call) Run

func (*RootCoord_AlterCollection_Call) RunAndReturn

type RootCoord_AlterDatabase_Call

type RootCoord_AlterDatabase_Call struct {
	*mock.Call
}

RootCoord_AlterDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlterDatabase'

func (*RootCoord_AlterDatabase_Call) Return

func (*RootCoord_AlterDatabase_Call) Run

func (*RootCoord_AlterDatabase_Call) RunAndReturn

type RootCoord_BackupRBAC_Call

type RootCoord_BackupRBAC_Call struct {
	*mock.Call
}

RootCoord_BackupRBAC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupRBAC'

func (*RootCoord_BackupRBAC_Call) Return

func (*RootCoord_BackupRBAC_Call) Run

type RootCoord_CheckHealth_Call

type RootCoord_CheckHealth_Call struct {
	*mock.Call
}

RootCoord_CheckHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckHealth'

func (*RootCoord_CheckHealth_Call) Return

func (*RootCoord_CheckHealth_Call) Run

type RootCoord_CreateAlias_Call

type RootCoord_CreateAlias_Call struct {
	*mock.Call
}

RootCoord_CreateAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAlias'

func (*RootCoord_CreateAlias_Call) Return

func (*RootCoord_CreateAlias_Call) Run

func (*RootCoord_CreateAlias_Call) RunAndReturn

type RootCoord_CreateCollection_Call

type RootCoord_CreateCollection_Call struct {
	*mock.Call
}

RootCoord_CreateCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCollection'

func (*RootCoord_CreateCollection_Call) Return

func (*RootCoord_CreateCollection_Call) Run

func (*RootCoord_CreateCollection_Call) RunAndReturn

type RootCoord_CreateCredential_Call

type RootCoord_CreateCredential_Call struct {
	*mock.Call
}

RootCoord_CreateCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCredential'

func (*RootCoord_CreateCredential_Call) Return

func (*RootCoord_CreateCredential_Call) Run

func (*RootCoord_CreateCredential_Call) RunAndReturn

type RootCoord_CreateDatabase_Call

type RootCoord_CreateDatabase_Call struct {
	*mock.Call
}

RootCoord_CreateDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDatabase'

func (*RootCoord_CreateDatabase_Call) Return

func (*RootCoord_CreateDatabase_Call) Run

func (*RootCoord_CreateDatabase_Call) RunAndReturn

type RootCoord_CreatePartition_Call

type RootCoord_CreatePartition_Call struct {
	*mock.Call
}

RootCoord_CreatePartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePartition'

func (*RootCoord_CreatePartition_Call) Return

func (*RootCoord_CreatePartition_Call) Run

func (*RootCoord_CreatePartition_Call) RunAndReturn

type RootCoord_CreatePrivilegeGroup_Call

type RootCoord_CreatePrivilegeGroup_Call struct {
	*mock.Call
}

RootCoord_CreatePrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePrivilegeGroup'

func (*RootCoord_CreatePrivilegeGroup_Call) Return

func (*RootCoord_CreatePrivilegeGroup_Call) Run

type RootCoord_CreateRole_Call

type RootCoord_CreateRole_Call struct {
	*mock.Call
}

RootCoord_CreateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRole'

func (*RootCoord_CreateRole_Call) Return

func (*RootCoord_CreateRole_Call) Run

func (*RootCoord_CreateRole_Call) RunAndReturn

type RootCoord_DeleteCredential_Call

type RootCoord_DeleteCredential_Call struct {
	*mock.Call
}

RootCoord_DeleteCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCredential'

func (*RootCoord_DeleteCredential_Call) Return

func (*RootCoord_DeleteCredential_Call) Run

func (*RootCoord_DeleteCredential_Call) RunAndReturn

type RootCoord_DescribeAlias_Call

type RootCoord_DescribeAlias_Call struct {
	*mock.Call
}

RootCoord_DescribeAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAlias'

func (*RootCoord_DescribeAlias_Call) Return

func (*RootCoord_DescribeAlias_Call) Run

type RootCoord_DescribeCollectionInternal_Call

type RootCoord_DescribeCollectionInternal_Call struct {
	*mock.Call
}

RootCoord_DescribeCollectionInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeCollectionInternal'

func (*RootCoord_DescribeCollectionInternal_Call) Return

func (*RootCoord_DescribeCollectionInternal_Call) Run

type RootCoord_DescribeCollection_Call

type RootCoord_DescribeCollection_Call struct {
	*mock.Call
}

RootCoord_DescribeCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeCollection'

func (*RootCoord_DescribeCollection_Call) Return

func (*RootCoord_DescribeCollection_Call) Run

type RootCoord_DescribeDatabase_Call

type RootCoord_DescribeDatabase_Call struct {
	*mock.Call
}

RootCoord_DescribeDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDatabase'

func (*RootCoord_DescribeDatabase_Call) Return

func (*RootCoord_DescribeDatabase_Call) Run

type RootCoord_DropAlias_Call

type RootCoord_DropAlias_Call struct {
	*mock.Call
}

RootCoord_DropAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAlias'

func (*RootCoord_DropAlias_Call) Return

func (*RootCoord_DropAlias_Call) Run

func (*RootCoord_DropAlias_Call) RunAndReturn

type RootCoord_DropCollection_Call

type RootCoord_DropCollection_Call struct {
	*mock.Call
}

RootCoord_DropCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropCollection'

func (*RootCoord_DropCollection_Call) Return

func (*RootCoord_DropCollection_Call) Run

func (*RootCoord_DropCollection_Call) RunAndReturn

type RootCoord_DropDatabase_Call

type RootCoord_DropDatabase_Call struct {
	*mock.Call
}

RootCoord_DropDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropDatabase'

func (*RootCoord_DropDatabase_Call) Return

func (*RootCoord_DropDatabase_Call) Run

func (*RootCoord_DropDatabase_Call) RunAndReturn

type RootCoord_DropPartition_Call

type RootCoord_DropPartition_Call struct {
	*mock.Call
}

RootCoord_DropPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPartition'

func (*RootCoord_DropPartition_Call) Return

func (*RootCoord_DropPartition_Call) Run

func (*RootCoord_DropPartition_Call) RunAndReturn

type RootCoord_DropPrivilegeGroup_Call

type RootCoord_DropPrivilegeGroup_Call struct {
	*mock.Call
}

RootCoord_DropPrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPrivilegeGroup'

func (*RootCoord_DropPrivilegeGroup_Call) Return

func (*RootCoord_DropPrivilegeGroup_Call) Run

type RootCoord_DropRole_Call

type RootCoord_DropRole_Call struct {
	*mock.Call
}

RootCoord_DropRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropRole'

func (*RootCoord_DropRole_Call) Return

func (*RootCoord_DropRole_Call) Run

func (*RootCoord_DropRole_Call) RunAndReturn

type RootCoord_Expecter

type RootCoord_Expecter struct {
	// contains filtered or unexported fields
}

func (*RootCoord_Expecter) AllocID

func (_e *RootCoord_Expecter) AllocID(_a0 interface{}, _a1 interface{}) *RootCoord_AllocID_Call

AllocID is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.AllocIDRequest

func (*RootCoord_Expecter) AllocTimestamp

func (_e *RootCoord_Expecter) AllocTimestamp(_a0 interface{}, _a1 interface{}) *RootCoord_AllocTimestamp_Call

AllocTimestamp is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.AllocTimestampRequest

func (*RootCoord_Expecter) AlterAlias

func (_e *RootCoord_Expecter) AlterAlias(_a0 interface{}, _a1 interface{}) *RootCoord_AlterAlias_Call

AlterAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterAliasRequest

func (*RootCoord_Expecter) AlterCollection

func (_e *RootCoord_Expecter) AlterCollection(_a0 interface{}, _a1 interface{}) *RootCoord_AlterCollection_Call

AlterCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.AlterCollectionRequest

func (*RootCoord_Expecter) AlterDatabase

func (_e *RootCoord_Expecter) AlterDatabase(_a0 interface{}, _a1 interface{}) *RootCoord_AlterDatabase_Call

AlterDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.AlterDatabaseRequest

func (*RootCoord_Expecter) BackupRBAC

func (_e *RootCoord_Expecter) BackupRBAC(_a0 interface{}, _a1 interface{}) *RootCoord_BackupRBAC_Call

BackupRBAC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.BackupRBACMetaRequest

func (*RootCoord_Expecter) CheckHealth

func (_e *RootCoord_Expecter) CheckHealth(_a0 interface{}, _a1 interface{}) *RootCoord_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CheckHealthRequest

func (*RootCoord_Expecter) CreateAlias

func (_e *RootCoord_Expecter) CreateAlias(_a0 interface{}, _a1 interface{}) *RootCoord_CreateAlias_Call

CreateAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateAliasRequest

func (*RootCoord_Expecter) CreateCollection

func (_e *RootCoord_Expecter) CreateCollection(_a0 interface{}, _a1 interface{}) *RootCoord_CreateCollection_Call

CreateCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateCollectionRequest

func (*RootCoord_Expecter) CreateCredential

func (_e *RootCoord_Expecter) CreateCredential(_a0 interface{}, _a1 interface{}) *RootCoord_CreateCredential_Call

CreateCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.CredentialInfo

func (*RootCoord_Expecter) CreateDatabase

func (_e *RootCoord_Expecter) CreateDatabase(_a0 interface{}, _a1 interface{}) *RootCoord_CreateDatabase_Call

CreateDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateDatabaseRequest

func (*RootCoord_Expecter) CreatePartition

func (_e *RootCoord_Expecter) CreatePartition(_a0 interface{}, _a1 interface{}) *RootCoord_CreatePartition_Call

CreatePartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreatePartitionRequest

func (*RootCoord_Expecter) CreatePrivilegeGroup

func (_e *RootCoord_Expecter) CreatePrivilegeGroup(_a0 interface{}, _a1 interface{}) *RootCoord_CreatePrivilegeGroup_Call

CreatePrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreatePrivilegeGroupRequest

func (*RootCoord_Expecter) CreateRole

func (_e *RootCoord_Expecter) CreateRole(_a0 interface{}, _a1 interface{}) *RootCoord_CreateRole_Call

CreateRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.CreateRoleRequest

func (*RootCoord_Expecter) DeleteCredential

func (_e *RootCoord_Expecter) DeleteCredential(_a0 interface{}, _a1 interface{}) *RootCoord_DeleteCredential_Call

DeleteCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DeleteCredentialRequest

func (*RootCoord_Expecter) DescribeAlias

func (_e *RootCoord_Expecter) DescribeAlias(_a0 interface{}, _a1 interface{}) *RootCoord_DescribeAlias_Call

DescribeAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeAliasRequest

func (*RootCoord_Expecter) DescribeCollection

func (_e *RootCoord_Expecter) DescribeCollection(_a0 interface{}, _a1 interface{}) *RootCoord_DescribeCollection_Call

DescribeCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeCollectionRequest

func (*RootCoord_Expecter) DescribeCollectionInternal

func (_e *RootCoord_Expecter) DescribeCollectionInternal(_a0 interface{}, _a1 interface{}) *RootCoord_DescribeCollectionInternal_Call

DescribeCollectionInternal is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DescribeCollectionRequest

func (*RootCoord_Expecter) DescribeDatabase

func (_e *RootCoord_Expecter) DescribeDatabase(_a0 interface{}, _a1 interface{}) *RootCoord_DescribeDatabase_Call

DescribeDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.DescribeDatabaseRequest

func (*RootCoord_Expecter) DropAlias

func (_e *RootCoord_Expecter) DropAlias(_a0 interface{}, _a1 interface{}) *RootCoord_DropAlias_Call

DropAlias is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropAliasRequest

func (*RootCoord_Expecter) DropCollection

func (_e *RootCoord_Expecter) DropCollection(_a0 interface{}, _a1 interface{}) *RootCoord_DropCollection_Call

DropCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropCollectionRequest

func (*RootCoord_Expecter) DropDatabase

func (_e *RootCoord_Expecter) DropDatabase(_a0 interface{}, _a1 interface{}) *RootCoord_DropDatabase_Call

DropDatabase is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropDatabaseRequest

func (*RootCoord_Expecter) DropPartition

func (_e *RootCoord_Expecter) DropPartition(_a0 interface{}, _a1 interface{}) *RootCoord_DropPartition_Call

DropPartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropPartitionRequest

func (*RootCoord_Expecter) DropPrivilegeGroup

func (_e *RootCoord_Expecter) DropPrivilegeGroup(_a0 interface{}, _a1 interface{}) *RootCoord_DropPrivilegeGroup_Call

DropPrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropPrivilegeGroupRequest

func (*RootCoord_Expecter) DropRole

func (_e *RootCoord_Expecter) DropRole(_a0 interface{}, _a1 interface{}) *RootCoord_DropRole_Call

DropRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.DropRoleRequest

func (*RootCoord_Expecter) GetComponentStates

func (_e *RootCoord_Expecter) GetComponentStates(_a0 interface{}, _a1 interface{}) *RootCoord_GetComponentStates_Call

GetComponentStates is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.GetComponentStatesRequest

func (*RootCoord_Expecter) GetCredential

func (_e *RootCoord_Expecter) GetCredential(_a0 interface{}, _a1 interface{}) *RootCoord_GetCredential_Call

GetCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.GetCredentialRequest

func (*RootCoord_Expecter) GetMetrics

func (_e *RootCoord_Expecter) GetMetrics(ctx interface{}, req interface{}) *RootCoord_GetMetrics_Call

GetMetrics is a helper method to define mock.On call

  • ctx context.Context
  • req *milvuspb.GetMetricsRequest

func (*RootCoord_Expecter) GetPChannelInfo

func (_e *RootCoord_Expecter) GetPChannelInfo(_a0 interface{}, _a1 interface{}) *RootCoord_GetPChannelInfo_Call

GetPChannelInfo is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *rootcoordpb.GetPChannelInfoRequest

func (*RootCoord_Expecter) GetStatisticsChannel

func (_e *RootCoord_Expecter) GetStatisticsChannel(_a0 interface{}, _a1 interface{}) *RootCoord_GetStatisticsChannel_Call

GetStatisticsChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetStatisticsChannelRequest

func (*RootCoord_Expecter) GetTimeTickChannel

func (_e *RootCoord_Expecter) GetTimeTickChannel(_a0 interface{}, _a1 interface{}) *RootCoord_GetTimeTickChannel_Call

GetTimeTickChannel is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.GetTimeTickChannelRequest

func (*RootCoord_Expecter) HasCollection

func (_e *RootCoord_Expecter) HasCollection(_a0 interface{}, _a1 interface{}) *RootCoord_HasCollection_Call

HasCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.HasCollectionRequest

func (*RootCoord_Expecter) HasPartition

func (_e *RootCoord_Expecter) HasPartition(_a0 interface{}, _a1 interface{}) *RootCoord_HasPartition_Call

HasPartition is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.HasPartitionRequest

func (*RootCoord_Expecter) Init

Init is a helper method to define mock.On call

func (*RootCoord_Expecter) InvalidateCollectionMetaCache

func (_e *RootCoord_Expecter) InvalidateCollectionMetaCache(_a0 interface{}, _a1 interface{}) *RootCoord_InvalidateCollectionMetaCache_Call

InvalidateCollectionMetaCache is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proxypb.InvalidateCollMetaCacheRequest

func (*RootCoord_Expecter) ListAliases

func (_e *RootCoord_Expecter) ListAliases(_a0 interface{}, _a1 interface{}) *RootCoord_ListAliases_Call

ListAliases is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListAliasesRequest

func (*RootCoord_Expecter) ListCredUsers

func (_e *RootCoord_Expecter) ListCredUsers(_a0 interface{}, _a1 interface{}) *RootCoord_ListCredUsers_Call

ListCredUsers is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListCredUsersRequest

func (*RootCoord_Expecter) ListDatabases

func (_e *RootCoord_Expecter) ListDatabases(_a0 interface{}, _a1 interface{}) *RootCoord_ListDatabases_Call

ListDatabases is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListDatabasesRequest

func (*RootCoord_Expecter) ListPolicy

func (_e *RootCoord_Expecter) ListPolicy(_a0 interface{}, _a1 interface{}) *RootCoord_ListPolicy_Call

ListPolicy is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ListPolicyRequest

func (*RootCoord_Expecter) ListPrivilegeGroups

func (_e *RootCoord_Expecter) ListPrivilegeGroups(_a0 interface{}, _a1 interface{}) *RootCoord_ListPrivilegeGroups_Call

ListPrivilegeGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ListPrivilegeGroupsRequest

func (*RootCoord_Expecter) OperatePrivilege

func (_e *RootCoord_Expecter) OperatePrivilege(_a0 interface{}, _a1 interface{}) *RootCoord_OperatePrivilege_Call

OperatePrivilege is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperatePrivilegeRequest

func (*RootCoord_Expecter) OperatePrivilegeGroup

func (_e *RootCoord_Expecter) OperatePrivilegeGroup(_a0 interface{}, _a1 interface{}) *RootCoord_OperatePrivilegeGroup_Call

OperatePrivilegeGroup is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperatePrivilegeGroupRequest

func (*RootCoord_Expecter) OperateUserRole

func (_e *RootCoord_Expecter) OperateUserRole(_a0 interface{}, _a1 interface{}) *RootCoord_OperateUserRole_Call

OperateUserRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.OperateUserRoleRequest

func (*RootCoord_Expecter) Register

Register is a helper method to define mock.On call

func (*RootCoord_Expecter) RenameCollection

func (_e *RootCoord_Expecter) RenameCollection(_a0 interface{}, _a1 interface{}) *RootCoord_RenameCollection_Call

RenameCollection is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.RenameCollectionRequest

func (*RootCoord_Expecter) RestoreRBAC

func (_e *RootCoord_Expecter) RestoreRBAC(_a0 interface{}, _a1 interface{}) *RootCoord_RestoreRBAC_Call

RestoreRBAC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.RestoreRBACMetaRequest

func (*RootCoord_Expecter) SelectGrant

func (_e *RootCoord_Expecter) SelectGrant(_a0 interface{}, _a1 interface{}) *RootCoord_SelectGrant_Call

SelectGrant is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectGrantRequest

func (*RootCoord_Expecter) SelectRole

func (_e *RootCoord_Expecter) SelectRole(_a0 interface{}, _a1 interface{}) *RootCoord_SelectRole_Call

SelectRole is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectRoleRequest

func (*RootCoord_Expecter) SelectUser

func (_e *RootCoord_Expecter) SelectUser(_a0 interface{}, _a1 interface{}) *RootCoord_SelectUser_Call

SelectUser is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.SelectUserRequest

func (*RootCoord_Expecter) SetAddress

func (_e *RootCoord_Expecter) SetAddress(address interface{}) *RootCoord_SetAddress_Call

SetAddress is a helper method to define mock.On call

  • address string

func (*RootCoord_Expecter) SetDataCoordClient

func (_e *RootCoord_Expecter) SetDataCoordClient(dataCoord interface{}) *RootCoord_SetDataCoordClient_Call

SetDataCoordClient is a helper method to define mock.On call

  • dataCoord types.DataCoordClient

func (*RootCoord_Expecter) SetEtcdClient

func (_e *RootCoord_Expecter) SetEtcdClient(etcdClient interface{}) *RootCoord_SetEtcdClient_Call

SetEtcdClient is a helper method to define mock.On call

  • etcdClient *clientv3.Client

func (*RootCoord_Expecter) SetProxyCreator

func (_e *RootCoord_Expecter) SetProxyCreator(_a0 interface{}) *RootCoord_SetProxyCreator_Call

SetProxyCreator is a helper method to define mock.On call

  • _a0 func(context.Context , string , int64)(types.ProxyClient , error)

func (*RootCoord_Expecter) SetQueryCoordClient

func (_e *RootCoord_Expecter) SetQueryCoordClient(queryCoord interface{}) *RootCoord_SetQueryCoordClient_Call

SetQueryCoordClient is a helper method to define mock.On call

  • queryCoord types.QueryCoordClient

func (*RootCoord_Expecter) SetTiKVClient

func (_e *RootCoord_Expecter) SetTiKVClient(client interface{}) *RootCoord_SetTiKVClient_Call

SetTiKVClient is a helper method to define mock.On call

  • client *txnkv.Client

func (*RootCoord_Expecter) ShowCollections

func (_e *RootCoord_Expecter) ShowCollections(_a0 interface{}, _a1 interface{}) *RootCoord_ShowCollections_Call

ShowCollections is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowCollectionsRequest

func (*RootCoord_Expecter) ShowConfigurations

func (_e *RootCoord_Expecter) ShowConfigurations(_a0 interface{}, _a1 interface{}) *RootCoord_ShowConfigurations_Call

ShowConfigurations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ShowConfigurationsRequest

func (*RootCoord_Expecter) ShowPartitions

func (_e *RootCoord_Expecter) ShowPartitions(_a0 interface{}, _a1 interface{}) *RootCoord_ShowPartitions_Call

ShowPartitions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowPartitionsRequest

func (*RootCoord_Expecter) ShowPartitionsInternal

func (_e *RootCoord_Expecter) ShowPartitionsInternal(_a0 interface{}, _a1 interface{}) *RootCoord_ShowPartitionsInternal_Call

ShowPartitionsInternal is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowPartitionsRequest

func (*RootCoord_Expecter) ShowSegments

func (_e *RootCoord_Expecter) ShowSegments(_a0 interface{}, _a1 interface{}) *RootCoord_ShowSegments_Call

ShowSegments is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *milvuspb.ShowSegmentsRequest

func (*RootCoord_Expecter) Start

Start is a helper method to define mock.On call

func (*RootCoord_Expecter) Stop

Stop is a helper method to define mock.On call

func (*RootCoord_Expecter) UpdateChannelTimeTick

func (_e *RootCoord_Expecter) UpdateChannelTimeTick(_a0 interface{}, _a1 interface{}) *RootCoord_UpdateChannelTimeTick_Call

UpdateChannelTimeTick is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.ChannelTimeTickMsg

func (*RootCoord_Expecter) UpdateCredential

func (_e *RootCoord_Expecter) UpdateCredential(_a0 interface{}, _a1 interface{}) *RootCoord_UpdateCredential_Call

UpdateCredential is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *internalpb.CredentialInfo

func (*RootCoord_Expecter) UpdateStateCode

func (_e *RootCoord_Expecter) UpdateStateCode(_a0 interface{}) *RootCoord_UpdateStateCode_Call

UpdateStateCode is a helper method to define mock.On call

  • _a0 commonpb.StateCode

type RootCoord_GetComponentStates_Call

type RootCoord_GetComponentStates_Call struct {
	*mock.Call
}

RootCoord_GetComponentStates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentStates'

func (*RootCoord_GetComponentStates_Call) Return

func (*RootCoord_GetComponentStates_Call) Run

type RootCoord_GetCredential_Call

type RootCoord_GetCredential_Call struct {
	*mock.Call
}

RootCoord_GetCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCredential'

func (*RootCoord_GetCredential_Call) Return

func (*RootCoord_GetCredential_Call) Run

type RootCoord_GetMetrics_Call

type RootCoord_GetMetrics_Call struct {
	*mock.Call
}

RootCoord_GetMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetrics'

func (*RootCoord_GetMetrics_Call) Return

func (*RootCoord_GetMetrics_Call) Run

type RootCoord_GetPChannelInfo_Call

type RootCoord_GetPChannelInfo_Call struct {
	*mock.Call
}

RootCoord_GetPChannelInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPChannelInfo'

func (*RootCoord_GetPChannelInfo_Call) Return

func (*RootCoord_GetPChannelInfo_Call) Run

type RootCoord_GetStatisticsChannel_Call

type RootCoord_GetStatisticsChannel_Call struct {
	*mock.Call
}

RootCoord_GetStatisticsChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatisticsChannel'

func (*RootCoord_GetStatisticsChannel_Call) Return

func (*RootCoord_GetStatisticsChannel_Call) Run

type RootCoord_GetTimeTickChannel_Call

type RootCoord_GetTimeTickChannel_Call struct {
	*mock.Call
}

RootCoord_GetTimeTickChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeTickChannel'

func (*RootCoord_GetTimeTickChannel_Call) Return

func (*RootCoord_GetTimeTickChannel_Call) Run

type RootCoord_HasCollection_Call

type RootCoord_HasCollection_Call struct {
	*mock.Call
}

RootCoord_HasCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCollection'

func (*RootCoord_HasCollection_Call) Return

func (*RootCoord_HasCollection_Call) Run

type RootCoord_HasPartition_Call

type RootCoord_HasPartition_Call struct {
	*mock.Call
}

RootCoord_HasPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPartition'

func (*RootCoord_HasPartition_Call) Return

func (*RootCoord_HasPartition_Call) Run

func (*RootCoord_HasPartition_Call) RunAndReturn

type RootCoord_Init_Call

type RootCoord_Init_Call struct {
	*mock.Call
}

RootCoord_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'

func (*RootCoord_Init_Call) Return

func (*RootCoord_Init_Call) Run

func (_c *RootCoord_Init_Call) Run(run func()) *RootCoord_Init_Call

func (*RootCoord_Init_Call) RunAndReturn

func (_c *RootCoord_Init_Call) RunAndReturn(run func() error) *RootCoord_Init_Call

type RootCoord_InvalidateCollectionMetaCache_Call

type RootCoord_InvalidateCollectionMetaCache_Call struct {
	*mock.Call
}

RootCoord_InvalidateCollectionMetaCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvalidateCollectionMetaCache'

func (*RootCoord_InvalidateCollectionMetaCache_Call) Return

func (*RootCoord_InvalidateCollectionMetaCache_Call) Run

type RootCoord_ListAliases_Call

type RootCoord_ListAliases_Call struct {
	*mock.Call
}

RootCoord_ListAliases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAliases'

func (*RootCoord_ListAliases_Call) Return

func (*RootCoord_ListAliases_Call) Run

type RootCoord_ListCredUsers_Call

type RootCoord_ListCredUsers_Call struct {
	*mock.Call
}

RootCoord_ListCredUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCredUsers'

func (*RootCoord_ListCredUsers_Call) Return

func (*RootCoord_ListCredUsers_Call) Run

type RootCoord_ListDatabases_Call

type RootCoord_ListDatabases_Call struct {
	*mock.Call
}

RootCoord_ListDatabases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDatabases'

func (*RootCoord_ListDatabases_Call) Return

func (*RootCoord_ListDatabases_Call) Run

type RootCoord_ListPolicy_Call

type RootCoord_ListPolicy_Call struct {
	*mock.Call
}

RootCoord_ListPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPolicy'

func (*RootCoord_ListPolicy_Call) Return

func (*RootCoord_ListPolicy_Call) Run

type RootCoord_ListPrivilegeGroups_Call

type RootCoord_ListPrivilegeGroups_Call struct {
	*mock.Call
}

RootCoord_ListPrivilegeGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPrivilegeGroups'

func (*RootCoord_ListPrivilegeGroups_Call) Return

func (*RootCoord_ListPrivilegeGroups_Call) Run

type RootCoord_OperatePrivilegeGroup_Call

type RootCoord_OperatePrivilegeGroup_Call struct {
	*mock.Call
}

RootCoord_OperatePrivilegeGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatePrivilegeGroup'

func (*RootCoord_OperatePrivilegeGroup_Call) Return

func (*RootCoord_OperatePrivilegeGroup_Call) Run

type RootCoord_OperatePrivilege_Call

type RootCoord_OperatePrivilege_Call struct {
	*mock.Call
}

RootCoord_OperatePrivilege_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatePrivilege'

func (*RootCoord_OperatePrivilege_Call) Return

func (*RootCoord_OperatePrivilege_Call) Run

func (*RootCoord_OperatePrivilege_Call) RunAndReturn

type RootCoord_OperateUserRole_Call

type RootCoord_OperateUserRole_Call struct {
	*mock.Call
}

RootCoord_OperateUserRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperateUserRole'

func (*RootCoord_OperateUserRole_Call) Return

func (*RootCoord_OperateUserRole_Call) Run

func (*RootCoord_OperateUserRole_Call) RunAndReturn

type RootCoord_Register_Call

type RootCoord_Register_Call struct {
	*mock.Call
}

RootCoord_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*RootCoord_Register_Call) Return

func (*RootCoord_Register_Call) Run

func (_c *RootCoord_Register_Call) Run(run func()) *RootCoord_Register_Call

func (*RootCoord_Register_Call) RunAndReturn

func (_c *RootCoord_Register_Call) RunAndReturn(run func() error) *RootCoord_Register_Call

type RootCoord_RenameCollection_Call

type RootCoord_RenameCollection_Call struct {
	*mock.Call
}

RootCoord_RenameCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameCollection'

func (*RootCoord_RenameCollection_Call) Return

func (*RootCoord_RenameCollection_Call) Run

func (*RootCoord_RenameCollection_Call) RunAndReturn

type RootCoord_RestoreRBAC_Call

type RootCoord_RestoreRBAC_Call struct {
	*mock.Call
}

RootCoord_RestoreRBAC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreRBAC'

func (*RootCoord_RestoreRBAC_Call) Return

func (*RootCoord_RestoreRBAC_Call) Run

func (*RootCoord_RestoreRBAC_Call) RunAndReturn

type RootCoord_SelectGrant_Call

type RootCoord_SelectGrant_Call struct {
	*mock.Call
}

RootCoord_SelectGrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectGrant'

func (*RootCoord_SelectGrant_Call) Return

func (*RootCoord_SelectGrant_Call) Run

type RootCoord_SelectRole_Call

type RootCoord_SelectRole_Call struct {
	*mock.Call
}

RootCoord_SelectRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectRole'

func (*RootCoord_SelectRole_Call) Return

func (*RootCoord_SelectRole_Call) Run

type RootCoord_SelectUser_Call

type RootCoord_SelectUser_Call struct {
	*mock.Call
}

RootCoord_SelectUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectUser'

func (*RootCoord_SelectUser_Call) Return

func (*RootCoord_SelectUser_Call) Run

type RootCoord_SetAddress_Call

type RootCoord_SetAddress_Call struct {
	*mock.Call
}

RootCoord_SetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAddress'

func (*RootCoord_SetAddress_Call) Return

func (*RootCoord_SetAddress_Call) Run

func (_c *RootCoord_SetAddress_Call) Run(run func(address string)) *RootCoord_SetAddress_Call

func (*RootCoord_SetAddress_Call) RunAndReturn

func (_c *RootCoord_SetAddress_Call) RunAndReturn(run func(string)) *RootCoord_SetAddress_Call

type RootCoord_SetDataCoordClient_Call

type RootCoord_SetDataCoordClient_Call struct {
	*mock.Call
}

RootCoord_SetDataCoordClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataCoordClient'

func (*RootCoord_SetDataCoordClient_Call) Return

func (*RootCoord_SetDataCoordClient_Call) Run

func (*RootCoord_SetDataCoordClient_Call) RunAndReturn

type RootCoord_SetEtcdClient_Call

type RootCoord_SetEtcdClient_Call struct {
	*mock.Call
}

RootCoord_SetEtcdClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEtcdClient'

func (*RootCoord_SetEtcdClient_Call) Return

func (*RootCoord_SetEtcdClient_Call) Run

func (*RootCoord_SetEtcdClient_Call) RunAndReturn

type RootCoord_SetProxyCreator_Call

type RootCoord_SetProxyCreator_Call struct {
	*mock.Call
}

RootCoord_SetProxyCreator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProxyCreator'

func (*RootCoord_SetProxyCreator_Call) Return

func (*RootCoord_SetProxyCreator_Call) Run

func (*RootCoord_SetProxyCreator_Call) RunAndReturn

type RootCoord_SetQueryCoordClient_Call

type RootCoord_SetQueryCoordClient_Call struct {
	*mock.Call
}

RootCoord_SetQueryCoordClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetQueryCoordClient'

func (*RootCoord_SetQueryCoordClient_Call) Return

func (*RootCoord_SetQueryCoordClient_Call) Run

func (*RootCoord_SetQueryCoordClient_Call) RunAndReturn

type RootCoord_SetTiKVClient_Call

type RootCoord_SetTiKVClient_Call struct {
	*mock.Call
}

RootCoord_SetTiKVClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTiKVClient'

func (*RootCoord_SetTiKVClient_Call) Return

func (*RootCoord_SetTiKVClient_Call) Run

func (*RootCoord_SetTiKVClient_Call) RunAndReturn

type RootCoord_ShowCollections_Call

type RootCoord_ShowCollections_Call struct {
	*mock.Call
}

RootCoord_ShowCollections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowCollections'

func (*RootCoord_ShowCollections_Call) Return

func (*RootCoord_ShowCollections_Call) Run

type RootCoord_ShowConfigurations_Call

type RootCoord_ShowConfigurations_Call struct {
	*mock.Call
}

RootCoord_ShowConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowConfigurations'

func (*RootCoord_ShowConfigurations_Call) Return

func (*RootCoord_ShowConfigurations_Call) Run

type RootCoord_ShowPartitionsInternal_Call

type RootCoord_ShowPartitionsInternal_Call struct {
	*mock.Call
}

RootCoord_ShowPartitionsInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowPartitionsInternal'

func (*RootCoord_ShowPartitionsInternal_Call) Return

func (*RootCoord_ShowPartitionsInternal_Call) Run

type RootCoord_ShowPartitions_Call

type RootCoord_ShowPartitions_Call struct {
	*mock.Call
}

RootCoord_ShowPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowPartitions'

func (*RootCoord_ShowPartitions_Call) Return

func (*RootCoord_ShowPartitions_Call) Run

type RootCoord_ShowSegments_Call

type RootCoord_ShowSegments_Call struct {
	*mock.Call
}

RootCoord_ShowSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowSegments'

func (*RootCoord_ShowSegments_Call) Return

func (*RootCoord_ShowSegments_Call) Run

type RootCoord_Start_Call

type RootCoord_Start_Call struct {
	*mock.Call
}

RootCoord_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*RootCoord_Start_Call) Return

func (*RootCoord_Start_Call) Run

func (_c *RootCoord_Start_Call) Run(run func()) *RootCoord_Start_Call

func (*RootCoord_Start_Call) RunAndReturn

func (_c *RootCoord_Start_Call) RunAndReturn(run func() error) *RootCoord_Start_Call

type RootCoord_Stop_Call

type RootCoord_Stop_Call struct {
	*mock.Call
}

RootCoord_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*RootCoord_Stop_Call) Return

func (*RootCoord_Stop_Call) Run

func (_c *RootCoord_Stop_Call) Run(run func()) *RootCoord_Stop_Call

func (*RootCoord_Stop_Call) RunAndReturn

func (_c *RootCoord_Stop_Call) RunAndReturn(run func() error) *RootCoord_Stop_Call

type RootCoord_UpdateChannelTimeTick_Call

type RootCoord_UpdateChannelTimeTick_Call struct {
	*mock.Call
}

RootCoord_UpdateChannelTimeTick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannelTimeTick'

func (*RootCoord_UpdateChannelTimeTick_Call) Return

func (*RootCoord_UpdateChannelTimeTick_Call) Run

func (*RootCoord_UpdateChannelTimeTick_Call) RunAndReturn

type RootCoord_UpdateCredential_Call

type RootCoord_UpdateCredential_Call struct {
	*mock.Call
}

RootCoord_UpdateCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCredential'

func (*RootCoord_UpdateCredential_Call) Return

func (*RootCoord_UpdateCredential_Call) Run

func (*RootCoord_UpdateCredential_Call) RunAndReturn

type RootCoord_UpdateStateCode_Call

type RootCoord_UpdateStateCode_Call struct {
	*mock.Call
}

RootCoord_UpdateStateCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStateCode'

func (*RootCoord_UpdateStateCode_Call) Return

func (*RootCoord_UpdateStateCode_Call) Run

func (*RootCoord_UpdateStateCode_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL