Documentation ¶
Index ¶
- type CloudServiceServer
- func (_m *CloudServiceServer) Create(_a0 context.Context, _a1 *resourcemanager.CreateCloudRequest) (*operation.Operation, error)
- func (_m *CloudServiceServer) Delete(_a0 context.Context, _a1 *resourcemanager.DeleteCloudRequest) (*operation.Operation, error)
- func (_m *CloudServiceServer) EXPECT() *CloudServiceServer_Expecter
- func (_m *CloudServiceServer) GRPCTestRegister(srv *grpc.Server)
- func (_m *CloudServiceServer) Get(_a0 context.Context, _a1 *resourcemanager.GetCloudRequest) (*resourcemanager.Cloud, error)
- func (_m *CloudServiceServer) List(_a0 context.Context, _a1 *resourcemanager.ListCloudsRequest) (*resourcemanager.ListCloudsResponse, error)
- func (_m *CloudServiceServer) ListAccessBindings(_a0 context.Context, _a1 *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (_m *CloudServiceServer) ListOperations(_a0 context.Context, _a1 *resourcemanager.ListCloudOperationsRequest) (*resourcemanager.ListCloudOperationsResponse, error)
- func (_m *CloudServiceServer) SetAccessBindings(_a0 context.Context, _a1 *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (_m *CloudServiceServer) Update(_a0 context.Context, _a1 *resourcemanager.UpdateCloudRequest) (*operation.Operation, error)
- func (_m *CloudServiceServer) UpdateAccessBindings(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type CloudServiceServer_Create_Call
- func (_c *CloudServiceServer_Create_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Create_Call
- func (_c *CloudServiceServer_Create_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.CreateCloudRequest)) *CloudServiceServer_Create_Call
- func (_c *CloudServiceServer_Create_Call) RunAndReturn(...) *CloudServiceServer_Create_Call
- type CloudServiceServer_Delete_Call
- func (_c *CloudServiceServer_Delete_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Delete_Call
- func (_c *CloudServiceServer_Delete_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.DeleteCloudRequest)) *CloudServiceServer_Delete_Call
- func (_c *CloudServiceServer_Delete_Call) RunAndReturn(...) *CloudServiceServer_Delete_Call
- type CloudServiceServer_Expecter
- func (_e *CloudServiceServer_Expecter) Create(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Create_Call
- func (_e *CloudServiceServer_Expecter) Delete(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Delete_Call
- func (_e *CloudServiceServer_Expecter) Get(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Get_Call
- func (_e *CloudServiceServer_Expecter) List(_a0 interface{}, _a1 interface{}) *CloudServiceServer_List_Call
- func (_e *CloudServiceServer_Expecter) ListAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_ListAccessBindings_Call
- func (_e *CloudServiceServer_Expecter) ListOperations(_a0 interface{}, _a1 interface{}) *CloudServiceServer_ListOperations_Call
- func (_e *CloudServiceServer_Expecter) SetAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_SetAccessBindings_Call
- func (_e *CloudServiceServer_Expecter) Update(_a0 interface{}, _a1 interface{}) *CloudServiceServer_Update_Call
- func (_e *CloudServiceServer_Expecter) UpdateAccessBindings(_a0 interface{}, _a1 interface{}) *CloudServiceServer_UpdateAccessBindings_Call
- type CloudServiceServer_Get_Call
- func (_c *CloudServiceServer_Get_Call) Return(_a0 *resourcemanager.Cloud, _a1 error) *CloudServiceServer_Get_Call
- func (_c *CloudServiceServer_Get_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.GetCloudRequest)) *CloudServiceServer_Get_Call
- func (_c *CloudServiceServer_Get_Call) RunAndReturn(...) *CloudServiceServer_Get_Call
- type CloudServiceServer_ListAccessBindings_Call
- func (_c *CloudServiceServer_ListAccessBindings_Call) Return(_a0 *access.ListAccessBindingsResponse, _a1 error) *CloudServiceServer_ListAccessBindings_Call
- func (_c *CloudServiceServer_ListAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.ListAccessBindingsRequest)) *CloudServiceServer_ListAccessBindings_Call
- func (_c *CloudServiceServer_ListAccessBindings_Call) RunAndReturn(...) *CloudServiceServer_ListAccessBindings_Call
- type CloudServiceServer_ListOperations_Call
- func (_c *CloudServiceServer_ListOperations_Call) Return(_a0 *resourcemanager.ListCloudOperationsResponse, _a1 error) *CloudServiceServer_ListOperations_Call
- func (_c *CloudServiceServer_ListOperations_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListCloudOperationsRequest)) *CloudServiceServer_ListOperations_Call
- func (_c *CloudServiceServer_ListOperations_Call) RunAndReturn(...) *CloudServiceServer_ListOperations_Call
- type CloudServiceServer_List_Call
- func (_c *CloudServiceServer_List_Call) Return(_a0 *resourcemanager.ListCloudsResponse, _a1 error) *CloudServiceServer_List_Call
- func (_c *CloudServiceServer_List_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListCloudsRequest)) *CloudServiceServer_List_Call
- func (_c *CloudServiceServer_List_Call) RunAndReturn(...) *CloudServiceServer_List_Call
- type CloudServiceServer_SetAccessBindings_Call
- func (_c *CloudServiceServer_SetAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_SetAccessBindings_Call
- func (_c *CloudServiceServer_SetAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.SetAccessBindingsRequest)) *CloudServiceServer_SetAccessBindings_Call
- func (_c *CloudServiceServer_SetAccessBindings_Call) RunAndReturn(...) *CloudServiceServer_SetAccessBindings_Call
- type CloudServiceServer_UpdateAccessBindings_Call
- func (_c *CloudServiceServer_UpdateAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_UpdateAccessBindings_Call
- func (_c *CloudServiceServer_UpdateAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest)) *CloudServiceServer_UpdateAccessBindings_Call
- func (_c *CloudServiceServer_UpdateAccessBindings_Call) RunAndReturn(...) *CloudServiceServer_UpdateAccessBindings_Call
- type CloudServiceServer_Update_Call
- func (_c *CloudServiceServer_Update_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Update_Call
- func (_c *CloudServiceServer_Update_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.UpdateCloudRequest)) *CloudServiceServer_Update_Call
- func (_c *CloudServiceServer_Update_Call) RunAndReturn(...) *CloudServiceServer_Update_Call
- type FolderServiceServer
- func (_m *FolderServiceServer) Create(_a0 context.Context, _a1 *resourcemanager.CreateFolderRequest) (*operation.Operation, error)
- func (_m *FolderServiceServer) Delete(_a0 context.Context, _a1 *resourcemanager.DeleteFolderRequest) (*operation.Operation, error)
- func (_m *FolderServiceServer) EXPECT() *FolderServiceServer_Expecter
- func (_m *FolderServiceServer) GRPCTestRegister(srv *grpc.Server)
- func (_m *FolderServiceServer) Get(_a0 context.Context, _a1 *resourcemanager.GetFolderRequest) (*resourcemanager.Folder, error)
- func (_m *FolderServiceServer) List(_a0 context.Context, _a1 *resourcemanager.ListFoldersRequest) (*resourcemanager.ListFoldersResponse, error)
- func (_m *FolderServiceServer) ListAccessBindings(_a0 context.Context, _a1 *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (_m *FolderServiceServer) ListOperations(_a0 context.Context, _a1 *resourcemanager.ListFolderOperationsRequest) (*resourcemanager.ListFolderOperationsResponse, error)
- func (_m *FolderServiceServer) SetAccessBindings(_a0 context.Context, _a1 *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (_m *FolderServiceServer) Update(_a0 context.Context, _a1 *resourcemanager.UpdateFolderRequest) (*operation.Operation, error)
- func (_m *FolderServiceServer) UpdateAccessBindings(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type FolderServiceServer_Create_Call
- func (_c *FolderServiceServer_Create_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Create_Call
- func (_c *FolderServiceServer_Create_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.CreateFolderRequest)) *FolderServiceServer_Create_Call
- func (_c *FolderServiceServer_Create_Call) RunAndReturn(...) *FolderServiceServer_Create_Call
- type FolderServiceServer_Delete_Call
- func (_c *FolderServiceServer_Delete_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Delete_Call
- func (_c *FolderServiceServer_Delete_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.DeleteFolderRequest)) *FolderServiceServer_Delete_Call
- func (_c *FolderServiceServer_Delete_Call) RunAndReturn(...) *FolderServiceServer_Delete_Call
- type FolderServiceServer_Expecter
- func (_e *FolderServiceServer_Expecter) Create(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Create_Call
- func (_e *FolderServiceServer_Expecter) Delete(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Delete_Call
- func (_e *FolderServiceServer_Expecter) Get(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Get_Call
- func (_e *FolderServiceServer_Expecter) List(_a0 interface{}, _a1 interface{}) *FolderServiceServer_List_Call
- func (_e *FolderServiceServer_Expecter) ListAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_ListAccessBindings_Call
- func (_e *FolderServiceServer_Expecter) ListOperations(_a0 interface{}, _a1 interface{}) *FolderServiceServer_ListOperations_Call
- func (_e *FolderServiceServer_Expecter) SetAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_SetAccessBindings_Call
- func (_e *FolderServiceServer_Expecter) Update(_a0 interface{}, _a1 interface{}) *FolderServiceServer_Update_Call
- func (_e *FolderServiceServer_Expecter) UpdateAccessBindings(_a0 interface{}, _a1 interface{}) *FolderServiceServer_UpdateAccessBindings_Call
- type FolderServiceServer_Get_Call
- func (_c *FolderServiceServer_Get_Call) Return(_a0 *resourcemanager.Folder, _a1 error) *FolderServiceServer_Get_Call
- func (_c *FolderServiceServer_Get_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.GetFolderRequest)) *FolderServiceServer_Get_Call
- func (_c *FolderServiceServer_Get_Call) RunAndReturn(...) *FolderServiceServer_Get_Call
- type FolderServiceServer_ListAccessBindings_Call
- func (_c *FolderServiceServer_ListAccessBindings_Call) Return(_a0 *access.ListAccessBindingsResponse, _a1 error) *FolderServiceServer_ListAccessBindings_Call
- func (_c *FolderServiceServer_ListAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.ListAccessBindingsRequest)) *FolderServiceServer_ListAccessBindings_Call
- func (_c *FolderServiceServer_ListAccessBindings_Call) RunAndReturn(...) *FolderServiceServer_ListAccessBindings_Call
- type FolderServiceServer_ListOperations_Call
- func (_c *FolderServiceServer_ListOperations_Call) Return(_a0 *resourcemanager.ListFolderOperationsResponse, _a1 error) *FolderServiceServer_ListOperations_Call
- func (_c *FolderServiceServer_ListOperations_Call) Run(...) *FolderServiceServer_ListOperations_Call
- func (_c *FolderServiceServer_ListOperations_Call) RunAndReturn(...) *FolderServiceServer_ListOperations_Call
- type FolderServiceServer_List_Call
- func (_c *FolderServiceServer_List_Call) Return(_a0 *resourcemanager.ListFoldersResponse, _a1 error) *FolderServiceServer_List_Call
- func (_c *FolderServiceServer_List_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListFoldersRequest)) *FolderServiceServer_List_Call
- func (_c *FolderServiceServer_List_Call) RunAndReturn(...) *FolderServiceServer_List_Call
- type FolderServiceServer_SetAccessBindings_Call
- func (_c *FolderServiceServer_SetAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_SetAccessBindings_Call
- func (_c *FolderServiceServer_SetAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.SetAccessBindingsRequest)) *FolderServiceServer_SetAccessBindings_Call
- func (_c *FolderServiceServer_SetAccessBindings_Call) RunAndReturn(...) *FolderServiceServer_SetAccessBindings_Call
- type FolderServiceServer_UpdateAccessBindings_Call
- func (_c *FolderServiceServer_UpdateAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_UpdateAccessBindings_Call
- func (_c *FolderServiceServer_UpdateAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest)) *FolderServiceServer_UpdateAccessBindings_Call
- func (_c *FolderServiceServer_UpdateAccessBindings_Call) RunAndReturn(...) *FolderServiceServer_UpdateAccessBindings_Call
- type FolderServiceServer_Update_Call
- func (_c *FolderServiceServer_Update_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Update_Call
- func (_c *FolderServiceServer_Update_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.UpdateFolderRequest)) *FolderServiceServer_Update_Call
- func (_c *FolderServiceServer_Update_Call) RunAndReturn(...) *FolderServiceServer_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudServiceServer ¶
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 ¶
func (_m *CloudServiceServer) Create(_a0 context.Context, _a1 *resourcemanager.CreateCloudRequest) (*operation.Operation, error)
Create provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) Delete ¶
func (_m *CloudServiceServer) Delete(_a0 context.Context, _a1 *resourcemanager.DeleteCloudRequest) (*operation.Operation, error)
Delete provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) EXPECT ¶
func (_m *CloudServiceServer) EXPECT() *CloudServiceServer_Expecter
func (*CloudServiceServer) GRPCTestRegister ¶
func (_m *CloudServiceServer) GRPCTestRegister(srv *grpc.Server)
func (*CloudServiceServer) Get ¶
func (_m *CloudServiceServer) Get(_a0 context.Context, _a1 *resourcemanager.GetCloudRequest) (*resourcemanager.Cloud, error)
Get provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) List ¶
func (_m *CloudServiceServer) List(_a0 context.Context, _a1 *resourcemanager.ListCloudsRequest) (*resourcemanager.ListCloudsResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) ListAccessBindings ¶
func (_m *CloudServiceServer) ListAccessBindings(_a0 context.Context, _a1 *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
ListAccessBindings provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) ListOperations ¶
func (_m *CloudServiceServer) ListOperations(_a0 context.Context, _a1 *resourcemanager.ListCloudOperationsRequest) (*resourcemanager.ListCloudOperationsResponse, error)
ListOperations provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) SetAccessBindings ¶
func (_m *CloudServiceServer) SetAccessBindings(_a0 context.Context, _a1 *access.SetAccessBindingsRequest) (*operation.Operation, error)
SetAccessBindings provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) Update ¶
func (_m *CloudServiceServer) Update(_a0 context.Context, _a1 *resourcemanager.UpdateCloudRequest) (*operation.Operation, error)
Update provides a mock function with given fields: _a0, _a1
func (*CloudServiceServer) UpdateAccessBindings ¶
func (_m *CloudServiceServer) UpdateAccessBindings(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
UpdateAccessBindings provides a mock function with given fields: _a0, _a1
type CloudServiceServer_Create_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 (_c *CloudServiceServer_Create_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Create_Call
func (*CloudServiceServer_Create_Call) Run ¶
func (_c *CloudServiceServer_Create_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.CreateCloudRequest)) *CloudServiceServer_Create_Call
func (*CloudServiceServer_Create_Call) RunAndReturn ¶
func (_c *CloudServiceServer_Create_Call) RunAndReturn(run func(context.Context, *resourcemanager.CreateCloudRequest) (*operation.Operation, error)) *CloudServiceServer_Create_Call
type CloudServiceServer_Delete_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 (_c *CloudServiceServer_Delete_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Delete_Call
func (*CloudServiceServer_Delete_Call) Run ¶
func (_c *CloudServiceServer_Delete_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.DeleteCloudRequest)) *CloudServiceServer_Delete_Call
func (*CloudServiceServer_Delete_Call) RunAndReturn ¶
func (_c *CloudServiceServer_Delete_Call) RunAndReturn(run func(context.Context, *resourcemanager.DeleteCloudRequest) (*operation.Operation, error)) *CloudServiceServer_Delete_Call
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 ¶
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 (_c *CloudServiceServer_Get_Call) Return(_a0 *resourcemanager.Cloud, _a1 error) *CloudServiceServer_Get_Call
func (*CloudServiceServer_Get_Call) Run ¶
func (_c *CloudServiceServer_Get_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.GetCloudRequest)) *CloudServiceServer_Get_Call
func (*CloudServiceServer_Get_Call) RunAndReturn ¶
func (_c *CloudServiceServer_Get_Call) RunAndReturn(run func(context.Context, *resourcemanager.GetCloudRequest) (*resourcemanager.Cloud, error)) *CloudServiceServer_Get_Call
type CloudServiceServer_ListAccessBindings_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 (_c *CloudServiceServer_ListAccessBindings_Call) Return(_a0 *access.ListAccessBindingsResponse, _a1 error) *CloudServiceServer_ListAccessBindings_Call
func (*CloudServiceServer_ListAccessBindings_Call) Run ¶
func (_c *CloudServiceServer_ListAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.ListAccessBindingsRequest)) *CloudServiceServer_ListAccessBindings_Call
func (*CloudServiceServer_ListAccessBindings_Call) RunAndReturn ¶
func (_c *CloudServiceServer_ListAccessBindings_Call) RunAndReturn(run func(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)) *CloudServiceServer_ListAccessBindings_Call
type CloudServiceServer_ListOperations_Call ¶
CloudServiceServer_ListOperations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOperations'
func (*CloudServiceServer_ListOperations_Call) Return ¶
func (_c *CloudServiceServer_ListOperations_Call) Return(_a0 *resourcemanager.ListCloudOperationsResponse, _a1 error) *CloudServiceServer_ListOperations_Call
func (*CloudServiceServer_ListOperations_Call) Run ¶
func (_c *CloudServiceServer_ListOperations_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListCloudOperationsRequest)) *CloudServiceServer_ListOperations_Call
func (*CloudServiceServer_ListOperations_Call) RunAndReturn ¶
func (_c *CloudServiceServer_ListOperations_Call) RunAndReturn(run func(context.Context, *resourcemanager.ListCloudOperationsRequest) (*resourcemanager.ListCloudOperationsResponse, error)) *CloudServiceServer_ListOperations_Call
type CloudServiceServer_List_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 (_c *CloudServiceServer_List_Call) Return(_a0 *resourcemanager.ListCloudsResponse, _a1 error) *CloudServiceServer_List_Call
func (*CloudServiceServer_List_Call) Run ¶
func (_c *CloudServiceServer_List_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListCloudsRequest)) *CloudServiceServer_List_Call
func (*CloudServiceServer_List_Call) RunAndReturn ¶
func (_c *CloudServiceServer_List_Call) RunAndReturn(run func(context.Context, *resourcemanager.ListCloudsRequest) (*resourcemanager.ListCloudsResponse, error)) *CloudServiceServer_List_Call
type CloudServiceServer_SetAccessBindings_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 (_c *CloudServiceServer_SetAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_SetAccessBindings_Call
func (*CloudServiceServer_SetAccessBindings_Call) Run ¶
func (_c *CloudServiceServer_SetAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.SetAccessBindingsRequest)) *CloudServiceServer_SetAccessBindings_Call
func (*CloudServiceServer_SetAccessBindings_Call) RunAndReturn ¶
func (_c *CloudServiceServer_SetAccessBindings_Call) RunAndReturn(run func(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)) *CloudServiceServer_SetAccessBindings_Call
type CloudServiceServer_UpdateAccessBindings_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 (_c *CloudServiceServer_UpdateAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_UpdateAccessBindings_Call
func (*CloudServiceServer_UpdateAccessBindings_Call) Run ¶
func (_c *CloudServiceServer_UpdateAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest)) *CloudServiceServer_UpdateAccessBindings_Call
func (*CloudServiceServer_UpdateAccessBindings_Call) RunAndReturn ¶
func (_c *CloudServiceServer_UpdateAccessBindings_Call) RunAndReturn(run func(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)) *CloudServiceServer_UpdateAccessBindings_Call
type CloudServiceServer_Update_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 (_c *CloudServiceServer_Update_Call) Return(_a0 *operation.Operation, _a1 error) *CloudServiceServer_Update_Call
func (*CloudServiceServer_Update_Call) Run ¶
func (_c *CloudServiceServer_Update_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.UpdateCloudRequest)) *CloudServiceServer_Update_Call
func (*CloudServiceServer_Update_Call) RunAndReturn ¶
func (_c *CloudServiceServer_Update_Call) RunAndReturn(run func(context.Context, *resourcemanager.UpdateCloudRequest) (*operation.Operation, error)) *CloudServiceServer_Update_Call
type FolderServiceServer ¶
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 ¶
func (_m *FolderServiceServer) Create(_a0 context.Context, _a1 *resourcemanager.CreateFolderRequest) (*operation.Operation, error)
Create provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) Delete ¶
func (_m *FolderServiceServer) Delete(_a0 context.Context, _a1 *resourcemanager.DeleteFolderRequest) (*operation.Operation, error)
Delete provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) EXPECT ¶
func (_m *FolderServiceServer) EXPECT() *FolderServiceServer_Expecter
func (*FolderServiceServer) GRPCTestRegister ¶
func (_m *FolderServiceServer) GRPCTestRegister(srv *grpc.Server)
func (*FolderServiceServer) Get ¶
func (_m *FolderServiceServer) Get(_a0 context.Context, _a1 *resourcemanager.GetFolderRequest) (*resourcemanager.Folder, error)
Get provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) List ¶
func (_m *FolderServiceServer) List(_a0 context.Context, _a1 *resourcemanager.ListFoldersRequest) (*resourcemanager.ListFoldersResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) ListAccessBindings ¶
func (_m *FolderServiceServer) ListAccessBindings(_a0 context.Context, _a1 *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
ListAccessBindings provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) ListOperations ¶
func (_m *FolderServiceServer) ListOperations(_a0 context.Context, _a1 *resourcemanager.ListFolderOperationsRequest) (*resourcemanager.ListFolderOperationsResponse, error)
ListOperations provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) SetAccessBindings ¶
func (_m *FolderServiceServer) SetAccessBindings(_a0 context.Context, _a1 *access.SetAccessBindingsRequest) (*operation.Operation, error)
SetAccessBindings provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) Update ¶
func (_m *FolderServiceServer) Update(_a0 context.Context, _a1 *resourcemanager.UpdateFolderRequest) (*operation.Operation, error)
Update provides a mock function with given fields: _a0, _a1
func (*FolderServiceServer) UpdateAccessBindings ¶
func (_m *FolderServiceServer) UpdateAccessBindings(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
UpdateAccessBindings provides a mock function with given fields: _a0, _a1
type FolderServiceServer_Create_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 (_c *FolderServiceServer_Create_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Create_Call
func (*FolderServiceServer_Create_Call) Run ¶
func (_c *FolderServiceServer_Create_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.CreateFolderRequest)) *FolderServiceServer_Create_Call
func (*FolderServiceServer_Create_Call) RunAndReturn ¶
func (_c *FolderServiceServer_Create_Call) RunAndReturn(run func(context.Context, *resourcemanager.CreateFolderRequest) (*operation.Operation, error)) *FolderServiceServer_Create_Call
type FolderServiceServer_Delete_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 (_c *FolderServiceServer_Delete_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Delete_Call
func (*FolderServiceServer_Delete_Call) Run ¶
func (_c *FolderServiceServer_Delete_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.DeleteFolderRequest)) *FolderServiceServer_Delete_Call
func (*FolderServiceServer_Delete_Call) RunAndReturn ¶
func (_c *FolderServiceServer_Delete_Call) RunAndReturn(run func(context.Context, *resourcemanager.DeleteFolderRequest) (*operation.Operation, error)) *FolderServiceServer_Delete_Call
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 ¶
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 (_c *FolderServiceServer_Get_Call) Return(_a0 *resourcemanager.Folder, _a1 error) *FolderServiceServer_Get_Call
func (*FolderServiceServer_Get_Call) Run ¶
func (_c *FolderServiceServer_Get_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.GetFolderRequest)) *FolderServiceServer_Get_Call
func (*FolderServiceServer_Get_Call) RunAndReturn ¶
func (_c *FolderServiceServer_Get_Call) RunAndReturn(run func(context.Context, *resourcemanager.GetFolderRequest) (*resourcemanager.Folder, error)) *FolderServiceServer_Get_Call
type FolderServiceServer_ListAccessBindings_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 (_c *FolderServiceServer_ListAccessBindings_Call) Return(_a0 *access.ListAccessBindingsResponse, _a1 error) *FolderServiceServer_ListAccessBindings_Call
func (*FolderServiceServer_ListAccessBindings_Call) Run ¶
func (_c *FolderServiceServer_ListAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.ListAccessBindingsRequest)) *FolderServiceServer_ListAccessBindings_Call
func (*FolderServiceServer_ListAccessBindings_Call) RunAndReturn ¶
func (_c *FolderServiceServer_ListAccessBindings_Call) RunAndReturn(run func(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)) *FolderServiceServer_ListAccessBindings_Call
type FolderServiceServer_ListOperations_Call ¶
FolderServiceServer_ListOperations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOperations'
func (*FolderServiceServer_ListOperations_Call) Return ¶
func (_c *FolderServiceServer_ListOperations_Call) Return(_a0 *resourcemanager.ListFolderOperationsResponse, _a1 error) *FolderServiceServer_ListOperations_Call
func (*FolderServiceServer_ListOperations_Call) Run ¶
func (_c *FolderServiceServer_ListOperations_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListFolderOperationsRequest)) *FolderServiceServer_ListOperations_Call
func (*FolderServiceServer_ListOperations_Call) RunAndReturn ¶
func (_c *FolderServiceServer_ListOperations_Call) RunAndReturn(run func(context.Context, *resourcemanager.ListFolderOperationsRequest) (*resourcemanager.ListFolderOperationsResponse, error)) *FolderServiceServer_ListOperations_Call
type FolderServiceServer_List_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 (_c *FolderServiceServer_List_Call) Return(_a0 *resourcemanager.ListFoldersResponse, _a1 error) *FolderServiceServer_List_Call
func (*FolderServiceServer_List_Call) Run ¶
func (_c *FolderServiceServer_List_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.ListFoldersRequest)) *FolderServiceServer_List_Call
func (*FolderServiceServer_List_Call) RunAndReturn ¶
func (_c *FolderServiceServer_List_Call) RunAndReturn(run func(context.Context, *resourcemanager.ListFoldersRequest) (*resourcemanager.ListFoldersResponse, error)) *FolderServiceServer_List_Call
type FolderServiceServer_SetAccessBindings_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 (_c *FolderServiceServer_SetAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_SetAccessBindings_Call
func (*FolderServiceServer_SetAccessBindings_Call) Run ¶
func (_c *FolderServiceServer_SetAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.SetAccessBindingsRequest)) *FolderServiceServer_SetAccessBindings_Call
func (*FolderServiceServer_SetAccessBindings_Call) RunAndReturn ¶
func (_c *FolderServiceServer_SetAccessBindings_Call) RunAndReturn(run func(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)) *FolderServiceServer_SetAccessBindings_Call
type FolderServiceServer_UpdateAccessBindings_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 (_c *FolderServiceServer_UpdateAccessBindings_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_UpdateAccessBindings_Call
func (*FolderServiceServer_UpdateAccessBindings_Call) Run ¶
func (_c *FolderServiceServer_UpdateAccessBindings_Call) Run(run func(_a0 context.Context, _a1 *access.UpdateAccessBindingsRequest)) *FolderServiceServer_UpdateAccessBindings_Call
func (*FolderServiceServer_UpdateAccessBindings_Call) RunAndReturn ¶
func (_c *FolderServiceServer_UpdateAccessBindings_Call) RunAndReturn(run func(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)) *FolderServiceServer_UpdateAccessBindings_Call
type FolderServiceServer_Update_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 (_c *FolderServiceServer_Update_Call) Return(_a0 *operation.Operation, _a1 error) *FolderServiceServer_Update_Call
func (*FolderServiceServer_Update_Call) Run ¶
func (_c *FolderServiceServer_Update_Call) Run(run func(_a0 context.Context, _a1 *resourcemanager.UpdateFolderRequest)) *FolderServiceServer_Update_Call
func (*FolderServiceServer_Update_Call) RunAndReturn ¶
func (_c *FolderServiceServer_Update_Call) RunAndReturn(run func(context.Context, *resourcemanager.UpdateFolderRequest) (*operation.Operation, error)) *FolderServiceServer_Update_Call