Documentation
¶
Index ¶
- type AdminClient
- type AdminClient_Expecter
- type AdminClient_TableInfo_Call
- func (_c *AdminClient_TableInfo_Call) Return(_a0 *bigtable.TableInfo, _a1 error) *AdminClient_TableInfo_Call
- func (_c *AdminClient_TableInfo_Call) Run(run func(ctx context.Context, table string)) *AdminClient_TableInfo_Call
- func (_c *AdminClient_TableInfo_Call) RunAndReturn(run func(context.Context, string) (*bigtable.TableInfo, error)) *AdminClient_TableInfo_Call
- type AdminClient_Tables_Call
- func (_c *AdminClient_Tables_Call) Return(_a0 []string, _a1 error) *AdminClient_Tables_Call
- func (_c *AdminClient_Tables_Call) Run(run func(ctx context.Context)) *AdminClient_Tables_Call
- func (_c *AdminClient_Tables_Call) RunAndReturn(run func(context.Context) ([]string, error)) *AdminClient_Tables_Call
- type InstanceAdminClient
- type InstanceAdminClient_Expecter
- type InstanceAdminClient_Instances_Call
- func (_c *InstanceAdminClient_Instances_Call) Return(_a0 []*bigtable.InstanceInfo, _a1 error) *InstanceAdminClient_Instances_Call
- func (_c *InstanceAdminClient_Instances_Call) Run(run func(ctx context.Context)) *InstanceAdminClient_Instances_Call
- func (_c *InstanceAdminClient_Instances_Call) RunAndReturn(run func(context.Context) ([]*bigtable.InstanceInfo, error)) *InstanceAdminClient_Instances_Call
- type InstancesFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminClient ¶ added in v0.8.5
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
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
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 (_c *AdminClient_TableInfo_Call) Return(_a0 *bigtable.TableInfo, _a1 error) *AdminClient_TableInfo_Call
func (*AdminClient_TableInfo_Call) Run ¶ added in v0.8.5
func (_c *AdminClient_TableInfo_Call) Run(run func(ctx context.Context, table string)) *AdminClient_TableInfo_Call
func (*AdminClient_TableInfo_Call) RunAndReturn ¶ added in v0.8.5
func (_c *AdminClient_TableInfo_Call) RunAndReturn(run func(context.Context, string) (*bigtable.TableInfo, error)) *AdminClient_TableInfo_Call
type AdminClient_Tables_Call ¶ added in v0.8.5
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 (_c *AdminClient_Tables_Call) Return(_a0 []string, _a1 error) *AdminClient_Tables_Call
func (*AdminClient_Tables_Call) Run ¶ added in v0.8.5
func (_c *AdminClient_Tables_Call) Run(run func(ctx context.Context)) *AdminClient_Tables_Call
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
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 (_m *InstanceAdminClient) EXPECT() *InstanceAdminClient_Expecter
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
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 (_c *InstanceAdminClient_Instances_Call) Return(_a0 []*bigtable.InstanceInfo, _a1 error) *InstanceAdminClient_Instances_Call
func (*InstanceAdminClient_Instances_Call) Run ¶ added in v0.8.5
func (_c *InstanceAdminClient_Instances_Call) Run(run func(ctx context.Context)) *InstanceAdminClient_Instances_Call
func (*InstanceAdminClient_Instances_Call) RunAndReturn ¶ added in v0.8.5
func (_c *InstanceAdminClient_Instances_Call) RunAndReturn(run func(context.Context) ([]*bigtable.InstanceInfo, error)) *InstanceAdminClient_Instances_Call
type InstancesFetcher ¶
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