resourcemanagermocks

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudServiceServer

type CloudServiceServer struct {
	mock.Mock
}

CloudServiceServer is an autogenerated mock type for the CloudServiceServer type

func NewCloudServiceServer

func NewCloudServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CloudServiceServer

NewCloudServiceServer creates a new instance of CloudServiceServer. 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 (*CloudServiceServer) Create

Create provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) EXPECT

func (*CloudServiceServer) GRPCTestRegister

func (_m *CloudServiceServer) GRPCTestRegister(srv *grpc.Server)

func (*CloudServiceServer) Get

Get provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) List

List provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) ListAccessBindings

ListAccessBindings provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) ListOperations

ListOperations provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) SetAccessBindings

SetAccessBindings provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) Update

Update provides a mock function with given fields: _a0, _a1

func (*CloudServiceServer) UpdateAccessBindings

UpdateAccessBindings provides a mock function with given fields: _a0, _a1

type CloudServiceServer_Create_Call

type CloudServiceServer_Create_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_Create_Call) Return

func (*CloudServiceServer_Create_Call) Run

type CloudServiceServer_Delete_Call

type CloudServiceServer_Delete_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_Delete_Call) Return

func (*CloudServiceServer_Delete_Call) Run

type CloudServiceServer_Expecter

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

func (*CloudServiceServer_Expecter) Create

func (_e *CloudServiceServer_Expecter) Create(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Create_Call

Create is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.CreateCloudRequest

func (*CloudServiceServer_Expecter) Delete

func (_e *CloudServiceServer_Expecter) Delete(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Delete_Call

Delete is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.DeleteCloudRequest

func (*CloudServiceServer_Expecter) Get

func (_e *CloudServiceServer_Expecter) Get(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Get_Call

Get is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.GetCloudRequest

func (*CloudServiceServer_Expecter) List

func (_e *CloudServiceServer_Expecter) List(_a0 interface{}, _a1 interface{}) *CloudServiceServer_List_Call

List is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.ListCloudsRequest

func (*CloudServiceServer_Expecter) ListAccessBindings

func (_e *CloudServiceServer_Expecter) ListAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_ListAccessBindings_Call

ListAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.ListAccessBindingsRequest

func (*CloudServiceServer_Expecter) ListOperations

func (_e *CloudServiceServer_Expecter) ListOperations(_a0 interface{}, _a1 interface{}) *CloudServiceServer_ListOperations_Call

ListOperations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.ListCloudOperationsRequest

func (*CloudServiceServer_Expecter) SetAccessBindings

func (_e *CloudServiceServer_Expecter) SetAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_SetAccessBindings_Call

SetAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.SetAccessBindingsRequest

func (*CloudServiceServer_Expecter) Update

func (_e *CloudServiceServer_Expecter) Update(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Update_Call

Update is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.UpdateCloudRequest

func (*CloudServiceServer_Expecter) UpdateAccessBindings

func (_e *CloudServiceServer_Expecter) UpdateAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_UpdateAccessBindings_Call

UpdateAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.UpdateAccessBindingsRequest

type CloudServiceServer_Get_Call

type CloudServiceServer_Get_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_Get_Call) Return

func (*CloudServiceServer_Get_Call) Run

type CloudServiceServer_ListAccessBindings_Call

type CloudServiceServer_ListAccessBindings_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_ListAccessBindings_Call) Return

func (*CloudServiceServer_ListAccessBindings_Call) Run

type CloudServiceServer_ListOperations_Call

type CloudServiceServer_ListOperations_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_ListOperations_Call) Run

type CloudServiceServer_List_Call

type CloudServiceServer_List_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_List_Call) Return

func (*CloudServiceServer_List_Call) Run

type CloudServiceServer_SetAccessBindings_Call

type CloudServiceServer_SetAccessBindings_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_SetAccessBindings_Call) Return

func (*CloudServiceServer_SetAccessBindings_Call) Run

type CloudServiceServer_UpdateAccessBindings_Call

type CloudServiceServer_UpdateAccessBindings_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_UpdateAccessBindings_Call) Return

func (*CloudServiceServer_UpdateAccessBindings_Call) Run

type CloudServiceServer_Update_Call

type CloudServiceServer_Update_Call struct {
	*mock.Call
}

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

func (*CloudServiceServer_Update_Call) Return

func (*CloudServiceServer_Update_Call) Run

type FolderServiceServer

type FolderServiceServer struct {
	mock.Mock
}

FolderServiceServer is an autogenerated mock type for the FolderServiceServer type

func NewFolderServiceServer

func NewFolderServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *FolderServiceServer

NewFolderServiceServer creates a new instance of FolderServiceServer. 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 (*FolderServiceServer) Create

Create provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) EXPECT

func (*FolderServiceServer) GRPCTestRegister

func (_m *FolderServiceServer) GRPCTestRegister(srv *grpc.Server)

func (*FolderServiceServer) Get

Get provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) List

List provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) ListAccessBindings

ListAccessBindings provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) ListOperations

ListOperations provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) SetAccessBindings

SetAccessBindings provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) Update

Update provides a mock function with given fields: _a0, _a1

func (*FolderServiceServer) UpdateAccessBindings

UpdateAccessBindings provides a mock function with given fields: _a0, _a1

type FolderServiceServer_Create_Call

type FolderServiceServer_Create_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_Create_Call) Return

func (*FolderServiceServer_Create_Call) Run

type FolderServiceServer_Delete_Call

type FolderServiceServer_Delete_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_Delete_Call) Return

func (*FolderServiceServer_Delete_Call) Run

type FolderServiceServer_Expecter

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

func (*FolderServiceServer_Expecter) Create

func (_e *FolderServiceServer_Expecter) Create(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Create_Call

Create is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.CreateFolderRequest

func (*FolderServiceServer_Expecter) Delete

func (_e *FolderServiceServer_Expecter) Delete(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Delete_Call

Delete is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.DeleteFolderRequest

func (*FolderServiceServer_Expecter) Get

func (_e *FolderServiceServer_Expecter) Get(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Get_Call

Get is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.GetFolderRequest

func (*FolderServiceServer_Expecter) List

func (_e *FolderServiceServer_Expecter) List(_a0 interface{}, _a1 interface{}) *FolderServiceServer_List_Call

List is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.ListFoldersRequest

func (*FolderServiceServer_Expecter) ListAccessBindings

func (_e *FolderServiceServer_Expecter) ListAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_ListAccessBindings_Call

ListAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.ListAccessBindingsRequest

func (*FolderServiceServer_Expecter) ListOperations

func (_e *FolderServiceServer_Expecter) ListOperations(_a0 interface{}, _a1 interface{}) *FolderServiceServer_ListOperations_Call

ListOperations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.ListFolderOperationsRequest

func (*FolderServiceServer_Expecter) SetAccessBindings

func (_e *FolderServiceServer_Expecter) SetAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_SetAccessBindings_Call

SetAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.SetAccessBindingsRequest

func (*FolderServiceServer_Expecter) Update

func (_e *FolderServiceServer_Expecter) Update(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Update_Call

Update is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcemanager.UpdateFolderRequest

func (*FolderServiceServer_Expecter) UpdateAccessBindings

func (_e *FolderServiceServer_Expecter) UpdateAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_UpdateAccessBindings_Call

UpdateAccessBindings is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *access.UpdateAccessBindingsRequest

type FolderServiceServer_Get_Call

type FolderServiceServer_Get_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_Get_Call) Return

func (*FolderServiceServer_Get_Call) Run

type FolderServiceServer_ListAccessBindings_Call

type FolderServiceServer_ListAccessBindings_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_ListAccessBindings_Call) Return

func (*FolderServiceServer_ListAccessBindings_Call) Run

type FolderServiceServer_ListOperations_Call

type FolderServiceServer_ListOperations_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_ListOperations_Call) Run

type FolderServiceServer_List_Call

type FolderServiceServer_List_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_List_Call) Return

func (*FolderServiceServer_List_Call) Run

type FolderServiceServer_SetAccessBindings_Call

type FolderServiceServer_SetAccessBindings_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_SetAccessBindings_Call) Return

func (*FolderServiceServer_SetAccessBindings_Call) Run

type FolderServiceServer_UpdateAccessBindings_Call

type FolderServiceServer_UpdateAccessBindings_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_UpdateAccessBindings_Call) Return

func (*FolderServiceServer_UpdateAccessBindings_Call) Run

type FolderServiceServer_Update_Call

type FolderServiceServer_Update_Call struct {
	*mock.Call
}

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

func (*FolderServiceServer_Update_Call) Return

func (*FolderServiceServer_Update_Call) Run

Jump to

Keyboard shortcuts

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