Documentation ¶
Index ¶
- type CloudCatalogClient
- func (_m *CloudCatalogClient) EXPECT() *CloudCatalogClient_Expecter
- func (_m *CloudCatalogClient) ListServices(ctx context.Context, req *billingpb.ListServicesRequest, ...) *billing.ServiceIterator
- func (_m *CloudCatalogClient) ListSkus(ctx context.Context, req *billingpb.ListSkusRequest, opts ...gax.CallOption) *billing.SkuIterator
- type CloudCatalogClient_Expecter
- type CloudCatalogClient_ListServices_Call
- func (_c *CloudCatalogClient_ListServices_Call) Return(_a0 *billing.ServiceIterator) *CloudCatalogClient_ListServices_Call
- func (_c *CloudCatalogClient_ListServices_Call) Run(run func(ctx context.Context, req *billingpb.ListServicesRequest, ...)) *CloudCatalogClient_ListServices_Call
- func (_c *CloudCatalogClient_ListServices_Call) RunAndReturn(...) *CloudCatalogClient_ListServices_Call
- type CloudCatalogClient_ListSkus_Call
- type RegionsClient
- type RegionsClient_Expecter
- type RegionsClient_List_Call
- type StorageClientInterface
- type StorageClientInterface_Buckets_Call
- func (_c *StorageClientInterface_Buckets_Call) Return(_a0 *storage.BucketIterator) *StorageClientInterface_Buckets_Call
- func (_c *StorageClientInterface_Buckets_Call) Run(run func(ctx context.Context, projectID string)) *StorageClientInterface_Buckets_Call
- func (_c *StorageClientInterface_Buckets_Call) RunAndReturn(run func(context.Context, string) *storage.BucketIterator) *StorageClientInterface_Buckets_Call
- type StorageClientInterface_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudCatalogClient ¶
CloudCatalogClient is an autogenerated mock type for the CloudCatalogClient type
func NewCloudCatalogClient ¶
func NewCloudCatalogClient(t interface { mock.TestingT Cleanup(func()) }) *CloudCatalogClient
NewCloudCatalogClient creates a new instance of CloudCatalogClient. 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 (*CloudCatalogClient) EXPECT ¶
func (_m *CloudCatalogClient) EXPECT() *CloudCatalogClient_Expecter
func (*CloudCatalogClient) ListServices ¶
func (_m *CloudCatalogClient) ListServices(ctx context.Context, req *billingpb.ListServicesRequest, opts ...gax.CallOption) *billing.ServiceIterator
ListServices provides a mock function with given fields: ctx, req, opts
func (*CloudCatalogClient) ListSkus ¶
func (_m *CloudCatalogClient) ListSkus(ctx context.Context, req *billingpb.ListSkusRequest, opts ...gax.CallOption) *billing.SkuIterator
ListSkus provides a mock function with given fields: ctx, req, opts
type CloudCatalogClient_Expecter ¶
type CloudCatalogClient_Expecter struct {
// contains filtered or unexported fields
}
func (*CloudCatalogClient_Expecter) ListServices ¶
func (_e *CloudCatalogClient_Expecter) ListServices(ctx interface{}, req interface{}, opts ...interface{}) *CloudCatalogClient_ListServices_Call
ListServices is a helper method to define mock.On call
- ctx context.Context
- req *billingpb.ListServicesRequest
- opts ...gax.CallOption
func (*CloudCatalogClient_Expecter) ListSkus ¶
func (_e *CloudCatalogClient_Expecter) ListSkus(ctx interface{}, req interface{}, opts ...interface{}) *CloudCatalogClient_ListSkus_Call
ListSkus is a helper method to define mock.On call
- ctx context.Context
- req *billingpb.ListSkusRequest
- opts ...gax.CallOption
type CloudCatalogClient_ListServices_Call ¶
CloudCatalogClient_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices'
func (*CloudCatalogClient_ListServices_Call) Return ¶
func (_c *CloudCatalogClient_ListServices_Call) Return(_a0 *billing.ServiceIterator) *CloudCatalogClient_ListServices_Call
func (*CloudCatalogClient_ListServices_Call) Run ¶
func (_c *CloudCatalogClient_ListServices_Call) Run(run func(ctx context.Context, req *billingpb.ListServicesRequest, opts ...gax.CallOption)) *CloudCatalogClient_ListServices_Call
func (*CloudCatalogClient_ListServices_Call) RunAndReturn ¶
func (_c *CloudCatalogClient_ListServices_Call) RunAndReturn(run func(context.Context, *billingpb.ListServicesRequest, ...gax.CallOption) *billing.ServiceIterator) *CloudCatalogClient_ListServices_Call
type CloudCatalogClient_ListSkus_Call ¶
CloudCatalogClient_ListSkus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSkus'
func (*CloudCatalogClient_ListSkus_Call) Return ¶
func (_c *CloudCatalogClient_ListSkus_Call) Return(_a0 *billing.SkuIterator) *CloudCatalogClient_ListSkus_Call
func (*CloudCatalogClient_ListSkus_Call) Run ¶
func (_c *CloudCatalogClient_ListSkus_Call) Run(run func(ctx context.Context, req *billingpb.ListSkusRequest, opts ...gax.CallOption)) *CloudCatalogClient_ListSkus_Call
func (*CloudCatalogClient_ListSkus_Call) RunAndReturn ¶
func (_c *CloudCatalogClient_ListSkus_Call) RunAndReturn(run func(context.Context, *billingpb.ListSkusRequest, ...gax.CallOption) *billing.SkuIterator) *CloudCatalogClient_ListSkus_Call
type RegionsClient ¶
RegionsClient is an autogenerated mock type for the RegionsClient type
func NewRegionsClient ¶
func NewRegionsClient(t interface { mock.TestingT Cleanup(func()) }) *RegionsClient
NewRegionsClient creates a new instance of RegionsClient. 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 (*RegionsClient) EXPECT ¶
func (_m *RegionsClient) EXPECT() *RegionsClient_Expecter
func (*RegionsClient) List ¶
func (_m *RegionsClient) List(ctx context.Context, req *computepb.ListRegionsRequest, opts ...gax.CallOption) *compute.RegionIterator
List provides a mock function with given fields: ctx, req, opts
type RegionsClient_Expecter ¶
type RegionsClient_Expecter struct {
// contains filtered or unexported fields
}
func (*RegionsClient_Expecter) List ¶
func (_e *RegionsClient_Expecter) List(ctx interface{}, req interface{}, opts ...interface{}) *RegionsClient_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- req *computepb.ListRegionsRequest
- opts ...gax.CallOption
type RegionsClient_List_Call ¶
RegionsClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*RegionsClient_List_Call) Return ¶
func (_c *RegionsClient_List_Call) Return(_a0 *compute.RegionIterator) *RegionsClient_List_Call
func (*RegionsClient_List_Call) Run ¶
func (_c *RegionsClient_List_Call) Run(run func(ctx context.Context, req *computepb.ListRegionsRequest, opts ...gax.CallOption)) *RegionsClient_List_Call
func (*RegionsClient_List_Call) RunAndReturn ¶
func (_c *RegionsClient_List_Call) RunAndReturn(run func(context.Context, *computepb.ListRegionsRequest, ...gax.CallOption) *compute.RegionIterator) *RegionsClient_List_Call
type StorageClientInterface ¶
StorageClientInterface is an autogenerated mock type for the StorageClientInterface type
func NewStorageClientInterface ¶
func NewStorageClientInterface(t interface { mock.TestingT Cleanup(func()) }) *StorageClientInterface
NewStorageClientInterface creates a new instance of StorageClientInterface. 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 (*StorageClientInterface) Buckets ¶
func (_m *StorageClientInterface) Buckets(ctx context.Context, projectID string) *storage.BucketIterator
Buckets provides a mock function with given fields: ctx, projectID
func (*StorageClientInterface) EXPECT ¶
func (_m *StorageClientInterface) EXPECT() *StorageClientInterface_Expecter
type StorageClientInterface_Buckets_Call ¶
StorageClientInterface_Buckets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Buckets'
func (*StorageClientInterface_Buckets_Call) Return ¶
func (_c *StorageClientInterface_Buckets_Call) Return(_a0 *storage.BucketIterator) *StorageClientInterface_Buckets_Call
func (*StorageClientInterface_Buckets_Call) Run ¶
func (_c *StorageClientInterface_Buckets_Call) Run(run func(ctx context.Context, projectID string)) *StorageClientInterface_Buckets_Call
func (*StorageClientInterface_Buckets_Call) RunAndReturn ¶
func (_c *StorageClientInterface_Buckets_Call) RunAndReturn(run func(context.Context, string) *storage.BucketIterator) *StorageClientInterface_Buckets_Call
type StorageClientInterface_Expecter ¶
type StorageClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageClientInterface_Expecter) Buckets ¶
func (_e *StorageClientInterface_Expecter) Buckets(ctx interface{}, projectID interface{}) *StorageClientInterface_Buckets_Call
Buckets is a helper method to define mock.On call
- ctx context.Context
- projectID string