From fff399ee0308ef0c54071704238bc2a9715f3386 Mon Sep 17 00:00:00 2001 From: mrWinston Date: Tue, 21 Jan 2025 14:17:46 +0100 Subject: [PATCH] generate missing mocks --- .../mgmt/authorization/authorization.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/util/mocks/azureclient/mgmt/authorization/authorization.go b/pkg/util/mocks/azureclient/mgmt/authorization/authorization.go index a02d4c49e50..d213eafd65f 100644 --- a/pkg/util/mocks/azureclient/mgmt/authorization/authorization.go +++ b/pkg/util/mocks/azureclient/mgmt/authorization/authorization.go @@ -161,6 +161,21 @@ func (m *MockRoleDefinitionsClient) EXPECT() *MockRoleDefinitionsClientMockRecor return m.recorder } +// CreateOrUpdate mocks base method. +func (m *MockRoleDefinitionsClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 authorization.RoleDefinition) (authorization.RoleDefinition, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateOrUpdate", arg0, arg1, arg2, arg3) + ret0, _ := ret[0].(authorization.RoleDefinition) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateOrUpdate indicates an expected call of CreateOrUpdate. +func (mr *MockRoleDefinitionsClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdate", reflect.TypeOf((*MockRoleDefinitionsClient)(nil).CreateOrUpdate), arg0, arg1, arg2, arg3) +} + // Delete mocks base method. func (m *MockRoleDefinitionsClient) Delete(arg0 context.Context, arg1, arg2 string) (authorization.RoleDefinition, error) { m.ctrl.T.Helper()