gcs

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudCatalogClient

type CloudCatalogClient struct {
	mock.Mock
}

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 (*CloudCatalogClient) ListServices

ListServices provides a mock function with given fields: ctx, req, opts

func (*CloudCatalogClient) ListSkus

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

type CloudCatalogClient_ListServices_Call struct {
	*mock.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 (*CloudCatalogClient_ListServices_Call) Run

type CloudCatalogClient_ListSkus_Call

type CloudCatalogClient_ListSkus_Call struct {
	*mock.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 (*CloudCatalogClient_ListSkus_Call) Run

type RegionsClient

type RegionsClient struct {
	mock.Mock
}

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

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

type RegionsClient_List_Call struct {
	*mock.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 (*RegionsClient_List_Call) Run

type StorageClientInterface

type StorageClientInterface struct {
	mock.Mock
}

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

type StorageClientInterface_Buckets_Call

type StorageClientInterface_Buckets_Call struct {
	*mock.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 (*StorageClientInterface_Buckets_Call) Run

func (*StorageClientInterface_Buckets_Call) RunAndReturn

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

Jump to

Keyboard shortcuts

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