mocks

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminClient added in v0.8.5

type AdminClient struct {
	mock.Mock
}

AdminClient is an autogenerated mock type for the AdminClient type

func NewAdminClient added in v0.8.5

func NewAdminClient(t mockConstructorTestingTNewAdminClient) *AdminClient

NewAdminClient creates a new instance of AdminClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AdminClient) EXPECT added in v0.8.5

func (_m *AdminClient) EXPECT() *AdminClient_Expecter

func (*AdminClient) TableInfo added in v0.8.5

func (_m *AdminClient) TableInfo(ctx context.Context, table string) (*bigtable.TableInfo, error)

TableInfo provides a mock function with given fields: ctx, table

func (*AdminClient) Tables added in v0.8.5

func (_m *AdminClient) Tables(ctx context.Context) ([]string, error)

Tables provides a mock function with given fields: ctx

type AdminClient_Expecter added in v0.8.5

type AdminClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*AdminClient_Expecter) TableInfo added in v0.8.5

func (_e *AdminClient_Expecter) TableInfo(ctx interface{}, table interface{}) *AdminClient_TableInfo_Call

TableInfo is a helper method to define mock.On call

  • ctx context.Context
  • table string

func (*AdminClient_Expecter) Tables added in v0.8.5

func (_e *AdminClient_Expecter) Tables(ctx interface{}) *AdminClient_Tables_Call

Tables is a helper method to define mock.On call

  • ctx context.Context

type AdminClient_TableInfo_Call added in v0.8.5

type AdminClient_TableInfo_Call struct {
	*mock.Call
}

AdminClient_TableInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TableInfo'

func (*AdminClient_TableInfo_Call) Return added in v0.8.5

func (*AdminClient_TableInfo_Call) Run added in v0.8.5

func (*AdminClient_TableInfo_Call) RunAndReturn added in v0.8.5

type AdminClient_Tables_Call added in v0.8.5

type AdminClient_Tables_Call struct {
	*mock.Call
}

AdminClient_Tables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tables'

func (*AdminClient_Tables_Call) Return added in v0.8.5

func (*AdminClient_Tables_Call) Run added in v0.8.5

func (*AdminClient_Tables_Call) RunAndReturn added in v0.8.5

func (_c *AdminClient_Tables_Call) RunAndReturn(run func(context.Context) ([]string, error)) *AdminClient_Tables_Call

type InstanceAdminClient added in v0.8.5

type InstanceAdminClient struct {
	mock.Mock
}

InstanceAdminClient is an autogenerated mock type for the InstanceAdminClient type

func NewInstanceAdminClient added in v0.8.5

func NewInstanceAdminClient(t mockConstructorTestingTNewInstanceAdminClient) *InstanceAdminClient

NewInstanceAdminClient creates a new instance of InstanceAdminClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*InstanceAdminClient) EXPECT added in v0.8.5

func (*InstanceAdminClient) Instances added in v0.8.5

func (_m *InstanceAdminClient) Instances(ctx context.Context) ([]*bigtable.InstanceInfo, error)

Instances provides a mock function with given fields: ctx

type InstanceAdminClient_Expecter added in v0.8.5

type InstanceAdminClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*InstanceAdminClient_Expecter) Instances added in v0.8.5

func (_e *InstanceAdminClient_Expecter) Instances(ctx interface{}) *InstanceAdminClient_Instances_Call

Instances is a helper method to define mock.On call

  • ctx context.Context

type InstanceAdminClient_Instances_Call added in v0.8.5

type InstanceAdminClient_Instances_Call struct {
	*mock.Call
}

InstanceAdminClient_Instances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instances'

func (*InstanceAdminClient_Instances_Call) Return added in v0.8.5

func (*InstanceAdminClient_Instances_Call) Run added in v0.8.5

func (*InstanceAdminClient_Instances_Call) RunAndReturn added in v0.8.5

type InstancesFetcher

type InstancesFetcher struct {
	mock.Mock
}

InstancesFetcher is an autogenerated mock type for the InstancesFetcher type

func (*InstancesFetcher) Instances

func (_m *InstancesFetcher) Instances(_a0 context.Context) ([]*bigtable.InstanceInfo, error)

Instances provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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