mocks

package
v0.0.0-...-d3ccff6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpannerClient

type SpannerClient struct {
	mock.Mock
}

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

Single provides a mock function with given fields:

Jump to

Keyboard shortcuts

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