imit_firestore

package
v0.0.0-...-2efa5ab Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImitFirestoreServer

type ImitFirestoreServer struct {
	firestore.UnimplementedFirestoreServer
	// contains filtered or unexported fields
}

func (*ImitFirestoreServer) BatchGetDocuments

BatchGetDocuments Imitation

func (*ImitFirestoreServer) BatchWrite

BatchWrite Imitation

func (*ImitFirestoreServer) BeginTransaction

BeginTransaction Imitation

func (*ImitFirestoreServer) Commit

Commit Imitation

func (*ImitFirestoreServer) CreateDocument

CreateDocument Imitation

func (*ImitFirestoreServer) DeleteDocument

DeleteDocument Imitation

func (*ImitFirestoreServer) EnqueueBatchGetDocumentsMock

func (imit *ImitFirestoreServer) EnqueueBatchGetDocumentsMock(m func(P0 *firestore.BatchGetDocumentsRequest, P1 firestore.Firestore_BatchGetDocumentsServer) error)

BatchGetDocuments Enqueue Mock

func (*ImitFirestoreServer) EnqueueBatchGetDocumentsMocks

func (imit *ImitFirestoreServer) EnqueueBatchGetDocumentsMocks(ms []func(P0 *firestore.BatchGetDocumentsRequest, P1 firestore.Firestore_BatchGetDocumentsServer) error)

BatchGetDocuments Enqueue Mocks

func (*ImitFirestoreServer) EnqueueBatchWriteMock

func (imit *ImitFirestoreServer) EnqueueBatchWriteMock(m func(P0 context.Context, P1 *firestore.BatchWriteRequest) (*firestore.BatchWriteResponse, error))

BatchWrite Enqueue Mock

func (*ImitFirestoreServer) EnqueueBatchWriteMocks

func (imit *ImitFirestoreServer) EnqueueBatchWriteMocks(ms []func(P0 context.Context, P1 *firestore.BatchWriteRequest) (*firestore.BatchWriteResponse, error))

BatchWrite Enqueue Mocks

func (*ImitFirestoreServer) EnqueueBeginTransactionMock

func (imit *ImitFirestoreServer) EnqueueBeginTransactionMock(m func(P0 context.Context, P1 *firestore.BeginTransactionRequest) (*firestore.BeginTransactionResponse, error))

BeginTransaction Enqueue Mock

func (*ImitFirestoreServer) EnqueueBeginTransactionMocks

func (imit *ImitFirestoreServer) EnqueueBeginTransactionMocks(ms []func(P0 context.Context, P1 *firestore.BeginTransactionRequest) (*firestore.BeginTransactionResponse, error))

BeginTransaction Enqueue Mocks

func (*ImitFirestoreServer) EnqueueCommitMock

func (imit *ImitFirestoreServer) EnqueueCommitMock(m func(P0 context.Context, P1 *firestore.CommitRequest) (*firestore.CommitResponse, error))

Commit Enqueue Mock

func (*ImitFirestoreServer) EnqueueCommitMocks

func (imit *ImitFirestoreServer) EnqueueCommitMocks(ms []func(P0 context.Context, P1 *firestore.CommitRequest) (*firestore.CommitResponse, error))

Commit Enqueue Mocks

func (*ImitFirestoreServer) EnqueueCreateDocumentMock

func (imit *ImitFirestoreServer) EnqueueCreateDocumentMock(m func(P0 context.Context, P1 *firestore.CreateDocumentRequest) (*firestore.Document, error))

CreateDocument Enqueue Mock

func (*ImitFirestoreServer) EnqueueCreateDocumentMocks

func (imit *ImitFirestoreServer) EnqueueCreateDocumentMocks(ms []func(P0 context.Context, P1 *firestore.CreateDocumentRequest) (*firestore.Document, error))

CreateDocument Enqueue Mocks

func (*ImitFirestoreServer) EnqueueDeleteDocumentMock

func (imit *ImitFirestoreServer) EnqueueDeleteDocumentMock(m func(P0 context.Context, P1 *firestore.DeleteDocumentRequest) (*emptypb.Empty, error))

DeleteDocument Enqueue Mock

func (*ImitFirestoreServer) EnqueueDeleteDocumentMocks

func (imit *ImitFirestoreServer) EnqueueDeleteDocumentMocks(ms []func(P0 context.Context, P1 *firestore.DeleteDocumentRequest) (*emptypb.Empty, error))

DeleteDocument Enqueue Mocks

func (*ImitFirestoreServer) EnqueueGetDocumentMock

func (imit *ImitFirestoreServer) EnqueueGetDocumentMock(m func(P0 context.Context, P1 *firestore.GetDocumentRequest) (*firestore.Document, error))

GetDocument Enqueue Mock

func (*ImitFirestoreServer) EnqueueGetDocumentMocks

func (imit *ImitFirestoreServer) EnqueueGetDocumentMocks(ms []func(P0 context.Context, P1 *firestore.GetDocumentRequest) (*firestore.Document, error))

GetDocument Enqueue Mocks

func (*ImitFirestoreServer) EnqueueListCollectionIdsMock

func (imit *ImitFirestoreServer) EnqueueListCollectionIdsMock(m func(P0 context.Context, P1 *firestore.ListCollectionIdsRequest) (*firestore.ListCollectionIdsResponse, error))

ListCollectionIds Enqueue Mock

func (*ImitFirestoreServer) EnqueueListCollectionIdsMocks

func (imit *ImitFirestoreServer) EnqueueListCollectionIdsMocks(ms []func(P0 context.Context, P1 *firestore.ListCollectionIdsRequest) (*firestore.ListCollectionIdsResponse, error))

ListCollectionIds Enqueue Mocks

func (*ImitFirestoreServer) EnqueueListDocumentsMock

func (imit *ImitFirestoreServer) EnqueueListDocumentsMock(m func(P0 context.Context, P1 *firestore.ListDocumentsRequest) (*firestore.ListDocumentsResponse, error))

ListDocuments Enqueue Mock

func (*ImitFirestoreServer) EnqueueListDocumentsMocks

func (imit *ImitFirestoreServer) EnqueueListDocumentsMocks(ms []func(P0 context.Context, P1 *firestore.ListDocumentsRequest) (*firestore.ListDocumentsResponse, error))

ListDocuments Enqueue Mocks

func (*ImitFirestoreServer) EnqueueListenMock

func (imit *ImitFirestoreServer) EnqueueListenMock(m func(P0 firestore.Firestore_ListenServer) error)

Listen Enqueue Mock

func (*ImitFirestoreServer) EnqueueListenMocks

func (imit *ImitFirestoreServer) EnqueueListenMocks(ms []func(P0 firestore.Firestore_ListenServer) error)

Listen Enqueue Mocks

func (*ImitFirestoreServer) EnqueuePartitionQueryMock

func (imit *ImitFirestoreServer) EnqueuePartitionQueryMock(m func(P0 context.Context, P1 *firestore.PartitionQueryRequest) (*firestore.PartitionQueryResponse, error))

PartitionQuery Enqueue Mock

func (*ImitFirestoreServer) EnqueuePartitionQueryMocks

func (imit *ImitFirestoreServer) EnqueuePartitionQueryMocks(ms []func(P0 context.Context, P1 *firestore.PartitionQueryRequest) (*firestore.PartitionQueryResponse, error))

PartitionQuery Enqueue Mocks

func (*ImitFirestoreServer) EnqueueRollbackMock

func (imit *ImitFirestoreServer) EnqueueRollbackMock(m func(P0 context.Context, P1 *firestore.RollbackRequest) (*emptypb.Empty, error))

Rollback Enqueue Mock

func (*ImitFirestoreServer) EnqueueRollbackMocks

func (imit *ImitFirestoreServer) EnqueueRollbackMocks(ms []func(P0 context.Context, P1 *firestore.RollbackRequest) (*emptypb.Empty, error))

Rollback Enqueue Mocks

func (*ImitFirestoreServer) EnqueueRunQueryMock

func (imit *ImitFirestoreServer) EnqueueRunQueryMock(m func(P0 *firestore.RunQueryRequest, P1 firestore.Firestore_RunQueryServer) error)

RunQuery Enqueue Mock

func (*ImitFirestoreServer) EnqueueRunQueryMocks

func (imit *ImitFirestoreServer) EnqueueRunQueryMocks(ms []func(P0 *firestore.RunQueryRequest, P1 firestore.Firestore_RunQueryServer) error)

RunQuery Enqueue Mocks

func (*ImitFirestoreServer) EnqueueUpdateDocumentMock

func (imit *ImitFirestoreServer) EnqueueUpdateDocumentMock(m func(P0 context.Context, P1 *firestore.UpdateDocumentRequest) (*firestore.Document, error))

UpdateDocument Enqueue Mock

func (*ImitFirestoreServer) EnqueueUpdateDocumentMocks

func (imit *ImitFirestoreServer) EnqueueUpdateDocumentMocks(ms []func(P0 context.Context, P1 *firestore.UpdateDocumentRequest) (*firestore.Document, error))

UpdateDocument Enqueue Mocks

func (*ImitFirestoreServer) EnqueueWriteMock

func (imit *ImitFirestoreServer) EnqueueWriteMock(m func(P0 firestore.Firestore_WriteServer) error)

Write Enqueue Mock

func (*ImitFirestoreServer) EnqueueWriteMocks

func (imit *ImitFirestoreServer) EnqueueWriteMocks(ms []func(P0 firestore.Firestore_WriteServer) error)

Write Enqueue Mocks

func (*ImitFirestoreServer) GetDocument

GetDocument Imitation

func (*ImitFirestoreServer) ListCollectionIds

ListCollectionIds Imitation

func (*ImitFirestoreServer) ListDocuments

ListDocuments Imitation

func (*ImitFirestoreServer) Listen

Listen Imitation

func (*ImitFirestoreServer) PartitionQuery

PartitionQuery Imitation

func (*ImitFirestoreServer) Rollback

Rollback Imitation

func (*ImitFirestoreServer) RunQuery

RunQuery Imitation

func (*ImitFirestoreServer) TakeBatchGetDocumentsRecords

func (imit *ImitFirestoreServer) TakeBatchGetDocumentsRecords() []struct {
	P0 *firestore.BatchGetDocumentsRequest
	P1 firestore.Firestore_BatchGetDocumentsServer
}

BatchGetDocuments Take Records

func (*ImitFirestoreServer) TakeBatchWriteRecords

func (imit *ImitFirestoreServer) TakeBatchWriteRecords() []struct {
	P0 context.Context
	P1 *firestore.BatchWriteRequest
}

BatchWrite Take Records

func (*ImitFirestoreServer) TakeBeginTransactionRecords

func (imit *ImitFirestoreServer) TakeBeginTransactionRecords() []struct {
	P0 context.Context
	P1 *firestore.BeginTransactionRequest
}

BeginTransaction Take Records

func (*ImitFirestoreServer) TakeCommitRecords

func (imit *ImitFirestoreServer) TakeCommitRecords() []struct {
	P0 context.Context
	P1 *firestore.CommitRequest
}

Commit Take Records

func (*ImitFirestoreServer) TakeCreateDocumentRecords

func (imit *ImitFirestoreServer) TakeCreateDocumentRecords() []struct {
	P0 context.Context
	P1 *firestore.CreateDocumentRequest
}

CreateDocument Take Records

func (*ImitFirestoreServer) TakeDeleteDocumentRecords

func (imit *ImitFirestoreServer) TakeDeleteDocumentRecords() []struct {
	P0 context.Context
	P1 *firestore.DeleteDocumentRequest
}

DeleteDocument Take Records

func (*ImitFirestoreServer) TakeGetDocumentRecords

func (imit *ImitFirestoreServer) TakeGetDocumentRecords() []struct {
	P0 context.Context
	P1 *firestore.GetDocumentRequest
}

GetDocument Take Records

func (*ImitFirestoreServer) TakeListCollectionIdsRecords

func (imit *ImitFirestoreServer) TakeListCollectionIdsRecords() []struct {
	P0 context.Context
	P1 *firestore.ListCollectionIdsRequest
}

ListCollectionIds Take Records

func (*ImitFirestoreServer) TakeListDocumentsRecords

func (imit *ImitFirestoreServer) TakeListDocumentsRecords() []struct {
	P0 context.Context
	P1 *firestore.ListDocumentsRequest
}

ListDocuments Take Records

func (*ImitFirestoreServer) TakeListenRecords

func (imit *ImitFirestoreServer) TakeListenRecords() []struct {
	P0 firestore.Firestore_ListenServer
}

Listen Take Records

func (*ImitFirestoreServer) TakePartitionQueryRecords

func (imit *ImitFirestoreServer) TakePartitionQueryRecords() []struct {
	P0 context.Context
	P1 *firestore.PartitionQueryRequest
}

PartitionQuery Take Records

func (*ImitFirestoreServer) TakeRollbackRecords

func (imit *ImitFirestoreServer) TakeRollbackRecords() []struct {
	P0 context.Context
	P1 *firestore.RollbackRequest
}

Rollback Take Records

func (*ImitFirestoreServer) TakeRunQueryRecords

func (imit *ImitFirestoreServer) TakeRunQueryRecords() []struct {
	P0 *firestore.RunQueryRequest
	P1 firestore.Firestore_RunQueryServer
}

RunQuery Take Records

func (*ImitFirestoreServer) TakeUpdateDocumentRecords

func (imit *ImitFirestoreServer) TakeUpdateDocumentRecords() []struct {
	P0 context.Context
	P1 *firestore.UpdateDocumentRequest
}

UpdateDocument Take Records

func (*ImitFirestoreServer) TakeWriteRecords

func (imit *ImitFirestoreServer) TakeWriteRecords() []struct {
	P0 firestore.Firestore_WriteServer
}

Write Take Records

func (*ImitFirestoreServer) UpdateDocument

UpdateDocument Imitation

func (*ImitFirestoreServer) Write

Write Imitation

Jump to

Keyboard shortcuts

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