Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpannerClient ¶
SpannerClient is an autogenerated mock type for the SpannerClient type
func NewSpannerClient ¶
func NewSpannerClient(t interface { mock.TestingT Cleanup(func()) }) *SpannerClient
NewSpannerClient creates a new instance of SpannerClient. 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 (*SpannerClient) Apply ¶
func (_m *SpannerClient) Apply(ctx context.Context, ms []*spanner.Mutation, opts ...spanner.ApplyOption) (time.Time, error)
Apply provides a mock function with given fields: ctx, ms, opts
func (*SpannerClient) Close ¶
func (_m *SpannerClient) Close()
Close provides a mock function with given fields:
func (*SpannerClient) Single ¶
func (_m *SpannerClient) Single() spannerclient.ReadOnlyTransaction
Single provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.