Documentation ¶
Overview ¶
Package api is a generated GoMock package.
Index ¶
- type MockTigrisServer
- func (m *MockTigrisServer) BeginTransaction(arg0 context.Context, arg1 *api.BeginTransactionRequest) (*api.BeginTransactionResponse, error)
- func (m *MockTigrisServer) CommitTransaction(arg0 context.Context, arg1 *api.CommitTransactionRequest) (*api.CommitTransactionResponse, error)
- func (m *MockTigrisServer) CreateDatabase(arg0 context.Context, arg1 *api.CreateDatabaseRequest) (*api.CreateDatabaseResponse, error)
- func (m *MockTigrisServer) CreateOrUpdateCollection(arg0 context.Context, arg1 *api.CreateOrUpdateCollectionRequest) (*api.CreateOrUpdateCollectionResponse, error)
- func (m *MockTigrisServer) Delete(arg0 context.Context, arg1 *api.DeleteRequest) (*api.DeleteResponse, error)
- func (m *MockTigrisServer) DescribeCollection(arg0 context.Context, arg1 *api.DescribeCollectionRequest) (*api.DescribeCollectionResponse, error)
- func (m *MockTigrisServer) DescribeDatabase(arg0 context.Context, arg1 *api.DescribeDatabaseRequest) (*api.DescribeDatabaseResponse, error)
- func (m *MockTigrisServer) DropCollection(arg0 context.Context, arg1 *api.DropCollectionRequest) (*api.DropCollectionResponse, error)
- func (m *MockTigrisServer) DropDatabase(arg0 context.Context, arg1 *api.DropDatabaseRequest) (*api.DropDatabaseResponse, error)
- func (m *MockTigrisServer) EXPECT() *MockTigrisServerMockRecorder
- func (m *MockTigrisServer) GetInfo(arg0 context.Context, arg1 *api.GetInfoRequest) (*api.GetInfoResponse, error)
- func (m *MockTigrisServer) Insert(arg0 context.Context, arg1 *api.InsertRequest) (*api.InsertResponse, error)
- func (m *MockTigrisServer) ListCollections(arg0 context.Context, arg1 *api.ListCollectionsRequest) (*api.ListCollectionsResponse, error)
- func (m *MockTigrisServer) ListDatabases(arg0 context.Context, arg1 *api.ListDatabasesRequest) (*api.ListDatabasesResponse, error)
- func (m *MockTigrisServer) Read(arg0 *api.ReadRequest, arg1 api.Tigris_ReadServer) error
- func (m *MockTigrisServer) Replace(arg0 context.Context, arg1 *api.ReplaceRequest) (*api.ReplaceResponse, error)
- func (m *MockTigrisServer) RollbackTransaction(arg0 context.Context, arg1 *api.RollbackTransactionRequest) (*api.RollbackTransactionResponse, error)
- func (m *MockTigrisServer) Stream(arg0 *api.StreamRequest, arg1 api.Tigris_StreamServer) error
- func (m *MockTigrisServer) Update(arg0 context.Context, arg1 *api.UpdateRequest) (*api.UpdateResponse, error)
- type MockTigrisServerMockRecorder
- func (mr *MockTigrisServerMockRecorder) BeginTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) CommitTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) CreateDatabase(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) CreateOrUpdateCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) DescribeCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) DescribeDatabase(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) DropCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) DropDatabase(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) ListCollections(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) ListDatabases(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) RollbackTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Stream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTigrisServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTigrisServer ¶
type MockTigrisServer struct {
// contains filtered or unexported fields
}
MockTigrisServer is a mock of TigrisServer interface.
func NewMockTigrisServer ¶
func NewMockTigrisServer(ctrl *gomock.Controller) *MockTigrisServer
NewMockTigrisServer creates a new mock instance.
func (*MockTigrisServer) BeginTransaction ¶
func (m *MockTigrisServer) BeginTransaction(arg0 context.Context, arg1 *api.BeginTransactionRequest) (*api.BeginTransactionResponse, error)
BeginTransaction mocks base method.
func (*MockTigrisServer) CommitTransaction ¶
func (m *MockTigrisServer) CommitTransaction(arg0 context.Context, arg1 *api.CommitTransactionRequest) (*api.CommitTransactionResponse, error)
CommitTransaction mocks base method.
func (*MockTigrisServer) CreateDatabase ¶
func (m *MockTigrisServer) CreateDatabase(arg0 context.Context, arg1 *api.CreateDatabaseRequest) (*api.CreateDatabaseResponse, error)
CreateDatabase mocks base method.
func (*MockTigrisServer) CreateOrUpdateCollection ¶
func (m *MockTigrisServer) CreateOrUpdateCollection(arg0 context.Context, arg1 *api.CreateOrUpdateCollectionRequest) (*api.CreateOrUpdateCollectionResponse, error)
CreateOrUpdateCollection mocks base method.
func (*MockTigrisServer) Delete ¶
func (m *MockTigrisServer) Delete(arg0 context.Context, arg1 *api.DeleteRequest) (*api.DeleteResponse, error)
Delete mocks base method.
func (*MockTigrisServer) DescribeCollection ¶
func (m *MockTigrisServer) DescribeCollection(arg0 context.Context, arg1 *api.DescribeCollectionRequest) (*api.DescribeCollectionResponse, error)
DescribeCollection mocks base method.
func (*MockTigrisServer) DescribeDatabase ¶
func (m *MockTigrisServer) DescribeDatabase(arg0 context.Context, arg1 *api.DescribeDatabaseRequest) (*api.DescribeDatabaseResponse, error)
DescribeDatabase mocks base method.
func (*MockTigrisServer) DropCollection ¶
func (m *MockTigrisServer) DropCollection(arg0 context.Context, arg1 *api.DropCollectionRequest) (*api.DropCollectionResponse, error)
DropCollection mocks base method.
func (*MockTigrisServer) DropDatabase ¶
func (m *MockTigrisServer) DropDatabase(arg0 context.Context, arg1 *api.DropDatabaseRequest) (*api.DropDatabaseResponse, error)
DropDatabase mocks base method.
func (*MockTigrisServer) EXPECT ¶
func (m *MockTigrisServer) EXPECT() *MockTigrisServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTigrisServer) GetInfo ¶
func (m *MockTigrisServer) GetInfo(arg0 context.Context, arg1 *api.GetInfoRequest) (*api.GetInfoResponse, error)
GetInfo mocks base method.
func (*MockTigrisServer) Insert ¶
func (m *MockTigrisServer) Insert(arg0 context.Context, arg1 *api.InsertRequest) (*api.InsertResponse, error)
Insert mocks base method.
func (*MockTigrisServer) ListCollections ¶
func (m *MockTigrisServer) ListCollections(arg0 context.Context, arg1 *api.ListCollectionsRequest) (*api.ListCollectionsResponse, error)
ListCollections mocks base method.
func (*MockTigrisServer) ListDatabases ¶
func (m *MockTigrisServer) ListDatabases(arg0 context.Context, arg1 *api.ListDatabasesRequest) (*api.ListDatabasesResponse, error)
ListDatabases mocks base method.
func (*MockTigrisServer) Read ¶
func (m *MockTigrisServer) Read(arg0 *api.ReadRequest, arg1 api.Tigris_ReadServer) error
Read mocks base method.
func (*MockTigrisServer) Replace ¶
func (m *MockTigrisServer) Replace(arg0 context.Context, arg1 *api.ReplaceRequest) (*api.ReplaceResponse, error)
Replace mocks base method.
func (*MockTigrisServer) RollbackTransaction ¶
func (m *MockTigrisServer) RollbackTransaction(arg0 context.Context, arg1 *api.RollbackTransactionRequest) (*api.RollbackTransactionResponse, error)
RollbackTransaction mocks base method.
func (*MockTigrisServer) Stream ¶
func (m *MockTigrisServer) Stream(arg0 *api.StreamRequest, arg1 api.Tigris_StreamServer) error
Stream mocks base method.
func (*MockTigrisServer) Update ¶
func (m *MockTigrisServer) Update(arg0 context.Context, arg1 *api.UpdateRequest) (*api.UpdateResponse, error)
Update mocks base method.
type MockTigrisServerMockRecorder ¶
type MockTigrisServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTigrisServerMockRecorder is the mock recorder for MockTigrisServer.
func (*MockTigrisServerMockRecorder) BeginTransaction ¶
func (mr *MockTigrisServerMockRecorder) BeginTransaction(arg0, arg1 interface{}) *gomock.Call
BeginTransaction indicates an expected call of BeginTransaction.
func (*MockTigrisServerMockRecorder) CommitTransaction ¶
func (mr *MockTigrisServerMockRecorder) CommitTransaction(arg0, arg1 interface{}) *gomock.Call
CommitTransaction indicates an expected call of CommitTransaction.
func (*MockTigrisServerMockRecorder) CreateDatabase ¶
func (mr *MockTigrisServerMockRecorder) CreateDatabase(arg0, arg1 interface{}) *gomock.Call
CreateDatabase indicates an expected call of CreateDatabase.
func (*MockTigrisServerMockRecorder) CreateOrUpdateCollection ¶
func (mr *MockTigrisServerMockRecorder) CreateOrUpdateCollection(arg0, arg1 interface{}) *gomock.Call
CreateOrUpdateCollection indicates an expected call of CreateOrUpdateCollection.
func (*MockTigrisServerMockRecorder) Delete ¶
func (mr *MockTigrisServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTigrisServerMockRecorder) DescribeCollection ¶
func (mr *MockTigrisServerMockRecorder) DescribeCollection(arg0, arg1 interface{}) *gomock.Call
DescribeCollection indicates an expected call of DescribeCollection.
func (*MockTigrisServerMockRecorder) DescribeDatabase ¶
func (mr *MockTigrisServerMockRecorder) DescribeDatabase(arg0, arg1 interface{}) *gomock.Call
DescribeDatabase indicates an expected call of DescribeDatabase.
func (*MockTigrisServerMockRecorder) DropCollection ¶
func (mr *MockTigrisServerMockRecorder) DropCollection(arg0, arg1 interface{}) *gomock.Call
DropCollection indicates an expected call of DropCollection.
func (*MockTigrisServerMockRecorder) DropDatabase ¶
func (mr *MockTigrisServerMockRecorder) DropDatabase(arg0, arg1 interface{}) *gomock.Call
DropDatabase indicates an expected call of DropDatabase.
func (*MockTigrisServerMockRecorder) GetInfo ¶
func (mr *MockTigrisServerMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockTigrisServerMockRecorder) Insert ¶
func (mr *MockTigrisServerMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockTigrisServerMockRecorder) ListCollections ¶
func (mr *MockTigrisServerMockRecorder) ListCollections(arg0, arg1 interface{}) *gomock.Call
ListCollections indicates an expected call of ListCollections.
func (*MockTigrisServerMockRecorder) ListDatabases ¶
func (mr *MockTigrisServerMockRecorder) ListDatabases(arg0, arg1 interface{}) *gomock.Call
ListDatabases indicates an expected call of ListDatabases.
func (*MockTigrisServerMockRecorder) Read ¶
func (mr *MockTigrisServerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockTigrisServerMockRecorder) Replace ¶
func (mr *MockTigrisServerMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
Replace indicates an expected call of Replace.
func (*MockTigrisServerMockRecorder) RollbackTransaction ¶
func (mr *MockTigrisServerMockRecorder) RollbackTransaction(arg0, arg1 interface{}) *gomock.Call
RollbackTransaction indicates an expected call of RollbackTransaction.
func (*MockTigrisServerMockRecorder) Stream ¶
func (mr *MockTigrisServerMockRecorder) Stream(arg0, arg1 interface{}) *gomock.Call
Stream indicates an expected call of Stream.
func (*MockTigrisServerMockRecorder) Update ¶
func (mr *MockTigrisServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.