Documentation ¶
Index ¶
- type MockAccountAccessControlInterface
- func (_m *MockAccountAccessControlInterface) EXPECT() *MockAccountAccessControlInterface_Expecter
- func (_m *MockAccountAccessControlInterface) GetAssignableRolesForResource(ctx context.Context, request iam.GetAssignableRolesForResourceRequest) (*iam.GetAssignableRolesForResourceResponse, error)
- func (_m *MockAccountAccessControlInterface) GetRuleSet(ctx context.Context, request iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)
- func (_m *MockAccountAccessControlInterface) UpdateRuleSet(ctx context.Context, request iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)
- type MockAccountAccessControlInterface_Expecter
- func (_e *MockAccountAccessControlInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
- func (_e *MockAccountAccessControlInterface_Expecter) GetRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetRuleSet_Call
- func (_e *MockAccountAccessControlInterface_Expecter) UpdateRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_UpdateRuleSet_Call
- type MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call) Return(_a0 *iam.GetAssignableRolesForResourceResponse, _a1 error) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call) Run(...) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call) RunAndReturn(...) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
- type MockAccountAccessControlInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) Run(run func(ctx context.Context, request iam.GetRuleSetRequest)) *MockAccountAccessControlInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) RunAndReturn(run func(context.Context, iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlInterface_GetRuleSet_Call
- type MockAccountAccessControlInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) Run(run func(ctx context.Context, request iam.UpdateRuleSetRequest)) *MockAccountAccessControlInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) RunAndReturn(...) *MockAccountAccessControlInterface_UpdateRuleSet_Call
- type MockAccountAccessControlProxyInterface
- func (_m *MockAccountAccessControlProxyInterface) EXPECT() *MockAccountAccessControlProxyInterface_Expecter
- func (_m *MockAccountAccessControlProxyInterface) GetAssignableRolesForResource(ctx context.Context, request iam.GetAssignableRolesForResourceRequest) (*iam.GetAssignableRolesForResourceResponse, error)
- func (_m *MockAccountAccessControlProxyInterface) GetRuleSet(ctx context.Context, request iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)
- func (_m *MockAccountAccessControlProxyInterface) UpdateRuleSet(ctx context.Context, request iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)
- type MockAccountAccessControlProxyInterface_Expecter
- func (_e *MockAccountAccessControlProxyInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
- func (_e *MockAccountAccessControlProxyInterface_Expecter) GetRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
- func (_e *MockAccountAccessControlProxyInterface_Expecter) UpdateRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
- type MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call) Return(_a0 *iam.GetAssignableRolesForResourceResponse, _a1 error) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call) Run(...) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
- func (_c *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call) RunAndReturn(...) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
- type MockAccountAccessControlProxyInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) Run(run func(ctx context.Context, request iam.GetRuleSetRequest)) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) RunAndReturn(run func(context.Context, iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
- type MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Run(run func(ctx context.Context, request iam.UpdateRuleSetRequest)) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
- func (_c *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) RunAndReturn(...) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
- type MockAccountGroupsInterface
- func (_m *MockAccountGroupsInterface) Create(ctx context.Context, request iam.Group) (*iam.Group, error)
- func (_m *MockAccountGroupsInterface) Delete(ctx context.Context, request iam.DeleteAccountGroupRequest) error
- func (_m *MockAccountGroupsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockAccountGroupsInterface) EXPECT() *MockAccountGroupsInterface_Expecter
- func (_m *MockAccountGroupsInterface) Get(ctx context.Context, request iam.GetAccountGroupRequest) (*iam.Group, error)
- func (_m *MockAccountGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)
- func (_m *MockAccountGroupsInterface) GetById(ctx context.Context, id string) (*iam.Group, error)
- func (_m *MockAccountGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListAccountGroupsRequest) (map[string]string, error)
- func (_m *MockAccountGroupsInterface) List(ctx context.Context, request iam.ListAccountGroupsRequest) listing.Iterator[iam.Group]
- func (_m *MockAccountGroupsInterface) ListAll(ctx context.Context, request iam.ListAccountGroupsRequest) ([]iam.Group, error)
- func (_m *MockAccountGroupsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockAccountGroupsInterface) Update(ctx context.Context, request iam.Group) error
- type MockAccountGroupsInterface_Create_Call
- func (_c *MockAccountGroupsInterface_Create_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_Create_Call
- func (_c *MockAccountGroupsInterface_Create_Call) Run(run func(ctx context.Context, request iam.Group)) *MockAccountGroupsInterface_Create_Call
- func (_c *MockAccountGroupsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.Group) (*iam.Group, error)) *MockAccountGroupsInterface_Create_Call
- type MockAccountGroupsInterface_DeleteById_Call
- func (_c *MockAccountGroupsInterface_DeleteById_Call) Return(_a0 error) *MockAccountGroupsInterface_DeleteById_Call
- func (_c *MockAccountGroupsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountGroupsInterface_DeleteById_Call
- func (_c *MockAccountGroupsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountGroupsInterface_DeleteById_Call
- type MockAccountGroupsInterface_Delete_Call
- func (_c *MockAccountGroupsInterface_Delete_Call) Return(_a0 error) *MockAccountGroupsInterface_Delete_Call
- func (_c *MockAccountGroupsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteAccountGroupRequest)) *MockAccountGroupsInterface_Delete_Call
- func (_c *MockAccountGroupsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountGroupRequest) error) *MockAccountGroupsInterface_Delete_Call
- type MockAccountGroupsInterface_Expecter
- func (_e *MockAccountGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Create_Call
- func (_e *MockAccountGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Delete_Call
- func (_e *MockAccountGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_DeleteById_Call
- func (_e *MockAccountGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Get_Call
- func (_e *MockAccountGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockAccountGroupsInterface_GetByDisplayName_Call
- func (_e *MockAccountGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_GetById_Call
- func (_e *MockAccountGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_e *MockAccountGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountGroupsInterface_List_Call
- func (_e *MockAccountGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountGroupsInterface_ListAll_Call
- func (_e *MockAccountGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Patch_Call
- func (_e *MockAccountGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Update_Call
- type MockAccountGroupsInterface_GetByDisplayName_Call
- func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_GetByDisplayName_Call
- func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockAccountGroupsInterface_GetByDisplayName_Call
- func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockAccountGroupsInterface_GetByDisplayName_Call
- type MockAccountGroupsInterface_GetById_Call
- func (_c *MockAccountGroupsInterface_GetById_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_GetById_Call
- func (_c *MockAccountGroupsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountGroupsInterface_GetById_Call
- func (_c *MockAccountGroupsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockAccountGroupsInterface_GetById_Call
- type MockAccountGroupsInterface_Get_Call
- func (_c *MockAccountGroupsInterface_Get_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_Get_Call
- func (_c *MockAccountGroupsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountGroupRequest)) *MockAccountGroupsInterface_Get_Call
- func (_c *MockAccountGroupsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetAccountGroupRequest) (*iam.Group, error)) *MockAccountGroupsInterface_Get_Call
- type MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn(...) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
- type MockAccountGroupsInterface_ListAll_Call
- func (_c *MockAccountGroupsInterface_ListAll_Call) Return(_a0 []iam.Group, _a1 error) *MockAccountGroupsInterface_ListAll_Call
- func (_c *MockAccountGroupsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_ListAll_Call
- func (_c *MockAccountGroupsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListAccountGroupsRequest) ([]iam.Group, error)) *MockAccountGroupsInterface_ListAll_Call
- type MockAccountGroupsInterface_List_Call
- func (_c *MockAccountGroupsInterface_List_Call) Return(_a0 listing.Iterator[iam.Group]) *MockAccountGroupsInterface_List_Call
- func (_c *MockAccountGroupsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_List_Call
- func (_c *MockAccountGroupsInterface_List_Call) RunAndReturn(...) *MockAccountGroupsInterface_List_Call
- type MockAccountGroupsInterface_Patch_Call
- func (_c *MockAccountGroupsInterface_Patch_Call) Return(_a0 error) *MockAccountGroupsInterface_Patch_Call
- func (_c *MockAccountGroupsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountGroupsInterface_Patch_Call
- func (_c *MockAccountGroupsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountGroupsInterface_Patch_Call
- type MockAccountGroupsInterface_Update_Call
- func (_c *MockAccountGroupsInterface_Update_Call) Return(_a0 error) *MockAccountGroupsInterface_Update_Call
- func (_c *MockAccountGroupsInterface_Update_Call) Run(run func(ctx context.Context, request iam.Group)) *MockAccountGroupsInterface_Update_Call
- func (_c *MockAccountGroupsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.Group) error) *MockAccountGroupsInterface_Update_Call
- type MockAccountServicePrincipalsInterface
- func (_m *MockAccountServicePrincipalsInterface) Create(ctx context.Context, request iam.ServicePrincipal) (*iam.ServicePrincipal, error)
- func (_m *MockAccountServicePrincipalsInterface) Delete(ctx context.Context, request iam.DeleteAccountServicePrincipalRequest) error
- func (_m *MockAccountServicePrincipalsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockAccountServicePrincipalsInterface) EXPECT() *MockAccountServicePrincipalsInterface_Expecter
- func (_m *MockAccountServicePrincipalsInterface) Get(ctx context.Context, request iam.GetAccountServicePrincipalRequest) (*iam.ServicePrincipal, error)
- func (_m *MockAccountServicePrincipalsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.ServicePrincipal, error)
- func (_m *MockAccountServicePrincipalsInterface) GetById(ctx context.Context, id string) (*iam.ServicePrincipal, error)
- func (_m *MockAccountServicePrincipalsInterface) List(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]
- func (_m *MockAccountServicePrincipalsInterface) ListAll(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) ([]iam.ServicePrincipal, error)
- func (_m *MockAccountServicePrincipalsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockAccountServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) (map[string]string, error)
- func (_m *MockAccountServicePrincipalsInterface) Update(ctx context.Context, request iam.ServicePrincipal) error
- type MockAccountServicePrincipalsInterface_Create_Call
- func (_c *MockAccountServicePrincipalsInterface_Create_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_Create_Call
- func (_c *MockAccountServicePrincipalsInterface_Create_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockAccountServicePrincipalsInterface_Create_Call
- func (_c *MockAccountServicePrincipalsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_Create_Call
- type MockAccountServicePrincipalsInterface_DeleteById_Call
- func (_c *MockAccountServicePrincipalsInterface_DeleteById_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_DeleteById_Call
- func (_c *MockAccountServicePrincipalsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountServicePrincipalsInterface_DeleteById_Call
- func (_c *MockAccountServicePrincipalsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountServicePrincipalsInterface_DeleteById_Call
- type MockAccountServicePrincipalsInterface_Delete_Call
- func (_c *MockAccountServicePrincipalsInterface_Delete_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Delete_Call
- func (_c *MockAccountServicePrincipalsInterface_Delete_Call) Run(...) *MockAccountServicePrincipalsInterface_Delete_Call
- func (_c *MockAccountServicePrincipalsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountServicePrincipalRequest) error) *MockAccountServicePrincipalsInterface_Delete_Call
- type MockAccountServicePrincipalsInterface_Expecter
- func (_e *MockAccountServicePrincipalsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Create_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Delete_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountServicePrincipalsInterface_DeleteById_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Get_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountServicePrincipalsInterface_GetById_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_List_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_ListAll_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Patch_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_e *MockAccountServicePrincipalsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Update_Call
- type MockAccountServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockAccountServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
- type MockAccountServicePrincipalsInterface_GetById_Call
- func (_c *MockAccountServicePrincipalsInterface_GetById_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_GetById_Call
- func (_c *MockAccountServicePrincipalsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountServicePrincipalsInterface_GetById_Call
- func (_c *MockAccountServicePrincipalsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_GetById_Call
- type MockAccountServicePrincipalsInterface_Get_Call
- func (_c *MockAccountServicePrincipalsInterface_Get_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_Get_Call
- func (_c *MockAccountServicePrincipalsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountServicePrincipalRequest)) *MockAccountServicePrincipalsInterface_Get_Call
- func (_c *MockAccountServicePrincipalsInterface_Get_Call) RunAndReturn(...) *MockAccountServicePrincipalsInterface_Get_Call
- type MockAccountServicePrincipalsInterface_ListAll_Call
- func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) Return(_a0 []iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_ListAll_Call
- func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountServicePrincipalsRequest)) *MockAccountServicePrincipalsInterface_ListAll_Call
- func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) RunAndReturn(...) *MockAccountServicePrincipalsInterface_ListAll_Call
- type MockAccountServicePrincipalsInterface_List_Call
- func (_c *MockAccountServicePrincipalsInterface_List_Call) Return(_a0 listing.Iterator[iam.ServicePrincipal]) *MockAccountServicePrincipalsInterface_List_Call
- func (_c *MockAccountServicePrincipalsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountServicePrincipalsRequest)) *MockAccountServicePrincipalsInterface_List_Call
- func (_c *MockAccountServicePrincipalsInterface_List_Call) RunAndReturn(...) *MockAccountServicePrincipalsInterface_List_Call
- type MockAccountServicePrincipalsInterface_Patch_Call
- func (_c *MockAccountServicePrincipalsInterface_Patch_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Patch_Call
- func (_c *MockAccountServicePrincipalsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountServicePrincipalsInterface_Patch_Call
- func (_c *MockAccountServicePrincipalsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountServicePrincipalsInterface_Patch_Call
- type MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListAccountServicePrincipalsRequest)) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) RunAndReturn(...) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- type MockAccountServicePrincipalsInterface_Update_Call
- func (_c *MockAccountServicePrincipalsInterface_Update_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Update_Call
- func (_c *MockAccountServicePrincipalsInterface_Update_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockAccountServicePrincipalsInterface_Update_Call
- func (_c *MockAccountServicePrincipalsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) error) *MockAccountServicePrincipalsInterface_Update_Call
- type MockAccountUsersInterface
- func (_m *MockAccountUsersInterface) Create(ctx context.Context, request iam.User) (*iam.User, error)
- func (_m *MockAccountUsersInterface) Delete(ctx context.Context, request iam.DeleteAccountUserRequest) error
- func (_m *MockAccountUsersInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockAccountUsersInterface) EXPECT() *MockAccountUsersInterface_Expecter
- func (_m *MockAccountUsersInterface) Get(ctx context.Context, request iam.GetAccountUserRequest) (*iam.User, error)
- func (_m *MockAccountUsersInterface) GetById(ctx context.Context, id string) (*iam.User, error)
- func (_m *MockAccountUsersInterface) GetByUserName(ctx context.Context, name string) (*iam.User, error)
- func (_m *MockAccountUsersInterface) List(ctx context.Context, request iam.ListAccountUsersRequest) listing.Iterator[iam.User]
- func (_m *MockAccountUsersInterface) ListAll(ctx context.Context, request iam.ListAccountUsersRequest) ([]iam.User, error)
- func (_m *MockAccountUsersInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockAccountUsersInterface) Update(ctx context.Context, request iam.User) error
- func (_m *MockAccountUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListAccountUsersRequest) (map[string]string, error)
- type MockAccountUsersInterface_Create_Call
- func (_c *MockAccountUsersInterface_Create_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_Create_Call
- func (_c *MockAccountUsersInterface_Create_Call) Run(run func(ctx context.Context, request iam.User)) *MockAccountUsersInterface_Create_Call
- func (_c *MockAccountUsersInterface_Create_Call) RunAndReturn(run func(context.Context, iam.User) (*iam.User, error)) *MockAccountUsersInterface_Create_Call
- type MockAccountUsersInterface_DeleteById_Call
- func (_c *MockAccountUsersInterface_DeleteById_Call) Return(_a0 error) *MockAccountUsersInterface_DeleteById_Call
- func (_c *MockAccountUsersInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountUsersInterface_DeleteById_Call
- func (_c *MockAccountUsersInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountUsersInterface_DeleteById_Call
- type MockAccountUsersInterface_Delete_Call
- func (_c *MockAccountUsersInterface_Delete_Call) Return(_a0 error) *MockAccountUsersInterface_Delete_Call
- func (_c *MockAccountUsersInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteAccountUserRequest)) *MockAccountUsersInterface_Delete_Call
- func (_c *MockAccountUsersInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountUserRequest) error) *MockAccountUsersInterface_Delete_Call
- type MockAccountUsersInterface_Expecter
- func (_e *MockAccountUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountUsersInterface_Create_Call
- func (_e *MockAccountUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountUsersInterface_Delete_Call
- func (_e *MockAccountUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountUsersInterface_DeleteById_Call
- func (_e *MockAccountUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountUsersInterface_Get_Call
- func (_e *MockAccountUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountUsersInterface_GetById_Call
- func (_e *MockAccountUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockAccountUsersInterface_GetByUserName_Call
- func (_e *MockAccountUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountUsersInterface_List_Call
- func (_e *MockAccountUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountUsersInterface_ListAll_Call
- func (_e *MockAccountUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountUsersInterface_Patch_Call
- func (_e *MockAccountUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountUsersInterface_Update_Call
- func (_e *MockAccountUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockAccountUsersInterface_UserUserNameToIdMap_Call
- type MockAccountUsersInterface_GetById_Call
- func (_c *MockAccountUsersInterface_GetById_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_GetById_Call
- func (_c *MockAccountUsersInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountUsersInterface_GetById_Call
- func (_c *MockAccountUsersInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockAccountUsersInterface_GetById_Call
- type MockAccountUsersInterface_GetByUserName_Call
- func (_c *MockAccountUsersInterface_GetByUserName_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_GetByUserName_Call
- func (_c *MockAccountUsersInterface_GetByUserName_Call) Run(run func(ctx context.Context, name string)) *MockAccountUsersInterface_GetByUserName_Call
- func (_c *MockAccountUsersInterface_GetByUserName_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockAccountUsersInterface_GetByUserName_Call
- type MockAccountUsersInterface_Get_Call
- func (_c *MockAccountUsersInterface_Get_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_Get_Call
- func (_c *MockAccountUsersInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountUserRequest)) *MockAccountUsersInterface_Get_Call
- func (_c *MockAccountUsersInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetAccountUserRequest) (*iam.User, error)) *MockAccountUsersInterface_Get_Call
- type MockAccountUsersInterface_ListAll_Call
- func (_c *MockAccountUsersInterface_ListAll_Call) Return(_a0 []iam.User, _a1 error) *MockAccountUsersInterface_ListAll_Call
- func (_c *MockAccountUsersInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_ListAll_Call
- func (_c *MockAccountUsersInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListAccountUsersRequest) ([]iam.User, error)) *MockAccountUsersInterface_ListAll_Call
- type MockAccountUsersInterface_List_Call
- func (_c *MockAccountUsersInterface_List_Call) Return(_a0 listing.Iterator[iam.User]) *MockAccountUsersInterface_List_Call
- func (_c *MockAccountUsersInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_List_Call
- func (_c *MockAccountUsersInterface_List_Call) RunAndReturn(...) *MockAccountUsersInterface_List_Call
- type MockAccountUsersInterface_Patch_Call
- func (_c *MockAccountUsersInterface_Patch_Call) Return(_a0 error) *MockAccountUsersInterface_Patch_Call
- func (_c *MockAccountUsersInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountUsersInterface_Patch_Call
- func (_c *MockAccountUsersInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountUsersInterface_Patch_Call
- type MockAccountUsersInterface_Update_Call
- func (_c *MockAccountUsersInterface_Update_Call) Return(_a0 error) *MockAccountUsersInterface_Update_Call
- func (_c *MockAccountUsersInterface_Update_Call) Run(run func(ctx context.Context, request iam.User)) *MockAccountUsersInterface_Update_Call
- func (_c *MockAccountUsersInterface_Update_Call) RunAndReturn(run func(context.Context, iam.User) error) *MockAccountUsersInterface_Update_Call
- type MockAccountUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAccountUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) RunAndReturn(...) *MockAccountUsersInterface_UserUserNameToIdMap_Call
- type MockCurrentUserInterface
- type MockCurrentUserInterface_Expecter
- type MockCurrentUserInterface_Me_Call
- func (_c *MockCurrentUserInterface_Me_Call) Return(_a0 *iam.User, _a1 error) *MockCurrentUserInterface_Me_Call
- func (_c *MockCurrentUserInterface_Me_Call) Run(run func(ctx context.Context)) *MockCurrentUserInterface_Me_Call
- func (_c *MockCurrentUserInterface_Me_Call) RunAndReturn(run func(context.Context) (*iam.User, error)) *MockCurrentUserInterface_Me_Call
- type MockGroupsInterface
- func (_m *MockGroupsInterface) Create(ctx context.Context, request iam.Group) (*iam.Group, error)
- func (_m *MockGroupsInterface) Delete(ctx context.Context, request iam.DeleteGroupRequest) error
- func (_m *MockGroupsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockGroupsInterface) EXPECT() *MockGroupsInterface_Expecter
- func (_m *MockGroupsInterface) Get(ctx context.Context, request iam.GetGroupRequest) (*iam.Group, error)
- func (_m *MockGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)
- func (_m *MockGroupsInterface) GetById(ctx context.Context, id string) (*iam.Group, error)
- func (_m *MockGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListGroupsRequest) (map[string]string, error)
- func (_m *MockGroupsInterface) List(ctx context.Context, request iam.ListGroupsRequest) listing.Iterator[iam.Group]
- func (_m *MockGroupsInterface) ListAll(ctx context.Context, request iam.ListGroupsRequest) ([]iam.Group, error)
- func (_m *MockGroupsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockGroupsInterface) Update(ctx context.Context, request iam.Group) error
- type MockGroupsInterface_Create_Call
- func (_c *MockGroupsInterface_Create_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_Create_Call
- func (_c *MockGroupsInterface_Create_Call) Run(run func(ctx context.Context, request iam.Group)) *MockGroupsInterface_Create_Call
- func (_c *MockGroupsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.Group) (*iam.Group, error)) *MockGroupsInterface_Create_Call
- type MockGroupsInterface_DeleteById_Call
- func (_c *MockGroupsInterface_DeleteById_Call) Return(_a0 error) *MockGroupsInterface_DeleteById_Call
- func (_c *MockGroupsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockGroupsInterface_DeleteById_Call
- func (_c *MockGroupsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockGroupsInterface_DeleteById_Call
- type MockGroupsInterface_Delete_Call
- func (_c *MockGroupsInterface_Delete_Call) Return(_a0 error) *MockGroupsInterface_Delete_Call
- func (_c *MockGroupsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteGroupRequest)) *MockGroupsInterface_Delete_Call
- func (_c *MockGroupsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteGroupRequest) error) *MockGroupsInterface_Delete_Call
- type MockGroupsInterface_Expecter
- func (_e *MockGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockGroupsInterface_Create_Call
- func (_e *MockGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockGroupsInterface_Delete_Call
- func (_e *MockGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockGroupsInterface_DeleteById_Call
- func (_e *MockGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockGroupsInterface_Get_Call
- func (_e *MockGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockGroupsInterface_GetByDisplayName_Call
- func (_e *MockGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockGroupsInterface_GetById_Call
- func (_e *MockGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_e *MockGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockGroupsInterface_List_Call
- func (_e *MockGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockGroupsInterface_ListAll_Call
- func (_e *MockGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockGroupsInterface_Patch_Call
- func (_e *MockGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockGroupsInterface_Update_Call
- type MockGroupsInterface_GetByDisplayName_Call
- func (_c *MockGroupsInterface_GetByDisplayName_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_GetByDisplayName_Call
- func (_c *MockGroupsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockGroupsInterface_GetByDisplayName_Call
- func (_c *MockGroupsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockGroupsInterface_GetByDisplayName_Call
- type MockGroupsInterface_GetById_Call
- func (_c *MockGroupsInterface_GetById_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_GetById_Call
- func (_c *MockGroupsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockGroupsInterface_GetById_Call
- func (_c *MockGroupsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockGroupsInterface_GetById_Call
- type MockGroupsInterface_Get_Call
- func (_c *MockGroupsInterface_Get_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_Get_Call
- func (_c *MockGroupsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetGroupRequest)) *MockGroupsInterface_Get_Call
- func (_c *MockGroupsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetGroupRequest) (*iam.Group, error)) *MockGroupsInterface_Get_Call
- type MockGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
- func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) (map[string]string, error)) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
- type MockGroupsInterface_ListAll_Call
- func (_c *MockGroupsInterface_ListAll_Call) Return(_a0 []iam.Group, _a1 error) *MockGroupsInterface_ListAll_Call
- func (_c *MockGroupsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_ListAll_Call
- func (_c *MockGroupsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) ([]iam.Group, error)) *MockGroupsInterface_ListAll_Call
- type MockGroupsInterface_List_Call
- func (_c *MockGroupsInterface_List_Call) Return(_a0 listing.Iterator[iam.Group]) *MockGroupsInterface_List_Call
- func (_c *MockGroupsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_List_Call
- func (_c *MockGroupsInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) listing.Iterator[iam.Group]) *MockGroupsInterface_List_Call
- type MockGroupsInterface_Patch_Call
- func (_c *MockGroupsInterface_Patch_Call) Return(_a0 error) *MockGroupsInterface_Patch_Call
- func (_c *MockGroupsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockGroupsInterface_Patch_Call
- func (_c *MockGroupsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockGroupsInterface_Patch_Call
- type MockGroupsInterface_Update_Call
- func (_c *MockGroupsInterface_Update_Call) Return(_a0 error) *MockGroupsInterface_Update_Call
- func (_c *MockGroupsInterface_Update_Call) Run(run func(ctx context.Context, request iam.Group)) *MockGroupsInterface_Update_Call
- func (_c *MockGroupsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.Group) error) *MockGroupsInterface_Update_Call
- type MockPermissionMigrationInterface
- type MockPermissionMigrationInterface_Expecter
- type MockPermissionMigrationInterface_MigratePermissions_Call
- func (_c *MockPermissionMigrationInterface_MigratePermissions_Call) Return(_a0 *iam.MigratePermissionsResponse, _a1 error) *MockPermissionMigrationInterface_MigratePermissions_Call
- func (_c *MockPermissionMigrationInterface_MigratePermissions_Call) Run(run func(ctx context.Context, request iam.MigratePermissionsRequest)) *MockPermissionMigrationInterface_MigratePermissions_Call
- func (_c *MockPermissionMigrationInterface_MigratePermissions_Call) RunAndReturn(...) *MockPermissionMigrationInterface_MigratePermissions_Call
- type MockPermissionsInterface
- func (_m *MockPermissionsInterface) EXPECT() *MockPermissionsInterface_Expecter
- func (_m *MockPermissionsInterface) Get(ctx context.Context, request iam.GetPermissionRequest) (*iam.ObjectPermissions, error)
- func (_m *MockPermissionsInterface) GetByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.ObjectPermissions, error)
- func (_m *MockPermissionsInterface) GetPermissionLevels(ctx context.Context, request iam.GetPermissionLevelsRequest) (*iam.GetPermissionLevelsResponse, error)
- func (_m *MockPermissionsInterface) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.GetPermissionLevelsResponse, error)
- func (_m *MockPermissionsInterface) Set(ctx context.Context, request iam.PermissionsRequest) (*iam.ObjectPermissions, error)
- func (_m *MockPermissionsInterface) Update(ctx context.Context, request iam.PermissionsRequest) (*iam.ObjectPermissions, error)
- type MockPermissionsInterface_Expecter
- func (_e *MockPermissionsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPermissionsInterface_Get_Call
- func (_e *MockPermissionsInterface_Expecter) GetByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
- func (_e *MockPermissionsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockPermissionsInterface_GetPermissionLevels_Call
- func (_e *MockPermissionsInterface_Expecter) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) ...
- func (_e *MockPermissionsInterface_Expecter) Set(ctx interface{}, request interface{}) *MockPermissionsInterface_Set_Call
- func (_e *MockPermissionsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPermissionsInterface_Update_Call
- type MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
- func (_c *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
- func (_c *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Run(...) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
- func (_c *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) RunAndReturn(run func(context.Context, string, string) (*iam.ObjectPermissions, error)) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
- type MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call
- func (_c *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Return(_a0 *iam.GetPermissionLevelsResponse, _a1 error) ...
- func (_c *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Run(...) ...
- func (_c *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) RunAndReturn(...) ...
- type MockPermissionsInterface_GetPermissionLevels_Call
- func (_c *MockPermissionsInterface_GetPermissionLevels_Call) Return(_a0 *iam.GetPermissionLevelsResponse, _a1 error) *MockPermissionsInterface_GetPermissionLevels_Call
- func (_c *MockPermissionsInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request iam.GetPermissionLevelsRequest)) *MockPermissionsInterface_GetPermissionLevels_Call
- func (_c *MockPermissionsInterface_GetPermissionLevels_Call) RunAndReturn(...) *MockPermissionsInterface_GetPermissionLevels_Call
- type MockPermissionsInterface_Get_Call
- func (_c *MockPermissionsInterface_Get_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Get_Call
- func (_c *MockPermissionsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetPermissionRequest)) *MockPermissionsInterface_Get_Call
- func (_c *MockPermissionsInterface_Get_Call) RunAndReturn(...) *MockPermissionsInterface_Get_Call
- type MockPermissionsInterface_Set_Call
- func (_c *MockPermissionsInterface_Set_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Set_Call
- func (_c *MockPermissionsInterface_Set_Call) Run(run func(ctx context.Context, request iam.PermissionsRequest)) *MockPermissionsInterface_Set_Call
- func (_c *MockPermissionsInterface_Set_Call) RunAndReturn(...) *MockPermissionsInterface_Set_Call
- type MockPermissionsInterface_Update_Call
- func (_c *MockPermissionsInterface_Update_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Update_Call
- func (_c *MockPermissionsInterface_Update_Call) Run(run func(ctx context.Context, request iam.PermissionsRequest)) *MockPermissionsInterface_Update_Call
- func (_c *MockPermissionsInterface_Update_Call) RunAndReturn(...) *MockPermissionsInterface_Update_Call
- type MockServicePrincipalsInterface
- func (_m *MockServicePrincipalsInterface) Create(ctx context.Context, request iam.ServicePrincipal) (*iam.ServicePrincipal, error)
- func (_m *MockServicePrincipalsInterface) Delete(ctx context.Context, request iam.DeleteServicePrincipalRequest) error
- func (_m *MockServicePrincipalsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockServicePrincipalsInterface) EXPECT() *MockServicePrincipalsInterface_Expecter
- func (_m *MockServicePrincipalsInterface) Get(ctx context.Context, request iam.GetServicePrincipalRequest) (*iam.ServicePrincipal, error)
- func (_m *MockServicePrincipalsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.ServicePrincipal, error)
- func (_m *MockServicePrincipalsInterface) GetById(ctx context.Context, id string) (*iam.ServicePrincipal, error)
- func (_m *MockServicePrincipalsInterface) List(ctx context.Context, request iam.ListServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]
- func (_m *MockServicePrincipalsInterface) ListAll(ctx context.Context, request iam.ListServicePrincipalsRequest) ([]iam.ServicePrincipal, error)
- func (_m *MockServicePrincipalsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListServicePrincipalsRequest) (map[string]string, error)
- func (_m *MockServicePrincipalsInterface) Update(ctx context.Context, request iam.ServicePrincipal) error
- type MockServicePrincipalsInterface_Create_Call
- func (_c *MockServicePrincipalsInterface_Create_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_Create_Call
- func (_c *MockServicePrincipalsInterface_Create_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockServicePrincipalsInterface_Create_Call
- func (_c *MockServicePrincipalsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_Create_Call
- type MockServicePrincipalsInterface_DeleteById_Call
- func (_c *MockServicePrincipalsInterface_DeleteById_Call) Return(_a0 error) *MockServicePrincipalsInterface_DeleteById_Call
- func (_c *MockServicePrincipalsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockServicePrincipalsInterface_DeleteById_Call
- func (_c *MockServicePrincipalsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockServicePrincipalsInterface_DeleteById_Call
- type MockServicePrincipalsInterface_Delete_Call
- func (_c *MockServicePrincipalsInterface_Delete_Call) Return(_a0 error) *MockServicePrincipalsInterface_Delete_Call
- func (_c *MockServicePrincipalsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteServicePrincipalRequest)) *MockServicePrincipalsInterface_Delete_Call
- func (_c *MockServicePrincipalsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteServicePrincipalRequest) error) *MockServicePrincipalsInterface_Delete_Call
- type MockServicePrincipalsInterface_Expecter
- func (_e *MockServicePrincipalsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Create_Call
- func (_e *MockServicePrincipalsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Delete_Call
- func (_e *MockServicePrincipalsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_DeleteById_Call
- func (_e *MockServicePrincipalsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Get_Call
- func (_e *MockServicePrincipalsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockServicePrincipalsInterface_GetByDisplayName_Call
- func (_e *MockServicePrincipalsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_GetById_Call
- func (_e *MockServicePrincipalsInterface_Expecter) List(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_List_Call
- func (_e *MockServicePrincipalsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ListAll_Call
- func (_e *MockServicePrincipalsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Patch_Call
- func (_e *MockServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_e *MockServicePrincipalsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Update_Call
- type MockServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockServicePrincipalsInterface_GetByDisplayName_Call
- func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_GetByDisplayName_Call
- type MockServicePrincipalsInterface_GetById_Call
- func (_c *MockServicePrincipalsInterface_GetById_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_GetById_Call
- func (_c *MockServicePrincipalsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockServicePrincipalsInterface_GetById_Call
- func (_c *MockServicePrincipalsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_GetById_Call
- type MockServicePrincipalsInterface_Get_Call
- func (_c *MockServicePrincipalsInterface_Get_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_Get_Call
- func (_c *MockServicePrincipalsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetServicePrincipalRequest)) *MockServicePrincipalsInterface_Get_Call
- func (_c *MockServicePrincipalsInterface_Get_Call) RunAndReturn(...) *MockServicePrincipalsInterface_Get_Call
- type MockServicePrincipalsInterface_ListAll_Call
- func (_c *MockServicePrincipalsInterface_ListAll_Call) Return(_a0 []iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_ListAll_Call
- func (_c *MockServicePrincipalsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListServicePrincipalsRequest)) *MockServicePrincipalsInterface_ListAll_Call
- func (_c *MockServicePrincipalsInterface_ListAll_Call) RunAndReturn(...) *MockServicePrincipalsInterface_ListAll_Call
- type MockServicePrincipalsInterface_List_Call
- func (_c *MockServicePrincipalsInterface_List_Call) Return(_a0 listing.Iterator[iam.ServicePrincipal]) *MockServicePrincipalsInterface_List_Call
- func (_c *MockServicePrincipalsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListServicePrincipalsRequest)) *MockServicePrincipalsInterface_List_Call
- func (_c *MockServicePrincipalsInterface_List_Call) RunAndReturn(...) *MockServicePrincipalsInterface_List_Call
- type MockServicePrincipalsInterface_Patch_Call
- func (_c *MockServicePrincipalsInterface_Patch_Call) Return(_a0 error) *MockServicePrincipalsInterface_Patch_Call
- func (_c *MockServicePrincipalsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockServicePrincipalsInterface_Patch_Call
- func (_c *MockServicePrincipalsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockServicePrincipalsInterface_Patch_Call
- type MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListServicePrincipalsRequest)) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- func (_c *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) RunAndReturn(...) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
- type MockServicePrincipalsInterface_Update_Call
- func (_c *MockServicePrincipalsInterface_Update_Call) Return(_a0 error) *MockServicePrincipalsInterface_Update_Call
- func (_c *MockServicePrincipalsInterface_Update_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockServicePrincipalsInterface_Update_Call
- func (_c *MockServicePrincipalsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) error) *MockServicePrincipalsInterface_Update_Call
- type MockUsersInterface
- func (_m *MockUsersInterface) Create(ctx context.Context, request iam.User) (*iam.User, error)
- func (_m *MockUsersInterface) Delete(ctx context.Context, request iam.DeleteUserRequest) error
- func (_m *MockUsersInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockUsersInterface) EXPECT() *MockUsersInterface_Expecter
- func (_m *MockUsersInterface) Get(ctx context.Context, request iam.GetUserRequest) (*iam.User, error)
- func (_m *MockUsersInterface) GetById(ctx context.Context, id string) (*iam.User, error)
- func (_m *MockUsersInterface) GetByUserName(ctx context.Context, name string) (*iam.User, error)
- func (_m *MockUsersInterface) GetPermissionLevels(ctx context.Context) (*iam.GetPasswordPermissionLevelsResponse, error)
- func (_m *MockUsersInterface) GetPermissions(ctx context.Context) (*iam.PasswordPermissions, error)
- func (_m *MockUsersInterface) List(ctx context.Context, request iam.ListUsersRequest) listing.Iterator[iam.User]
- func (_m *MockUsersInterface) ListAll(ctx context.Context, request iam.ListUsersRequest) ([]iam.User, error)
- func (_m *MockUsersInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
- func (_m *MockUsersInterface) SetPermissions(ctx context.Context, request iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)
- func (_m *MockUsersInterface) Update(ctx context.Context, request iam.User) error
- func (_m *MockUsersInterface) UpdatePermissions(ctx context.Context, request iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)
- func (_m *MockUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListUsersRequest) (map[string]string, error)
- type MockUsersInterface_Create_Call
- func (_c *MockUsersInterface_Create_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_Create_Call
- func (_c *MockUsersInterface_Create_Call) Run(run func(ctx context.Context, request iam.User)) *MockUsersInterface_Create_Call
- func (_c *MockUsersInterface_Create_Call) RunAndReturn(run func(context.Context, iam.User) (*iam.User, error)) *MockUsersInterface_Create_Call
- type MockUsersInterface_DeleteById_Call
- func (_c *MockUsersInterface_DeleteById_Call) Return(_a0 error) *MockUsersInterface_DeleteById_Call
- func (_c *MockUsersInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockUsersInterface_DeleteById_Call
- func (_c *MockUsersInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockUsersInterface_DeleteById_Call
- type MockUsersInterface_Delete_Call
- func (_c *MockUsersInterface_Delete_Call) Return(_a0 error) *MockUsersInterface_Delete_Call
- func (_c *MockUsersInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteUserRequest)) *MockUsersInterface_Delete_Call
- func (_c *MockUsersInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteUserRequest) error) *MockUsersInterface_Delete_Call
- type MockUsersInterface_Expecter
- func (_e *MockUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockUsersInterface_Create_Call
- func (_e *MockUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockUsersInterface_Delete_Call
- func (_e *MockUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockUsersInterface_DeleteById_Call
- func (_e *MockUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockUsersInterface_Get_Call
- func (_e *MockUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockUsersInterface_GetById_Call
- func (_e *MockUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockUsersInterface_GetByUserName_Call
- func (_e *MockUsersInterface_Expecter) GetPermissionLevels(ctx interface{}) *MockUsersInterface_GetPermissionLevels_Call
- func (_e *MockUsersInterface_Expecter) GetPermissions(ctx interface{}) *MockUsersInterface_GetPermissions_Call
- func (_e *MockUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockUsersInterface_List_Call
- func (_e *MockUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockUsersInterface_ListAll_Call
- func (_e *MockUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockUsersInterface_Patch_Call
- func (_e *MockUsersInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockUsersInterface_SetPermissions_Call
- func (_e *MockUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockUsersInterface_Update_Call
- func (_e *MockUsersInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockUsersInterface_UpdatePermissions_Call
- func (_e *MockUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockUsersInterface_UserUserNameToIdMap_Call
- type MockUsersInterface_GetById_Call
- func (_c *MockUsersInterface_GetById_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_GetById_Call
- func (_c *MockUsersInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockUsersInterface_GetById_Call
- func (_c *MockUsersInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockUsersInterface_GetById_Call
- type MockUsersInterface_GetByUserName_Call
- func (_c *MockUsersInterface_GetByUserName_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_GetByUserName_Call
- func (_c *MockUsersInterface_GetByUserName_Call) Run(run func(ctx context.Context, name string)) *MockUsersInterface_GetByUserName_Call
- func (_c *MockUsersInterface_GetByUserName_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockUsersInterface_GetByUserName_Call
- type MockUsersInterface_GetPermissionLevels_Call
- func (_c *MockUsersInterface_GetPermissionLevels_Call) Return(_a0 *iam.GetPasswordPermissionLevelsResponse, _a1 error) *MockUsersInterface_GetPermissionLevels_Call
- func (_c *MockUsersInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context)) *MockUsersInterface_GetPermissionLevels_Call
- func (_c *MockUsersInterface_GetPermissionLevels_Call) RunAndReturn(run func(context.Context) (*iam.GetPasswordPermissionLevelsResponse, error)) *MockUsersInterface_GetPermissionLevels_Call
- type MockUsersInterface_GetPermissions_Call
- func (_c *MockUsersInterface_GetPermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_GetPermissions_Call
- func (_c *MockUsersInterface_GetPermissions_Call) Run(run func(ctx context.Context)) *MockUsersInterface_GetPermissions_Call
- func (_c *MockUsersInterface_GetPermissions_Call) RunAndReturn(run func(context.Context) (*iam.PasswordPermissions, error)) *MockUsersInterface_GetPermissions_Call
- type MockUsersInterface_Get_Call
- func (_c *MockUsersInterface_Get_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_Get_Call
- func (_c *MockUsersInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetUserRequest)) *MockUsersInterface_Get_Call
- func (_c *MockUsersInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetUserRequest) (*iam.User, error)) *MockUsersInterface_Get_Call
- type MockUsersInterface_ListAll_Call
- func (_c *MockUsersInterface_ListAll_Call) Return(_a0 []iam.User, _a1 error) *MockUsersInterface_ListAll_Call
- func (_c *MockUsersInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_ListAll_Call
- func (_c *MockUsersInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) ([]iam.User, error)) *MockUsersInterface_ListAll_Call
- type MockUsersInterface_List_Call
- func (_c *MockUsersInterface_List_Call) Return(_a0 listing.Iterator[iam.User]) *MockUsersInterface_List_Call
- func (_c *MockUsersInterface_List_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_List_Call
- func (_c *MockUsersInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) listing.Iterator[iam.User]) *MockUsersInterface_List_Call
- type MockUsersInterface_Patch_Call
- func (_c *MockUsersInterface_Patch_Call) Return(_a0 error) *MockUsersInterface_Patch_Call
- func (_c *MockUsersInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockUsersInterface_Patch_Call
- func (_c *MockUsersInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockUsersInterface_Patch_Call
- type MockUsersInterface_SetPermissions_Call
- func (_c *MockUsersInterface_SetPermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_SetPermissions_Call
- func (_c *MockUsersInterface_SetPermissions_Call) Run(run func(ctx context.Context, request iam.PasswordPermissionsRequest)) *MockUsersInterface_SetPermissions_Call
- func (_c *MockUsersInterface_SetPermissions_Call) RunAndReturn(...) *MockUsersInterface_SetPermissions_Call
- type MockUsersInterface_UpdatePermissions_Call
- func (_c *MockUsersInterface_UpdatePermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_UpdatePermissions_Call
- func (_c *MockUsersInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request iam.PasswordPermissionsRequest)) *MockUsersInterface_UpdatePermissions_Call
- func (_c *MockUsersInterface_UpdatePermissions_Call) RunAndReturn(...) *MockUsersInterface_UpdatePermissions_Call
- type MockUsersInterface_Update_Call
- func (_c *MockUsersInterface_Update_Call) Return(_a0 error) *MockUsersInterface_Update_Call
- func (_c *MockUsersInterface_Update_Call) Run(run func(ctx context.Context, request iam.User)) *MockUsersInterface_Update_Call
- func (_c *MockUsersInterface_Update_Call) RunAndReturn(run func(context.Context, iam.User) error) *MockUsersInterface_Update_Call
- type MockUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockUsersInterface_UserUserNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockUsersInterface_UserUserNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_UserUserNameToIdMap_Call
- func (_c *MockUsersInterface_UserUserNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) (map[string]string, error)) *MockUsersInterface_UserUserNameToIdMap_Call
- type MockWorkspaceAssignmentInterface
- func (_m *MockWorkspaceAssignmentInterface) Delete(ctx context.Context, request iam.DeleteWorkspaceAssignmentRequest) error
- func (_m *MockWorkspaceAssignmentInterface) DeleteByWorkspaceIdAndPrincipalId(ctx context.Context, workspaceId int64, principalId int64) error
- func (_m *MockWorkspaceAssignmentInterface) EXPECT() *MockWorkspaceAssignmentInterface_Expecter
- func (_m *MockWorkspaceAssignmentInterface) Get(ctx context.Context, request iam.GetWorkspaceAssignmentRequest) (*iam.WorkspacePermissions, error)
- func (_m *MockWorkspaceAssignmentInterface) GetByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.WorkspacePermissions, error)
- func (_m *MockWorkspaceAssignmentInterface) List(ctx context.Context, request iam.ListWorkspaceAssignmentRequest) listing.Iterator[iam.PermissionAssignment]
- func (_m *MockWorkspaceAssignmentInterface) ListAll(ctx context.Context, request iam.ListWorkspaceAssignmentRequest) ([]iam.PermissionAssignment, error)
- func (_m *MockWorkspaceAssignmentInterface) ListByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.PermissionAssignments, error)
- func (_m *MockWorkspaceAssignmentInterface) Update(ctx context.Context, request iam.UpdateWorkspaceAssignments) (*iam.PermissionAssignment, error)
- type MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
- func (_c *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Return(_a0 error) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
- func (_c *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Run(run func(ctx context.Context, workspaceId int64, principalId int64)) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
- func (_c *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) RunAndReturn(run func(context.Context, int64, int64) error) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
- type MockWorkspaceAssignmentInterface_Delete_Call
- func (_c *MockWorkspaceAssignmentInterface_Delete_Call) Return(_a0 error) *MockWorkspaceAssignmentInterface_Delete_Call
- func (_c *MockWorkspaceAssignmentInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_Delete_Call
- func (_c *MockWorkspaceAssignmentInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteWorkspaceAssignmentRequest) error) *MockWorkspaceAssignmentInterface_Delete_Call
- type MockWorkspaceAssignmentInterface_Expecter
- func (_e *MockWorkspaceAssignmentInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Delete_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) DeleteByWorkspaceIdAndPrincipalId(ctx interface{}, workspaceId interface{}, principalId interface{}) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Get_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) GetByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) List(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_List_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_ListAll_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) ListByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
- func (_e *MockWorkspaceAssignmentInterface_Expecter) Update(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Update_Call
- type MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Return(_a0 *iam.WorkspacePermissions, _a1 error) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*iam.WorkspacePermissions, error)) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
- type MockWorkspaceAssignmentInterface_Get_Call
- func (_c *MockWorkspaceAssignmentInterface_Get_Call) Return(_a0 *iam.WorkspacePermissions, _a1 error) *MockWorkspaceAssignmentInterface_Get_Call
- func (_c *MockWorkspaceAssignmentInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_Get_Call
- func (_c *MockWorkspaceAssignmentInterface_Get_Call) RunAndReturn(...) *MockWorkspaceAssignmentInterface_Get_Call
- type MockWorkspaceAssignmentInterface_ListAll_Call
- func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) Return(_a0 []iam.PermissionAssignment, _a1 error) *MockWorkspaceAssignmentInterface_ListAll_Call
- func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_ListAll_Call
- func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) RunAndReturn(...) *MockWorkspaceAssignmentInterface_ListAll_Call
- type MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Return(_a0 *iam.PermissionAssignments, _a1 error) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
- func (_c *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*iam.PermissionAssignments, error)) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
- type MockWorkspaceAssignmentInterface_List_Call
- func (_c *MockWorkspaceAssignmentInterface_List_Call) Return(_a0 listing.Iterator[iam.PermissionAssignment]) *MockWorkspaceAssignmentInterface_List_Call
- func (_c *MockWorkspaceAssignmentInterface_List_Call) Run(run func(ctx context.Context, request iam.ListWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_List_Call
- func (_c *MockWorkspaceAssignmentInterface_List_Call) RunAndReturn(...) *MockWorkspaceAssignmentInterface_List_Call
- type MockWorkspaceAssignmentInterface_Update_Call
- func (_c *MockWorkspaceAssignmentInterface_Update_Call) Return(_a0 *iam.PermissionAssignment, _a1 error) *MockWorkspaceAssignmentInterface_Update_Call
- func (_c *MockWorkspaceAssignmentInterface_Update_Call) Run(run func(ctx context.Context, request iam.UpdateWorkspaceAssignments)) *MockWorkspaceAssignmentInterface_Update_Call
- func (_c *MockWorkspaceAssignmentInterface_Update_Call) RunAndReturn(...) *MockWorkspaceAssignmentInterface_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountAccessControlInterface ¶
MockAccountAccessControlInterface is an autogenerated mock type for the AccountAccessControlInterface type
func NewMockAccountAccessControlInterface ¶
func NewMockAccountAccessControlInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAccountAccessControlInterface
NewMockAccountAccessControlInterface creates a new instance of MockAccountAccessControlInterface. 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 (*MockAccountAccessControlInterface) EXPECT ¶
func (_m *MockAccountAccessControlInterface) EXPECT() *MockAccountAccessControlInterface_Expecter
func (*MockAccountAccessControlInterface) GetAssignableRolesForResource ¶
func (_m *MockAccountAccessControlInterface) GetAssignableRolesForResource(ctx context.Context, request iam.GetAssignableRolesForResourceRequest) (*iam.GetAssignableRolesForResourceResponse, error)
GetAssignableRolesForResource provides a mock function with given fields: ctx, request
func (*MockAccountAccessControlInterface) GetRuleSet ¶
func (_m *MockAccountAccessControlInterface) GetRuleSet(ctx context.Context, request iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)
GetRuleSet provides a mock function with given fields: ctx, request
func (*MockAccountAccessControlInterface) UpdateRuleSet ¶
func (_m *MockAccountAccessControlInterface) UpdateRuleSet(ctx context.Context, request iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)
UpdateRuleSet provides a mock function with given fields: ctx, request
type MockAccountAccessControlInterface_Expecter ¶
type MockAccountAccessControlInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccountAccessControlInterface_Expecter) GetAssignableRolesForResource ¶
func (_e *MockAccountAccessControlInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call
GetAssignableRolesForResource is a helper method to define mock.On call
- ctx context.Context
- request iam.GetAssignableRolesForResourceRequest
func (*MockAccountAccessControlInterface_Expecter) GetRuleSet ¶
func (_e *MockAccountAccessControlInterface_Expecter) GetRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetRuleSet_Call
GetRuleSet is a helper method to define mock.On call
- ctx context.Context
- request iam.GetRuleSetRequest
func (*MockAccountAccessControlInterface_Expecter) UpdateRuleSet ¶
func (_e *MockAccountAccessControlInterface_Expecter) UpdateRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_UpdateRuleSet_Call
UpdateRuleSet is a helper method to define mock.On call
- ctx context.Context
- request iam.UpdateRuleSetRequest
type MockAccountAccessControlInterface_GetAssignableRolesForResource_Call ¶
MockAccountAccessControlInterface_GetAssignableRolesForResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssignableRolesForResource'
func (*MockAccountAccessControlInterface_GetAssignableRolesForResource_Call) RunAndReturn ¶
type MockAccountAccessControlInterface_GetRuleSet_Call ¶
MockAccountAccessControlInterface_GetRuleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRuleSet'
func (*MockAccountAccessControlInterface_GetRuleSet_Call) Return ¶
func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlInterface_GetRuleSet_Call
func (*MockAccountAccessControlInterface_GetRuleSet_Call) Run ¶
func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) Run(run func(ctx context.Context, request iam.GetRuleSetRequest)) *MockAccountAccessControlInterface_GetRuleSet_Call
func (*MockAccountAccessControlInterface_GetRuleSet_Call) RunAndReturn ¶
func (_c *MockAccountAccessControlInterface_GetRuleSet_Call) RunAndReturn(run func(context.Context, iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlInterface_GetRuleSet_Call
type MockAccountAccessControlInterface_UpdateRuleSet_Call ¶
MockAccountAccessControlInterface_UpdateRuleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRuleSet'
func (*MockAccountAccessControlInterface_UpdateRuleSet_Call) Return ¶
func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlInterface_UpdateRuleSet_Call
func (*MockAccountAccessControlInterface_UpdateRuleSet_Call) Run ¶
func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) Run(run func(ctx context.Context, request iam.UpdateRuleSetRequest)) *MockAccountAccessControlInterface_UpdateRuleSet_Call
func (*MockAccountAccessControlInterface_UpdateRuleSet_Call) RunAndReturn ¶
func (_c *MockAccountAccessControlInterface_UpdateRuleSet_Call) RunAndReturn(run func(context.Context, iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlInterface_UpdateRuleSet_Call
type MockAccountAccessControlProxyInterface ¶
MockAccountAccessControlProxyInterface is an autogenerated mock type for the AccountAccessControlProxyInterface type
func NewMockAccountAccessControlProxyInterface ¶
func NewMockAccountAccessControlProxyInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAccountAccessControlProxyInterface
NewMockAccountAccessControlProxyInterface creates a new instance of MockAccountAccessControlProxyInterface. 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 (*MockAccountAccessControlProxyInterface) EXPECT ¶
func (_m *MockAccountAccessControlProxyInterface) EXPECT() *MockAccountAccessControlProxyInterface_Expecter
func (*MockAccountAccessControlProxyInterface) GetAssignableRolesForResource ¶
func (_m *MockAccountAccessControlProxyInterface) GetAssignableRolesForResource(ctx context.Context, request iam.GetAssignableRolesForResourceRequest) (*iam.GetAssignableRolesForResourceResponse, error)
GetAssignableRolesForResource provides a mock function with given fields: ctx, request
func (*MockAccountAccessControlProxyInterface) GetRuleSet ¶
func (_m *MockAccountAccessControlProxyInterface) GetRuleSet(ctx context.Context, request iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)
GetRuleSet provides a mock function with given fields: ctx, request
func (*MockAccountAccessControlProxyInterface) UpdateRuleSet ¶
func (_m *MockAccountAccessControlProxyInterface) UpdateRuleSet(ctx context.Context, request iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)
UpdateRuleSet provides a mock function with given fields: ctx, request
type MockAccountAccessControlProxyInterface_Expecter ¶
type MockAccountAccessControlProxyInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccountAccessControlProxyInterface_Expecter) GetAssignableRolesForResource ¶
func (_e *MockAccountAccessControlProxyInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call
GetAssignableRolesForResource is a helper method to define mock.On call
- ctx context.Context
- request iam.GetAssignableRolesForResourceRequest
func (*MockAccountAccessControlProxyInterface_Expecter) GetRuleSet ¶
func (_e *MockAccountAccessControlProxyInterface_Expecter) GetRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
GetRuleSet is a helper method to define mock.On call
- ctx context.Context
- request iam.GetRuleSetRequest
func (*MockAccountAccessControlProxyInterface_Expecter) UpdateRuleSet ¶
func (_e *MockAccountAccessControlProxyInterface_Expecter) UpdateRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
UpdateRuleSet is a helper method to define mock.On call
- ctx context.Context
- request iam.UpdateRuleSetRequest
type MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call ¶
type MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call struct {
*mock.Call
}
MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssignableRolesForResource'
func (*MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call) RunAndReturn ¶
type MockAccountAccessControlProxyInterface_GetRuleSet_Call ¶
MockAccountAccessControlProxyInterface_GetRuleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRuleSet'
func (*MockAccountAccessControlProxyInterface_GetRuleSet_Call) Return ¶
func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) Return(_a0 *iam.RuleSetResponse, _a1 error) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
func (*MockAccountAccessControlProxyInterface_GetRuleSet_Call) Run ¶
func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) Run(run func(ctx context.Context, request iam.GetRuleSetRequest)) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
func (*MockAccountAccessControlProxyInterface_GetRuleSet_Call) RunAndReturn ¶
func (_c *MockAccountAccessControlProxyInterface_GetRuleSet_Call) RunAndReturn(run func(context.Context, iam.GetRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlProxyInterface_GetRuleSet_Call
type MockAccountAccessControlProxyInterface_UpdateRuleSet_Call ¶
MockAccountAccessControlProxyInterface_UpdateRuleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRuleSet'
func (*MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Run ¶
func (_c *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Run(run func(ctx context.Context, request iam.UpdateRuleSetRequest)) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
func (*MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) RunAndReturn ¶
func (_c *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) RunAndReturn(run func(context.Context, iam.UpdateRuleSetRequest) (*iam.RuleSetResponse, error)) *MockAccountAccessControlProxyInterface_UpdateRuleSet_Call
type MockAccountGroupsInterface ¶
MockAccountGroupsInterface is an autogenerated mock type for the AccountGroupsInterface type
func NewMockAccountGroupsInterface ¶
func NewMockAccountGroupsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAccountGroupsInterface
NewMockAccountGroupsInterface creates a new instance of MockAccountGroupsInterface. 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 (*MockAccountGroupsInterface) Create ¶
func (_m *MockAccountGroupsInterface) Create(ctx context.Context, request iam.Group) (*iam.Group, error)
Create provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) Delete ¶
func (_m *MockAccountGroupsInterface) Delete(ctx context.Context, request iam.DeleteAccountGroupRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) DeleteById ¶
func (_m *MockAccountGroupsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockAccountGroupsInterface) EXPECT ¶
func (_m *MockAccountGroupsInterface) EXPECT() *MockAccountGroupsInterface_Expecter
func (*MockAccountGroupsInterface) Get ¶
func (_m *MockAccountGroupsInterface) Get(ctx context.Context, request iam.GetAccountGroupRequest) (*iam.Group, error)
Get provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) GetByDisplayName ¶
func (_m *MockAccountGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)
GetByDisplayName provides a mock function with given fields: ctx, name
func (*MockAccountGroupsInterface) GetById ¶
GetById provides a mock function with given fields: ctx, id
func (*MockAccountGroupsInterface) GroupDisplayNameToIdMap ¶
func (_m *MockAccountGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListAccountGroupsRequest) (map[string]string, error)
GroupDisplayNameToIdMap provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) List ¶
func (_m *MockAccountGroupsInterface) List(ctx context.Context, request iam.ListAccountGroupsRequest) listing.Iterator[iam.Group]
List provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) ListAll ¶
func (_m *MockAccountGroupsInterface) ListAll(ctx context.Context, request iam.ListAccountGroupsRequest) ([]iam.Group, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockAccountGroupsInterface) Patch ¶
func (_m *MockAccountGroupsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
type MockAccountGroupsInterface_Create_Call ¶
MockAccountGroupsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockAccountGroupsInterface_Create_Call) Return ¶
func (_c *MockAccountGroupsInterface_Create_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_Create_Call
func (*MockAccountGroupsInterface_Create_Call) Run ¶
func (_c *MockAccountGroupsInterface_Create_Call) Run(run func(ctx context.Context, request iam.Group)) *MockAccountGroupsInterface_Create_Call
func (*MockAccountGroupsInterface_Create_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.Group) (*iam.Group, error)) *MockAccountGroupsInterface_Create_Call
type MockAccountGroupsInterface_DeleteById_Call ¶
MockAccountGroupsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockAccountGroupsInterface_DeleteById_Call) Return ¶
func (_c *MockAccountGroupsInterface_DeleteById_Call) Return(_a0 error) *MockAccountGroupsInterface_DeleteById_Call
func (*MockAccountGroupsInterface_DeleteById_Call) Run ¶
func (_c *MockAccountGroupsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountGroupsInterface_DeleteById_Call
func (*MockAccountGroupsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountGroupsInterface_DeleteById_Call
type MockAccountGroupsInterface_Delete_Call ¶
MockAccountGroupsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAccountGroupsInterface_Delete_Call) Return ¶
func (_c *MockAccountGroupsInterface_Delete_Call) Return(_a0 error) *MockAccountGroupsInterface_Delete_Call
func (*MockAccountGroupsInterface_Delete_Call) Run ¶
func (_c *MockAccountGroupsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteAccountGroupRequest)) *MockAccountGroupsInterface_Delete_Call
func (*MockAccountGroupsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountGroupRequest) error) *MockAccountGroupsInterface_Delete_Call
type MockAccountGroupsInterface_Expecter ¶
type MockAccountGroupsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccountGroupsInterface_Expecter) Create ¶
func (_e *MockAccountGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.Group
func (*MockAccountGroupsInterface_Expecter) Delete ¶
func (_e *MockAccountGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteAccountGroupRequest
func (*MockAccountGroupsInterface_Expecter) DeleteById ¶
func (_e *MockAccountGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountGroupsInterface_Expecter) Get ¶
func (_e *MockAccountGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetAccountGroupRequest
func (*MockAccountGroupsInterface_Expecter) GetByDisplayName ¶
func (_e *MockAccountGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockAccountGroupsInterface_GetByDisplayName_Call
GetByDisplayName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAccountGroupsInterface_Expecter) GetById ¶
func (_e *MockAccountGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountGroupsInterface_Expecter) GroupDisplayNameToIdMap ¶
func (_e *MockAccountGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
GroupDisplayNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountGroupsRequest
func (*MockAccountGroupsInterface_Expecter) List ¶
func (_e *MockAccountGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountGroupsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountGroupsRequest
func (*MockAccountGroupsInterface_Expecter) ListAll ¶
func (_e *MockAccountGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountGroupsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountGroupsRequest
func (*MockAccountGroupsInterface_Expecter) Patch ¶
func (_e *MockAccountGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockAccountGroupsInterface_Expecter) Update ¶
func (_e *MockAccountGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.Group
type MockAccountGroupsInterface_GetByDisplayName_Call ¶
MockAccountGroupsInterface_GetByDisplayName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByDisplayName'
func (*MockAccountGroupsInterface_GetByDisplayName_Call) Return ¶
func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_GetByDisplayName_Call
func (*MockAccountGroupsInterface_GetByDisplayName_Call) Run ¶
func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockAccountGroupsInterface_GetByDisplayName_Call
func (*MockAccountGroupsInterface_GetByDisplayName_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockAccountGroupsInterface_GetByDisplayName_Call
type MockAccountGroupsInterface_GetById_Call ¶
MockAccountGroupsInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockAccountGroupsInterface_GetById_Call) Return ¶
func (_c *MockAccountGroupsInterface_GetById_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_GetById_Call
func (*MockAccountGroupsInterface_GetById_Call) Run ¶
func (_c *MockAccountGroupsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountGroupsInterface_GetById_Call
func (*MockAccountGroupsInterface_GetById_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockAccountGroupsInterface_GetById_Call
type MockAccountGroupsInterface_Get_Call ¶
MockAccountGroupsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAccountGroupsInterface_Get_Call) Return ¶
func (_c *MockAccountGroupsInterface_Get_Call) Return(_a0 *iam.Group, _a1 error) *MockAccountGroupsInterface_Get_Call
func (*MockAccountGroupsInterface_Get_Call) Run ¶
func (_c *MockAccountGroupsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountGroupRequest)) *MockAccountGroupsInterface_Get_Call
func (*MockAccountGroupsInterface_Get_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetAccountGroupRequest) (*iam.Group, error)) *MockAccountGroupsInterface_Get_Call
type MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call ¶
MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupDisplayNameToIdMap'
func (*MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Return ¶
func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
func (*MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Run ¶
func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
func (*MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListAccountGroupsRequest) (map[string]string, error)) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call
type MockAccountGroupsInterface_ListAll_Call ¶
MockAccountGroupsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockAccountGroupsInterface_ListAll_Call) Return ¶
func (_c *MockAccountGroupsInterface_ListAll_Call) Return(_a0 []iam.Group, _a1 error) *MockAccountGroupsInterface_ListAll_Call
func (*MockAccountGroupsInterface_ListAll_Call) Run ¶
func (_c *MockAccountGroupsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_ListAll_Call
func (*MockAccountGroupsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListAccountGroupsRequest) ([]iam.Group, error)) *MockAccountGroupsInterface_ListAll_Call
type MockAccountGroupsInterface_List_Call ¶
MockAccountGroupsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAccountGroupsInterface_List_Call) Return ¶
func (_c *MockAccountGroupsInterface_List_Call) Return(_a0 listing.Iterator[iam.Group]) *MockAccountGroupsInterface_List_Call
func (*MockAccountGroupsInterface_List_Call) Run ¶
func (_c *MockAccountGroupsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountGroupsRequest)) *MockAccountGroupsInterface_List_Call
func (*MockAccountGroupsInterface_List_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListAccountGroupsRequest) listing.Iterator[iam.Group]) *MockAccountGroupsInterface_List_Call
type MockAccountGroupsInterface_Patch_Call ¶
MockAccountGroupsInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockAccountGroupsInterface_Patch_Call) Return ¶
func (_c *MockAccountGroupsInterface_Patch_Call) Return(_a0 error) *MockAccountGroupsInterface_Patch_Call
func (*MockAccountGroupsInterface_Patch_Call) Run ¶
func (_c *MockAccountGroupsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountGroupsInterface_Patch_Call
func (*MockAccountGroupsInterface_Patch_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountGroupsInterface_Patch_Call
type MockAccountGroupsInterface_Update_Call ¶
MockAccountGroupsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAccountGroupsInterface_Update_Call) Return ¶
func (_c *MockAccountGroupsInterface_Update_Call) Return(_a0 error) *MockAccountGroupsInterface_Update_Call
func (*MockAccountGroupsInterface_Update_Call) Run ¶
func (_c *MockAccountGroupsInterface_Update_Call) Run(run func(ctx context.Context, request iam.Group)) *MockAccountGroupsInterface_Update_Call
func (*MockAccountGroupsInterface_Update_Call) RunAndReturn ¶
func (_c *MockAccountGroupsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.Group) error) *MockAccountGroupsInterface_Update_Call
type MockAccountServicePrincipalsInterface ¶
MockAccountServicePrincipalsInterface is an autogenerated mock type for the AccountServicePrincipalsInterface type
func NewMockAccountServicePrincipalsInterface ¶
func NewMockAccountServicePrincipalsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAccountServicePrincipalsInterface
NewMockAccountServicePrincipalsInterface creates a new instance of MockAccountServicePrincipalsInterface. 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 (*MockAccountServicePrincipalsInterface) Create ¶
func (_m *MockAccountServicePrincipalsInterface) Create(ctx context.Context, request iam.ServicePrincipal) (*iam.ServicePrincipal, error)
Create provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) Delete ¶
func (_m *MockAccountServicePrincipalsInterface) Delete(ctx context.Context, request iam.DeleteAccountServicePrincipalRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) DeleteById ¶
func (_m *MockAccountServicePrincipalsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockAccountServicePrincipalsInterface) EXPECT ¶
func (_m *MockAccountServicePrincipalsInterface) EXPECT() *MockAccountServicePrincipalsInterface_Expecter
func (*MockAccountServicePrincipalsInterface) Get ¶
func (_m *MockAccountServicePrincipalsInterface) Get(ctx context.Context, request iam.GetAccountServicePrincipalRequest) (*iam.ServicePrincipal, error)
Get provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) GetByDisplayName ¶
func (_m *MockAccountServicePrincipalsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.ServicePrincipal, error)
GetByDisplayName provides a mock function with given fields: ctx, name
func (*MockAccountServicePrincipalsInterface) GetById ¶
func (_m *MockAccountServicePrincipalsInterface) GetById(ctx context.Context, id string) (*iam.ServicePrincipal, error)
GetById provides a mock function with given fields: ctx, id
func (*MockAccountServicePrincipalsInterface) List ¶
func (_m *MockAccountServicePrincipalsInterface) List(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]
List provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) ListAll ¶
func (_m *MockAccountServicePrincipalsInterface) ListAll(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) ([]iam.ServicePrincipal, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) Patch ¶
func (_m *MockAccountServicePrincipalsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap ¶
func (_m *MockAccountServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) (map[string]string, error)
ServicePrincipalDisplayNameToIdMap provides a mock function with given fields: ctx, request
func (*MockAccountServicePrincipalsInterface) Update ¶
func (_m *MockAccountServicePrincipalsInterface) Update(ctx context.Context, request iam.ServicePrincipal) error
Update provides a mock function with given fields: ctx, request
type MockAccountServicePrincipalsInterface_Create_Call ¶
MockAccountServicePrincipalsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockAccountServicePrincipalsInterface_Create_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_Create_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_Create_Call
func (*MockAccountServicePrincipalsInterface_Create_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_Create_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockAccountServicePrincipalsInterface_Create_Call
func (*MockAccountServicePrincipalsInterface_Create_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_Create_Call
type MockAccountServicePrincipalsInterface_DeleteById_Call ¶
MockAccountServicePrincipalsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockAccountServicePrincipalsInterface_DeleteById_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountServicePrincipalsInterface_DeleteById_Call
func (*MockAccountServicePrincipalsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountServicePrincipalsInterface_DeleteById_Call
type MockAccountServicePrincipalsInterface_Delete_Call ¶
MockAccountServicePrincipalsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAccountServicePrincipalsInterface_Delete_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_Delete_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Delete_Call
func (*MockAccountServicePrincipalsInterface_Delete_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteAccountServicePrincipalRequest)) *MockAccountServicePrincipalsInterface_Delete_Call
func (*MockAccountServicePrincipalsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountServicePrincipalRequest) error) *MockAccountServicePrincipalsInterface_Delete_Call
type MockAccountServicePrincipalsInterface_Expecter ¶
type MockAccountServicePrincipalsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccountServicePrincipalsInterface_Expecter) Create ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.ServicePrincipal
func (*MockAccountServicePrincipalsInterface_Expecter) Delete ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteAccountServicePrincipalRequest
func (*MockAccountServicePrincipalsInterface_Expecter) DeleteById ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountServicePrincipalsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountServicePrincipalsInterface_Expecter) Get ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetAccountServicePrincipalRequest
func (*MockAccountServicePrincipalsInterface_Expecter) GetByDisplayName ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
GetByDisplayName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAccountServicePrincipalsInterface_Expecter) GetById ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountServicePrincipalsInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountServicePrincipalsInterface_Expecter) List ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountServicePrincipalsRequest
func (*MockAccountServicePrincipalsInterface_Expecter) ListAll ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountServicePrincipalsRequest
func (*MockAccountServicePrincipalsInterface_Expecter) Patch ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockAccountServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
ServicePrincipalDisplayNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountServicePrincipalsRequest
func (*MockAccountServicePrincipalsInterface_Expecter) Update ¶
func (_e *MockAccountServicePrincipalsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.ServicePrincipal
type MockAccountServicePrincipalsInterface_GetByDisplayName_Call ¶
MockAccountServicePrincipalsInterface_GetByDisplayName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByDisplayName'
func (*MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
func (*MockAccountServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_GetByDisplayName_Call
type MockAccountServicePrincipalsInterface_GetById_Call ¶
MockAccountServicePrincipalsInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockAccountServicePrincipalsInterface_GetById_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_GetById_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_GetById_Call
func (*MockAccountServicePrincipalsInterface_GetById_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountServicePrincipalsInterface_GetById_Call
func (*MockAccountServicePrincipalsInterface_GetById_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_GetById_Call
type MockAccountServicePrincipalsInterface_Get_Call ¶
MockAccountServicePrincipalsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAccountServicePrincipalsInterface_Get_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_Get_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_Get_Call
func (*MockAccountServicePrincipalsInterface_Get_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountServicePrincipalRequest)) *MockAccountServicePrincipalsInterface_Get_Call
func (*MockAccountServicePrincipalsInterface_Get_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetAccountServicePrincipalRequest) (*iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_Get_Call
type MockAccountServicePrincipalsInterface_ListAll_Call ¶
MockAccountServicePrincipalsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockAccountServicePrincipalsInterface_ListAll_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) Return(_a0 []iam.ServicePrincipal, _a1 error) *MockAccountServicePrincipalsInterface_ListAll_Call
func (*MockAccountServicePrincipalsInterface_ListAll_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountServicePrincipalsRequest)) *MockAccountServicePrincipalsInterface_ListAll_Call
func (*MockAccountServicePrincipalsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListAccountServicePrincipalsRequest) ([]iam.ServicePrincipal, error)) *MockAccountServicePrincipalsInterface_ListAll_Call
type MockAccountServicePrincipalsInterface_List_Call ¶
MockAccountServicePrincipalsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAccountServicePrincipalsInterface_List_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountServicePrincipalsRequest)) *MockAccountServicePrincipalsInterface_List_Call
func (*MockAccountServicePrincipalsInterface_List_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListAccountServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]) *MockAccountServicePrincipalsInterface_List_Call
type MockAccountServicePrincipalsInterface_Patch_Call ¶
MockAccountServicePrincipalsInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockAccountServicePrincipalsInterface_Patch_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_Patch_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Patch_Call
func (*MockAccountServicePrincipalsInterface_Patch_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountServicePrincipalsInterface_Patch_Call
func (*MockAccountServicePrincipalsInterface_Patch_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountServicePrincipalsInterface_Patch_Call
type MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call ¶
type MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call struct {
*mock.Call
}
MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePrincipalDisplayNameToIdMap'
func (*MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) RunAndReturn ¶
type MockAccountServicePrincipalsInterface_Update_Call ¶
MockAccountServicePrincipalsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAccountServicePrincipalsInterface_Update_Call) Return ¶
func (_c *MockAccountServicePrincipalsInterface_Update_Call) Return(_a0 error) *MockAccountServicePrincipalsInterface_Update_Call
func (*MockAccountServicePrincipalsInterface_Update_Call) Run ¶
func (_c *MockAccountServicePrincipalsInterface_Update_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockAccountServicePrincipalsInterface_Update_Call
func (*MockAccountServicePrincipalsInterface_Update_Call) RunAndReturn ¶
func (_c *MockAccountServicePrincipalsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) error) *MockAccountServicePrincipalsInterface_Update_Call
type MockAccountUsersInterface ¶
MockAccountUsersInterface is an autogenerated mock type for the AccountUsersInterface type
func NewMockAccountUsersInterface ¶
func NewMockAccountUsersInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAccountUsersInterface
NewMockAccountUsersInterface creates a new instance of MockAccountUsersInterface. 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 (*MockAccountUsersInterface) Create ¶
func (_m *MockAccountUsersInterface) Create(ctx context.Context, request iam.User) (*iam.User, error)
Create provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) Delete ¶
func (_m *MockAccountUsersInterface) Delete(ctx context.Context, request iam.DeleteAccountUserRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) DeleteById ¶
func (_m *MockAccountUsersInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockAccountUsersInterface) EXPECT ¶
func (_m *MockAccountUsersInterface) EXPECT() *MockAccountUsersInterface_Expecter
func (*MockAccountUsersInterface) Get ¶
func (_m *MockAccountUsersInterface) Get(ctx context.Context, request iam.GetAccountUserRequest) (*iam.User, error)
Get provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) GetById ¶
GetById provides a mock function with given fields: ctx, id
func (*MockAccountUsersInterface) GetByUserName ¶
func (_m *MockAccountUsersInterface) GetByUserName(ctx context.Context, name string) (*iam.User, error)
GetByUserName provides a mock function with given fields: ctx, name
func (*MockAccountUsersInterface) List ¶
func (_m *MockAccountUsersInterface) List(ctx context.Context, request iam.ListAccountUsersRequest) listing.Iterator[iam.User]
List provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) ListAll ¶
func (_m *MockAccountUsersInterface) ListAll(ctx context.Context, request iam.ListAccountUsersRequest) ([]iam.User, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) Patch ¶
func (_m *MockAccountUsersInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) Update ¶
Update provides a mock function with given fields: ctx, request
func (*MockAccountUsersInterface) UserUserNameToIdMap ¶
func (_m *MockAccountUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListAccountUsersRequest) (map[string]string, error)
UserUserNameToIdMap provides a mock function with given fields: ctx, request
type MockAccountUsersInterface_Create_Call ¶
MockAccountUsersInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockAccountUsersInterface_Create_Call) Return ¶
func (_c *MockAccountUsersInterface_Create_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_Create_Call
func (*MockAccountUsersInterface_Create_Call) Run ¶
func (_c *MockAccountUsersInterface_Create_Call) Run(run func(ctx context.Context, request iam.User)) *MockAccountUsersInterface_Create_Call
func (*MockAccountUsersInterface_Create_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_Create_Call) RunAndReturn(run func(context.Context, iam.User) (*iam.User, error)) *MockAccountUsersInterface_Create_Call
type MockAccountUsersInterface_DeleteById_Call ¶
MockAccountUsersInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockAccountUsersInterface_DeleteById_Call) Return ¶
func (_c *MockAccountUsersInterface_DeleteById_Call) Return(_a0 error) *MockAccountUsersInterface_DeleteById_Call
func (*MockAccountUsersInterface_DeleteById_Call) Run ¶
func (_c *MockAccountUsersInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockAccountUsersInterface_DeleteById_Call
func (*MockAccountUsersInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockAccountUsersInterface_DeleteById_Call
type MockAccountUsersInterface_Delete_Call ¶
MockAccountUsersInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAccountUsersInterface_Delete_Call) Return ¶
func (_c *MockAccountUsersInterface_Delete_Call) Return(_a0 error) *MockAccountUsersInterface_Delete_Call
func (*MockAccountUsersInterface_Delete_Call) Run ¶
func (_c *MockAccountUsersInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteAccountUserRequest)) *MockAccountUsersInterface_Delete_Call
func (*MockAccountUsersInterface_Delete_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteAccountUserRequest) error) *MockAccountUsersInterface_Delete_Call
type MockAccountUsersInterface_Expecter ¶
type MockAccountUsersInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccountUsersInterface_Expecter) Create ¶
func (_e *MockAccountUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountUsersInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.User
func (*MockAccountUsersInterface_Expecter) Delete ¶
func (_e *MockAccountUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountUsersInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteAccountUserRequest
func (*MockAccountUsersInterface_Expecter) DeleteById ¶
func (_e *MockAccountUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountUsersInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountUsersInterface_Expecter) Get ¶
func (_e *MockAccountUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountUsersInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetAccountUserRequest
func (*MockAccountUsersInterface_Expecter) GetById ¶
func (_e *MockAccountUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountUsersInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAccountUsersInterface_Expecter) GetByUserName ¶
func (_e *MockAccountUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockAccountUsersInterface_GetByUserName_Call
GetByUserName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAccountUsersInterface_Expecter) List ¶
func (_e *MockAccountUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountUsersInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountUsersRequest
func (*MockAccountUsersInterface_Expecter) ListAll ¶
func (_e *MockAccountUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountUsersInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountUsersRequest
func (*MockAccountUsersInterface_Expecter) Patch ¶
func (_e *MockAccountUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountUsersInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockAccountUsersInterface_Expecter) Update ¶
func (_e *MockAccountUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountUsersInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.User
func (*MockAccountUsersInterface_Expecter) UserUserNameToIdMap ¶
func (_e *MockAccountUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockAccountUsersInterface_UserUserNameToIdMap_Call
UserUserNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListAccountUsersRequest
type MockAccountUsersInterface_GetById_Call ¶
MockAccountUsersInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockAccountUsersInterface_GetById_Call) Return ¶
func (_c *MockAccountUsersInterface_GetById_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_GetById_Call
func (*MockAccountUsersInterface_GetById_Call) Run ¶
func (_c *MockAccountUsersInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockAccountUsersInterface_GetById_Call
func (*MockAccountUsersInterface_GetById_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockAccountUsersInterface_GetById_Call
type MockAccountUsersInterface_GetByUserName_Call ¶
MockAccountUsersInterface_GetByUserName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByUserName'
func (*MockAccountUsersInterface_GetByUserName_Call) Return ¶
func (_c *MockAccountUsersInterface_GetByUserName_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_GetByUserName_Call
func (*MockAccountUsersInterface_GetByUserName_Call) Run ¶
func (_c *MockAccountUsersInterface_GetByUserName_Call) Run(run func(ctx context.Context, name string)) *MockAccountUsersInterface_GetByUserName_Call
func (*MockAccountUsersInterface_GetByUserName_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_GetByUserName_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockAccountUsersInterface_GetByUserName_Call
type MockAccountUsersInterface_Get_Call ¶
MockAccountUsersInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAccountUsersInterface_Get_Call) Return ¶
func (_c *MockAccountUsersInterface_Get_Call) Return(_a0 *iam.User, _a1 error) *MockAccountUsersInterface_Get_Call
func (*MockAccountUsersInterface_Get_Call) Run ¶
func (_c *MockAccountUsersInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetAccountUserRequest)) *MockAccountUsersInterface_Get_Call
func (*MockAccountUsersInterface_Get_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetAccountUserRequest) (*iam.User, error)) *MockAccountUsersInterface_Get_Call
type MockAccountUsersInterface_ListAll_Call ¶
MockAccountUsersInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockAccountUsersInterface_ListAll_Call) Return ¶
func (_c *MockAccountUsersInterface_ListAll_Call) Return(_a0 []iam.User, _a1 error) *MockAccountUsersInterface_ListAll_Call
func (*MockAccountUsersInterface_ListAll_Call) Run ¶
func (_c *MockAccountUsersInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_ListAll_Call
func (*MockAccountUsersInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListAccountUsersRequest) ([]iam.User, error)) *MockAccountUsersInterface_ListAll_Call
type MockAccountUsersInterface_List_Call ¶
MockAccountUsersInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAccountUsersInterface_List_Call) Return ¶
func (_c *MockAccountUsersInterface_List_Call) Return(_a0 listing.Iterator[iam.User]) *MockAccountUsersInterface_List_Call
func (*MockAccountUsersInterface_List_Call) Run ¶
func (_c *MockAccountUsersInterface_List_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_List_Call
func (*MockAccountUsersInterface_List_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListAccountUsersRequest) listing.Iterator[iam.User]) *MockAccountUsersInterface_List_Call
type MockAccountUsersInterface_Patch_Call ¶
MockAccountUsersInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockAccountUsersInterface_Patch_Call) Return ¶
func (_c *MockAccountUsersInterface_Patch_Call) Return(_a0 error) *MockAccountUsersInterface_Patch_Call
func (*MockAccountUsersInterface_Patch_Call) Run ¶
func (_c *MockAccountUsersInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockAccountUsersInterface_Patch_Call
func (*MockAccountUsersInterface_Patch_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockAccountUsersInterface_Patch_Call
type MockAccountUsersInterface_Update_Call ¶
MockAccountUsersInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAccountUsersInterface_Update_Call) Return ¶
func (_c *MockAccountUsersInterface_Update_Call) Return(_a0 error) *MockAccountUsersInterface_Update_Call
func (*MockAccountUsersInterface_Update_Call) Run ¶
func (_c *MockAccountUsersInterface_Update_Call) Run(run func(ctx context.Context, request iam.User)) *MockAccountUsersInterface_Update_Call
func (*MockAccountUsersInterface_Update_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_Update_Call) RunAndReturn(run func(context.Context, iam.User) error) *MockAccountUsersInterface_Update_Call
type MockAccountUsersInterface_UserUserNameToIdMap_Call ¶
MockAccountUsersInterface_UserUserNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserUserNameToIdMap'
func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) Return ¶
func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAccountUsersInterface_UserUserNameToIdMap_Call
func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) Run ¶
func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListAccountUsersRequest)) *MockAccountUsersInterface_UserUserNameToIdMap_Call
func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) RunAndReturn ¶
func (_c *MockAccountUsersInterface_UserUserNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListAccountUsersRequest) (map[string]string, error)) *MockAccountUsersInterface_UserUserNameToIdMap_Call
type MockCurrentUserInterface ¶
MockCurrentUserInterface is an autogenerated mock type for the CurrentUserInterface type
func NewMockCurrentUserInterface ¶
func NewMockCurrentUserInterface(t interface { mock.TestingT Cleanup(func()) }) *MockCurrentUserInterface
NewMockCurrentUserInterface creates a new instance of MockCurrentUserInterface. 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 (*MockCurrentUserInterface) EXPECT ¶
func (_m *MockCurrentUserInterface) EXPECT() *MockCurrentUserInterface_Expecter
type MockCurrentUserInterface_Expecter ¶
type MockCurrentUserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCurrentUserInterface_Expecter) Me ¶
func (_e *MockCurrentUserInterface_Expecter) Me(ctx interface{}) *MockCurrentUserInterface_Me_Call
Me is a helper method to define mock.On call
- ctx context.Context
type MockCurrentUserInterface_Me_Call ¶
MockCurrentUserInterface_Me_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Me'
func (*MockCurrentUserInterface_Me_Call) Return ¶
func (_c *MockCurrentUserInterface_Me_Call) Return(_a0 *iam.User, _a1 error) *MockCurrentUserInterface_Me_Call
func (*MockCurrentUserInterface_Me_Call) Run ¶
func (_c *MockCurrentUserInterface_Me_Call) Run(run func(ctx context.Context)) *MockCurrentUserInterface_Me_Call
func (*MockCurrentUserInterface_Me_Call) RunAndReturn ¶
func (_c *MockCurrentUserInterface_Me_Call) RunAndReturn(run func(context.Context) (*iam.User, error)) *MockCurrentUserInterface_Me_Call
type MockGroupsInterface ¶
MockGroupsInterface is an autogenerated mock type for the GroupsInterface type
func NewMockGroupsInterface ¶
func NewMockGroupsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockGroupsInterface
NewMockGroupsInterface creates a new instance of MockGroupsInterface. 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 (*MockGroupsInterface) Create ¶
Create provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) Delete ¶
func (_m *MockGroupsInterface) Delete(ctx context.Context, request iam.DeleteGroupRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) DeleteById ¶
func (_m *MockGroupsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockGroupsInterface) EXPECT ¶
func (_m *MockGroupsInterface) EXPECT() *MockGroupsInterface_Expecter
func (*MockGroupsInterface) Get ¶
func (_m *MockGroupsInterface) Get(ctx context.Context, request iam.GetGroupRequest) (*iam.Group, error)
Get provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) GetByDisplayName ¶
func (_m *MockGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)
GetByDisplayName provides a mock function with given fields: ctx, name
func (*MockGroupsInterface) GroupDisplayNameToIdMap ¶
func (_m *MockGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListGroupsRequest) (map[string]string, error)
GroupDisplayNameToIdMap provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) List ¶
func (_m *MockGroupsInterface) List(ctx context.Context, request iam.ListGroupsRequest) listing.Iterator[iam.Group]
List provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) ListAll ¶
func (_m *MockGroupsInterface) ListAll(ctx context.Context, request iam.ListGroupsRequest) ([]iam.Group, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockGroupsInterface) Patch ¶
func (_m *MockGroupsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
type MockGroupsInterface_Create_Call ¶
MockGroupsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockGroupsInterface_Create_Call) Return ¶
func (_c *MockGroupsInterface_Create_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_Create_Call
func (*MockGroupsInterface_Create_Call) Run ¶
func (_c *MockGroupsInterface_Create_Call) Run(run func(ctx context.Context, request iam.Group)) *MockGroupsInterface_Create_Call
func (*MockGroupsInterface_Create_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.Group) (*iam.Group, error)) *MockGroupsInterface_Create_Call
type MockGroupsInterface_DeleteById_Call ¶
MockGroupsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockGroupsInterface_DeleteById_Call) Return ¶
func (_c *MockGroupsInterface_DeleteById_Call) Return(_a0 error) *MockGroupsInterface_DeleteById_Call
func (*MockGroupsInterface_DeleteById_Call) Run ¶
func (_c *MockGroupsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockGroupsInterface_DeleteById_Call
func (*MockGroupsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockGroupsInterface_DeleteById_Call
type MockGroupsInterface_Delete_Call ¶
MockGroupsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockGroupsInterface_Delete_Call) Return ¶
func (_c *MockGroupsInterface_Delete_Call) Return(_a0 error) *MockGroupsInterface_Delete_Call
func (*MockGroupsInterface_Delete_Call) Run ¶
func (_c *MockGroupsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteGroupRequest)) *MockGroupsInterface_Delete_Call
func (*MockGroupsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteGroupRequest) error) *MockGroupsInterface_Delete_Call
type MockGroupsInterface_Expecter ¶
type MockGroupsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockGroupsInterface_Expecter) Create ¶
func (_e *MockGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockGroupsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.Group
func (*MockGroupsInterface_Expecter) Delete ¶
func (_e *MockGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockGroupsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteGroupRequest
func (*MockGroupsInterface_Expecter) DeleteById ¶
func (_e *MockGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockGroupsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockGroupsInterface_Expecter) Get ¶
func (_e *MockGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockGroupsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetGroupRequest
func (*MockGroupsInterface_Expecter) GetByDisplayName ¶
func (_e *MockGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockGroupsInterface_GetByDisplayName_Call
GetByDisplayName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockGroupsInterface_Expecter) GetById ¶
func (_e *MockGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockGroupsInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockGroupsInterface_Expecter) GroupDisplayNameToIdMap ¶
func (_e *MockGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
GroupDisplayNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListGroupsRequest
func (*MockGroupsInterface_Expecter) List ¶
func (_e *MockGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockGroupsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListGroupsRequest
func (*MockGroupsInterface_Expecter) ListAll ¶
func (_e *MockGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockGroupsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListGroupsRequest
func (*MockGroupsInterface_Expecter) Patch ¶
func (_e *MockGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockGroupsInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockGroupsInterface_Expecter) Update ¶
func (_e *MockGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockGroupsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.Group
type MockGroupsInterface_GetByDisplayName_Call ¶
MockGroupsInterface_GetByDisplayName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByDisplayName'
func (*MockGroupsInterface_GetByDisplayName_Call) Return ¶
func (_c *MockGroupsInterface_GetByDisplayName_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_GetByDisplayName_Call
func (*MockGroupsInterface_GetByDisplayName_Call) Run ¶
func (_c *MockGroupsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockGroupsInterface_GetByDisplayName_Call
func (*MockGroupsInterface_GetByDisplayName_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockGroupsInterface_GetByDisplayName_Call
type MockGroupsInterface_GetById_Call ¶
MockGroupsInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockGroupsInterface_GetById_Call) Return ¶
func (_c *MockGroupsInterface_GetById_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_GetById_Call
func (*MockGroupsInterface_GetById_Call) Run ¶
func (_c *MockGroupsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockGroupsInterface_GetById_Call
func (*MockGroupsInterface_GetById_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.Group, error)) *MockGroupsInterface_GetById_Call
type MockGroupsInterface_Get_Call ¶
MockGroupsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockGroupsInterface_Get_Call) Return ¶
func (_c *MockGroupsInterface_Get_Call) Return(_a0 *iam.Group, _a1 error) *MockGroupsInterface_Get_Call
func (*MockGroupsInterface_Get_Call) Run ¶
func (_c *MockGroupsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetGroupRequest)) *MockGroupsInterface_Get_Call
func (*MockGroupsInterface_Get_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetGroupRequest) (*iam.Group, error)) *MockGroupsInterface_Get_Call
type MockGroupsInterface_GroupDisplayNameToIdMap_Call ¶
MockGroupsInterface_GroupDisplayNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupDisplayNameToIdMap'
func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) Return ¶
func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) Run ¶
func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) (map[string]string, error)) *MockGroupsInterface_GroupDisplayNameToIdMap_Call
type MockGroupsInterface_ListAll_Call ¶
MockGroupsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockGroupsInterface_ListAll_Call) Return ¶
func (_c *MockGroupsInterface_ListAll_Call) Return(_a0 []iam.Group, _a1 error) *MockGroupsInterface_ListAll_Call
func (*MockGroupsInterface_ListAll_Call) Run ¶
func (_c *MockGroupsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_ListAll_Call
func (*MockGroupsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) ([]iam.Group, error)) *MockGroupsInterface_ListAll_Call
type MockGroupsInterface_List_Call ¶
MockGroupsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockGroupsInterface_List_Call) Return ¶
func (_c *MockGroupsInterface_List_Call) Return(_a0 listing.Iterator[iam.Group]) *MockGroupsInterface_List_Call
func (*MockGroupsInterface_List_Call) Run ¶
func (_c *MockGroupsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListGroupsRequest)) *MockGroupsInterface_List_Call
func (*MockGroupsInterface_List_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListGroupsRequest) listing.Iterator[iam.Group]) *MockGroupsInterface_List_Call
type MockGroupsInterface_Patch_Call ¶
MockGroupsInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockGroupsInterface_Patch_Call) Return ¶
func (_c *MockGroupsInterface_Patch_Call) Return(_a0 error) *MockGroupsInterface_Patch_Call
func (*MockGroupsInterface_Patch_Call) Run ¶
func (_c *MockGroupsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockGroupsInterface_Patch_Call
func (*MockGroupsInterface_Patch_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockGroupsInterface_Patch_Call
type MockGroupsInterface_Update_Call ¶
MockGroupsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockGroupsInterface_Update_Call) Return ¶
func (_c *MockGroupsInterface_Update_Call) Return(_a0 error) *MockGroupsInterface_Update_Call
func (*MockGroupsInterface_Update_Call) Run ¶
func (_c *MockGroupsInterface_Update_Call) Run(run func(ctx context.Context, request iam.Group)) *MockGroupsInterface_Update_Call
func (*MockGroupsInterface_Update_Call) RunAndReturn ¶
func (_c *MockGroupsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.Group) error) *MockGroupsInterface_Update_Call
type MockPermissionMigrationInterface ¶ added in v0.34.0
MockPermissionMigrationInterface is an autogenerated mock type for the PermissionMigrationInterface type
func NewMockPermissionMigrationInterface ¶ added in v0.34.0
func NewMockPermissionMigrationInterface(t interface { mock.TestingT Cleanup(func()) }) *MockPermissionMigrationInterface
NewMockPermissionMigrationInterface creates a new instance of MockPermissionMigrationInterface. 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 (*MockPermissionMigrationInterface) EXPECT ¶ added in v0.34.0
func (_m *MockPermissionMigrationInterface) EXPECT() *MockPermissionMigrationInterface_Expecter
func (*MockPermissionMigrationInterface) MigratePermissions ¶ added in v0.34.0
func (_m *MockPermissionMigrationInterface) MigratePermissions(ctx context.Context, request iam.MigratePermissionsRequest) (*iam.MigratePermissionsResponse, error)
MigratePermissions provides a mock function with given fields: ctx, request
type MockPermissionMigrationInterface_Expecter ¶ added in v0.34.0
type MockPermissionMigrationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPermissionMigrationInterface_Expecter) MigratePermissions ¶ added in v0.34.0
func (_e *MockPermissionMigrationInterface_Expecter) MigratePermissions(ctx interface{}, request interface{}) *MockPermissionMigrationInterface_MigratePermissions_Call
MigratePermissions is a helper method to define mock.On call
- ctx context.Context
- request iam.MigratePermissionsRequest
type MockPermissionMigrationInterface_MigratePermissions_Call ¶ added in v0.34.0
MockPermissionMigrationInterface_MigratePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MigratePermissions'
func (*MockPermissionMigrationInterface_MigratePermissions_Call) Run ¶ added in v0.34.0
func (_c *MockPermissionMigrationInterface_MigratePermissions_Call) Run(run func(ctx context.Context, request iam.MigratePermissionsRequest)) *MockPermissionMigrationInterface_MigratePermissions_Call
func (*MockPermissionMigrationInterface_MigratePermissions_Call) RunAndReturn ¶ added in v0.34.0
func (_c *MockPermissionMigrationInterface_MigratePermissions_Call) RunAndReturn(run func(context.Context, iam.MigratePermissionsRequest) (*iam.MigratePermissionsResponse, error)) *MockPermissionMigrationInterface_MigratePermissions_Call
type MockPermissionsInterface ¶
MockPermissionsInterface is an autogenerated mock type for the PermissionsInterface type
func NewMockPermissionsInterface ¶
func NewMockPermissionsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockPermissionsInterface
NewMockPermissionsInterface creates a new instance of MockPermissionsInterface. 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 (*MockPermissionsInterface) EXPECT ¶
func (_m *MockPermissionsInterface) EXPECT() *MockPermissionsInterface_Expecter
func (*MockPermissionsInterface) Get ¶
func (_m *MockPermissionsInterface) Get(ctx context.Context, request iam.GetPermissionRequest) (*iam.ObjectPermissions, error)
Get provides a mock function with given fields: ctx, request
func (*MockPermissionsInterface) GetByRequestObjectTypeAndRequestObjectId ¶
func (_m *MockPermissionsInterface) GetByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.ObjectPermissions, error)
GetByRequestObjectTypeAndRequestObjectId provides a mock function with given fields: ctx, requestObjectType, requestObjectId
func (*MockPermissionsInterface) GetPermissionLevels ¶
func (_m *MockPermissionsInterface) GetPermissionLevels(ctx context.Context, request iam.GetPermissionLevelsRequest) (*iam.GetPermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx, request
func (*MockPermissionsInterface) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId ¶
func (_m *MockPermissionsInterface) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.GetPermissionLevelsResponse, error)
GetPermissionLevelsByRequestObjectTypeAndRequestObjectId provides a mock function with given fields: ctx, requestObjectType, requestObjectId
func (*MockPermissionsInterface) Set ¶
func (_m *MockPermissionsInterface) Set(ctx context.Context, request iam.PermissionsRequest) (*iam.ObjectPermissions, error)
Set provides a mock function with given fields: ctx, request
func (*MockPermissionsInterface) Update ¶
func (_m *MockPermissionsInterface) Update(ctx context.Context, request iam.PermissionsRequest) (*iam.ObjectPermissions, error)
Update provides a mock function with given fields: ctx, request
type MockPermissionsInterface_Expecter ¶
type MockPermissionsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPermissionsInterface_Expecter) Get ¶
func (_e *MockPermissionsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPermissionsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetPermissionRequest
func (*MockPermissionsInterface_Expecter) GetByRequestObjectTypeAndRequestObjectId ¶
func (_e *MockPermissionsInterface_Expecter) GetByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
GetByRequestObjectTypeAndRequestObjectId is a helper method to define mock.On call
- ctx context.Context
- requestObjectType string
- requestObjectId string
func (*MockPermissionsInterface_Expecter) GetPermissionLevels ¶
func (_e *MockPermissionsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockPermissionsInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
- request iam.GetPermissionLevelsRequest
func (*MockPermissionsInterface_Expecter) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId ¶
func (_e *MockPermissionsInterface_Expecter) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call
GetPermissionLevelsByRequestObjectTypeAndRequestObjectId is a helper method to define mock.On call
- ctx context.Context
- requestObjectType string
- requestObjectId string
func (*MockPermissionsInterface_Expecter) Set ¶
func (_e *MockPermissionsInterface_Expecter) Set(ctx interface{}, request interface{}) *MockPermissionsInterface_Set_Call
Set is a helper method to define mock.On call
- ctx context.Context
- request iam.PermissionsRequest
func (*MockPermissionsInterface_Expecter) Update ¶
func (_e *MockPermissionsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPermissionsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.PermissionsRequest
type MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call ¶
MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByRequestObjectTypeAndRequestObjectId'
func (*MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Run ¶
func (_c *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Run(run func(ctx context.Context, requestObjectType string, requestObjectId string)) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
func (*MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) RunAndReturn ¶
func (_c *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) RunAndReturn(run func(context.Context, string, string) (*iam.ObjectPermissions, error)) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call
type MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call ¶
type MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call struct {
*mock.Call
}
MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByRequestObjectTypeAndRequestObjectId'
func (*MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Return ¶
func (*MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Run ¶
func (_c *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Run(run func(ctx context.Context, requestObjectType string, requestObjectId string)) *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call
func (*MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) RunAndReturn ¶
type MockPermissionsInterface_GetPermissionLevels_Call ¶
MockPermissionsInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockPermissionsInterface_GetPermissionLevels_Call) Return ¶
func (_c *MockPermissionsInterface_GetPermissionLevels_Call) Return(_a0 *iam.GetPermissionLevelsResponse, _a1 error) *MockPermissionsInterface_GetPermissionLevels_Call
func (*MockPermissionsInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockPermissionsInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request iam.GetPermissionLevelsRequest)) *MockPermissionsInterface_GetPermissionLevels_Call
func (*MockPermissionsInterface_GetPermissionLevels_Call) RunAndReturn ¶
func (_c *MockPermissionsInterface_GetPermissionLevels_Call) RunAndReturn(run func(context.Context, iam.GetPermissionLevelsRequest) (*iam.GetPermissionLevelsResponse, error)) *MockPermissionsInterface_GetPermissionLevels_Call
type MockPermissionsInterface_Get_Call ¶
MockPermissionsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockPermissionsInterface_Get_Call) Return ¶
func (_c *MockPermissionsInterface_Get_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Get_Call
func (*MockPermissionsInterface_Get_Call) Run ¶
func (_c *MockPermissionsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetPermissionRequest)) *MockPermissionsInterface_Get_Call
func (*MockPermissionsInterface_Get_Call) RunAndReturn ¶
func (_c *MockPermissionsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetPermissionRequest) (*iam.ObjectPermissions, error)) *MockPermissionsInterface_Get_Call
type MockPermissionsInterface_Set_Call ¶
MockPermissionsInterface_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*MockPermissionsInterface_Set_Call) Return ¶
func (_c *MockPermissionsInterface_Set_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Set_Call
func (*MockPermissionsInterface_Set_Call) Run ¶
func (_c *MockPermissionsInterface_Set_Call) Run(run func(ctx context.Context, request iam.PermissionsRequest)) *MockPermissionsInterface_Set_Call
func (*MockPermissionsInterface_Set_Call) RunAndReturn ¶
func (_c *MockPermissionsInterface_Set_Call) RunAndReturn(run func(context.Context, iam.PermissionsRequest) (*iam.ObjectPermissions, error)) *MockPermissionsInterface_Set_Call
type MockPermissionsInterface_Update_Call ¶
MockPermissionsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockPermissionsInterface_Update_Call) Return ¶
func (_c *MockPermissionsInterface_Update_Call) Return(_a0 *iam.ObjectPermissions, _a1 error) *MockPermissionsInterface_Update_Call
func (*MockPermissionsInterface_Update_Call) Run ¶
func (_c *MockPermissionsInterface_Update_Call) Run(run func(ctx context.Context, request iam.PermissionsRequest)) *MockPermissionsInterface_Update_Call
func (*MockPermissionsInterface_Update_Call) RunAndReturn ¶
func (_c *MockPermissionsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.PermissionsRequest) (*iam.ObjectPermissions, error)) *MockPermissionsInterface_Update_Call
type MockServicePrincipalsInterface ¶
MockServicePrincipalsInterface is an autogenerated mock type for the ServicePrincipalsInterface type
func NewMockServicePrincipalsInterface ¶
func NewMockServicePrincipalsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockServicePrincipalsInterface
NewMockServicePrincipalsInterface creates a new instance of MockServicePrincipalsInterface. 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 (*MockServicePrincipalsInterface) Create ¶
func (_m *MockServicePrincipalsInterface) Create(ctx context.Context, request iam.ServicePrincipal) (*iam.ServicePrincipal, error)
Create provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) Delete ¶
func (_m *MockServicePrincipalsInterface) Delete(ctx context.Context, request iam.DeleteServicePrincipalRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) DeleteById ¶
func (_m *MockServicePrincipalsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockServicePrincipalsInterface) EXPECT ¶
func (_m *MockServicePrincipalsInterface) EXPECT() *MockServicePrincipalsInterface_Expecter
func (*MockServicePrincipalsInterface) Get ¶
func (_m *MockServicePrincipalsInterface) Get(ctx context.Context, request iam.GetServicePrincipalRequest) (*iam.ServicePrincipal, error)
Get provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) GetByDisplayName ¶
func (_m *MockServicePrincipalsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.ServicePrincipal, error)
GetByDisplayName provides a mock function with given fields: ctx, name
func (*MockServicePrincipalsInterface) GetById ¶
func (_m *MockServicePrincipalsInterface) GetById(ctx context.Context, id string) (*iam.ServicePrincipal, error)
GetById provides a mock function with given fields: ctx, id
func (*MockServicePrincipalsInterface) List ¶
func (_m *MockServicePrincipalsInterface) List(ctx context.Context, request iam.ListServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]
List provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) ListAll ¶
func (_m *MockServicePrincipalsInterface) ListAll(ctx context.Context, request iam.ListServicePrincipalsRequest) ([]iam.ServicePrincipal, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) Patch ¶
func (_m *MockServicePrincipalsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap ¶
func (_m *MockServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListServicePrincipalsRequest) (map[string]string, error)
ServicePrincipalDisplayNameToIdMap provides a mock function with given fields: ctx, request
func (*MockServicePrincipalsInterface) Update ¶
func (_m *MockServicePrincipalsInterface) Update(ctx context.Context, request iam.ServicePrincipal) error
Update provides a mock function with given fields: ctx, request
type MockServicePrincipalsInterface_Create_Call ¶
MockServicePrincipalsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockServicePrincipalsInterface_Create_Call) Return ¶
func (_c *MockServicePrincipalsInterface_Create_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_Create_Call
func (*MockServicePrincipalsInterface_Create_Call) Run ¶
func (_c *MockServicePrincipalsInterface_Create_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockServicePrincipalsInterface_Create_Call
func (*MockServicePrincipalsInterface_Create_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_Create_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_Create_Call
type MockServicePrincipalsInterface_DeleteById_Call ¶
MockServicePrincipalsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockServicePrincipalsInterface_DeleteById_Call) Return ¶
func (_c *MockServicePrincipalsInterface_DeleteById_Call) Return(_a0 error) *MockServicePrincipalsInterface_DeleteById_Call
func (*MockServicePrincipalsInterface_DeleteById_Call) Run ¶
func (_c *MockServicePrincipalsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockServicePrincipalsInterface_DeleteById_Call
func (*MockServicePrincipalsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockServicePrincipalsInterface_DeleteById_Call
type MockServicePrincipalsInterface_Delete_Call ¶
MockServicePrincipalsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockServicePrincipalsInterface_Delete_Call) Return ¶
func (_c *MockServicePrincipalsInterface_Delete_Call) Return(_a0 error) *MockServicePrincipalsInterface_Delete_Call
func (*MockServicePrincipalsInterface_Delete_Call) Run ¶
func (_c *MockServicePrincipalsInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteServicePrincipalRequest)) *MockServicePrincipalsInterface_Delete_Call
func (*MockServicePrincipalsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteServicePrincipalRequest) error) *MockServicePrincipalsInterface_Delete_Call
type MockServicePrincipalsInterface_Expecter ¶
type MockServicePrincipalsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServicePrincipalsInterface_Expecter) Create ¶
func (_e *MockServicePrincipalsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.ServicePrincipal
func (*MockServicePrincipalsInterface_Expecter) Delete ¶
func (_e *MockServicePrincipalsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteServicePrincipalRequest
func (*MockServicePrincipalsInterface_Expecter) DeleteById ¶
func (_e *MockServicePrincipalsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockServicePrincipalsInterface_Expecter) Get ¶
func (_e *MockServicePrincipalsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetServicePrincipalRequest
func (*MockServicePrincipalsInterface_Expecter) GetByDisplayName ¶
func (_e *MockServicePrincipalsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockServicePrincipalsInterface_GetByDisplayName_Call
GetByDisplayName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockServicePrincipalsInterface_Expecter) GetById ¶
func (_e *MockServicePrincipalsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockServicePrincipalsInterface_Expecter) List ¶
func (_e *MockServicePrincipalsInterface_Expecter) List(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListServicePrincipalsRequest
func (*MockServicePrincipalsInterface_Expecter) ListAll ¶
func (_e *MockServicePrincipalsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListServicePrincipalsRequest
func (*MockServicePrincipalsInterface_Expecter) Patch ¶
func (_e *MockServicePrincipalsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap ¶
func (_e *MockServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
ServicePrincipalDisplayNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListServicePrincipalsRequest
func (*MockServicePrincipalsInterface_Expecter) Update ¶
func (_e *MockServicePrincipalsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.ServicePrincipal
type MockServicePrincipalsInterface_GetByDisplayName_Call ¶
MockServicePrincipalsInterface_GetByDisplayName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByDisplayName'
func (*MockServicePrincipalsInterface_GetByDisplayName_Call) Return ¶
func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_GetByDisplayName_Call
func (*MockServicePrincipalsInterface_GetByDisplayName_Call) Run ¶
func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) Run(run func(ctx context.Context, name string)) *MockServicePrincipalsInterface_GetByDisplayName_Call
func (*MockServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_GetByDisplayName_Call
type MockServicePrincipalsInterface_GetById_Call ¶
MockServicePrincipalsInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockServicePrincipalsInterface_GetById_Call) Return ¶
func (_c *MockServicePrincipalsInterface_GetById_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_GetById_Call
func (*MockServicePrincipalsInterface_GetById_Call) Run ¶
func (_c *MockServicePrincipalsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockServicePrincipalsInterface_GetById_Call
func (*MockServicePrincipalsInterface_GetById_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_GetById_Call
type MockServicePrincipalsInterface_Get_Call ¶
MockServicePrincipalsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockServicePrincipalsInterface_Get_Call) Return ¶
func (_c *MockServicePrincipalsInterface_Get_Call) Return(_a0 *iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_Get_Call
func (*MockServicePrincipalsInterface_Get_Call) Run ¶
func (_c *MockServicePrincipalsInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetServicePrincipalRequest)) *MockServicePrincipalsInterface_Get_Call
func (*MockServicePrincipalsInterface_Get_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetServicePrincipalRequest) (*iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_Get_Call
type MockServicePrincipalsInterface_ListAll_Call ¶
MockServicePrincipalsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockServicePrincipalsInterface_ListAll_Call) Return ¶
func (_c *MockServicePrincipalsInterface_ListAll_Call) Return(_a0 []iam.ServicePrincipal, _a1 error) *MockServicePrincipalsInterface_ListAll_Call
func (*MockServicePrincipalsInterface_ListAll_Call) Run ¶
func (_c *MockServicePrincipalsInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListServicePrincipalsRequest)) *MockServicePrincipalsInterface_ListAll_Call
func (*MockServicePrincipalsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListServicePrincipalsRequest) ([]iam.ServicePrincipal, error)) *MockServicePrincipalsInterface_ListAll_Call
type MockServicePrincipalsInterface_List_Call ¶
MockServicePrincipalsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockServicePrincipalsInterface_List_Call) Return ¶
func (_c *MockServicePrincipalsInterface_List_Call) Return(_a0 listing.Iterator[iam.ServicePrincipal]) *MockServicePrincipalsInterface_List_Call
func (*MockServicePrincipalsInterface_List_Call) Run ¶
func (_c *MockServicePrincipalsInterface_List_Call) Run(run func(ctx context.Context, request iam.ListServicePrincipalsRequest)) *MockServicePrincipalsInterface_List_Call
func (*MockServicePrincipalsInterface_List_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListServicePrincipalsRequest) listing.Iterator[iam.ServicePrincipal]) *MockServicePrincipalsInterface_List_Call
type MockServicePrincipalsInterface_Patch_Call ¶
MockServicePrincipalsInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockServicePrincipalsInterface_Patch_Call) Return ¶
func (_c *MockServicePrincipalsInterface_Patch_Call) Return(_a0 error) *MockServicePrincipalsInterface_Patch_Call
func (*MockServicePrincipalsInterface_Patch_Call) Run ¶
func (_c *MockServicePrincipalsInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockServicePrincipalsInterface_Patch_Call
func (*MockServicePrincipalsInterface_Patch_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockServicePrincipalsInterface_Patch_Call
type MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call ¶
MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePrincipalDisplayNameToIdMap'
func (*MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListServicePrincipalsRequest) (map[string]string, error)) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call
type MockServicePrincipalsInterface_Update_Call ¶
MockServicePrincipalsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockServicePrincipalsInterface_Update_Call) Return ¶
func (_c *MockServicePrincipalsInterface_Update_Call) Return(_a0 error) *MockServicePrincipalsInterface_Update_Call
func (*MockServicePrincipalsInterface_Update_Call) Run ¶
func (_c *MockServicePrincipalsInterface_Update_Call) Run(run func(ctx context.Context, request iam.ServicePrincipal)) *MockServicePrincipalsInterface_Update_Call
func (*MockServicePrincipalsInterface_Update_Call) RunAndReturn ¶
func (_c *MockServicePrincipalsInterface_Update_Call) RunAndReturn(run func(context.Context, iam.ServicePrincipal) error) *MockServicePrincipalsInterface_Update_Call
type MockUsersInterface ¶
MockUsersInterface is an autogenerated mock type for the UsersInterface type
func NewMockUsersInterface ¶
func NewMockUsersInterface(t interface { mock.TestingT Cleanup(func()) }) *MockUsersInterface
NewMockUsersInterface creates a new instance of MockUsersInterface. 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 (*MockUsersInterface) Delete ¶
func (_m *MockUsersInterface) Delete(ctx context.Context, request iam.DeleteUserRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockUsersInterface) DeleteById ¶
func (_m *MockUsersInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockUsersInterface) EXPECT ¶
func (_m *MockUsersInterface) EXPECT() *MockUsersInterface_Expecter
func (*MockUsersInterface) Get ¶
func (_m *MockUsersInterface) Get(ctx context.Context, request iam.GetUserRequest) (*iam.User, error)
Get provides a mock function with given fields: ctx, request
func (*MockUsersInterface) GetByUserName ¶
GetByUserName provides a mock function with given fields: ctx, name
func (*MockUsersInterface) GetPermissionLevels ¶
func (_m *MockUsersInterface) GetPermissionLevels(ctx context.Context) (*iam.GetPasswordPermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx
func (*MockUsersInterface) GetPermissions ¶
func (_m *MockUsersInterface) GetPermissions(ctx context.Context) (*iam.PasswordPermissions, error)
GetPermissions provides a mock function with given fields: ctx
func (*MockUsersInterface) List ¶
func (_m *MockUsersInterface) List(ctx context.Context, request iam.ListUsersRequest) listing.Iterator[iam.User]
List provides a mock function with given fields: ctx, request
func (*MockUsersInterface) ListAll ¶
func (_m *MockUsersInterface) ListAll(ctx context.Context, request iam.ListUsersRequest) ([]iam.User, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockUsersInterface) Patch ¶
func (_m *MockUsersInterface) Patch(ctx context.Context, request iam.PartialUpdate) error
Patch provides a mock function with given fields: ctx, request
func (*MockUsersInterface) SetPermissions ¶
func (_m *MockUsersInterface) SetPermissions(ctx context.Context, request iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)
SetPermissions provides a mock function with given fields: ctx, request
func (*MockUsersInterface) UpdatePermissions ¶
func (_m *MockUsersInterface) UpdatePermissions(ctx context.Context, request iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)
UpdatePermissions provides a mock function with given fields: ctx, request
func (*MockUsersInterface) UserUserNameToIdMap ¶
func (_m *MockUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListUsersRequest) (map[string]string, error)
UserUserNameToIdMap provides a mock function with given fields: ctx, request
type MockUsersInterface_Create_Call ¶
MockUsersInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockUsersInterface_Create_Call) Return ¶
func (_c *MockUsersInterface_Create_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_Create_Call
func (*MockUsersInterface_Create_Call) Run ¶
func (_c *MockUsersInterface_Create_Call) Run(run func(ctx context.Context, request iam.User)) *MockUsersInterface_Create_Call
func (*MockUsersInterface_Create_Call) RunAndReturn ¶
func (_c *MockUsersInterface_Create_Call) RunAndReturn(run func(context.Context, iam.User) (*iam.User, error)) *MockUsersInterface_Create_Call
type MockUsersInterface_DeleteById_Call ¶
MockUsersInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockUsersInterface_DeleteById_Call) Return ¶
func (_c *MockUsersInterface_DeleteById_Call) Return(_a0 error) *MockUsersInterface_DeleteById_Call
func (*MockUsersInterface_DeleteById_Call) Run ¶
func (_c *MockUsersInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockUsersInterface_DeleteById_Call
func (*MockUsersInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockUsersInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockUsersInterface_DeleteById_Call
type MockUsersInterface_Delete_Call ¶
MockUsersInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockUsersInterface_Delete_Call) Return ¶
func (_c *MockUsersInterface_Delete_Call) Return(_a0 error) *MockUsersInterface_Delete_Call
func (*MockUsersInterface_Delete_Call) Run ¶
func (_c *MockUsersInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteUserRequest)) *MockUsersInterface_Delete_Call
func (*MockUsersInterface_Delete_Call) RunAndReturn ¶
func (_c *MockUsersInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteUserRequest) error) *MockUsersInterface_Delete_Call
type MockUsersInterface_Expecter ¶
type MockUsersInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUsersInterface_Expecter) Create ¶
func (_e *MockUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockUsersInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request iam.User
func (*MockUsersInterface_Expecter) Delete ¶
func (_e *MockUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockUsersInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteUserRequest
func (*MockUsersInterface_Expecter) DeleteById ¶
func (_e *MockUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockUsersInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockUsersInterface_Expecter) Get ¶
func (_e *MockUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockUsersInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetUserRequest
func (*MockUsersInterface_Expecter) GetById ¶
func (_e *MockUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockUsersInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockUsersInterface_Expecter) GetByUserName ¶
func (_e *MockUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockUsersInterface_GetByUserName_Call
GetByUserName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockUsersInterface_Expecter) GetPermissionLevels ¶
func (_e *MockUsersInterface_Expecter) GetPermissionLevels(ctx interface{}) *MockUsersInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
func (*MockUsersInterface_Expecter) GetPermissions ¶
func (_e *MockUsersInterface_Expecter) GetPermissions(ctx interface{}) *MockUsersInterface_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- ctx context.Context
func (*MockUsersInterface_Expecter) List ¶
func (_e *MockUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockUsersInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListUsersRequest
func (*MockUsersInterface_Expecter) ListAll ¶
func (_e *MockUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockUsersInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListUsersRequest
func (*MockUsersInterface_Expecter) Patch ¶
func (_e *MockUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockUsersInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- request iam.PartialUpdate
func (*MockUsersInterface_Expecter) SetPermissions ¶
func (_e *MockUsersInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockUsersInterface_SetPermissions_Call
SetPermissions is a helper method to define mock.On call
- ctx context.Context
- request iam.PasswordPermissionsRequest
func (*MockUsersInterface_Expecter) Update ¶
func (_e *MockUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockUsersInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.User
func (*MockUsersInterface_Expecter) UpdatePermissions ¶
func (_e *MockUsersInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockUsersInterface_UpdatePermissions_Call
UpdatePermissions is a helper method to define mock.On call
- ctx context.Context
- request iam.PasswordPermissionsRequest
func (*MockUsersInterface_Expecter) UserUserNameToIdMap ¶
func (_e *MockUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockUsersInterface_UserUserNameToIdMap_Call
UserUserNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request iam.ListUsersRequest
type MockUsersInterface_GetById_Call ¶
MockUsersInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockUsersInterface_GetById_Call) Return ¶
func (_c *MockUsersInterface_GetById_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_GetById_Call
func (*MockUsersInterface_GetById_Call) Run ¶
func (_c *MockUsersInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockUsersInterface_GetById_Call
func (*MockUsersInterface_GetById_Call) RunAndReturn ¶
func (_c *MockUsersInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockUsersInterface_GetById_Call
type MockUsersInterface_GetByUserName_Call ¶
MockUsersInterface_GetByUserName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByUserName'
func (*MockUsersInterface_GetByUserName_Call) Return ¶
func (_c *MockUsersInterface_GetByUserName_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_GetByUserName_Call
func (*MockUsersInterface_GetByUserName_Call) Run ¶
func (_c *MockUsersInterface_GetByUserName_Call) Run(run func(ctx context.Context, name string)) *MockUsersInterface_GetByUserName_Call
func (*MockUsersInterface_GetByUserName_Call) RunAndReturn ¶
func (_c *MockUsersInterface_GetByUserName_Call) RunAndReturn(run func(context.Context, string) (*iam.User, error)) *MockUsersInterface_GetByUserName_Call
type MockUsersInterface_GetPermissionLevels_Call ¶
MockUsersInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockUsersInterface_GetPermissionLevels_Call) Return ¶
func (_c *MockUsersInterface_GetPermissionLevels_Call) Return(_a0 *iam.GetPasswordPermissionLevelsResponse, _a1 error) *MockUsersInterface_GetPermissionLevels_Call
func (*MockUsersInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockUsersInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context)) *MockUsersInterface_GetPermissionLevels_Call
func (*MockUsersInterface_GetPermissionLevels_Call) RunAndReturn ¶
func (_c *MockUsersInterface_GetPermissionLevels_Call) RunAndReturn(run func(context.Context) (*iam.GetPasswordPermissionLevelsResponse, error)) *MockUsersInterface_GetPermissionLevels_Call
type MockUsersInterface_GetPermissions_Call ¶
MockUsersInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*MockUsersInterface_GetPermissions_Call) Return ¶
func (_c *MockUsersInterface_GetPermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_GetPermissions_Call
func (*MockUsersInterface_GetPermissions_Call) Run ¶
func (_c *MockUsersInterface_GetPermissions_Call) Run(run func(ctx context.Context)) *MockUsersInterface_GetPermissions_Call
func (*MockUsersInterface_GetPermissions_Call) RunAndReturn ¶
func (_c *MockUsersInterface_GetPermissions_Call) RunAndReturn(run func(context.Context) (*iam.PasswordPermissions, error)) *MockUsersInterface_GetPermissions_Call
type MockUsersInterface_Get_Call ¶
MockUsersInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockUsersInterface_Get_Call) Return ¶
func (_c *MockUsersInterface_Get_Call) Return(_a0 *iam.User, _a1 error) *MockUsersInterface_Get_Call
func (*MockUsersInterface_Get_Call) Run ¶
func (_c *MockUsersInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetUserRequest)) *MockUsersInterface_Get_Call
func (*MockUsersInterface_Get_Call) RunAndReturn ¶
func (_c *MockUsersInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetUserRequest) (*iam.User, error)) *MockUsersInterface_Get_Call
type MockUsersInterface_ListAll_Call ¶
MockUsersInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockUsersInterface_ListAll_Call) Return ¶
func (_c *MockUsersInterface_ListAll_Call) Return(_a0 []iam.User, _a1 error) *MockUsersInterface_ListAll_Call
func (*MockUsersInterface_ListAll_Call) Run ¶
func (_c *MockUsersInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_ListAll_Call
func (*MockUsersInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockUsersInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) ([]iam.User, error)) *MockUsersInterface_ListAll_Call
type MockUsersInterface_List_Call ¶
MockUsersInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockUsersInterface_List_Call) Return ¶
func (_c *MockUsersInterface_List_Call) Return(_a0 listing.Iterator[iam.User]) *MockUsersInterface_List_Call
func (*MockUsersInterface_List_Call) Run ¶
func (_c *MockUsersInterface_List_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_List_Call
func (*MockUsersInterface_List_Call) RunAndReturn ¶
func (_c *MockUsersInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) listing.Iterator[iam.User]) *MockUsersInterface_List_Call
type MockUsersInterface_Patch_Call ¶
MockUsersInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockUsersInterface_Patch_Call) Return ¶
func (_c *MockUsersInterface_Patch_Call) Return(_a0 error) *MockUsersInterface_Patch_Call
func (*MockUsersInterface_Patch_Call) Run ¶
func (_c *MockUsersInterface_Patch_Call) Run(run func(ctx context.Context, request iam.PartialUpdate)) *MockUsersInterface_Patch_Call
func (*MockUsersInterface_Patch_Call) RunAndReturn ¶
func (_c *MockUsersInterface_Patch_Call) RunAndReturn(run func(context.Context, iam.PartialUpdate) error) *MockUsersInterface_Patch_Call
type MockUsersInterface_SetPermissions_Call ¶
MockUsersInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'
func (*MockUsersInterface_SetPermissions_Call) Return ¶
func (_c *MockUsersInterface_SetPermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_SetPermissions_Call
func (*MockUsersInterface_SetPermissions_Call) Run ¶
func (_c *MockUsersInterface_SetPermissions_Call) Run(run func(ctx context.Context, request iam.PasswordPermissionsRequest)) *MockUsersInterface_SetPermissions_Call
func (*MockUsersInterface_SetPermissions_Call) RunAndReturn ¶
func (_c *MockUsersInterface_SetPermissions_Call) RunAndReturn(run func(context.Context, iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)) *MockUsersInterface_SetPermissions_Call
type MockUsersInterface_UpdatePermissions_Call ¶
MockUsersInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'
func (*MockUsersInterface_UpdatePermissions_Call) Return ¶
func (_c *MockUsersInterface_UpdatePermissions_Call) Return(_a0 *iam.PasswordPermissions, _a1 error) *MockUsersInterface_UpdatePermissions_Call
func (*MockUsersInterface_UpdatePermissions_Call) Run ¶
func (_c *MockUsersInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request iam.PasswordPermissionsRequest)) *MockUsersInterface_UpdatePermissions_Call
func (*MockUsersInterface_UpdatePermissions_Call) RunAndReturn ¶
func (_c *MockUsersInterface_UpdatePermissions_Call) RunAndReturn(run func(context.Context, iam.PasswordPermissionsRequest) (*iam.PasswordPermissions, error)) *MockUsersInterface_UpdatePermissions_Call
type MockUsersInterface_Update_Call ¶
MockUsersInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockUsersInterface_Update_Call) Return ¶
func (_c *MockUsersInterface_Update_Call) Return(_a0 error) *MockUsersInterface_Update_Call
func (*MockUsersInterface_Update_Call) Run ¶
func (_c *MockUsersInterface_Update_Call) Run(run func(ctx context.Context, request iam.User)) *MockUsersInterface_Update_Call
func (*MockUsersInterface_Update_Call) RunAndReturn ¶
func (_c *MockUsersInterface_Update_Call) RunAndReturn(run func(context.Context, iam.User) error) *MockUsersInterface_Update_Call
type MockUsersInterface_UserUserNameToIdMap_Call ¶
MockUsersInterface_UserUserNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserUserNameToIdMap'
func (*MockUsersInterface_UserUserNameToIdMap_Call) Return ¶
func (_c *MockUsersInterface_UserUserNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockUsersInterface_UserUserNameToIdMap_Call
func (*MockUsersInterface_UserUserNameToIdMap_Call) Run ¶
func (_c *MockUsersInterface_UserUserNameToIdMap_Call) Run(run func(ctx context.Context, request iam.ListUsersRequest)) *MockUsersInterface_UserUserNameToIdMap_Call
func (*MockUsersInterface_UserUserNameToIdMap_Call) RunAndReturn ¶
func (_c *MockUsersInterface_UserUserNameToIdMap_Call) RunAndReturn(run func(context.Context, iam.ListUsersRequest) (map[string]string, error)) *MockUsersInterface_UserUserNameToIdMap_Call
type MockWorkspaceAssignmentInterface ¶
MockWorkspaceAssignmentInterface is an autogenerated mock type for the WorkspaceAssignmentInterface type
func NewMockWorkspaceAssignmentInterface ¶
func NewMockWorkspaceAssignmentInterface(t interface { mock.TestingT Cleanup(func()) }) *MockWorkspaceAssignmentInterface
NewMockWorkspaceAssignmentInterface creates a new instance of MockWorkspaceAssignmentInterface. 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 (*MockWorkspaceAssignmentInterface) Delete ¶
func (_m *MockWorkspaceAssignmentInterface) Delete(ctx context.Context, request iam.DeleteWorkspaceAssignmentRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockWorkspaceAssignmentInterface) DeleteByWorkspaceIdAndPrincipalId ¶
func (_m *MockWorkspaceAssignmentInterface) DeleteByWorkspaceIdAndPrincipalId(ctx context.Context, workspaceId int64, principalId int64) error
DeleteByWorkspaceIdAndPrincipalId provides a mock function with given fields: ctx, workspaceId, principalId
func (*MockWorkspaceAssignmentInterface) EXPECT ¶
func (_m *MockWorkspaceAssignmentInterface) EXPECT() *MockWorkspaceAssignmentInterface_Expecter
func (*MockWorkspaceAssignmentInterface) Get ¶
func (_m *MockWorkspaceAssignmentInterface) Get(ctx context.Context, request iam.GetWorkspaceAssignmentRequest) (*iam.WorkspacePermissions, error)
Get provides a mock function with given fields: ctx, request
func (*MockWorkspaceAssignmentInterface) GetByWorkspaceId ¶
func (_m *MockWorkspaceAssignmentInterface) GetByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.WorkspacePermissions, error)
GetByWorkspaceId provides a mock function with given fields: ctx, workspaceId
func (*MockWorkspaceAssignmentInterface) List ¶
func (_m *MockWorkspaceAssignmentInterface) List(ctx context.Context, request iam.ListWorkspaceAssignmentRequest) listing.Iterator[iam.PermissionAssignment]
List provides a mock function with given fields: ctx, request
func (*MockWorkspaceAssignmentInterface) ListAll ¶
func (_m *MockWorkspaceAssignmentInterface) ListAll(ctx context.Context, request iam.ListWorkspaceAssignmentRequest) ([]iam.PermissionAssignment, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockWorkspaceAssignmentInterface) ListByWorkspaceId ¶
func (_m *MockWorkspaceAssignmentInterface) ListByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.PermissionAssignments, error)
ListByWorkspaceId provides a mock function with given fields: ctx, workspaceId
func (*MockWorkspaceAssignmentInterface) Update ¶
func (_m *MockWorkspaceAssignmentInterface) Update(ctx context.Context, request iam.UpdateWorkspaceAssignments) (*iam.PermissionAssignment, error)
Update provides a mock function with given fields: ctx, request
type MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call ¶
MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByWorkspaceIdAndPrincipalId'
func (*MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Run(run func(ctx context.Context, workspaceId int64, principalId int64)) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
func (*MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) RunAndReturn(run func(context.Context, int64, int64) error) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
type MockWorkspaceAssignmentInterface_Delete_Call ¶
MockWorkspaceAssignmentInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockWorkspaceAssignmentInterface_Delete_Call) Return ¶
func (_c *MockWorkspaceAssignmentInterface_Delete_Call) Return(_a0 error) *MockWorkspaceAssignmentInterface_Delete_Call
func (*MockWorkspaceAssignmentInterface_Delete_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_Delete_Call) Run(run func(ctx context.Context, request iam.DeleteWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_Delete_Call
func (*MockWorkspaceAssignmentInterface_Delete_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_Delete_Call) RunAndReturn(run func(context.Context, iam.DeleteWorkspaceAssignmentRequest) error) *MockWorkspaceAssignmentInterface_Delete_Call
type MockWorkspaceAssignmentInterface_Expecter ¶
type MockWorkspaceAssignmentInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWorkspaceAssignmentInterface_Expecter) Delete ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request iam.DeleteWorkspaceAssignmentRequest
func (*MockWorkspaceAssignmentInterface_Expecter) DeleteByWorkspaceIdAndPrincipalId ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) DeleteByWorkspaceIdAndPrincipalId(ctx interface{}, workspaceId interface{}, principalId interface{}) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call
DeleteByWorkspaceIdAndPrincipalId is a helper method to define mock.On call
- ctx context.Context
- workspaceId int64
- principalId int64
func (*MockWorkspaceAssignmentInterface_Expecter) Get ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request iam.GetWorkspaceAssignmentRequest
func (*MockWorkspaceAssignmentInterface_Expecter) GetByWorkspaceId ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) GetByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
GetByWorkspaceId is a helper method to define mock.On call
- ctx context.Context
- workspaceId int64
func (*MockWorkspaceAssignmentInterface_Expecter) List ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) List(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request iam.ListWorkspaceAssignmentRequest
func (*MockWorkspaceAssignmentInterface_Expecter) ListAll ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request iam.ListWorkspaceAssignmentRequest
func (*MockWorkspaceAssignmentInterface_Expecter) ListByWorkspaceId ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) ListByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
ListByWorkspaceId is a helper method to define mock.On call
- ctx context.Context
- workspaceId int64
func (*MockWorkspaceAssignmentInterface_Expecter) Update ¶
func (_e *MockWorkspaceAssignmentInterface_Expecter) Update(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request iam.UpdateWorkspaceAssignments
type MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call ¶
MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByWorkspaceId'
func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Return ¶
func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Return(_a0 *iam.WorkspacePermissions, _a1 error) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*iam.WorkspacePermissions, error)) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call
type MockWorkspaceAssignmentInterface_Get_Call ¶
MockWorkspaceAssignmentInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockWorkspaceAssignmentInterface_Get_Call) Return ¶
func (_c *MockWorkspaceAssignmentInterface_Get_Call) Return(_a0 *iam.WorkspacePermissions, _a1 error) *MockWorkspaceAssignmentInterface_Get_Call
func (*MockWorkspaceAssignmentInterface_Get_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_Get_Call) Run(run func(ctx context.Context, request iam.GetWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_Get_Call
func (*MockWorkspaceAssignmentInterface_Get_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_Get_Call) RunAndReturn(run func(context.Context, iam.GetWorkspaceAssignmentRequest) (*iam.WorkspacePermissions, error)) *MockWorkspaceAssignmentInterface_Get_Call
type MockWorkspaceAssignmentInterface_ListAll_Call ¶
MockWorkspaceAssignmentInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockWorkspaceAssignmentInterface_ListAll_Call) Return ¶
func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) Return(_a0 []iam.PermissionAssignment, _a1 error) *MockWorkspaceAssignmentInterface_ListAll_Call
func (*MockWorkspaceAssignmentInterface_ListAll_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) Run(run func(ctx context.Context, request iam.ListWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_ListAll_Call
func (*MockWorkspaceAssignmentInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_ListAll_Call) RunAndReturn(run func(context.Context, iam.ListWorkspaceAssignmentRequest) ([]iam.PermissionAssignment, error)) *MockWorkspaceAssignmentInterface_ListAll_Call
type MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call ¶
MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListByWorkspaceId'
func (*MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
func (*MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*iam.PermissionAssignments, error)) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call
type MockWorkspaceAssignmentInterface_List_Call ¶
MockWorkspaceAssignmentInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockWorkspaceAssignmentInterface_List_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_List_Call) Run(run func(ctx context.Context, request iam.ListWorkspaceAssignmentRequest)) *MockWorkspaceAssignmentInterface_List_Call
func (*MockWorkspaceAssignmentInterface_List_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_List_Call) RunAndReturn(run func(context.Context, iam.ListWorkspaceAssignmentRequest) listing.Iterator[iam.PermissionAssignment]) *MockWorkspaceAssignmentInterface_List_Call
type MockWorkspaceAssignmentInterface_Update_Call ¶
MockWorkspaceAssignmentInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockWorkspaceAssignmentInterface_Update_Call) Return ¶
func (_c *MockWorkspaceAssignmentInterface_Update_Call) Return(_a0 *iam.PermissionAssignment, _a1 error) *MockWorkspaceAssignmentInterface_Update_Call
func (*MockWorkspaceAssignmentInterface_Update_Call) Run ¶
func (_c *MockWorkspaceAssignmentInterface_Update_Call) Run(run func(ctx context.Context, request iam.UpdateWorkspaceAssignments)) *MockWorkspaceAssignmentInterface_Update_Call
func (*MockWorkspaceAssignmentInterface_Update_Call) RunAndReturn ¶
func (_c *MockWorkspaceAssignmentInterface_Update_Call) RunAndReturn(run func(context.Context, iam.UpdateWorkspaceAssignments) (*iam.PermissionAssignment, error)) *MockWorkspaceAssignmentInterface_Update_Call
Source Files ¶
- mock_account_access_control_interface.go
- mock_account_access_control_proxy_interface.go
- mock_account_groups_interface.go
- mock_account_service_principals_interface.go
- mock_account_users_interface.go
- mock_current_user_interface.go
- mock_groups_interface.go
- mock_permission_migration_interface.go
- mock_permissions_interface.go
- mock_service_principals_interface.go
- mock_users_interface.go
- mock_workspace_assignment_interface.go