Documentation
¶
Index ¶
- type Backend
- func (_m *Backend) AddMembersToGroup(ctx context.Context, groupID string, memberID []string) error
- func (_m *Backend) CreateGroup(ctx context.Context, group libregraph.Group) (*libregraph.Group, error)
- func (_m *Backend) CreateUser(ctx context.Context, user libregraph.User) (*libregraph.User, error)
- func (_m *Backend) DeleteGroup(ctx context.Context, id string) error
- func (_m *Backend) DeleteUser(ctx context.Context, nameOrID string) error
- func (_m *Backend) EXPECT() *Backend_Expecter
- func (_m *Backend) FilterUsers(ctx context.Context, oreq *godata.GoDataRequest, filter *godata.ParseNode) ([]*libregraph.User, error)
- func (_m *Backend) GetGroup(ctx context.Context, nameOrID string, queryParam url.Values) (*libregraph.Group, error)
- func (_m *Backend) GetGroupMembers(ctx context.Context, id string, oreq *godata.GoDataRequest) ([]*libregraph.User, error)
- func (_m *Backend) GetGroups(ctx context.Context, oreq *godata.GoDataRequest) ([]*libregraph.Group, error)
- func (_m *Backend) GetUser(ctx context.Context, nameOrID string, oreq *godata.GoDataRequest) (*libregraph.User, error)
- func (_m *Backend) GetUsers(ctx context.Context, oreq *godata.GoDataRequest) ([]*libregraph.User, error)
- func (_m *Backend) RemoveMemberFromGroup(ctx context.Context, groupID string, memberID string) error
- func (_m *Backend) UpdateGroupName(ctx context.Context, groupID string, groupName string) error
- func (_m *Backend) UpdateLastSignInDate(ctx context.Context, userID string, timestamp time.Time) error
- func (_m *Backend) UpdateUser(ctx context.Context, nameOrID string, user libregraph.UserUpdate) (*libregraph.User, error)
- type Backend_AddMembersToGroup_Call
- func (_c *Backend_AddMembersToGroup_Call) Return(_a0 error) *Backend_AddMembersToGroup_Call
- func (_c *Backend_AddMembersToGroup_Call) Run(run func(ctx context.Context, groupID string, memberID []string)) *Backend_AddMembersToGroup_Call
- func (_c *Backend_AddMembersToGroup_Call) RunAndReturn(run func(context.Context, string, []string) error) *Backend_AddMembersToGroup_Call
- type Backend_CreateGroup_Call
- func (_c *Backend_CreateGroup_Call) Return(_a0 *libregraph.Group, _a1 error) *Backend_CreateGroup_Call
- func (_c *Backend_CreateGroup_Call) Run(run func(ctx context.Context, group libregraph.Group)) *Backend_CreateGroup_Call
- func (_c *Backend_CreateGroup_Call) RunAndReturn(run func(context.Context, libregraph.Group) (*libregraph.Group, error)) *Backend_CreateGroup_Call
- type Backend_CreateUser_Call
- func (_c *Backend_CreateUser_Call) Return(_a0 *libregraph.User, _a1 error) *Backend_CreateUser_Call
- func (_c *Backend_CreateUser_Call) Run(run func(ctx context.Context, user libregraph.User)) *Backend_CreateUser_Call
- func (_c *Backend_CreateUser_Call) RunAndReturn(run func(context.Context, libregraph.User) (*libregraph.User, error)) *Backend_CreateUser_Call
- type Backend_DeleteGroup_Call
- func (_c *Backend_DeleteGroup_Call) Return(_a0 error) *Backend_DeleteGroup_Call
- func (_c *Backend_DeleteGroup_Call) Run(run func(ctx context.Context, id string)) *Backend_DeleteGroup_Call
- func (_c *Backend_DeleteGroup_Call) RunAndReturn(run func(context.Context, string) error) *Backend_DeleteGroup_Call
- type Backend_DeleteUser_Call
- func (_c *Backend_DeleteUser_Call) Return(_a0 error) *Backend_DeleteUser_Call
- func (_c *Backend_DeleteUser_Call) Run(run func(ctx context.Context, nameOrID string)) *Backend_DeleteUser_Call
- func (_c *Backend_DeleteUser_Call) RunAndReturn(run func(context.Context, string) error) *Backend_DeleteUser_Call
- type Backend_Expecter
- func (_e *Backend_Expecter) AddMembersToGroup(ctx interface{}, groupID interface{}, memberID interface{}) *Backend_AddMembersToGroup_Call
- func (_e *Backend_Expecter) CreateGroup(ctx interface{}, group interface{}) *Backend_CreateGroup_Call
- func (_e *Backend_Expecter) CreateUser(ctx interface{}, user interface{}) *Backend_CreateUser_Call
- func (_e *Backend_Expecter) DeleteGroup(ctx interface{}, id interface{}) *Backend_DeleteGroup_Call
- func (_e *Backend_Expecter) DeleteUser(ctx interface{}, nameOrID interface{}) *Backend_DeleteUser_Call
- func (_e *Backend_Expecter) FilterUsers(ctx interface{}, oreq interface{}, filter interface{}) *Backend_FilterUsers_Call
- func (_e *Backend_Expecter) GetGroup(ctx interface{}, nameOrID interface{}, queryParam interface{}) *Backend_GetGroup_Call
- func (_e *Backend_Expecter) GetGroupMembers(ctx interface{}, id interface{}, oreq interface{}) *Backend_GetGroupMembers_Call
- func (_e *Backend_Expecter) GetGroups(ctx interface{}, oreq interface{}) *Backend_GetGroups_Call
- func (_e *Backend_Expecter) GetUser(ctx interface{}, nameOrID interface{}, oreq interface{}) *Backend_GetUser_Call
- func (_e *Backend_Expecter) GetUsers(ctx interface{}, oreq interface{}) *Backend_GetUsers_Call
- func (_e *Backend_Expecter) RemoveMemberFromGroup(ctx interface{}, groupID interface{}, memberID interface{}) *Backend_RemoveMemberFromGroup_Call
- func (_e *Backend_Expecter) UpdateGroupName(ctx interface{}, groupID interface{}, groupName interface{}) *Backend_UpdateGroupName_Call
- func (_e *Backend_Expecter) UpdateLastSignInDate(ctx interface{}, userID interface{}, timestamp interface{}) *Backend_UpdateLastSignInDate_Call
- func (_e *Backend_Expecter) UpdateUser(ctx interface{}, nameOrID interface{}, user interface{}) *Backend_UpdateUser_Call
- type Backend_FilterUsers_Call
- type Backend_GetGroupMembers_Call
- func (_c *Backend_GetGroupMembers_Call) Return(_a0 []*libregraph.User, _a1 error) *Backend_GetGroupMembers_Call
- func (_c *Backend_GetGroupMembers_Call) Run(run func(ctx context.Context, id string, oreq *godata.GoDataRequest)) *Backend_GetGroupMembers_Call
- func (_c *Backend_GetGroupMembers_Call) RunAndReturn(...) *Backend_GetGroupMembers_Call
- type Backend_GetGroup_Call
- func (_c *Backend_GetGroup_Call) Return(_a0 *libregraph.Group, _a1 error) *Backend_GetGroup_Call
- func (_c *Backend_GetGroup_Call) Run(run func(ctx context.Context, nameOrID string, queryParam url.Values)) *Backend_GetGroup_Call
- func (_c *Backend_GetGroup_Call) RunAndReturn(run func(context.Context, string, url.Values) (*libregraph.Group, error)) *Backend_GetGroup_Call
- type Backend_GetGroups_Call
- func (_c *Backend_GetGroups_Call) Return(_a0 []*libregraph.Group, _a1 error) *Backend_GetGroups_Call
- func (_c *Backend_GetGroups_Call) Run(run func(ctx context.Context, oreq *godata.GoDataRequest)) *Backend_GetGroups_Call
- func (_c *Backend_GetGroups_Call) RunAndReturn(run func(context.Context, *godata.GoDataRequest) ([]*libregraph.Group, error)) *Backend_GetGroups_Call
- type Backend_GetUser_Call
- type Backend_GetUsers_Call
- func (_c *Backend_GetUsers_Call) Return(_a0 []*libregraph.User, _a1 error) *Backend_GetUsers_Call
- func (_c *Backend_GetUsers_Call) Run(run func(ctx context.Context, oreq *godata.GoDataRequest)) *Backend_GetUsers_Call
- func (_c *Backend_GetUsers_Call) RunAndReturn(run func(context.Context, *godata.GoDataRequest) ([]*libregraph.User, error)) *Backend_GetUsers_Call
- type Backend_RemoveMemberFromGroup_Call
- func (_c *Backend_RemoveMemberFromGroup_Call) Return(_a0 error) *Backend_RemoveMemberFromGroup_Call
- func (_c *Backend_RemoveMemberFromGroup_Call) Run(run func(ctx context.Context, groupID string, memberID string)) *Backend_RemoveMemberFromGroup_Call
- func (_c *Backend_RemoveMemberFromGroup_Call) RunAndReturn(run func(context.Context, string, string) error) *Backend_RemoveMemberFromGroup_Call
- type Backend_UpdateGroupName_Call
- func (_c *Backend_UpdateGroupName_Call) Return(_a0 error) *Backend_UpdateGroupName_Call
- func (_c *Backend_UpdateGroupName_Call) Run(run func(ctx context.Context, groupID string, groupName string)) *Backend_UpdateGroupName_Call
- func (_c *Backend_UpdateGroupName_Call) RunAndReturn(run func(context.Context, string, string) error) *Backend_UpdateGroupName_Call
- type Backend_UpdateLastSignInDate_Call
- func (_c *Backend_UpdateLastSignInDate_Call) Return(_a0 error) *Backend_UpdateLastSignInDate_Call
- func (_c *Backend_UpdateLastSignInDate_Call) Run(run func(ctx context.Context, userID string, timestamp time.Time)) *Backend_UpdateLastSignInDate_Call
- func (_c *Backend_UpdateLastSignInDate_Call) RunAndReturn(run func(context.Context, string, time.Time) error) *Backend_UpdateLastSignInDate_Call
- type Backend_UpdateUser_Call
- func (_c *Backend_UpdateUser_Call) Return(_a0 *libregraph.User, _a1 error) *Backend_UpdateUser_Call
- func (_c *Backend_UpdateUser_Call) Run(run func(ctx context.Context, nameOrID string, user libregraph.UserUpdate)) *Backend_UpdateUser_Call
- func (_c *Backend_UpdateUser_Call) RunAndReturn(...) *Backend_UpdateUser_Call
- type Client
- func (_m *Client) Add(_a0 *ldap.AddRequest) error
- func (_m *Client) Bind(username string, password string) error
- func (_m *Client) Close() error
- func (_m *Client) Compare(dn string, attribute string, value string) (bool, error)
- func (_m *Client) Del(_a0 *ldap.DelRequest) error
- func (_m *Client) DirSync(searchRequest *ldap.SearchRequest, flags int64, maxAttrCount int64, ...) (*ldap.SearchResult, error)
- func (_m *Client) DirSyncAsync(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, ...) ldap.Response
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) Extended(_a0 *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)
- func (_m *Client) ExternalBind() error
- func (_m *Client) GetLastError() error
- func (_m *Client) IsClosing() bool
- func (_m *Client) Modify(_a0 *ldap.ModifyRequest) error
- func (_m *Client) ModifyDN(_a0 *ldap.ModifyDNRequest) error
- func (_m *Client) ModifyWithResult(_a0 *ldap.ModifyRequest) (*ldap.ModifyResult, error)
- func (_m *Client) NTLMUnauthenticatedBind(domain string, username string) error
- func (_m *Client) PasswordModify(_a0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
- func (_m *Client) Search(_a0 *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (_m *Client) SearchAsync(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int) ldap.Response
- func (_m *Client) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
- func (_m *Client) SetTimeout(_a0 time.Duration)
- func (_m *Client) SimpleBind(_a0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
- func (_m *Client) Start()
- func (_m *Client) StartTLS(_a0 *tls.Config) error
- func (_m *Client) Syncrepl(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, ...) ldap.Response
- func (_m *Client) TLSConnectionState() (tls.ConnectionState, bool)
- func (_m *Client) UnauthenticatedBind(username string) error
- func (_m *Client) Unbind() error
- type Client_Add_Call
- type Client_Bind_Call
- type Client_Close_Call
- type Client_Compare_Call
- func (_c *Client_Compare_Call) Return(_a0 bool, _a1 error) *Client_Compare_Call
- func (_c *Client_Compare_Call) Run(run func(dn string, attribute string, value string)) *Client_Compare_Call
- func (_c *Client_Compare_Call) RunAndReturn(run func(string, string, string) (bool, error)) *Client_Compare_Call
- type Client_Del_Call
- type Client_DirSyncAsync_Call
- type Client_DirSync_Call
- type Client_Expecter
- func (_e *Client_Expecter) Add(_a0 interface{}) *Client_Add_Call
- func (_e *Client_Expecter) Bind(username interface{}, password interface{}) *Client_Bind_Call
- func (_e *Client_Expecter) Close() *Client_Close_Call
- func (_e *Client_Expecter) Compare(dn interface{}, attribute interface{}, value interface{}) *Client_Compare_Call
- func (_e *Client_Expecter) Del(_a0 interface{}) *Client_Del_Call
- func (_e *Client_Expecter) DirSync(searchRequest interface{}, flags interface{}, maxAttrCount interface{}, ...) *Client_DirSync_Call
- func (_e *Client_Expecter) DirSyncAsync(ctx interface{}, searchRequest interface{}, bufferSize interface{}, ...) *Client_DirSyncAsync_Call
- func (_e *Client_Expecter) Extended(_a0 interface{}) *Client_Extended_Call
- func (_e *Client_Expecter) ExternalBind() *Client_ExternalBind_Call
- func (_e *Client_Expecter) GetLastError() *Client_GetLastError_Call
- func (_e *Client_Expecter) IsClosing() *Client_IsClosing_Call
- func (_e *Client_Expecter) Modify(_a0 interface{}) *Client_Modify_Call
- func (_e *Client_Expecter) ModifyDN(_a0 interface{}) *Client_ModifyDN_Call
- func (_e *Client_Expecter) ModifyWithResult(_a0 interface{}) *Client_ModifyWithResult_Call
- func (_e *Client_Expecter) NTLMUnauthenticatedBind(domain interface{}, username interface{}) *Client_NTLMUnauthenticatedBind_Call
- func (_e *Client_Expecter) PasswordModify(_a0 interface{}) *Client_PasswordModify_Call
- func (_e *Client_Expecter) Search(_a0 interface{}) *Client_Search_Call
- func (_e *Client_Expecter) SearchAsync(ctx interface{}, searchRequest interface{}, bufferSize interface{}) *Client_SearchAsync_Call
- func (_e *Client_Expecter) SearchWithPaging(searchRequest interface{}, pagingSize interface{}) *Client_SearchWithPaging_Call
- func (_e *Client_Expecter) SetTimeout(_a0 interface{}) *Client_SetTimeout_Call
- func (_e *Client_Expecter) SimpleBind(_a0 interface{}) *Client_SimpleBind_Call
- func (_e *Client_Expecter) Start() *Client_Start_Call
- func (_e *Client_Expecter) StartTLS(_a0 interface{}) *Client_StartTLS_Call
- func (_e *Client_Expecter) Syncrepl(ctx interface{}, searchRequest interface{}, bufferSize interface{}, ...) *Client_Syncrepl_Call
- func (_e *Client_Expecter) TLSConnectionState() *Client_TLSConnectionState_Call
- func (_e *Client_Expecter) UnauthenticatedBind(username interface{}) *Client_UnauthenticatedBind_Call
- func (_e *Client_Expecter) Unbind() *Client_Unbind_Call
- type Client_Extended_Call
- func (_c *Client_Extended_Call) Return(_a0 *ldap.ExtendedResponse, _a1 error) *Client_Extended_Call
- func (_c *Client_Extended_Call) Run(run func(_a0 *ldap.ExtendedRequest)) *Client_Extended_Call
- func (_c *Client_Extended_Call) RunAndReturn(run func(*ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)) *Client_Extended_Call
- type Client_ExternalBind_Call
- type Client_GetLastError_Call
- type Client_IsClosing_Call
- type Client_ModifyDN_Call
- type Client_ModifyWithResult_Call
- func (_c *Client_ModifyWithResult_Call) Return(_a0 *ldap.ModifyResult, _a1 error) *Client_ModifyWithResult_Call
- func (_c *Client_ModifyWithResult_Call) Run(run func(_a0 *ldap.ModifyRequest)) *Client_ModifyWithResult_Call
- func (_c *Client_ModifyWithResult_Call) RunAndReturn(run func(*ldap.ModifyRequest) (*ldap.ModifyResult, error)) *Client_ModifyWithResult_Call
- type Client_Modify_Call
- type Client_NTLMUnauthenticatedBind_Call
- func (_c *Client_NTLMUnauthenticatedBind_Call) Return(_a0 error) *Client_NTLMUnauthenticatedBind_Call
- func (_c *Client_NTLMUnauthenticatedBind_Call) Run(run func(domain string, username string)) *Client_NTLMUnauthenticatedBind_Call
- func (_c *Client_NTLMUnauthenticatedBind_Call) RunAndReturn(run func(string, string) error) *Client_NTLMUnauthenticatedBind_Call
- type Client_PasswordModify_Call
- func (_c *Client_PasswordModify_Call) Return(_a0 *ldap.PasswordModifyResult, _a1 error) *Client_PasswordModify_Call
- func (_c *Client_PasswordModify_Call) Run(run func(_a0 *ldap.PasswordModifyRequest)) *Client_PasswordModify_Call
- func (_c *Client_PasswordModify_Call) RunAndReturn(run func(*ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)) *Client_PasswordModify_Call
- type Client_SearchAsync_Call
- type Client_SearchWithPaging_Call
- func (_c *Client_SearchWithPaging_Call) Return(_a0 *ldap.SearchResult, _a1 error) *Client_SearchWithPaging_Call
- func (_c *Client_SearchWithPaging_Call) Run(run func(searchRequest *ldap.SearchRequest, pagingSize uint32)) *Client_SearchWithPaging_Call
- func (_c *Client_SearchWithPaging_Call) RunAndReturn(run func(*ldap.SearchRequest, uint32) (*ldap.SearchResult, error)) *Client_SearchWithPaging_Call
- type Client_Search_Call
- func (_c *Client_Search_Call) Return(_a0 *ldap.SearchResult, _a1 error) *Client_Search_Call
- func (_c *Client_Search_Call) Run(run func(_a0 *ldap.SearchRequest)) *Client_Search_Call
- func (_c *Client_Search_Call) RunAndReturn(run func(*ldap.SearchRequest) (*ldap.SearchResult, error)) *Client_Search_Call
- type Client_SetTimeout_Call
- type Client_SimpleBind_Call
- func (_c *Client_SimpleBind_Call) Return(_a0 *ldap.SimpleBindResult, _a1 error) *Client_SimpleBind_Call
- func (_c *Client_SimpleBind_Call) Run(run func(_a0 *ldap.SimpleBindRequest)) *Client_SimpleBind_Call
- func (_c *Client_SimpleBind_Call) RunAndReturn(run func(*ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)) *Client_SimpleBind_Call
- type Client_StartTLS_Call
- type Client_Start_Call
- type Client_Syncrepl_Call
- type Client_TLSConnectionState_Call
- func (_c *Client_TLSConnectionState_Call) Return(_a0 tls.ConnectionState, _a1 bool) *Client_TLSConnectionState_Call
- func (_c *Client_TLSConnectionState_Call) Run(run func()) *Client_TLSConnectionState_Call
- func (_c *Client_TLSConnectionState_Call) RunAndReturn(run func() (tls.ConnectionState, bool)) *Client_TLSConnectionState_Call
- type Client_UnauthenticatedBind_Call
- func (_c *Client_UnauthenticatedBind_Call) Return(_a0 error) *Client_UnauthenticatedBind_Call
- func (_c *Client_UnauthenticatedBind_Call) Run(run func(username string)) *Client_UnauthenticatedBind_Call
- func (_c *Client_UnauthenticatedBind_Call) RunAndReturn(run func(string) error) *Client_UnauthenticatedBind_Call
- type Client_Unbind_Call
- type EducationBackend
- func (_m *EducationBackend) AddClassesToEducationSchool(ctx context.Context, schoolNumberOrID string, memberIDs []string) error
- func (_m *EducationBackend) AddTeacherToEducationClass(ctx context.Context, classID string, teacherID string) error
- func (_m *EducationBackend) AddUsersToEducationSchool(ctx context.Context, schoolID string, memberID []string) error
- func (_m *EducationBackend) CreateEducationClass(ctx context.Context, class libregraph.EducationClass) (*libregraph.EducationClass, error)
- func (_m *EducationBackend) CreateEducationSchool(ctx context.Context, group libregraph.EducationSchool) (*libregraph.EducationSchool, error)
- func (_m *EducationBackend) CreateEducationUser(ctx context.Context, user libregraph.EducationUser) (*libregraph.EducationUser, error)
- func (_m *EducationBackend) DeleteEducationClass(ctx context.Context, nameOrID string) error
- func (_m *EducationBackend) DeleteEducationSchool(ctx context.Context, id string) error
- func (_m *EducationBackend) DeleteEducationUser(ctx context.Context, nameOrID string) error
- func (_m *EducationBackend) EXPECT() *EducationBackend_Expecter
- func (_m *EducationBackend) GetEducationClass(ctx context.Context, namedOrID string) (*libregraph.EducationClass, error)
- func (_m *EducationBackend) GetEducationClassMembers(ctx context.Context, nameOrID string) ([]*libregraph.EducationUser, error)
- func (_m *EducationBackend) GetEducationClassTeachers(ctx context.Context, classID string) ([]*libregraph.EducationUser, error)
- func (_m *EducationBackend) GetEducationClasses(ctx context.Context) ([]*libregraph.EducationClass, error)
- func (_m *EducationBackend) GetEducationSchool(ctx context.Context, nameOrID string) (*libregraph.EducationSchool, error)
- func (_m *EducationBackend) GetEducationSchoolClasses(ctx context.Context, schoolNumberOrID string) ([]*libregraph.EducationClass, error)
- func (_m *EducationBackend) GetEducationSchoolUsers(ctx context.Context, id string) ([]*libregraph.EducationUser, error)
- func (_m *EducationBackend) GetEducationSchools(ctx context.Context) ([]*libregraph.EducationSchool, error)
- func (_m *EducationBackend) GetEducationUser(ctx context.Context, nameOrID string) (*libregraph.EducationUser, error)
- func (_m *EducationBackend) GetEducationUsers(ctx context.Context) ([]*libregraph.EducationUser, error)
- func (_m *EducationBackend) RemoveClassFromEducationSchool(ctx context.Context, schoolNumberOrID string, memberID string) error
- func (_m *EducationBackend) RemoveTeacherFromEducationClass(ctx context.Context, classID string, teacherID string) error
- func (_m *EducationBackend) RemoveUserFromEducationSchool(ctx context.Context, schoolID string, memberID string) error
- func (_m *EducationBackend) UpdateEducationClass(ctx context.Context, id string, class libregraph.EducationClass) (*libregraph.EducationClass, error)
- func (_m *EducationBackend) UpdateEducationSchool(ctx context.Context, numberOrID string, school libregraph.EducationSchool) (*libregraph.EducationSchool, error)
- func (_m *EducationBackend) UpdateEducationUser(ctx context.Context, nameOrID string, user libregraph.EducationUser) (*libregraph.EducationUser, error)
- type EducationBackend_AddClassesToEducationSchool_Call
- func (_c *EducationBackend_AddClassesToEducationSchool_Call) Return(_a0 error) *EducationBackend_AddClassesToEducationSchool_Call
- func (_c *EducationBackend_AddClassesToEducationSchool_Call) Run(run func(ctx context.Context, schoolNumberOrID string, memberIDs []string)) *EducationBackend_AddClassesToEducationSchool_Call
- func (_c *EducationBackend_AddClassesToEducationSchool_Call) RunAndReturn(run func(context.Context, string, []string) error) *EducationBackend_AddClassesToEducationSchool_Call
- type EducationBackend_AddTeacherToEducationClass_Call
- func (_c *EducationBackend_AddTeacherToEducationClass_Call) Return(_a0 error) *EducationBackend_AddTeacherToEducationClass_Call
- func (_c *EducationBackend_AddTeacherToEducationClass_Call) Run(run func(ctx context.Context, classID string, teacherID string)) *EducationBackend_AddTeacherToEducationClass_Call
- func (_c *EducationBackend_AddTeacherToEducationClass_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_AddTeacherToEducationClass_Call
- type EducationBackend_AddUsersToEducationSchool_Call
- func (_c *EducationBackend_AddUsersToEducationSchool_Call) Return(_a0 error) *EducationBackend_AddUsersToEducationSchool_Call
- func (_c *EducationBackend_AddUsersToEducationSchool_Call) Run(run func(ctx context.Context, schoolID string, memberID []string)) *EducationBackend_AddUsersToEducationSchool_Call
- func (_c *EducationBackend_AddUsersToEducationSchool_Call) RunAndReturn(run func(context.Context, string, []string) error) *EducationBackend_AddUsersToEducationSchool_Call
- type EducationBackend_CreateEducationClass_Call
- func (_c *EducationBackend_CreateEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_CreateEducationClass_Call
- func (_c *EducationBackend_CreateEducationClass_Call) Run(run func(ctx context.Context, class libregraph.EducationClass)) *EducationBackend_CreateEducationClass_Call
- func (_c *EducationBackend_CreateEducationClass_Call) RunAndReturn(...) *EducationBackend_CreateEducationClass_Call
- type EducationBackend_CreateEducationSchool_Call
- func (_c *EducationBackend_CreateEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_CreateEducationSchool_Call
- func (_c *EducationBackend_CreateEducationSchool_Call) Run(run func(ctx context.Context, group libregraph.EducationSchool)) *EducationBackend_CreateEducationSchool_Call
- func (_c *EducationBackend_CreateEducationSchool_Call) RunAndReturn(...) *EducationBackend_CreateEducationSchool_Call
- type EducationBackend_CreateEducationUser_Call
- func (_c *EducationBackend_CreateEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_CreateEducationUser_Call
- func (_c *EducationBackend_CreateEducationUser_Call) Run(run func(ctx context.Context, user libregraph.EducationUser)) *EducationBackend_CreateEducationUser_Call
- func (_c *EducationBackend_CreateEducationUser_Call) RunAndReturn(...) *EducationBackend_CreateEducationUser_Call
- type EducationBackend_DeleteEducationClass_Call
- func (_c *EducationBackend_DeleteEducationClass_Call) Return(_a0 error) *EducationBackend_DeleteEducationClass_Call
- func (_c *EducationBackend_DeleteEducationClass_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_DeleteEducationClass_Call
- func (_c *EducationBackend_DeleteEducationClass_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationClass_Call
- type EducationBackend_DeleteEducationSchool_Call
- func (_c *EducationBackend_DeleteEducationSchool_Call) Return(_a0 error) *EducationBackend_DeleteEducationSchool_Call
- func (_c *EducationBackend_DeleteEducationSchool_Call) Run(run func(ctx context.Context, id string)) *EducationBackend_DeleteEducationSchool_Call
- func (_c *EducationBackend_DeleteEducationSchool_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationSchool_Call
- type EducationBackend_DeleteEducationUser_Call
- func (_c *EducationBackend_DeleteEducationUser_Call) Return(_a0 error) *EducationBackend_DeleteEducationUser_Call
- func (_c *EducationBackend_DeleteEducationUser_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_DeleteEducationUser_Call
- func (_c *EducationBackend_DeleteEducationUser_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationUser_Call
- type EducationBackend_Expecter
- func (_e *EducationBackend_Expecter) AddClassesToEducationSchool(ctx interface{}, schoolNumberOrID interface{}, memberIDs interface{}) *EducationBackend_AddClassesToEducationSchool_Call
- func (_e *EducationBackend_Expecter) AddTeacherToEducationClass(ctx interface{}, classID interface{}, teacherID interface{}) *EducationBackend_AddTeacherToEducationClass_Call
- func (_e *EducationBackend_Expecter) AddUsersToEducationSchool(ctx interface{}, schoolID interface{}, memberID interface{}) *EducationBackend_AddUsersToEducationSchool_Call
- func (_e *EducationBackend_Expecter) CreateEducationClass(ctx interface{}, class interface{}) *EducationBackend_CreateEducationClass_Call
- func (_e *EducationBackend_Expecter) CreateEducationSchool(ctx interface{}, group interface{}) *EducationBackend_CreateEducationSchool_Call
- func (_e *EducationBackend_Expecter) CreateEducationUser(ctx interface{}, user interface{}) *EducationBackend_CreateEducationUser_Call
- func (_e *EducationBackend_Expecter) DeleteEducationClass(ctx interface{}, nameOrID interface{}) *EducationBackend_DeleteEducationClass_Call
- func (_e *EducationBackend_Expecter) DeleteEducationSchool(ctx interface{}, id interface{}) *EducationBackend_DeleteEducationSchool_Call
- func (_e *EducationBackend_Expecter) DeleteEducationUser(ctx interface{}, nameOrID interface{}) *EducationBackend_DeleteEducationUser_Call
- func (_e *EducationBackend_Expecter) GetEducationClass(ctx interface{}, namedOrID interface{}) *EducationBackend_GetEducationClass_Call
- func (_e *EducationBackend_Expecter) GetEducationClassMembers(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationClassMembers_Call
- func (_e *EducationBackend_Expecter) GetEducationClassTeachers(ctx interface{}, classID interface{}) *EducationBackend_GetEducationClassTeachers_Call
- func (_e *EducationBackend_Expecter) GetEducationClasses(ctx interface{}) *EducationBackend_GetEducationClasses_Call
- func (_e *EducationBackend_Expecter) GetEducationSchool(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationSchool_Call
- func (_e *EducationBackend_Expecter) GetEducationSchoolClasses(ctx interface{}, schoolNumberOrID interface{}) *EducationBackend_GetEducationSchoolClasses_Call
- func (_e *EducationBackend_Expecter) GetEducationSchoolUsers(ctx interface{}, id interface{}) *EducationBackend_GetEducationSchoolUsers_Call
- func (_e *EducationBackend_Expecter) GetEducationSchools(ctx interface{}) *EducationBackend_GetEducationSchools_Call
- func (_e *EducationBackend_Expecter) GetEducationUser(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationUser_Call
- func (_e *EducationBackend_Expecter) GetEducationUsers(ctx interface{}) *EducationBackend_GetEducationUsers_Call
- func (_e *EducationBackend_Expecter) RemoveClassFromEducationSchool(ctx interface{}, schoolNumberOrID interface{}, memberID interface{}) *EducationBackend_RemoveClassFromEducationSchool_Call
- func (_e *EducationBackend_Expecter) RemoveTeacherFromEducationClass(ctx interface{}, classID interface{}, teacherID interface{}) *EducationBackend_RemoveTeacherFromEducationClass_Call
- func (_e *EducationBackend_Expecter) RemoveUserFromEducationSchool(ctx interface{}, schoolID interface{}, memberID interface{}) *EducationBackend_RemoveUserFromEducationSchool_Call
- func (_e *EducationBackend_Expecter) UpdateEducationClass(ctx interface{}, id interface{}, class interface{}) *EducationBackend_UpdateEducationClass_Call
- func (_e *EducationBackend_Expecter) UpdateEducationSchool(ctx interface{}, numberOrID interface{}, school interface{}) *EducationBackend_UpdateEducationSchool_Call
- func (_e *EducationBackend_Expecter) UpdateEducationUser(ctx interface{}, nameOrID interface{}, user interface{}) *EducationBackend_UpdateEducationUser_Call
- type EducationBackend_GetEducationClassMembers_Call
- func (_c *EducationBackend_GetEducationClassMembers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationClassMembers_Call
- func (_c *EducationBackend_GetEducationClassMembers_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationClassMembers_Call
- func (_c *EducationBackend_GetEducationClassMembers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationClassMembers_Call
- type EducationBackend_GetEducationClassTeachers_Call
- func (_c *EducationBackend_GetEducationClassTeachers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationClassTeachers_Call
- func (_c *EducationBackend_GetEducationClassTeachers_Call) Run(run func(ctx context.Context, classID string)) *EducationBackend_GetEducationClassTeachers_Call
- func (_c *EducationBackend_GetEducationClassTeachers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationClassTeachers_Call
- type EducationBackend_GetEducationClass_Call
- func (_c *EducationBackend_GetEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationClass_Call
- func (_c *EducationBackend_GetEducationClass_Call) Run(run func(ctx context.Context, namedOrID string)) *EducationBackend_GetEducationClass_Call
- func (_c *EducationBackend_GetEducationClass_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationClass, error)) *EducationBackend_GetEducationClass_Call
- type EducationBackend_GetEducationClasses_Call
- func (_c *EducationBackend_GetEducationClasses_Call) Return(_a0 []*libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationClasses_Call
- func (_c *EducationBackend_GetEducationClasses_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationClasses_Call
- func (_c *EducationBackend_GetEducationClasses_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationClass, error)) *EducationBackend_GetEducationClasses_Call
- type EducationBackend_GetEducationSchoolClasses_Call
- func (_c *EducationBackend_GetEducationSchoolClasses_Call) Return(_a0 []*libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationSchoolClasses_Call
- func (_c *EducationBackend_GetEducationSchoolClasses_Call) Run(run func(ctx context.Context, schoolNumberOrID string)) *EducationBackend_GetEducationSchoolClasses_Call
- func (_c *EducationBackend_GetEducationSchoolClasses_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationClass, error)) *EducationBackend_GetEducationSchoolClasses_Call
- type EducationBackend_GetEducationSchoolUsers_Call
- func (_c *EducationBackend_GetEducationSchoolUsers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationSchoolUsers_Call
- func (_c *EducationBackend_GetEducationSchoolUsers_Call) Run(run func(ctx context.Context, id string)) *EducationBackend_GetEducationSchoolUsers_Call
- func (_c *EducationBackend_GetEducationSchoolUsers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationSchoolUsers_Call
- type EducationBackend_GetEducationSchool_Call
- func (_c *EducationBackend_GetEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_GetEducationSchool_Call
- func (_c *EducationBackend_GetEducationSchool_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationSchool_Call
- func (_c *EducationBackend_GetEducationSchool_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationSchool, error)) *EducationBackend_GetEducationSchool_Call
- type EducationBackend_GetEducationSchools_Call
- func (_c *EducationBackend_GetEducationSchools_Call) Return(_a0 []*libregraph.EducationSchool, _a1 error) *EducationBackend_GetEducationSchools_Call
- func (_c *EducationBackend_GetEducationSchools_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationSchools_Call
- func (_c *EducationBackend_GetEducationSchools_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationSchool, error)) *EducationBackend_GetEducationSchools_Call
- type EducationBackend_GetEducationUser_Call
- func (_c *EducationBackend_GetEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationUser_Call
- func (_c *EducationBackend_GetEducationUser_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationUser_Call
- func (_c *EducationBackend_GetEducationUser_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationUser, error)) *EducationBackend_GetEducationUser_Call
- type EducationBackend_GetEducationUsers_Call
- func (_c *EducationBackend_GetEducationUsers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationUsers_Call
- func (_c *EducationBackend_GetEducationUsers_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationUsers_Call
- func (_c *EducationBackend_GetEducationUsers_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationUsers_Call
- type EducationBackend_RemoveClassFromEducationSchool_Call
- func (_c *EducationBackend_RemoveClassFromEducationSchool_Call) Return(_a0 error) *EducationBackend_RemoveClassFromEducationSchool_Call
- func (_c *EducationBackend_RemoveClassFromEducationSchool_Call) Run(run func(ctx context.Context, schoolNumberOrID string, memberID string)) *EducationBackend_RemoveClassFromEducationSchool_Call
- func (_c *EducationBackend_RemoveClassFromEducationSchool_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveClassFromEducationSchool_Call
- type EducationBackend_RemoveTeacherFromEducationClass_Call
- func (_c *EducationBackend_RemoveTeacherFromEducationClass_Call) Return(_a0 error) *EducationBackend_RemoveTeacherFromEducationClass_Call
- func (_c *EducationBackend_RemoveTeacherFromEducationClass_Call) Run(run func(ctx context.Context, classID string, teacherID string)) *EducationBackend_RemoveTeacherFromEducationClass_Call
- func (_c *EducationBackend_RemoveTeacherFromEducationClass_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveTeacherFromEducationClass_Call
- type EducationBackend_RemoveUserFromEducationSchool_Call
- func (_c *EducationBackend_RemoveUserFromEducationSchool_Call) Return(_a0 error) *EducationBackend_RemoveUserFromEducationSchool_Call
- func (_c *EducationBackend_RemoveUserFromEducationSchool_Call) Run(run func(ctx context.Context, schoolID string, memberID string)) *EducationBackend_RemoveUserFromEducationSchool_Call
- func (_c *EducationBackend_RemoveUserFromEducationSchool_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveUserFromEducationSchool_Call
- type EducationBackend_UpdateEducationClass_Call
- func (_c *EducationBackend_UpdateEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_UpdateEducationClass_Call
- func (_c *EducationBackend_UpdateEducationClass_Call) Run(run func(ctx context.Context, id string, class libregraph.EducationClass)) *EducationBackend_UpdateEducationClass_Call
- func (_c *EducationBackend_UpdateEducationClass_Call) RunAndReturn(...) *EducationBackend_UpdateEducationClass_Call
- type EducationBackend_UpdateEducationSchool_Call
- func (_c *EducationBackend_UpdateEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_UpdateEducationSchool_Call
- func (_c *EducationBackend_UpdateEducationSchool_Call) Run(...) *EducationBackend_UpdateEducationSchool_Call
- func (_c *EducationBackend_UpdateEducationSchool_Call) RunAndReturn(...) *EducationBackend_UpdateEducationSchool_Call
- type EducationBackend_UpdateEducationUser_Call
- func (_c *EducationBackend_UpdateEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_UpdateEducationUser_Call
- func (_c *EducationBackend_UpdateEducationUser_Call) Run(run func(ctx context.Context, nameOrID string, user libregraph.EducationUser)) *EducationBackend_UpdateEducationUser_Call
- func (_c *EducationBackend_UpdateEducationUser_Call) RunAndReturn(...) *EducationBackend_UpdateEducationUser_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
Backend is an autogenerated mock type for the Backend type
func NewBackend ¶
NewBackend creates a new instance of Backend. 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 (*Backend) AddMembersToGroup ¶
AddMembersToGroup provides a mock function with given fields: ctx, groupID, memberID
func (*Backend) CreateGroup ¶
func (_m *Backend) CreateGroup(ctx context.Context, group libregraph.Group) (*libregraph.Group, error)
CreateGroup provides a mock function with given fields: ctx, group
func (*Backend) CreateUser ¶
func (_m *Backend) CreateUser(ctx context.Context, user libregraph.User) (*libregraph.User, error)
CreateUser provides a mock function with given fields: ctx, user
func (*Backend) DeleteGroup ¶
DeleteGroup provides a mock function with given fields: ctx, id
func (*Backend) DeleteUser ¶
DeleteUser provides a mock function with given fields: ctx, nameOrID
func (*Backend) EXPECT ¶
func (_m *Backend) EXPECT() *Backend_Expecter
func (*Backend) FilterUsers ¶
func (_m *Backend) FilterUsers(ctx context.Context, oreq *godata.GoDataRequest, filter *godata.ParseNode) ([]*libregraph.User, error)
FilterUsers provides a mock function with given fields: ctx, oreq, filter
func (*Backend) GetGroup ¶
func (_m *Backend) GetGroup(ctx context.Context, nameOrID string, queryParam url.Values) (*libregraph.Group, error)
GetGroup provides a mock function with given fields: ctx, nameOrID, queryParam
func (*Backend) GetGroupMembers ¶
func (_m *Backend) GetGroupMembers(ctx context.Context, id string, oreq *godata.GoDataRequest) ([]*libregraph.User, error)
GetGroupMembers provides a mock function with given fields: ctx, id, oreq
func (*Backend) GetGroups ¶
func (_m *Backend) GetGroups(ctx context.Context, oreq *godata.GoDataRequest) ([]*libregraph.Group, error)
GetGroups provides a mock function with given fields: ctx, oreq
func (*Backend) GetUser ¶
func (_m *Backend) GetUser(ctx context.Context, nameOrID string, oreq *godata.GoDataRequest) (*libregraph.User, error)
GetUser provides a mock function with given fields: ctx, nameOrID, oreq
func (*Backend) GetUsers ¶
func (_m *Backend) GetUsers(ctx context.Context, oreq *godata.GoDataRequest) ([]*libregraph.User, error)
GetUsers provides a mock function with given fields: ctx, oreq
func (*Backend) RemoveMemberFromGroup ¶
func (_m *Backend) RemoveMemberFromGroup(ctx context.Context, groupID string, memberID string) error
RemoveMemberFromGroup provides a mock function with given fields: ctx, groupID, memberID
func (*Backend) UpdateGroupName ¶
UpdateGroupName provides a mock function with given fields: ctx, groupID, groupName
func (*Backend) UpdateLastSignInDate ¶
func (_m *Backend) UpdateLastSignInDate(ctx context.Context, userID string, timestamp time.Time) error
UpdateLastSignInDate provides a mock function with given fields: ctx, userID, timestamp
func (*Backend) UpdateUser ¶
func (_m *Backend) UpdateUser(ctx context.Context, nameOrID string, user libregraph.UserUpdate) (*libregraph.User, error)
UpdateUser provides a mock function with given fields: ctx, nameOrID, user
type Backend_AddMembersToGroup_Call ¶
Backend_AddMembersToGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMembersToGroup'
func (*Backend_AddMembersToGroup_Call) Return ¶
func (_c *Backend_AddMembersToGroup_Call) Return(_a0 error) *Backend_AddMembersToGroup_Call
func (*Backend_AddMembersToGroup_Call) Run ¶
func (_c *Backend_AddMembersToGroup_Call) Run(run func(ctx context.Context, groupID string, memberID []string)) *Backend_AddMembersToGroup_Call
func (*Backend_AddMembersToGroup_Call) RunAndReturn ¶
func (_c *Backend_AddMembersToGroup_Call) RunAndReturn(run func(context.Context, string, []string) error) *Backend_AddMembersToGroup_Call
type Backend_CreateGroup_Call ¶
Backend_CreateGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGroup'
func (*Backend_CreateGroup_Call) Return ¶
func (_c *Backend_CreateGroup_Call) Return(_a0 *libregraph.Group, _a1 error) *Backend_CreateGroup_Call
func (*Backend_CreateGroup_Call) Run ¶
func (_c *Backend_CreateGroup_Call) Run(run func(ctx context.Context, group libregraph.Group)) *Backend_CreateGroup_Call
func (*Backend_CreateGroup_Call) RunAndReturn ¶
func (_c *Backend_CreateGroup_Call) RunAndReturn(run func(context.Context, libregraph.Group) (*libregraph.Group, error)) *Backend_CreateGroup_Call
type Backend_CreateUser_Call ¶
Backend_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*Backend_CreateUser_Call) Return ¶
func (_c *Backend_CreateUser_Call) Return(_a0 *libregraph.User, _a1 error) *Backend_CreateUser_Call
func (*Backend_CreateUser_Call) Run ¶
func (_c *Backend_CreateUser_Call) Run(run func(ctx context.Context, user libregraph.User)) *Backend_CreateUser_Call
func (*Backend_CreateUser_Call) RunAndReturn ¶
func (_c *Backend_CreateUser_Call) RunAndReturn(run func(context.Context, libregraph.User) (*libregraph.User, error)) *Backend_CreateUser_Call
type Backend_DeleteGroup_Call ¶
Backend_DeleteGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGroup'
func (*Backend_DeleteGroup_Call) Return ¶
func (_c *Backend_DeleteGroup_Call) Return(_a0 error) *Backend_DeleteGroup_Call
func (*Backend_DeleteGroup_Call) Run ¶
func (_c *Backend_DeleteGroup_Call) Run(run func(ctx context.Context, id string)) *Backend_DeleteGroup_Call
func (*Backend_DeleteGroup_Call) RunAndReturn ¶
func (_c *Backend_DeleteGroup_Call) RunAndReturn(run func(context.Context, string) error) *Backend_DeleteGroup_Call
type Backend_DeleteUser_Call ¶
Backend_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*Backend_DeleteUser_Call) Return ¶
func (_c *Backend_DeleteUser_Call) Return(_a0 error) *Backend_DeleteUser_Call
func (*Backend_DeleteUser_Call) Run ¶
func (_c *Backend_DeleteUser_Call) Run(run func(ctx context.Context, nameOrID string)) *Backend_DeleteUser_Call
func (*Backend_DeleteUser_Call) RunAndReturn ¶
func (_c *Backend_DeleteUser_Call) RunAndReturn(run func(context.Context, string) error) *Backend_DeleteUser_Call
type Backend_Expecter ¶
type Backend_Expecter struct {
// contains filtered or unexported fields
}
func (*Backend_Expecter) AddMembersToGroup ¶
func (_e *Backend_Expecter) AddMembersToGroup(ctx interface{}, groupID interface{}, memberID interface{}) *Backend_AddMembersToGroup_Call
AddMembersToGroup is a helper method to define mock.On call
- ctx context.Context
- groupID string
- memberID []string
func (*Backend_Expecter) CreateGroup ¶
func (_e *Backend_Expecter) CreateGroup(ctx interface{}, group interface{}) *Backend_CreateGroup_Call
CreateGroup is a helper method to define mock.On call
- ctx context.Context
- group libregraph.Group
func (*Backend_Expecter) CreateUser ¶
func (_e *Backend_Expecter) CreateUser(ctx interface{}, user interface{}) *Backend_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- user libregraph.User
func (*Backend_Expecter) DeleteGroup ¶
func (_e *Backend_Expecter) DeleteGroup(ctx interface{}, id interface{}) *Backend_DeleteGroup_Call
DeleteGroup is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Backend_Expecter) DeleteUser ¶
func (_e *Backend_Expecter) DeleteUser(ctx interface{}, nameOrID interface{}) *Backend_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*Backend_Expecter) FilterUsers ¶
func (_e *Backend_Expecter) FilterUsers(ctx interface{}, oreq interface{}, filter interface{}) *Backend_FilterUsers_Call
FilterUsers is a helper method to define mock.On call
- ctx context.Context
- oreq *godata.GoDataRequest
- filter *godata.ParseNode
func (*Backend_Expecter) GetGroup ¶
func (_e *Backend_Expecter) GetGroup(ctx interface{}, nameOrID interface{}, queryParam interface{}) *Backend_GetGroup_Call
GetGroup is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
- queryParam url.Values
func (*Backend_Expecter) GetGroupMembers ¶
func (_e *Backend_Expecter) GetGroupMembers(ctx interface{}, id interface{}, oreq interface{}) *Backend_GetGroupMembers_Call
GetGroupMembers is a helper method to define mock.On call
- ctx context.Context
- id string
- oreq *godata.GoDataRequest
func (*Backend_Expecter) GetGroups ¶
func (_e *Backend_Expecter) GetGroups(ctx interface{}, oreq interface{}) *Backend_GetGroups_Call
GetGroups is a helper method to define mock.On call
- ctx context.Context
- oreq *godata.GoDataRequest
func (*Backend_Expecter) GetUser ¶
func (_e *Backend_Expecter) GetUser(ctx interface{}, nameOrID interface{}, oreq interface{}) *Backend_GetUser_Call
GetUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
- oreq *godata.GoDataRequest
func (*Backend_Expecter) GetUsers ¶
func (_e *Backend_Expecter) GetUsers(ctx interface{}, oreq interface{}) *Backend_GetUsers_Call
GetUsers is a helper method to define mock.On call
- ctx context.Context
- oreq *godata.GoDataRequest
func (*Backend_Expecter) RemoveMemberFromGroup ¶
func (_e *Backend_Expecter) RemoveMemberFromGroup(ctx interface{}, groupID interface{}, memberID interface{}) *Backend_RemoveMemberFromGroup_Call
RemoveMemberFromGroup is a helper method to define mock.On call
- ctx context.Context
- groupID string
- memberID string
func (*Backend_Expecter) UpdateGroupName ¶
func (_e *Backend_Expecter) UpdateGroupName(ctx interface{}, groupID interface{}, groupName interface{}) *Backend_UpdateGroupName_Call
UpdateGroupName is a helper method to define mock.On call
- ctx context.Context
- groupID string
- groupName string
func (*Backend_Expecter) UpdateLastSignInDate ¶
func (_e *Backend_Expecter) UpdateLastSignInDate(ctx interface{}, userID interface{}, timestamp interface{}) *Backend_UpdateLastSignInDate_Call
UpdateLastSignInDate is a helper method to define mock.On call
- ctx context.Context
- userID string
- timestamp time.Time
func (*Backend_Expecter) UpdateUser ¶
func (_e *Backend_Expecter) UpdateUser(ctx interface{}, nameOrID interface{}, user interface{}) *Backend_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
- user libregraph.UserUpdate
type Backend_FilterUsers_Call ¶
Backend_FilterUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterUsers'
func (*Backend_FilterUsers_Call) Return ¶
func (_c *Backend_FilterUsers_Call) Return(_a0 []*libregraph.User, _a1 error) *Backend_FilterUsers_Call
func (*Backend_FilterUsers_Call) Run ¶
func (_c *Backend_FilterUsers_Call) Run(run func(ctx context.Context, oreq *godata.GoDataRequest, filter *godata.ParseNode)) *Backend_FilterUsers_Call
func (*Backend_FilterUsers_Call) RunAndReturn ¶
func (_c *Backend_FilterUsers_Call) RunAndReturn(run func(context.Context, *godata.GoDataRequest, *godata.ParseNode) ([]*libregraph.User, error)) *Backend_FilterUsers_Call
type Backend_GetGroupMembers_Call ¶
Backend_GetGroupMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupMembers'
func (*Backend_GetGroupMembers_Call) Return ¶
func (_c *Backend_GetGroupMembers_Call) Return(_a0 []*libregraph.User, _a1 error) *Backend_GetGroupMembers_Call
func (*Backend_GetGroupMembers_Call) Run ¶
func (_c *Backend_GetGroupMembers_Call) Run(run func(ctx context.Context, id string, oreq *godata.GoDataRequest)) *Backend_GetGroupMembers_Call
func (*Backend_GetGroupMembers_Call) RunAndReturn ¶
func (_c *Backend_GetGroupMembers_Call) RunAndReturn(run func(context.Context, string, *godata.GoDataRequest) ([]*libregraph.User, error)) *Backend_GetGroupMembers_Call
type Backend_GetGroup_Call ¶
Backend_GetGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroup'
func (*Backend_GetGroup_Call) Return ¶
func (_c *Backend_GetGroup_Call) Return(_a0 *libregraph.Group, _a1 error) *Backend_GetGroup_Call
func (*Backend_GetGroup_Call) Run ¶
func (_c *Backend_GetGroup_Call) Run(run func(ctx context.Context, nameOrID string, queryParam url.Values)) *Backend_GetGroup_Call
func (*Backend_GetGroup_Call) RunAndReturn ¶
func (_c *Backend_GetGroup_Call) RunAndReturn(run func(context.Context, string, url.Values) (*libregraph.Group, error)) *Backend_GetGroup_Call
type Backend_GetGroups_Call ¶
Backend_GetGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroups'
func (*Backend_GetGroups_Call) Return ¶
func (_c *Backend_GetGroups_Call) Return(_a0 []*libregraph.Group, _a1 error) *Backend_GetGroups_Call
func (*Backend_GetGroups_Call) Run ¶
func (_c *Backend_GetGroups_Call) Run(run func(ctx context.Context, oreq *godata.GoDataRequest)) *Backend_GetGroups_Call
func (*Backend_GetGroups_Call) RunAndReturn ¶
func (_c *Backend_GetGroups_Call) RunAndReturn(run func(context.Context, *godata.GoDataRequest) ([]*libregraph.Group, error)) *Backend_GetGroups_Call
type Backend_GetUser_Call ¶
Backend_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*Backend_GetUser_Call) Return ¶
func (_c *Backend_GetUser_Call) Return(_a0 *libregraph.User, _a1 error) *Backend_GetUser_Call
func (*Backend_GetUser_Call) Run ¶
func (_c *Backend_GetUser_Call) Run(run func(ctx context.Context, nameOrID string, oreq *godata.GoDataRequest)) *Backend_GetUser_Call
func (*Backend_GetUser_Call) RunAndReturn ¶
func (_c *Backend_GetUser_Call) RunAndReturn(run func(context.Context, string, *godata.GoDataRequest) (*libregraph.User, error)) *Backend_GetUser_Call
type Backend_GetUsers_Call ¶
Backend_GetUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsers'
func (*Backend_GetUsers_Call) Return ¶
func (_c *Backend_GetUsers_Call) Return(_a0 []*libregraph.User, _a1 error) *Backend_GetUsers_Call
func (*Backend_GetUsers_Call) Run ¶
func (_c *Backend_GetUsers_Call) Run(run func(ctx context.Context, oreq *godata.GoDataRequest)) *Backend_GetUsers_Call
func (*Backend_GetUsers_Call) RunAndReturn ¶
func (_c *Backend_GetUsers_Call) RunAndReturn(run func(context.Context, *godata.GoDataRequest) ([]*libregraph.User, error)) *Backend_GetUsers_Call
type Backend_RemoveMemberFromGroup_Call ¶
Backend_RemoveMemberFromGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveMemberFromGroup'
func (*Backend_RemoveMemberFromGroup_Call) Return ¶
func (_c *Backend_RemoveMemberFromGroup_Call) Return(_a0 error) *Backend_RemoveMemberFromGroup_Call
func (*Backend_RemoveMemberFromGroup_Call) Run ¶
func (_c *Backend_RemoveMemberFromGroup_Call) Run(run func(ctx context.Context, groupID string, memberID string)) *Backend_RemoveMemberFromGroup_Call
func (*Backend_RemoveMemberFromGroup_Call) RunAndReturn ¶
func (_c *Backend_RemoveMemberFromGroup_Call) RunAndReturn(run func(context.Context, string, string) error) *Backend_RemoveMemberFromGroup_Call
type Backend_UpdateGroupName_Call ¶
Backend_UpdateGroupName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGroupName'
func (*Backend_UpdateGroupName_Call) Return ¶
func (_c *Backend_UpdateGroupName_Call) Return(_a0 error) *Backend_UpdateGroupName_Call
func (*Backend_UpdateGroupName_Call) Run ¶
func (_c *Backend_UpdateGroupName_Call) Run(run func(ctx context.Context, groupID string, groupName string)) *Backend_UpdateGroupName_Call
func (*Backend_UpdateGroupName_Call) RunAndReturn ¶
func (_c *Backend_UpdateGroupName_Call) RunAndReturn(run func(context.Context, string, string) error) *Backend_UpdateGroupName_Call
type Backend_UpdateLastSignInDate_Call ¶
Backend_UpdateLastSignInDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLastSignInDate'
func (*Backend_UpdateLastSignInDate_Call) Return ¶
func (_c *Backend_UpdateLastSignInDate_Call) Return(_a0 error) *Backend_UpdateLastSignInDate_Call
func (*Backend_UpdateLastSignInDate_Call) Run ¶
func (_c *Backend_UpdateLastSignInDate_Call) Run(run func(ctx context.Context, userID string, timestamp time.Time)) *Backend_UpdateLastSignInDate_Call
func (*Backend_UpdateLastSignInDate_Call) RunAndReturn ¶
func (_c *Backend_UpdateLastSignInDate_Call) RunAndReturn(run func(context.Context, string, time.Time) error) *Backend_UpdateLastSignInDate_Call
type Backend_UpdateUser_Call ¶
Backend_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*Backend_UpdateUser_Call) Return ¶
func (_c *Backend_UpdateUser_Call) Return(_a0 *libregraph.User, _a1 error) *Backend_UpdateUser_Call
func (*Backend_UpdateUser_Call) Run ¶
func (_c *Backend_UpdateUser_Call) Run(run func(ctx context.Context, nameOrID string, user libregraph.UserUpdate)) *Backend_UpdateUser_Call
func (*Backend_UpdateUser_Call) RunAndReturn ¶
func (_c *Backend_UpdateUser_Call) RunAndReturn(run func(context.Context, string, libregraph.UserUpdate) (*libregraph.User, error)) *Backend_UpdateUser_Call
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) Add ¶
func (_m *Client) Add(_a0 *ldap.AddRequest) error
Add provides a mock function with given fields: _a0
func (*Client) Del ¶
func (_m *Client) Del(_a0 *ldap.DelRequest) error
Del provides a mock function with given fields: _a0
func (*Client) DirSync ¶
func (_m *Client) DirSync(searchRequest *ldap.SearchRequest, flags int64, maxAttrCount int64, cookie []byte) (*ldap.SearchResult, error)
DirSync provides a mock function with given fields: searchRequest, flags, maxAttrCount, cookie
func (*Client) DirSyncAsync ¶
func (_m *Client) DirSyncAsync(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, flags int64, maxAttrCount int64, cookie []byte) ldap.Response
DirSyncAsync provides a mock function with given fields: ctx, searchRequest, bufferSize, flags, maxAttrCount, cookie
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) Extended ¶
func (_m *Client) Extended(_a0 *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)
Extended provides a mock function with given fields: _a0
func (*Client) ExternalBind ¶
ExternalBind provides a mock function with given fields:
func (*Client) GetLastError ¶
GetLastError provides a mock function with given fields:
func (*Client) Modify ¶
func (_m *Client) Modify(_a0 *ldap.ModifyRequest) error
Modify provides a mock function with given fields: _a0
func (*Client) ModifyDN ¶
func (_m *Client) ModifyDN(_a0 *ldap.ModifyDNRequest) error
ModifyDN provides a mock function with given fields: _a0
func (*Client) ModifyWithResult ¶
func (_m *Client) ModifyWithResult(_a0 *ldap.ModifyRequest) (*ldap.ModifyResult, error)
ModifyWithResult provides a mock function with given fields: _a0
func (*Client) NTLMUnauthenticatedBind ¶
NTLMUnauthenticatedBind provides a mock function with given fields: domain, username
func (*Client) PasswordModify ¶
func (_m *Client) PasswordModify(_a0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
PasswordModify provides a mock function with given fields: _a0
func (*Client) Search ¶
func (_m *Client) Search(_a0 *ldap.SearchRequest) (*ldap.SearchResult, error)
Search provides a mock function with given fields: _a0
func (*Client) SearchAsync ¶
func (_m *Client) SearchAsync(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int) ldap.Response
SearchAsync provides a mock function with given fields: ctx, searchRequest, bufferSize
func (*Client) SearchWithPaging ¶
func (_m *Client) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
SearchWithPaging provides a mock function with given fields: searchRequest, pagingSize
func (*Client) SetTimeout ¶
SetTimeout provides a mock function with given fields: _a0
func (*Client) SimpleBind ¶
func (_m *Client) SimpleBind(_a0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
SimpleBind provides a mock function with given fields: _a0
func (*Client) Syncrepl ¶
func (_m *Client) Syncrepl(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, mode ldap.ControlSyncRequestMode, cookie []byte, reloadHint bool) ldap.Response
Syncrepl provides a mock function with given fields: ctx, searchRequest, bufferSize, mode, cookie, reloadHint
func (*Client) TLSConnectionState ¶
func (_m *Client) TLSConnectionState() (tls.ConnectionState, bool)
TLSConnectionState provides a mock function with given fields:
func (*Client) UnauthenticatedBind ¶
UnauthenticatedBind provides a mock function with given fields: username
type Client_Add_Call ¶
Client_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Client_Add_Call) Return ¶
func (_c *Client_Add_Call) Return(_a0 error) *Client_Add_Call
func (*Client_Add_Call) Run ¶
func (_c *Client_Add_Call) Run(run func(_a0 *ldap.AddRequest)) *Client_Add_Call
func (*Client_Add_Call) RunAndReturn ¶
func (_c *Client_Add_Call) RunAndReturn(run func(*ldap.AddRequest) error) *Client_Add_Call
type Client_Bind_Call ¶
Client_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*Client_Bind_Call) Return ¶
func (_c *Client_Bind_Call) Return(_a0 error) *Client_Bind_Call
func (*Client_Bind_Call) Run ¶
func (_c *Client_Bind_Call) Run(run func(username string, password string)) *Client_Bind_Call
func (*Client_Bind_Call) RunAndReturn ¶
func (_c *Client_Bind_Call) RunAndReturn(run func(string, string) error) *Client_Bind_Call
type Client_Close_Call ¶
Client_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Client_Close_Call) Return ¶
func (_c *Client_Close_Call) Return(_a0 error) *Client_Close_Call
func (*Client_Close_Call) Run ¶
func (_c *Client_Close_Call) Run(run func()) *Client_Close_Call
func (*Client_Close_Call) RunAndReturn ¶
func (_c *Client_Close_Call) RunAndReturn(run func() error) *Client_Close_Call
type Client_Compare_Call ¶
Client_Compare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Compare'
func (*Client_Compare_Call) Return ¶
func (_c *Client_Compare_Call) Return(_a0 bool, _a1 error) *Client_Compare_Call
func (*Client_Compare_Call) Run ¶
func (_c *Client_Compare_Call) Run(run func(dn string, attribute string, value string)) *Client_Compare_Call
func (*Client_Compare_Call) RunAndReturn ¶
func (_c *Client_Compare_Call) RunAndReturn(run func(string, string, string) (bool, error)) *Client_Compare_Call
type Client_Del_Call ¶
Client_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*Client_Del_Call) Return ¶
func (_c *Client_Del_Call) Return(_a0 error) *Client_Del_Call
func (*Client_Del_Call) Run ¶
func (_c *Client_Del_Call) Run(run func(_a0 *ldap.DelRequest)) *Client_Del_Call
func (*Client_Del_Call) RunAndReturn ¶
func (_c *Client_Del_Call) RunAndReturn(run func(*ldap.DelRequest) error) *Client_Del_Call
type Client_DirSyncAsync_Call ¶
Client_DirSyncAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DirSyncAsync'
func (*Client_DirSyncAsync_Call) Return ¶
func (_c *Client_DirSyncAsync_Call) Return(_a0 ldap.Response) *Client_DirSyncAsync_Call
func (*Client_DirSyncAsync_Call) Run ¶
func (_c *Client_DirSyncAsync_Call) Run(run func(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, flags int64, maxAttrCount int64, cookie []byte)) *Client_DirSyncAsync_Call
func (*Client_DirSyncAsync_Call) RunAndReturn ¶
func (_c *Client_DirSyncAsync_Call) RunAndReturn(run func(context.Context, *ldap.SearchRequest, int, int64, int64, []byte) ldap.Response) *Client_DirSyncAsync_Call
type Client_DirSync_Call ¶
Client_DirSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DirSync'
func (*Client_DirSync_Call) Return ¶
func (_c *Client_DirSync_Call) Return(_a0 *ldap.SearchResult, _a1 error) *Client_DirSync_Call
func (*Client_DirSync_Call) Run ¶
func (_c *Client_DirSync_Call) Run(run func(searchRequest *ldap.SearchRequest, flags int64, maxAttrCount int64, cookie []byte)) *Client_DirSync_Call
func (*Client_DirSync_Call) RunAndReturn ¶
func (_c *Client_DirSync_Call) RunAndReturn(run func(*ldap.SearchRequest, int64, int64, []byte) (*ldap.SearchResult, error)) *Client_DirSync_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Add ¶
func (_e *Client_Expecter) Add(_a0 interface{}) *Client_Add_Call
Add is a helper method to define mock.On call
- _a0 *ldap.AddRequest
func (*Client_Expecter) Bind ¶
func (_e *Client_Expecter) Bind(username interface{}, password interface{}) *Client_Bind_Call
Bind is a helper method to define mock.On call
- username string
- password string
func (*Client_Expecter) Close ¶
func (_e *Client_Expecter) Close() *Client_Close_Call
Close is a helper method to define mock.On call
func (*Client_Expecter) Compare ¶
func (_e *Client_Expecter) Compare(dn interface{}, attribute interface{}, value interface{}) *Client_Compare_Call
Compare is a helper method to define mock.On call
- dn string
- attribute string
- value string
func (*Client_Expecter) Del ¶
func (_e *Client_Expecter) Del(_a0 interface{}) *Client_Del_Call
Del is a helper method to define mock.On call
- _a0 *ldap.DelRequest
func (*Client_Expecter) DirSync ¶
func (_e *Client_Expecter) DirSync(searchRequest interface{}, flags interface{}, maxAttrCount interface{}, cookie interface{}) *Client_DirSync_Call
DirSync is a helper method to define mock.On call
- searchRequest *ldap.SearchRequest
- flags int64
- maxAttrCount int64
- cookie []byte
func (*Client_Expecter) DirSyncAsync ¶
func (_e *Client_Expecter) DirSyncAsync(ctx interface{}, searchRequest interface{}, bufferSize interface{}, flags interface{}, maxAttrCount interface{}, cookie interface{}) *Client_DirSyncAsync_Call
DirSyncAsync is a helper method to define mock.On call
- ctx context.Context
- searchRequest *ldap.SearchRequest
- bufferSize int
- flags int64
- maxAttrCount int64
- cookie []byte
func (*Client_Expecter) Extended ¶
func (_e *Client_Expecter) Extended(_a0 interface{}) *Client_Extended_Call
Extended is a helper method to define mock.On call
- _a0 *ldap.ExtendedRequest
func (*Client_Expecter) ExternalBind ¶
func (_e *Client_Expecter) ExternalBind() *Client_ExternalBind_Call
ExternalBind is a helper method to define mock.On call
func (*Client_Expecter) GetLastError ¶
func (_e *Client_Expecter) GetLastError() *Client_GetLastError_Call
GetLastError is a helper method to define mock.On call
func (*Client_Expecter) IsClosing ¶
func (_e *Client_Expecter) IsClosing() *Client_IsClosing_Call
IsClosing is a helper method to define mock.On call
func (*Client_Expecter) Modify ¶
func (_e *Client_Expecter) Modify(_a0 interface{}) *Client_Modify_Call
Modify is a helper method to define mock.On call
- _a0 *ldap.ModifyRequest
func (*Client_Expecter) ModifyDN ¶
func (_e *Client_Expecter) ModifyDN(_a0 interface{}) *Client_ModifyDN_Call
ModifyDN is a helper method to define mock.On call
- _a0 *ldap.ModifyDNRequest
func (*Client_Expecter) ModifyWithResult ¶
func (_e *Client_Expecter) ModifyWithResult(_a0 interface{}) *Client_ModifyWithResult_Call
ModifyWithResult is a helper method to define mock.On call
- _a0 *ldap.ModifyRequest
func (*Client_Expecter) NTLMUnauthenticatedBind ¶
func (_e *Client_Expecter) NTLMUnauthenticatedBind(domain interface{}, username interface{}) *Client_NTLMUnauthenticatedBind_Call
NTLMUnauthenticatedBind is a helper method to define mock.On call
- domain string
- username string
func (*Client_Expecter) PasswordModify ¶
func (_e *Client_Expecter) PasswordModify(_a0 interface{}) *Client_PasswordModify_Call
PasswordModify is a helper method to define mock.On call
- _a0 *ldap.PasswordModifyRequest
func (*Client_Expecter) Search ¶
func (_e *Client_Expecter) Search(_a0 interface{}) *Client_Search_Call
Search is a helper method to define mock.On call
- _a0 *ldap.SearchRequest
func (*Client_Expecter) SearchAsync ¶
func (_e *Client_Expecter) SearchAsync(ctx interface{}, searchRequest interface{}, bufferSize interface{}) *Client_SearchAsync_Call
SearchAsync is a helper method to define mock.On call
- ctx context.Context
- searchRequest *ldap.SearchRequest
- bufferSize int
func (*Client_Expecter) SearchWithPaging ¶
func (_e *Client_Expecter) SearchWithPaging(searchRequest interface{}, pagingSize interface{}) *Client_SearchWithPaging_Call
SearchWithPaging is a helper method to define mock.On call
- searchRequest *ldap.SearchRequest
- pagingSize uint32
func (*Client_Expecter) SetTimeout ¶
func (_e *Client_Expecter) SetTimeout(_a0 interface{}) *Client_SetTimeout_Call
SetTimeout is a helper method to define mock.On call
- _a0 time.Duration
func (*Client_Expecter) SimpleBind ¶
func (_e *Client_Expecter) SimpleBind(_a0 interface{}) *Client_SimpleBind_Call
SimpleBind is a helper method to define mock.On call
- _a0 *ldap.SimpleBindRequest
func (*Client_Expecter) Start ¶
func (_e *Client_Expecter) Start() *Client_Start_Call
Start is a helper method to define mock.On call
func (*Client_Expecter) StartTLS ¶
func (_e *Client_Expecter) StartTLS(_a0 interface{}) *Client_StartTLS_Call
StartTLS is a helper method to define mock.On call
- _a0 *tls.Config
func (*Client_Expecter) Syncrepl ¶
func (_e *Client_Expecter) Syncrepl(ctx interface{}, searchRequest interface{}, bufferSize interface{}, mode interface{}, cookie interface{}, reloadHint interface{}) *Client_Syncrepl_Call
Syncrepl is a helper method to define mock.On call
- ctx context.Context
- searchRequest *ldap.SearchRequest
- bufferSize int
- mode ldap.ControlSyncRequestMode
- cookie []byte
- reloadHint bool
func (*Client_Expecter) TLSConnectionState ¶
func (_e *Client_Expecter) TLSConnectionState() *Client_TLSConnectionState_Call
TLSConnectionState is a helper method to define mock.On call
func (*Client_Expecter) UnauthenticatedBind ¶
func (_e *Client_Expecter) UnauthenticatedBind(username interface{}) *Client_UnauthenticatedBind_Call
UnauthenticatedBind is a helper method to define mock.On call
- username string
func (*Client_Expecter) Unbind ¶
func (_e *Client_Expecter) Unbind() *Client_Unbind_Call
Unbind is a helper method to define mock.On call
type Client_Extended_Call ¶
Client_Extended_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Extended'
func (*Client_Extended_Call) Return ¶
func (_c *Client_Extended_Call) Return(_a0 *ldap.ExtendedResponse, _a1 error) *Client_Extended_Call
func (*Client_Extended_Call) Run ¶
func (_c *Client_Extended_Call) Run(run func(_a0 *ldap.ExtendedRequest)) *Client_Extended_Call
func (*Client_Extended_Call) RunAndReturn ¶
func (_c *Client_Extended_Call) RunAndReturn(run func(*ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)) *Client_Extended_Call
type Client_ExternalBind_Call ¶
Client_ExternalBind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExternalBind'
func (*Client_ExternalBind_Call) Return ¶
func (_c *Client_ExternalBind_Call) Return(_a0 error) *Client_ExternalBind_Call
func (*Client_ExternalBind_Call) Run ¶
func (_c *Client_ExternalBind_Call) Run(run func()) *Client_ExternalBind_Call
func (*Client_ExternalBind_Call) RunAndReturn ¶
func (_c *Client_ExternalBind_Call) RunAndReturn(run func() error) *Client_ExternalBind_Call
type Client_GetLastError_Call ¶
Client_GetLastError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastError'
func (*Client_GetLastError_Call) Return ¶
func (_c *Client_GetLastError_Call) Return(_a0 error) *Client_GetLastError_Call
func (*Client_GetLastError_Call) Run ¶
func (_c *Client_GetLastError_Call) Run(run func()) *Client_GetLastError_Call
func (*Client_GetLastError_Call) RunAndReturn ¶
func (_c *Client_GetLastError_Call) RunAndReturn(run func() error) *Client_GetLastError_Call
type Client_IsClosing_Call ¶
Client_IsClosing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClosing'
func (*Client_IsClosing_Call) Return ¶
func (_c *Client_IsClosing_Call) Return(_a0 bool) *Client_IsClosing_Call
func (*Client_IsClosing_Call) Run ¶
func (_c *Client_IsClosing_Call) Run(run func()) *Client_IsClosing_Call
func (*Client_IsClosing_Call) RunAndReturn ¶
func (_c *Client_IsClosing_Call) RunAndReturn(run func() bool) *Client_IsClosing_Call
type Client_ModifyDN_Call ¶
Client_ModifyDN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ModifyDN'
func (*Client_ModifyDN_Call) Return ¶
func (_c *Client_ModifyDN_Call) Return(_a0 error) *Client_ModifyDN_Call
func (*Client_ModifyDN_Call) Run ¶
func (_c *Client_ModifyDN_Call) Run(run func(_a0 *ldap.ModifyDNRequest)) *Client_ModifyDN_Call
func (*Client_ModifyDN_Call) RunAndReturn ¶
func (_c *Client_ModifyDN_Call) RunAndReturn(run func(*ldap.ModifyDNRequest) error) *Client_ModifyDN_Call
type Client_ModifyWithResult_Call ¶
Client_ModifyWithResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ModifyWithResult'
func (*Client_ModifyWithResult_Call) Return ¶
func (_c *Client_ModifyWithResult_Call) Return(_a0 *ldap.ModifyResult, _a1 error) *Client_ModifyWithResult_Call
func (*Client_ModifyWithResult_Call) Run ¶
func (_c *Client_ModifyWithResult_Call) Run(run func(_a0 *ldap.ModifyRequest)) *Client_ModifyWithResult_Call
func (*Client_ModifyWithResult_Call) RunAndReturn ¶
func (_c *Client_ModifyWithResult_Call) RunAndReturn(run func(*ldap.ModifyRequest) (*ldap.ModifyResult, error)) *Client_ModifyWithResult_Call
type Client_Modify_Call ¶
Client_Modify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Modify'
func (*Client_Modify_Call) Return ¶
func (_c *Client_Modify_Call) Return(_a0 error) *Client_Modify_Call
func (*Client_Modify_Call) Run ¶
func (_c *Client_Modify_Call) Run(run func(_a0 *ldap.ModifyRequest)) *Client_Modify_Call
func (*Client_Modify_Call) RunAndReturn ¶
func (_c *Client_Modify_Call) RunAndReturn(run func(*ldap.ModifyRequest) error) *Client_Modify_Call
type Client_NTLMUnauthenticatedBind_Call ¶
Client_NTLMUnauthenticatedBind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NTLMUnauthenticatedBind'
func (*Client_NTLMUnauthenticatedBind_Call) Return ¶
func (_c *Client_NTLMUnauthenticatedBind_Call) Return(_a0 error) *Client_NTLMUnauthenticatedBind_Call
func (*Client_NTLMUnauthenticatedBind_Call) Run ¶
func (_c *Client_NTLMUnauthenticatedBind_Call) Run(run func(domain string, username string)) *Client_NTLMUnauthenticatedBind_Call
func (*Client_NTLMUnauthenticatedBind_Call) RunAndReturn ¶
func (_c *Client_NTLMUnauthenticatedBind_Call) RunAndReturn(run func(string, string) error) *Client_NTLMUnauthenticatedBind_Call
type Client_PasswordModify_Call ¶
Client_PasswordModify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PasswordModify'
func (*Client_PasswordModify_Call) Return ¶
func (_c *Client_PasswordModify_Call) Return(_a0 *ldap.PasswordModifyResult, _a1 error) *Client_PasswordModify_Call
func (*Client_PasswordModify_Call) Run ¶
func (_c *Client_PasswordModify_Call) Run(run func(_a0 *ldap.PasswordModifyRequest)) *Client_PasswordModify_Call
func (*Client_PasswordModify_Call) RunAndReturn ¶
func (_c *Client_PasswordModify_Call) RunAndReturn(run func(*ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)) *Client_PasswordModify_Call
type Client_SearchAsync_Call ¶
Client_SearchAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchAsync'
func (*Client_SearchAsync_Call) Return ¶
func (_c *Client_SearchAsync_Call) Return(_a0 ldap.Response) *Client_SearchAsync_Call
func (*Client_SearchAsync_Call) Run ¶
func (_c *Client_SearchAsync_Call) Run(run func(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int)) *Client_SearchAsync_Call
func (*Client_SearchAsync_Call) RunAndReturn ¶
func (_c *Client_SearchAsync_Call) RunAndReturn(run func(context.Context, *ldap.SearchRequest, int) ldap.Response) *Client_SearchAsync_Call
type Client_SearchWithPaging_Call ¶
Client_SearchWithPaging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchWithPaging'
func (*Client_SearchWithPaging_Call) Return ¶
func (_c *Client_SearchWithPaging_Call) Return(_a0 *ldap.SearchResult, _a1 error) *Client_SearchWithPaging_Call
func (*Client_SearchWithPaging_Call) Run ¶
func (_c *Client_SearchWithPaging_Call) Run(run func(searchRequest *ldap.SearchRequest, pagingSize uint32)) *Client_SearchWithPaging_Call
func (*Client_SearchWithPaging_Call) RunAndReturn ¶
func (_c *Client_SearchWithPaging_Call) RunAndReturn(run func(*ldap.SearchRequest, uint32) (*ldap.SearchResult, error)) *Client_SearchWithPaging_Call
type Client_Search_Call ¶
Client_Search_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Search'
func (*Client_Search_Call) Return ¶
func (_c *Client_Search_Call) Return(_a0 *ldap.SearchResult, _a1 error) *Client_Search_Call
func (*Client_Search_Call) Run ¶
func (_c *Client_Search_Call) Run(run func(_a0 *ldap.SearchRequest)) *Client_Search_Call
func (*Client_Search_Call) RunAndReturn ¶
func (_c *Client_Search_Call) RunAndReturn(run func(*ldap.SearchRequest) (*ldap.SearchResult, error)) *Client_Search_Call
type Client_SetTimeout_Call ¶
Client_SetTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTimeout'
func (*Client_SetTimeout_Call) Return ¶
func (_c *Client_SetTimeout_Call) Return() *Client_SetTimeout_Call
func (*Client_SetTimeout_Call) Run ¶
func (_c *Client_SetTimeout_Call) Run(run func(_a0 time.Duration)) *Client_SetTimeout_Call
func (*Client_SetTimeout_Call) RunAndReturn ¶
func (_c *Client_SetTimeout_Call) RunAndReturn(run func(time.Duration)) *Client_SetTimeout_Call
type Client_SimpleBind_Call ¶
Client_SimpleBind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimpleBind'
func (*Client_SimpleBind_Call) Return ¶
func (_c *Client_SimpleBind_Call) Return(_a0 *ldap.SimpleBindResult, _a1 error) *Client_SimpleBind_Call
func (*Client_SimpleBind_Call) Run ¶
func (_c *Client_SimpleBind_Call) Run(run func(_a0 *ldap.SimpleBindRequest)) *Client_SimpleBind_Call
func (*Client_SimpleBind_Call) RunAndReturn ¶
func (_c *Client_SimpleBind_Call) RunAndReturn(run func(*ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)) *Client_SimpleBind_Call
type Client_StartTLS_Call ¶
Client_StartTLS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartTLS'
func (*Client_StartTLS_Call) Return ¶
func (_c *Client_StartTLS_Call) Return(_a0 error) *Client_StartTLS_Call
func (*Client_StartTLS_Call) Run ¶
func (_c *Client_StartTLS_Call) Run(run func(_a0 *tls.Config)) *Client_StartTLS_Call
func (*Client_StartTLS_Call) RunAndReturn ¶
func (_c *Client_StartTLS_Call) RunAndReturn(run func(*tls.Config) error) *Client_StartTLS_Call
type Client_Start_Call ¶
Client_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Client_Start_Call) Return ¶
func (_c *Client_Start_Call) Return() *Client_Start_Call
func (*Client_Start_Call) Run ¶
func (_c *Client_Start_Call) Run(run func()) *Client_Start_Call
func (*Client_Start_Call) RunAndReturn ¶
func (_c *Client_Start_Call) RunAndReturn(run func()) *Client_Start_Call
type Client_Syncrepl_Call ¶
Client_Syncrepl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Syncrepl'
func (*Client_Syncrepl_Call) Return ¶
func (_c *Client_Syncrepl_Call) Return(_a0 ldap.Response) *Client_Syncrepl_Call
func (*Client_Syncrepl_Call) Run ¶
func (_c *Client_Syncrepl_Call) Run(run func(ctx context.Context, searchRequest *ldap.SearchRequest, bufferSize int, mode ldap.ControlSyncRequestMode, cookie []byte, reloadHint bool)) *Client_Syncrepl_Call
func (*Client_Syncrepl_Call) RunAndReturn ¶
func (_c *Client_Syncrepl_Call) RunAndReturn(run func(context.Context, *ldap.SearchRequest, int, ldap.ControlSyncRequestMode, []byte, bool) ldap.Response) *Client_Syncrepl_Call
type Client_TLSConnectionState_Call ¶
Client_TLSConnectionState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TLSConnectionState'
func (*Client_TLSConnectionState_Call) Return ¶
func (_c *Client_TLSConnectionState_Call) Return(_a0 tls.ConnectionState, _a1 bool) *Client_TLSConnectionState_Call
func (*Client_TLSConnectionState_Call) Run ¶
func (_c *Client_TLSConnectionState_Call) Run(run func()) *Client_TLSConnectionState_Call
func (*Client_TLSConnectionState_Call) RunAndReturn ¶
func (_c *Client_TLSConnectionState_Call) RunAndReturn(run func() (tls.ConnectionState, bool)) *Client_TLSConnectionState_Call
type Client_UnauthenticatedBind_Call ¶
Client_UnauthenticatedBind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnauthenticatedBind'
func (*Client_UnauthenticatedBind_Call) Return ¶
func (_c *Client_UnauthenticatedBind_Call) Return(_a0 error) *Client_UnauthenticatedBind_Call
func (*Client_UnauthenticatedBind_Call) Run ¶
func (_c *Client_UnauthenticatedBind_Call) Run(run func(username string)) *Client_UnauthenticatedBind_Call
func (*Client_UnauthenticatedBind_Call) RunAndReturn ¶
func (_c *Client_UnauthenticatedBind_Call) RunAndReturn(run func(string) error) *Client_UnauthenticatedBind_Call
type Client_Unbind_Call ¶
Client_Unbind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unbind'
func (*Client_Unbind_Call) Return ¶
func (_c *Client_Unbind_Call) Return(_a0 error) *Client_Unbind_Call
func (*Client_Unbind_Call) Run ¶
func (_c *Client_Unbind_Call) Run(run func()) *Client_Unbind_Call
func (*Client_Unbind_Call) RunAndReturn ¶
func (_c *Client_Unbind_Call) RunAndReturn(run func() error) *Client_Unbind_Call
type EducationBackend ¶
EducationBackend is an autogenerated mock type for the EducationBackend type
func NewEducationBackend ¶
func NewEducationBackend(t interface {
mock.TestingT
Cleanup(func())
}) *EducationBackend
NewEducationBackend creates a new instance of EducationBackend. 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 (*EducationBackend) AddClassesToEducationSchool ¶
func (_m *EducationBackend) AddClassesToEducationSchool(ctx context.Context, schoolNumberOrID string, memberIDs []string) error
AddClassesToEducationSchool provides a mock function with given fields: ctx, schoolNumberOrID, memberIDs
func (*EducationBackend) AddTeacherToEducationClass ¶
func (_m *EducationBackend) AddTeacherToEducationClass(ctx context.Context, classID string, teacherID string) error
AddTeacherToEducationClass provides a mock function with given fields: ctx, classID, teacherID
func (*EducationBackend) AddUsersToEducationSchool ¶
func (_m *EducationBackend) AddUsersToEducationSchool(ctx context.Context, schoolID string, memberID []string) error
AddUsersToEducationSchool provides a mock function with given fields: ctx, schoolID, memberID
func (*EducationBackend) CreateEducationClass ¶
func (_m *EducationBackend) CreateEducationClass(ctx context.Context, class libregraph.EducationClass) (*libregraph.EducationClass, error)
CreateEducationClass provides a mock function with given fields: ctx, class
func (*EducationBackend) CreateEducationSchool ¶
func (_m *EducationBackend) CreateEducationSchool(ctx context.Context, group libregraph.EducationSchool) (*libregraph.EducationSchool, error)
CreateEducationSchool provides a mock function with given fields: ctx, group
func (*EducationBackend) CreateEducationUser ¶
func (_m *EducationBackend) CreateEducationUser(ctx context.Context, user libregraph.EducationUser) (*libregraph.EducationUser, error)
CreateEducationUser provides a mock function with given fields: ctx, user
func (*EducationBackend) DeleteEducationClass ¶
func (_m *EducationBackend) DeleteEducationClass(ctx context.Context, nameOrID string) error
DeleteEducationClass provides a mock function with given fields: ctx, nameOrID
func (*EducationBackend) DeleteEducationSchool ¶
func (_m *EducationBackend) DeleteEducationSchool(ctx context.Context, id string) error
DeleteEducationSchool provides a mock function with given fields: ctx, id
func (*EducationBackend) DeleteEducationUser ¶
func (_m *EducationBackend) DeleteEducationUser(ctx context.Context, nameOrID string) error
DeleteEducationUser provides a mock function with given fields: ctx, nameOrID
func (*EducationBackend) EXPECT ¶
func (_m *EducationBackend) EXPECT() *EducationBackend_Expecter
func (*EducationBackend) GetEducationClass ¶
func (_m *EducationBackend) GetEducationClass(ctx context.Context, namedOrID string) (*libregraph.EducationClass, error)
GetEducationClass provides a mock function with given fields: ctx, namedOrID
func (*EducationBackend) GetEducationClassMembers ¶
func (_m *EducationBackend) GetEducationClassMembers(ctx context.Context, nameOrID string) ([]*libregraph.EducationUser, error)
GetEducationClassMembers provides a mock function with given fields: ctx, nameOrID
func (*EducationBackend) GetEducationClassTeachers ¶
func (_m *EducationBackend) GetEducationClassTeachers(ctx context.Context, classID string) ([]*libregraph.EducationUser, error)
GetEducationClassTeachers provides a mock function with given fields: ctx, classID
func (*EducationBackend) GetEducationClasses ¶
func (_m *EducationBackend) GetEducationClasses(ctx context.Context) ([]*libregraph.EducationClass, error)
GetEducationClasses provides a mock function with given fields: ctx
func (*EducationBackend) GetEducationSchool ¶
func (_m *EducationBackend) GetEducationSchool(ctx context.Context, nameOrID string) (*libregraph.EducationSchool, error)
GetEducationSchool provides a mock function with given fields: ctx, nameOrID
func (*EducationBackend) GetEducationSchoolClasses ¶
func (_m *EducationBackend) GetEducationSchoolClasses(ctx context.Context, schoolNumberOrID string) ([]*libregraph.EducationClass, error)
GetEducationSchoolClasses provides a mock function with given fields: ctx, schoolNumberOrID
func (*EducationBackend) GetEducationSchoolUsers ¶
func (_m *EducationBackend) GetEducationSchoolUsers(ctx context.Context, id string) ([]*libregraph.EducationUser, error)
GetEducationSchoolUsers provides a mock function with given fields: ctx, id
func (*EducationBackend) GetEducationSchools ¶
func (_m *EducationBackend) GetEducationSchools(ctx context.Context) ([]*libregraph.EducationSchool, error)
GetEducationSchools provides a mock function with given fields: ctx
func (*EducationBackend) GetEducationUser ¶
func (_m *EducationBackend) GetEducationUser(ctx context.Context, nameOrID string) (*libregraph.EducationUser, error)
GetEducationUser provides a mock function with given fields: ctx, nameOrID
func (*EducationBackend) GetEducationUsers ¶
func (_m *EducationBackend) GetEducationUsers(ctx context.Context) ([]*libregraph.EducationUser, error)
GetEducationUsers provides a mock function with given fields: ctx
func (*EducationBackend) RemoveClassFromEducationSchool ¶
func (_m *EducationBackend) RemoveClassFromEducationSchool(ctx context.Context, schoolNumberOrID string, memberID string) error
RemoveClassFromEducationSchool provides a mock function with given fields: ctx, schoolNumberOrID, memberID
func (*EducationBackend) RemoveTeacherFromEducationClass ¶
func (_m *EducationBackend) RemoveTeacherFromEducationClass(ctx context.Context, classID string, teacherID string) error
RemoveTeacherFromEducationClass provides a mock function with given fields: ctx, classID, teacherID
func (*EducationBackend) RemoveUserFromEducationSchool ¶
func (_m *EducationBackend) RemoveUserFromEducationSchool(ctx context.Context, schoolID string, memberID string) error
RemoveUserFromEducationSchool provides a mock function with given fields: ctx, schoolID, memberID
func (*EducationBackend) UpdateEducationClass ¶
func (_m *EducationBackend) UpdateEducationClass(ctx context.Context, id string, class libregraph.EducationClass) (*libregraph.EducationClass, error)
UpdateEducationClass provides a mock function with given fields: ctx, id, class
func (*EducationBackend) UpdateEducationSchool ¶
func (_m *EducationBackend) UpdateEducationSchool(ctx context.Context, numberOrID string, school libregraph.EducationSchool) (*libregraph.EducationSchool, error)
UpdateEducationSchool provides a mock function with given fields: ctx, numberOrID, school
func (*EducationBackend) UpdateEducationUser ¶
func (_m *EducationBackend) UpdateEducationUser(ctx context.Context, nameOrID string, user libregraph.EducationUser) (*libregraph.EducationUser, error)
UpdateEducationUser provides a mock function with given fields: ctx, nameOrID, user
type EducationBackend_AddClassesToEducationSchool_Call ¶
EducationBackend_AddClassesToEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddClassesToEducationSchool'
func (*EducationBackend_AddClassesToEducationSchool_Call) Return ¶
func (_c *EducationBackend_AddClassesToEducationSchool_Call) Return(_a0 error) *EducationBackend_AddClassesToEducationSchool_Call
func (*EducationBackend_AddClassesToEducationSchool_Call) Run ¶
func (_c *EducationBackend_AddClassesToEducationSchool_Call) Run(run func(ctx context.Context, schoolNumberOrID string, memberIDs []string)) *EducationBackend_AddClassesToEducationSchool_Call
func (*EducationBackend_AddClassesToEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_AddClassesToEducationSchool_Call) RunAndReturn(run func(context.Context, string, []string) error) *EducationBackend_AddClassesToEducationSchool_Call
type EducationBackend_AddTeacherToEducationClass_Call ¶
EducationBackend_AddTeacherToEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTeacherToEducationClass'
func (*EducationBackend_AddTeacherToEducationClass_Call) Return ¶
func (_c *EducationBackend_AddTeacherToEducationClass_Call) Return(_a0 error) *EducationBackend_AddTeacherToEducationClass_Call
func (*EducationBackend_AddTeacherToEducationClass_Call) Run ¶
func (_c *EducationBackend_AddTeacherToEducationClass_Call) Run(run func(ctx context.Context, classID string, teacherID string)) *EducationBackend_AddTeacherToEducationClass_Call
func (*EducationBackend_AddTeacherToEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_AddTeacherToEducationClass_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_AddTeacherToEducationClass_Call
type EducationBackend_AddUsersToEducationSchool_Call ¶
EducationBackend_AddUsersToEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUsersToEducationSchool'
func (*EducationBackend_AddUsersToEducationSchool_Call) Return ¶
func (_c *EducationBackend_AddUsersToEducationSchool_Call) Return(_a0 error) *EducationBackend_AddUsersToEducationSchool_Call
func (*EducationBackend_AddUsersToEducationSchool_Call) Run ¶
func (_c *EducationBackend_AddUsersToEducationSchool_Call) Run(run func(ctx context.Context, schoolID string, memberID []string)) *EducationBackend_AddUsersToEducationSchool_Call
func (*EducationBackend_AddUsersToEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_AddUsersToEducationSchool_Call) RunAndReturn(run func(context.Context, string, []string) error) *EducationBackend_AddUsersToEducationSchool_Call
type EducationBackend_CreateEducationClass_Call ¶
EducationBackend_CreateEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEducationClass'
func (*EducationBackend_CreateEducationClass_Call) Return ¶
func (_c *EducationBackend_CreateEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_CreateEducationClass_Call
func (*EducationBackend_CreateEducationClass_Call) Run ¶
func (_c *EducationBackend_CreateEducationClass_Call) Run(run func(ctx context.Context, class libregraph.EducationClass)) *EducationBackend_CreateEducationClass_Call
func (*EducationBackend_CreateEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_CreateEducationClass_Call) RunAndReturn(run func(context.Context, libregraph.EducationClass) (*libregraph.EducationClass, error)) *EducationBackend_CreateEducationClass_Call
type EducationBackend_CreateEducationSchool_Call ¶
EducationBackend_CreateEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEducationSchool'
func (*EducationBackend_CreateEducationSchool_Call) Return ¶
func (_c *EducationBackend_CreateEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_CreateEducationSchool_Call
func (*EducationBackend_CreateEducationSchool_Call) Run ¶
func (_c *EducationBackend_CreateEducationSchool_Call) Run(run func(ctx context.Context, group libregraph.EducationSchool)) *EducationBackend_CreateEducationSchool_Call
func (*EducationBackend_CreateEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_CreateEducationSchool_Call) RunAndReturn(run func(context.Context, libregraph.EducationSchool) (*libregraph.EducationSchool, error)) *EducationBackend_CreateEducationSchool_Call
type EducationBackend_CreateEducationUser_Call ¶
EducationBackend_CreateEducationUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEducationUser'
func (*EducationBackend_CreateEducationUser_Call) Return ¶
func (_c *EducationBackend_CreateEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_CreateEducationUser_Call
func (*EducationBackend_CreateEducationUser_Call) Run ¶
func (_c *EducationBackend_CreateEducationUser_Call) Run(run func(ctx context.Context, user libregraph.EducationUser)) *EducationBackend_CreateEducationUser_Call
func (*EducationBackend_CreateEducationUser_Call) RunAndReturn ¶
func (_c *EducationBackend_CreateEducationUser_Call) RunAndReturn(run func(context.Context, libregraph.EducationUser) (*libregraph.EducationUser, error)) *EducationBackend_CreateEducationUser_Call
type EducationBackend_DeleteEducationClass_Call ¶
EducationBackend_DeleteEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEducationClass'
func (*EducationBackend_DeleteEducationClass_Call) Return ¶
func (_c *EducationBackend_DeleteEducationClass_Call) Return(_a0 error) *EducationBackend_DeleteEducationClass_Call
func (*EducationBackend_DeleteEducationClass_Call) Run ¶
func (_c *EducationBackend_DeleteEducationClass_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_DeleteEducationClass_Call
func (*EducationBackend_DeleteEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_DeleteEducationClass_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationClass_Call
type EducationBackend_DeleteEducationSchool_Call ¶
EducationBackend_DeleteEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEducationSchool'
func (*EducationBackend_DeleteEducationSchool_Call) Return ¶
func (_c *EducationBackend_DeleteEducationSchool_Call) Return(_a0 error) *EducationBackend_DeleteEducationSchool_Call
func (*EducationBackend_DeleteEducationSchool_Call) Run ¶
func (_c *EducationBackend_DeleteEducationSchool_Call) Run(run func(ctx context.Context, id string)) *EducationBackend_DeleteEducationSchool_Call
func (*EducationBackend_DeleteEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_DeleteEducationSchool_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationSchool_Call
type EducationBackend_DeleteEducationUser_Call ¶
EducationBackend_DeleteEducationUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEducationUser'
func (*EducationBackend_DeleteEducationUser_Call) Return ¶
func (_c *EducationBackend_DeleteEducationUser_Call) Return(_a0 error) *EducationBackend_DeleteEducationUser_Call
func (*EducationBackend_DeleteEducationUser_Call) Run ¶
func (_c *EducationBackend_DeleteEducationUser_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_DeleteEducationUser_Call
func (*EducationBackend_DeleteEducationUser_Call) RunAndReturn ¶
func (_c *EducationBackend_DeleteEducationUser_Call) RunAndReturn(run func(context.Context, string) error) *EducationBackend_DeleteEducationUser_Call
type EducationBackend_Expecter ¶
type EducationBackend_Expecter struct {
// contains filtered or unexported fields
}
func (*EducationBackend_Expecter) AddClassesToEducationSchool ¶
func (_e *EducationBackend_Expecter) AddClassesToEducationSchool(ctx interface{}, schoolNumberOrID interface{}, memberIDs interface{}) *EducationBackend_AddClassesToEducationSchool_Call
AddClassesToEducationSchool is a helper method to define mock.On call
- ctx context.Context
- schoolNumberOrID string
- memberIDs []string
func (*EducationBackend_Expecter) AddTeacherToEducationClass ¶
func (_e *EducationBackend_Expecter) AddTeacherToEducationClass(ctx interface{}, classID interface{}, teacherID interface{}) *EducationBackend_AddTeacherToEducationClass_Call
AddTeacherToEducationClass is a helper method to define mock.On call
- ctx context.Context
- classID string
- teacherID string
func (*EducationBackend_Expecter) AddUsersToEducationSchool ¶
func (_e *EducationBackend_Expecter) AddUsersToEducationSchool(ctx interface{}, schoolID interface{}, memberID interface{}) *EducationBackend_AddUsersToEducationSchool_Call
AddUsersToEducationSchool is a helper method to define mock.On call
- ctx context.Context
- schoolID string
- memberID []string
func (*EducationBackend_Expecter) CreateEducationClass ¶
func (_e *EducationBackend_Expecter) CreateEducationClass(ctx interface{}, class interface{}) *EducationBackend_CreateEducationClass_Call
CreateEducationClass is a helper method to define mock.On call
- ctx context.Context
- class libregraph.EducationClass
func (*EducationBackend_Expecter) CreateEducationSchool ¶
func (_e *EducationBackend_Expecter) CreateEducationSchool(ctx interface{}, group interface{}) *EducationBackend_CreateEducationSchool_Call
CreateEducationSchool is a helper method to define mock.On call
- ctx context.Context
- group libregraph.EducationSchool
func (*EducationBackend_Expecter) CreateEducationUser ¶
func (_e *EducationBackend_Expecter) CreateEducationUser(ctx interface{}, user interface{}) *EducationBackend_CreateEducationUser_Call
CreateEducationUser is a helper method to define mock.On call
- ctx context.Context
- user libregraph.EducationUser
func (*EducationBackend_Expecter) DeleteEducationClass ¶
func (_e *EducationBackend_Expecter) DeleteEducationClass(ctx interface{}, nameOrID interface{}) *EducationBackend_DeleteEducationClass_Call
DeleteEducationClass is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*EducationBackend_Expecter) DeleteEducationSchool ¶
func (_e *EducationBackend_Expecter) DeleteEducationSchool(ctx interface{}, id interface{}) *EducationBackend_DeleteEducationSchool_Call
DeleteEducationSchool is a helper method to define mock.On call
- ctx context.Context
- id string
func (*EducationBackend_Expecter) DeleteEducationUser ¶
func (_e *EducationBackend_Expecter) DeleteEducationUser(ctx interface{}, nameOrID interface{}) *EducationBackend_DeleteEducationUser_Call
DeleteEducationUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*EducationBackend_Expecter) GetEducationClass ¶
func (_e *EducationBackend_Expecter) GetEducationClass(ctx interface{}, namedOrID interface{}) *EducationBackend_GetEducationClass_Call
GetEducationClass is a helper method to define mock.On call
- ctx context.Context
- namedOrID string
func (*EducationBackend_Expecter) GetEducationClassMembers ¶
func (_e *EducationBackend_Expecter) GetEducationClassMembers(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationClassMembers_Call
GetEducationClassMembers is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*EducationBackend_Expecter) GetEducationClassTeachers ¶
func (_e *EducationBackend_Expecter) GetEducationClassTeachers(ctx interface{}, classID interface{}) *EducationBackend_GetEducationClassTeachers_Call
GetEducationClassTeachers is a helper method to define mock.On call
- ctx context.Context
- classID string
func (*EducationBackend_Expecter) GetEducationClasses ¶
func (_e *EducationBackend_Expecter) GetEducationClasses(ctx interface{}) *EducationBackend_GetEducationClasses_Call
GetEducationClasses is a helper method to define mock.On call
- ctx context.Context
func (*EducationBackend_Expecter) GetEducationSchool ¶
func (_e *EducationBackend_Expecter) GetEducationSchool(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationSchool_Call
GetEducationSchool is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*EducationBackend_Expecter) GetEducationSchoolClasses ¶
func (_e *EducationBackend_Expecter) GetEducationSchoolClasses(ctx interface{}, schoolNumberOrID interface{}) *EducationBackend_GetEducationSchoolClasses_Call
GetEducationSchoolClasses is a helper method to define mock.On call
- ctx context.Context
- schoolNumberOrID string
func (*EducationBackend_Expecter) GetEducationSchoolUsers ¶
func (_e *EducationBackend_Expecter) GetEducationSchoolUsers(ctx interface{}, id interface{}) *EducationBackend_GetEducationSchoolUsers_Call
GetEducationSchoolUsers is a helper method to define mock.On call
- ctx context.Context
- id string
func (*EducationBackend_Expecter) GetEducationSchools ¶
func (_e *EducationBackend_Expecter) GetEducationSchools(ctx interface{}) *EducationBackend_GetEducationSchools_Call
GetEducationSchools is a helper method to define mock.On call
- ctx context.Context
func (*EducationBackend_Expecter) GetEducationUser ¶
func (_e *EducationBackend_Expecter) GetEducationUser(ctx interface{}, nameOrID interface{}) *EducationBackend_GetEducationUser_Call
GetEducationUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
func (*EducationBackend_Expecter) GetEducationUsers ¶
func (_e *EducationBackend_Expecter) GetEducationUsers(ctx interface{}) *EducationBackend_GetEducationUsers_Call
GetEducationUsers is a helper method to define mock.On call
- ctx context.Context
func (*EducationBackend_Expecter) RemoveClassFromEducationSchool ¶
func (_e *EducationBackend_Expecter) RemoveClassFromEducationSchool(ctx interface{}, schoolNumberOrID interface{}, memberID interface{}) *EducationBackend_RemoveClassFromEducationSchool_Call
RemoveClassFromEducationSchool is a helper method to define mock.On call
- ctx context.Context
- schoolNumberOrID string
- memberID string
func (*EducationBackend_Expecter) RemoveTeacherFromEducationClass ¶
func (_e *EducationBackend_Expecter) RemoveTeacherFromEducationClass(ctx interface{}, classID interface{}, teacherID interface{}) *EducationBackend_RemoveTeacherFromEducationClass_Call
RemoveTeacherFromEducationClass is a helper method to define mock.On call
- ctx context.Context
- classID string
- teacherID string
func (*EducationBackend_Expecter) RemoveUserFromEducationSchool ¶
func (_e *EducationBackend_Expecter) RemoveUserFromEducationSchool(ctx interface{}, schoolID interface{}, memberID interface{}) *EducationBackend_RemoveUserFromEducationSchool_Call
RemoveUserFromEducationSchool is a helper method to define mock.On call
- ctx context.Context
- schoolID string
- memberID string
func (*EducationBackend_Expecter) UpdateEducationClass ¶
func (_e *EducationBackend_Expecter) UpdateEducationClass(ctx interface{}, id interface{}, class interface{}) *EducationBackend_UpdateEducationClass_Call
UpdateEducationClass is a helper method to define mock.On call
- ctx context.Context
- id string
- class libregraph.EducationClass
func (*EducationBackend_Expecter) UpdateEducationSchool ¶
func (_e *EducationBackend_Expecter) UpdateEducationSchool(ctx interface{}, numberOrID interface{}, school interface{}) *EducationBackend_UpdateEducationSchool_Call
UpdateEducationSchool is a helper method to define mock.On call
- ctx context.Context
- numberOrID string
- school libregraph.EducationSchool
func (*EducationBackend_Expecter) UpdateEducationUser ¶
func (_e *EducationBackend_Expecter) UpdateEducationUser(ctx interface{}, nameOrID interface{}, user interface{}) *EducationBackend_UpdateEducationUser_Call
UpdateEducationUser is a helper method to define mock.On call
- ctx context.Context
- nameOrID string
- user libregraph.EducationUser
type EducationBackend_GetEducationClassMembers_Call ¶
EducationBackend_GetEducationClassMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationClassMembers'
func (*EducationBackend_GetEducationClassMembers_Call) Return ¶
func (_c *EducationBackend_GetEducationClassMembers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationClassMembers_Call
func (*EducationBackend_GetEducationClassMembers_Call) Run ¶
func (_c *EducationBackend_GetEducationClassMembers_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationClassMembers_Call
func (*EducationBackend_GetEducationClassMembers_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationClassMembers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationClassMembers_Call
type EducationBackend_GetEducationClassTeachers_Call ¶
EducationBackend_GetEducationClassTeachers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationClassTeachers'
func (*EducationBackend_GetEducationClassTeachers_Call) Return ¶
func (_c *EducationBackend_GetEducationClassTeachers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationClassTeachers_Call
func (*EducationBackend_GetEducationClassTeachers_Call) Run ¶
func (_c *EducationBackend_GetEducationClassTeachers_Call) Run(run func(ctx context.Context, classID string)) *EducationBackend_GetEducationClassTeachers_Call
func (*EducationBackend_GetEducationClassTeachers_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationClassTeachers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationClassTeachers_Call
type EducationBackend_GetEducationClass_Call ¶
EducationBackend_GetEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationClass'
func (*EducationBackend_GetEducationClass_Call) Return ¶
func (_c *EducationBackend_GetEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationClass_Call
func (*EducationBackend_GetEducationClass_Call) Run ¶
func (_c *EducationBackend_GetEducationClass_Call) Run(run func(ctx context.Context, namedOrID string)) *EducationBackend_GetEducationClass_Call
func (*EducationBackend_GetEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationClass_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationClass, error)) *EducationBackend_GetEducationClass_Call
type EducationBackend_GetEducationClasses_Call ¶
EducationBackend_GetEducationClasses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationClasses'
func (*EducationBackend_GetEducationClasses_Call) Return ¶
func (_c *EducationBackend_GetEducationClasses_Call) Return(_a0 []*libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationClasses_Call
func (*EducationBackend_GetEducationClasses_Call) Run ¶
func (_c *EducationBackend_GetEducationClasses_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationClasses_Call
func (*EducationBackend_GetEducationClasses_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationClasses_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationClass, error)) *EducationBackend_GetEducationClasses_Call
type EducationBackend_GetEducationSchoolClasses_Call ¶
EducationBackend_GetEducationSchoolClasses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationSchoolClasses'
func (*EducationBackend_GetEducationSchoolClasses_Call) Return ¶
func (_c *EducationBackend_GetEducationSchoolClasses_Call) Return(_a0 []*libregraph.EducationClass, _a1 error) *EducationBackend_GetEducationSchoolClasses_Call
func (*EducationBackend_GetEducationSchoolClasses_Call) Run ¶
func (_c *EducationBackend_GetEducationSchoolClasses_Call) Run(run func(ctx context.Context, schoolNumberOrID string)) *EducationBackend_GetEducationSchoolClasses_Call
func (*EducationBackend_GetEducationSchoolClasses_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationSchoolClasses_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationClass, error)) *EducationBackend_GetEducationSchoolClasses_Call
type EducationBackend_GetEducationSchoolUsers_Call ¶
EducationBackend_GetEducationSchoolUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationSchoolUsers'
func (*EducationBackend_GetEducationSchoolUsers_Call) Return ¶
func (_c *EducationBackend_GetEducationSchoolUsers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationSchoolUsers_Call
func (*EducationBackend_GetEducationSchoolUsers_Call) Run ¶
func (_c *EducationBackend_GetEducationSchoolUsers_Call) Run(run func(ctx context.Context, id string)) *EducationBackend_GetEducationSchoolUsers_Call
func (*EducationBackend_GetEducationSchoolUsers_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationSchoolUsers_Call) RunAndReturn(run func(context.Context, string) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationSchoolUsers_Call
type EducationBackend_GetEducationSchool_Call ¶
EducationBackend_GetEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationSchool'
func (*EducationBackend_GetEducationSchool_Call) Return ¶
func (_c *EducationBackend_GetEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_GetEducationSchool_Call
func (*EducationBackend_GetEducationSchool_Call) Run ¶
func (_c *EducationBackend_GetEducationSchool_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationSchool_Call
func (*EducationBackend_GetEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationSchool_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationSchool, error)) *EducationBackend_GetEducationSchool_Call
type EducationBackend_GetEducationSchools_Call ¶
EducationBackend_GetEducationSchools_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationSchools'
func (*EducationBackend_GetEducationSchools_Call) Return ¶
func (_c *EducationBackend_GetEducationSchools_Call) Return(_a0 []*libregraph.EducationSchool, _a1 error) *EducationBackend_GetEducationSchools_Call
func (*EducationBackend_GetEducationSchools_Call) Run ¶
func (_c *EducationBackend_GetEducationSchools_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationSchools_Call
func (*EducationBackend_GetEducationSchools_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationSchools_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationSchool, error)) *EducationBackend_GetEducationSchools_Call
type EducationBackend_GetEducationUser_Call ¶
EducationBackend_GetEducationUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationUser'
func (*EducationBackend_GetEducationUser_Call) Return ¶
func (_c *EducationBackend_GetEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationUser_Call
func (*EducationBackend_GetEducationUser_Call) Run ¶
func (_c *EducationBackend_GetEducationUser_Call) Run(run func(ctx context.Context, nameOrID string)) *EducationBackend_GetEducationUser_Call
func (*EducationBackend_GetEducationUser_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationUser_Call) RunAndReturn(run func(context.Context, string) (*libregraph.EducationUser, error)) *EducationBackend_GetEducationUser_Call
type EducationBackend_GetEducationUsers_Call ¶
EducationBackend_GetEducationUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEducationUsers'
func (*EducationBackend_GetEducationUsers_Call) Return ¶
func (_c *EducationBackend_GetEducationUsers_Call) Return(_a0 []*libregraph.EducationUser, _a1 error) *EducationBackend_GetEducationUsers_Call
func (*EducationBackend_GetEducationUsers_Call) Run ¶
func (_c *EducationBackend_GetEducationUsers_Call) Run(run func(ctx context.Context)) *EducationBackend_GetEducationUsers_Call
func (*EducationBackend_GetEducationUsers_Call) RunAndReturn ¶
func (_c *EducationBackend_GetEducationUsers_Call) RunAndReturn(run func(context.Context) ([]*libregraph.EducationUser, error)) *EducationBackend_GetEducationUsers_Call
type EducationBackend_RemoveClassFromEducationSchool_Call ¶
EducationBackend_RemoveClassFromEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveClassFromEducationSchool'
func (*EducationBackend_RemoveClassFromEducationSchool_Call) Run ¶
func (_c *EducationBackend_RemoveClassFromEducationSchool_Call) Run(run func(ctx context.Context, schoolNumberOrID string, memberID string)) *EducationBackend_RemoveClassFromEducationSchool_Call
func (*EducationBackend_RemoveClassFromEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_RemoveClassFromEducationSchool_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveClassFromEducationSchool_Call
type EducationBackend_RemoveTeacherFromEducationClass_Call ¶
EducationBackend_RemoveTeacherFromEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTeacherFromEducationClass'
func (*EducationBackend_RemoveTeacherFromEducationClass_Call) Run ¶
func (_c *EducationBackend_RemoveTeacherFromEducationClass_Call) Run(run func(ctx context.Context, classID string, teacherID string)) *EducationBackend_RemoveTeacherFromEducationClass_Call
func (*EducationBackend_RemoveTeacherFromEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_RemoveTeacherFromEducationClass_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveTeacherFromEducationClass_Call
type EducationBackend_RemoveUserFromEducationSchool_Call ¶
EducationBackend_RemoveUserFromEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUserFromEducationSchool'
func (*EducationBackend_RemoveUserFromEducationSchool_Call) Run ¶
func (_c *EducationBackend_RemoveUserFromEducationSchool_Call) Run(run func(ctx context.Context, schoolID string, memberID string)) *EducationBackend_RemoveUserFromEducationSchool_Call
func (*EducationBackend_RemoveUserFromEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_RemoveUserFromEducationSchool_Call) RunAndReturn(run func(context.Context, string, string) error) *EducationBackend_RemoveUserFromEducationSchool_Call
type EducationBackend_UpdateEducationClass_Call ¶
EducationBackend_UpdateEducationClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEducationClass'
func (*EducationBackend_UpdateEducationClass_Call) Return ¶
func (_c *EducationBackend_UpdateEducationClass_Call) Return(_a0 *libregraph.EducationClass, _a1 error) *EducationBackend_UpdateEducationClass_Call
func (*EducationBackend_UpdateEducationClass_Call) Run ¶
func (_c *EducationBackend_UpdateEducationClass_Call) Run(run func(ctx context.Context, id string, class libregraph.EducationClass)) *EducationBackend_UpdateEducationClass_Call
func (*EducationBackend_UpdateEducationClass_Call) RunAndReturn ¶
func (_c *EducationBackend_UpdateEducationClass_Call) RunAndReturn(run func(context.Context, string, libregraph.EducationClass) (*libregraph.EducationClass, error)) *EducationBackend_UpdateEducationClass_Call
type EducationBackend_UpdateEducationSchool_Call ¶
EducationBackend_UpdateEducationSchool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEducationSchool'
func (*EducationBackend_UpdateEducationSchool_Call) Return ¶
func (_c *EducationBackend_UpdateEducationSchool_Call) Return(_a0 *libregraph.EducationSchool, _a1 error) *EducationBackend_UpdateEducationSchool_Call
func (*EducationBackend_UpdateEducationSchool_Call) Run ¶
func (_c *EducationBackend_UpdateEducationSchool_Call) Run(run func(ctx context.Context, numberOrID string, school libregraph.EducationSchool)) *EducationBackend_UpdateEducationSchool_Call
func (*EducationBackend_UpdateEducationSchool_Call) RunAndReturn ¶
func (_c *EducationBackend_UpdateEducationSchool_Call) RunAndReturn(run func(context.Context, string, libregraph.EducationSchool) (*libregraph.EducationSchool, error)) *EducationBackend_UpdateEducationSchool_Call
type EducationBackend_UpdateEducationUser_Call ¶
EducationBackend_UpdateEducationUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEducationUser'
func (*EducationBackend_UpdateEducationUser_Call) Return ¶
func (_c *EducationBackend_UpdateEducationUser_Call) Return(_a0 *libregraph.EducationUser, _a1 error) *EducationBackend_UpdateEducationUser_Call
func (*EducationBackend_UpdateEducationUser_Call) Run ¶
func (_c *EducationBackend_UpdateEducationUser_Call) Run(run func(ctx context.Context, nameOrID string, user libregraph.EducationUser)) *EducationBackend_UpdateEducationUser_Call
func (*EducationBackend_UpdateEducationUser_Call) RunAndReturn ¶
func (_c *EducationBackend_UpdateEducationUser_Call) RunAndReturn(run func(context.Context, string, libregraph.EducationUser) (*libregraph.EducationUser, error)) *EducationBackend_UpdateEducationUser_Call