Documentation ¶
Index ¶
- type ImitSpannerServer
- func (imit *ImitSpannerServer) BatchCreateSessions(P0 context.Context, P1 *spanner.BatchCreateSessionsRequest) (*spanner.BatchCreateSessionsResponse, error)
- func (imit *ImitSpannerServer) BeginTransaction(P0 context.Context, P1 *spanner.BeginTransactionRequest) (*spanner.Transaction, error)
- func (imit *ImitSpannerServer) Commit(P0 context.Context, P1 *spanner.CommitRequest) (*spanner.CommitResponse, error)
- func (imit *ImitSpannerServer) CreateSession(P0 context.Context, P1 *spanner.CreateSessionRequest) (*spanner.Session, error)
- func (imit *ImitSpannerServer) DeleteSession(P0 context.Context, P1 *spanner.DeleteSessionRequest) (*emptypb.Empty, error)
- func (imit *ImitSpannerServer) EnqueueBatchCreateSessionsMock(...)
- func (imit *ImitSpannerServer) EnqueueBatchCreateSessionsMocks(...)
- func (imit *ImitSpannerServer) EnqueueBeginTransactionMock(...)
- func (imit *ImitSpannerServer) EnqueueBeginTransactionMocks(...)
- func (imit *ImitSpannerServer) EnqueueCommitMock(...)
- func (imit *ImitSpannerServer) EnqueueCommitMocks(...)
- func (imit *ImitSpannerServer) EnqueueCreateSessionMock(...)
- func (imit *ImitSpannerServer) EnqueueCreateSessionMocks(...)
- func (imit *ImitSpannerServer) EnqueueDeleteSessionMock(...)
- func (imit *ImitSpannerServer) EnqueueDeleteSessionMocks(...)
- func (imit *ImitSpannerServer) EnqueueExecuteBatchDmlMock(...)
- func (imit *ImitSpannerServer) EnqueueExecuteBatchDmlMocks(...)
- func (imit *ImitSpannerServer) EnqueueExecuteSqlMock(...)
- func (imit *ImitSpannerServer) EnqueueExecuteSqlMocks(...)
- func (imit *ImitSpannerServer) EnqueueExecuteStreamingSqlMock(...)
- func (imit *ImitSpannerServer) EnqueueExecuteStreamingSqlMocks(...)
- func (imit *ImitSpannerServer) EnqueueGetSessionMock(...)
- func (imit *ImitSpannerServer) EnqueueGetSessionMocks(...)
- func (imit *ImitSpannerServer) EnqueueListSessionsMock(...)
- func (imit *ImitSpannerServer) EnqueueListSessionsMocks(...)
- func (imit *ImitSpannerServer) EnqueuePartitionQueryMock(...)
- func (imit *ImitSpannerServer) EnqueuePartitionQueryMocks(...)
- func (imit *ImitSpannerServer) EnqueuePartitionReadMock(...)
- func (imit *ImitSpannerServer) EnqueuePartitionReadMocks(...)
- func (imit *ImitSpannerServer) EnqueueReadMock(...)
- func (imit *ImitSpannerServer) EnqueueReadMocks(...)
- func (imit *ImitSpannerServer) EnqueueRollbackMock(...)
- func (imit *ImitSpannerServer) EnqueueRollbackMocks(...)
- func (imit *ImitSpannerServer) EnqueueStreamingReadMock(m func(P0 *spanner.ReadRequest, P1 spanner.Spanner_StreamingReadServer) error)
- func (imit *ImitSpannerServer) EnqueueStreamingReadMocks(...)
- func (imit *ImitSpannerServer) ExecuteBatchDml(P0 context.Context, P1 *spanner.ExecuteBatchDmlRequest) (*spanner.ExecuteBatchDmlResponse, error)
- func (imit *ImitSpannerServer) ExecuteSql(P0 context.Context, P1 *spanner.ExecuteSqlRequest) (*spanner.ResultSet, error)
- func (imit *ImitSpannerServer) ExecuteStreamingSql(P0 *spanner.ExecuteSqlRequest, P1 spanner.Spanner_ExecuteStreamingSqlServer) error
- func (imit *ImitSpannerServer) GetSession(P0 context.Context, P1 *spanner.GetSessionRequest) (*spanner.Session, error)
- func (imit *ImitSpannerServer) ListSessions(P0 context.Context, P1 *spanner.ListSessionsRequest) (*spanner.ListSessionsResponse, error)
- func (imit *ImitSpannerServer) PartitionQuery(P0 context.Context, P1 *spanner.PartitionQueryRequest) (*spanner.PartitionResponse, error)
- func (imit *ImitSpannerServer) PartitionRead(P0 context.Context, P1 *spanner.PartitionReadRequest) (*spanner.PartitionResponse, error)
- func (imit *ImitSpannerServer) Read(P0 context.Context, P1 *spanner.ReadRequest) (*spanner.ResultSet, error)
- func (imit *ImitSpannerServer) Rollback(P0 context.Context, P1 *spanner.RollbackRequest) (*emptypb.Empty, error)
- func (imit *ImitSpannerServer) StreamingRead(P0 *spanner.ReadRequest, P1 spanner.Spanner_StreamingReadServer) error
- func (imit *ImitSpannerServer) TakeBatchCreateSessionsRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeBeginTransactionRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeCommitRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeCreateSessionRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeDeleteSessionRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeExecuteBatchDmlRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeExecuteSqlRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeExecuteStreamingSqlRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeGetSessionRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeListSessionsRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakePartitionQueryRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakePartitionReadRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeReadRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeRollbackRecords() []struct{ ... }
- func (imit *ImitSpannerServer) TakeStreamingReadRecords() []struct{ ... }
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImitSpannerServer ¶
type ImitSpannerServer struct { spanner.UnimplementedSpannerServer // contains filtered or unexported fields }
func (*ImitSpannerServer) BatchCreateSessions ¶
func (imit *ImitSpannerServer) BatchCreateSessions(P0 context.Context, P1 *spanner.BatchCreateSessionsRequest) (*spanner.BatchCreateSessionsResponse, error)
BatchCreateSessions Imitation
func (*ImitSpannerServer) BeginTransaction ¶
func (imit *ImitSpannerServer) BeginTransaction(P0 context.Context, P1 *spanner.BeginTransactionRequest) (*spanner.Transaction, error)
BeginTransaction Imitation
func (*ImitSpannerServer) Commit ¶
func (imit *ImitSpannerServer) Commit(P0 context.Context, P1 *spanner.CommitRequest) (*spanner.CommitResponse, error)
Commit Imitation
func (*ImitSpannerServer) CreateSession ¶
func (imit *ImitSpannerServer) CreateSession(P0 context.Context, P1 *spanner.CreateSessionRequest) (*spanner.Session, error)
CreateSession Imitation
func (*ImitSpannerServer) DeleteSession ¶
func (imit *ImitSpannerServer) DeleteSession(P0 context.Context, P1 *spanner.DeleteSessionRequest) (*emptypb.Empty, error)
DeleteSession Imitation
func (*ImitSpannerServer) EnqueueBatchCreateSessionsMock ¶
func (imit *ImitSpannerServer) EnqueueBatchCreateSessionsMock(m func(P0 context.Context, P1 *spanner.BatchCreateSessionsRequest) (*spanner.BatchCreateSessionsResponse, error))
BatchCreateSessions Enqueue Mock
func (*ImitSpannerServer) EnqueueBatchCreateSessionsMocks ¶
func (imit *ImitSpannerServer) EnqueueBatchCreateSessionsMocks(ms []func(P0 context.Context, P1 *spanner.BatchCreateSessionsRequest) (*spanner.BatchCreateSessionsResponse, error))
BatchCreateSessions Enqueue Mocks
func (*ImitSpannerServer) EnqueueBeginTransactionMock ¶
func (imit *ImitSpannerServer) EnqueueBeginTransactionMock(m func(P0 context.Context, P1 *spanner.BeginTransactionRequest) (*spanner.Transaction, error))
BeginTransaction Enqueue Mock
func (*ImitSpannerServer) EnqueueBeginTransactionMocks ¶
func (imit *ImitSpannerServer) EnqueueBeginTransactionMocks(ms []func(P0 context.Context, P1 *spanner.BeginTransactionRequest) (*spanner.Transaction, error))
BeginTransaction Enqueue Mocks
func (*ImitSpannerServer) EnqueueCommitMock ¶
func (imit *ImitSpannerServer) EnqueueCommitMock(m func(P0 context.Context, P1 *spanner.CommitRequest) (*spanner.CommitResponse, error))
Commit Enqueue Mock
func (*ImitSpannerServer) EnqueueCommitMocks ¶
func (imit *ImitSpannerServer) EnqueueCommitMocks(ms []func(P0 context.Context, P1 *spanner.CommitRequest) (*spanner.CommitResponse, error))
Commit Enqueue Mocks
func (*ImitSpannerServer) EnqueueCreateSessionMock ¶
func (imit *ImitSpannerServer) EnqueueCreateSessionMock(m func(P0 context.Context, P1 *spanner.CreateSessionRequest) (*spanner.Session, error))
CreateSession Enqueue Mock
func (*ImitSpannerServer) EnqueueCreateSessionMocks ¶
func (imit *ImitSpannerServer) EnqueueCreateSessionMocks(ms []func(P0 context.Context, P1 *spanner.CreateSessionRequest) (*spanner.Session, error))
CreateSession Enqueue Mocks
func (*ImitSpannerServer) EnqueueDeleteSessionMock ¶
func (imit *ImitSpannerServer) EnqueueDeleteSessionMock(m func(P0 context.Context, P1 *spanner.DeleteSessionRequest) (*emptypb.Empty, error))
DeleteSession Enqueue Mock
func (*ImitSpannerServer) EnqueueDeleteSessionMocks ¶
func (imit *ImitSpannerServer) EnqueueDeleteSessionMocks(ms []func(P0 context.Context, P1 *spanner.DeleteSessionRequest) (*emptypb.Empty, error))
DeleteSession Enqueue Mocks
func (*ImitSpannerServer) EnqueueExecuteBatchDmlMock ¶
func (imit *ImitSpannerServer) EnqueueExecuteBatchDmlMock(m func(P0 context.Context, P1 *spanner.ExecuteBatchDmlRequest) (*spanner.ExecuteBatchDmlResponse, error))
ExecuteBatchDml Enqueue Mock
func (*ImitSpannerServer) EnqueueExecuteBatchDmlMocks ¶
func (imit *ImitSpannerServer) EnqueueExecuteBatchDmlMocks(ms []func(P0 context.Context, P1 *spanner.ExecuteBatchDmlRequest) (*spanner.ExecuteBatchDmlResponse, error))
ExecuteBatchDml Enqueue Mocks
func (*ImitSpannerServer) EnqueueExecuteSqlMock ¶
func (imit *ImitSpannerServer) EnqueueExecuteSqlMock(m func(P0 context.Context, P1 *spanner.ExecuteSqlRequest) (*spanner.ResultSet, error))
ExecuteSql Enqueue Mock
func (*ImitSpannerServer) EnqueueExecuteSqlMocks ¶
func (imit *ImitSpannerServer) EnqueueExecuteSqlMocks(ms []func(P0 context.Context, P1 *spanner.ExecuteSqlRequest) (*spanner.ResultSet, error))
ExecuteSql Enqueue Mocks
func (*ImitSpannerServer) EnqueueExecuteStreamingSqlMock ¶
func (imit *ImitSpannerServer) EnqueueExecuteStreamingSqlMock(m func(P0 *spanner.ExecuteSqlRequest, P1 spanner.Spanner_ExecuteStreamingSqlServer) error)
ExecuteStreamingSql Enqueue Mock
func (*ImitSpannerServer) EnqueueExecuteStreamingSqlMocks ¶
func (imit *ImitSpannerServer) EnqueueExecuteStreamingSqlMocks(ms []func(P0 *spanner.ExecuteSqlRequest, P1 spanner.Spanner_ExecuteStreamingSqlServer) error)
ExecuteStreamingSql Enqueue Mocks
func (*ImitSpannerServer) EnqueueGetSessionMock ¶
func (imit *ImitSpannerServer) EnqueueGetSessionMock(m func(P0 context.Context, P1 *spanner.GetSessionRequest) (*spanner.Session, error))
GetSession Enqueue Mock
func (*ImitSpannerServer) EnqueueGetSessionMocks ¶
func (imit *ImitSpannerServer) EnqueueGetSessionMocks(ms []func(P0 context.Context, P1 *spanner.GetSessionRequest) (*spanner.Session, error))
GetSession Enqueue Mocks
func (*ImitSpannerServer) EnqueueListSessionsMock ¶
func (imit *ImitSpannerServer) EnqueueListSessionsMock(m func(P0 context.Context, P1 *spanner.ListSessionsRequest) (*spanner.ListSessionsResponse, error))
ListSessions Enqueue Mock
func (*ImitSpannerServer) EnqueueListSessionsMocks ¶
func (imit *ImitSpannerServer) EnqueueListSessionsMocks(ms []func(P0 context.Context, P1 *spanner.ListSessionsRequest) (*spanner.ListSessionsResponse, error))
ListSessions Enqueue Mocks
func (*ImitSpannerServer) EnqueuePartitionQueryMock ¶
func (imit *ImitSpannerServer) EnqueuePartitionQueryMock(m func(P0 context.Context, P1 *spanner.PartitionQueryRequest) (*spanner.PartitionResponse, error))
PartitionQuery Enqueue Mock
func (*ImitSpannerServer) EnqueuePartitionQueryMocks ¶
func (imit *ImitSpannerServer) EnqueuePartitionQueryMocks(ms []func(P0 context.Context, P1 *spanner.PartitionQueryRequest) (*spanner.PartitionResponse, error))
PartitionQuery Enqueue Mocks
func (*ImitSpannerServer) EnqueuePartitionReadMock ¶
func (imit *ImitSpannerServer) EnqueuePartitionReadMock(m func(P0 context.Context, P1 *spanner.PartitionReadRequest) (*spanner.PartitionResponse, error))
PartitionRead Enqueue Mock
func (*ImitSpannerServer) EnqueuePartitionReadMocks ¶
func (imit *ImitSpannerServer) EnqueuePartitionReadMocks(ms []func(P0 context.Context, P1 *spanner.PartitionReadRequest) (*spanner.PartitionResponse, error))
PartitionRead Enqueue Mocks
func (*ImitSpannerServer) EnqueueReadMock ¶
func (imit *ImitSpannerServer) EnqueueReadMock(m func(P0 context.Context, P1 *spanner.ReadRequest) (*spanner.ResultSet, error))
Read Enqueue Mock
func (*ImitSpannerServer) EnqueueReadMocks ¶
func (imit *ImitSpannerServer) EnqueueReadMocks(ms []func(P0 context.Context, P1 *spanner.ReadRequest) (*spanner.ResultSet, error))
Read Enqueue Mocks
func (*ImitSpannerServer) EnqueueRollbackMock ¶
func (imit *ImitSpannerServer) EnqueueRollbackMock(m func(P0 context.Context, P1 *spanner.RollbackRequest) (*emptypb.Empty, error))
Rollback Enqueue Mock
func (*ImitSpannerServer) EnqueueRollbackMocks ¶
func (imit *ImitSpannerServer) EnqueueRollbackMocks(ms []func(P0 context.Context, P1 *spanner.RollbackRequest) (*emptypb.Empty, error))
Rollback Enqueue Mocks
func (*ImitSpannerServer) EnqueueStreamingReadMock ¶
func (imit *ImitSpannerServer) EnqueueStreamingReadMock(m func(P0 *spanner.ReadRequest, P1 spanner.Spanner_StreamingReadServer) error)
StreamingRead Enqueue Mock
func (*ImitSpannerServer) EnqueueStreamingReadMocks ¶
func (imit *ImitSpannerServer) EnqueueStreamingReadMocks(ms []func(P0 *spanner.ReadRequest, P1 spanner.Spanner_StreamingReadServer) error)
StreamingRead Enqueue Mocks
func (*ImitSpannerServer) ExecuteBatchDml ¶
func (imit *ImitSpannerServer) ExecuteBatchDml(P0 context.Context, P1 *spanner.ExecuteBatchDmlRequest) (*spanner.ExecuteBatchDmlResponse, error)
ExecuteBatchDml Imitation
func (*ImitSpannerServer) ExecuteSql ¶
func (imit *ImitSpannerServer) ExecuteSql(P0 context.Context, P1 *spanner.ExecuteSqlRequest) (*spanner.ResultSet, error)
ExecuteSql Imitation
func (*ImitSpannerServer) ExecuteStreamingSql ¶
func (imit *ImitSpannerServer) ExecuteStreamingSql(P0 *spanner.ExecuteSqlRequest, P1 spanner.Spanner_ExecuteStreamingSqlServer) error
ExecuteStreamingSql Imitation
func (*ImitSpannerServer) GetSession ¶
func (imit *ImitSpannerServer) GetSession(P0 context.Context, P1 *spanner.GetSessionRequest) (*spanner.Session, error)
GetSession Imitation
func (*ImitSpannerServer) ListSessions ¶
func (imit *ImitSpannerServer) ListSessions(P0 context.Context, P1 *spanner.ListSessionsRequest) (*spanner.ListSessionsResponse, error)
ListSessions Imitation
func (*ImitSpannerServer) PartitionQuery ¶
func (imit *ImitSpannerServer) PartitionQuery(P0 context.Context, P1 *spanner.PartitionQueryRequest) (*spanner.PartitionResponse, error)
PartitionQuery Imitation
func (*ImitSpannerServer) PartitionRead ¶
func (imit *ImitSpannerServer) PartitionRead(P0 context.Context, P1 *spanner.PartitionReadRequest) (*spanner.PartitionResponse, error)
PartitionRead Imitation
func (*ImitSpannerServer) Read ¶
func (imit *ImitSpannerServer) Read(P0 context.Context, P1 *spanner.ReadRequest) (*spanner.ResultSet, error)
Read Imitation
func (*ImitSpannerServer) Rollback ¶
func (imit *ImitSpannerServer) Rollback(P0 context.Context, P1 *spanner.RollbackRequest) (*emptypb.Empty, error)
Rollback Imitation
func (*ImitSpannerServer) StreamingRead ¶
func (imit *ImitSpannerServer) StreamingRead(P0 *spanner.ReadRequest, P1 spanner.Spanner_StreamingReadServer) error
StreamingRead Imitation
func (*ImitSpannerServer) TakeBatchCreateSessionsRecords ¶
func (imit *ImitSpannerServer) TakeBatchCreateSessionsRecords() []struct { P0 context.Context P1 *spanner.BatchCreateSessionsRequest }
BatchCreateSessions Take Records
func (*ImitSpannerServer) TakeBeginTransactionRecords ¶
func (imit *ImitSpannerServer) TakeBeginTransactionRecords() []struct { P0 context.Context P1 *spanner.BeginTransactionRequest }
BeginTransaction Take Records
func (*ImitSpannerServer) TakeCommitRecords ¶
func (imit *ImitSpannerServer) TakeCommitRecords() []struct { P0 context.Context P1 *spanner.CommitRequest }
Commit Take Records
func (*ImitSpannerServer) TakeCreateSessionRecords ¶
func (imit *ImitSpannerServer) TakeCreateSessionRecords() []struct { P0 context.Context P1 *spanner.CreateSessionRequest }
CreateSession Take Records
func (*ImitSpannerServer) TakeDeleteSessionRecords ¶
func (imit *ImitSpannerServer) TakeDeleteSessionRecords() []struct { P0 context.Context P1 *spanner.DeleteSessionRequest }
DeleteSession Take Records
func (*ImitSpannerServer) TakeExecuteBatchDmlRecords ¶
func (imit *ImitSpannerServer) TakeExecuteBatchDmlRecords() []struct { P0 context.Context P1 *spanner.ExecuteBatchDmlRequest }
ExecuteBatchDml Take Records
func (*ImitSpannerServer) TakeExecuteSqlRecords ¶
func (imit *ImitSpannerServer) TakeExecuteSqlRecords() []struct { P0 context.Context P1 *spanner.ExecuteSqlRequest }
ExecuteSql Take Records
func (*ImitSpannerServer) TakeExecuteStreamingSqlRecords ¶
func (imit *ImitSpannerServer) TakeExecuteStreamingSqlRecords() []struct { P0 *spanner.ExecuteSqlRequest P1 spanner.Spanner_ExecuteStreamingSqlServer }
ExecuteStreamingSql Take Records
func (*ImitSpannerServer) TakeGetSessionRecords ¶
func (imit *ImitSpannerServer) TakeGetSessionRecords() []struct { P0 context.Context P1 *spanner.GetSessionRequest }
GetSession Take Records
func (*ImitSpannerServer) TakeListSessionsRecords ¶
func (imit *ImitSpannerServer) TakeListSessionsRecords() []struct { P0 context.Context P1 *spanner.ListSessionsRequest }
ListSessions Take Records
func (*ImitSpannerServer) TakePartitionQueryRecords ¶
func (imit *ImitSpannerServer) TakePartitionQueryRecords() []struct { P0 context.Context P1 *spanner.PartitionQueryRequest }
PartitionQuery Take Records
func (*ImitSpannerServer) TakePartitionReadRecords ¶
func (imit *ImitSpannerServer) TakePartitionReadRecords() []struct { P0 context.Context P1 *spanner.PartitionReadRequest }
PartitionRead Take Records
func (*ImitSpannerServer) TakeReadRecords ¶
func (imit *ImitSpannerServer) TakeReadRecords() []struct { P0 context.Context P1 *spanner.ReadRequest }
Read Take Records
func (*ImitSpannerServer) TakeRollbackRecords ¶
func (imit *ImitSpannerServer) TakeRollbackRecords() []struct { P0 context.Context P1 *spanner.RollbackRequest }
Rollback Take Records
func (*ImitSpannerServer) TakeStreamingReadRecords ¶
func (imit *ImitSpannerServer) TakeStreamingReadRecords() []struct { P0 *spanner.ReadRequest P1 spanner.Spanner_StreamingReadServer }
StreamingRead Take Records