Documentation ¶
Index ¶
- type MockClientService
- func (_m *MockClientService) AdminCreateUser(body *models.AdminCreateUserForm, opts ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)
- func (_m *MockClientService) AdminCreateUserWithParams(params *admin_users.AdminCreateUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)
- func (_m *MockClientService) AdminDeleteUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)
- func (_m *MockClientService) AdminDeleteUserWithParams(params *admin_users.AdminDeleteUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)
- func (_m *MockClientService) AdminDisableUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)
- func (_m *MockClientService) AdminDisableUserWithParams(params *admin_users.AdminDisableUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)
- func (_m *MockClientService) AdminEnableUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)
- func (_m *MockClientService) AdminEnableUserWithParams(params *admin_users.AdminEnableUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)
- func (_m *MockClientService) AdminGetUserAuthTokens(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminGetUserAuthTokensOK, error)
- func (_m *MockClientService) AdminGetUserAuthTokensWithParams(params *admin_users.AdminGetUserAuthTokensParams, ...) (*admin_users.AdminGetUserAuthTokensOK, error)
- func (_m *MockClientService) AdminLogoutUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)
- func (_m *MockClientService) AdminLogoutUserWithParams(params *admin_users.AdminLogoutUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)
- func (_m *MockClientService) AdminRevokeUserAuthToken(userID int64, body *models.RevokeAuthTokenCmd, ...) (*admin_users.AdminRevokeUserAuthTokenOK, error)
- func (_m *MockClientService) AdminRevokeUserAuthTokenWithParams(params *admin_users.AdminRevokeUserAuthTokenParams, ...) (*admin_users.AdminRevokeUserAuthTokenOK, error)
- func (_m *MockClientService) AdminUpdateUserPassword(userID int64, body *models.AdminUpdateUserPasswordForm, ...) (*admin_users.AdminUpdateUserPasswordOK, error)
- func (_m *MockClientService) AdminUpdateUserPasswordWithParams(params *admin_users.AdminUpdateUserPasswordParams, ...) (*admin_users.AdminUpdateUserPasswordOK, error)
- func (_m *MockClientService) AdminUpdateUserPermissions(userID int64, body *models.AdminUpdateUserPermissionsForm, ...) (*admin_users.AdminUpdateUserPermissionsOK, error)
- func (_m *MockClientService) AdminUpdateUserPermissionsWithParams(params *admin_users.AdminUpdateUserPermissionsParams, ...) (*admin_users.AdminUpdateUserPermissionsOK, error)
- func (_m *MockClientService) EXPECT() *MockClientService_Expecter
- func (_m *MockClientService) GetUserQuota(userID int64, opts ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)
- func (_m *MockClientService) GetUserQuotaWithParams(params *admin_users.GetUserQuotaParams, opts ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)
- func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *MockClientService) UpdateUserQuota(params *admin_users.UpdateUserQuotaParams, opts ...admin_users.ClientOption) (*admin_users.UpdateUserQuotaOK, error)
- type MockClientService_AdminCreateUserWithParams_Call
- func (_c *MockClientService_AdminCreateUserWithParams_Call) Return(_a0 *admin_users.AdminCreateUserOK, _a1 error) *MockClientService_AdminCreateUserWithParams_Call
- func (_c *MockClientService_AdminCreateUserWithParams_Call) Run(...) *MockClientService_AdminCreateUserWithParams_Call
- func (_c *MockClientService_AdminCreateUserWithParams_Call) RunAndReturn(...) *MockClientService_AdminCreateUserWithParams_Call
- type MockClientService_AdminCreateUser_Call
- func (_c *MockClientService_AdminCreateUser_Call) Return(_a0 *admin_users.AdminCreateUserOK, _a1 error) *MockClientService_AdminCreateUser_Call
- func (_c *MockClientService_AdminCreateUser_Call) Run(run func(body *models.AdminCreateUserForm, opts ...admin_users.ClientOption)) *MockClientService_AdminCreateUser_Call
- func (_c *MockClientService_AdminCreateUser_Call) RunAndReturn(...) *MockClientService_AdminCreateUser_Call
- type MockClientService_AdminDeleteUserWithParams_Call
- func (_c *MockClientService_AdminDeleteUserWithParams_Call) Return(_a0 *admin_users.AdminDeleteUserOK, _a1 error) *MockClientService_AdminDeleteUserWithParams_Call
- func (_c *MockClientService_AdminDeleteUserWithParams_Call) Run(...) *MockClientService_AdminDeleteUserWithParams_Call
- func (_c *MockClientService_AdminDeleteUserWithParams_Call) RunAndReturn(...) *MockClientService_AdminDeleteUserWithParams_Call
- type MockClientService_AdminDeleteUser_Call
- func (_c *MockClientService_AdminDeleteUser_Call) Return(_a0 *admin_users.AdminDeleteUserOK, _a1 error) *MockClientService_AdminDeleteUser_Call
- func (_c *MockClientService_AdminDeleteUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminDeleteUser_Call
- func (_c *MockClientService_AdminDeleteUser_Call) RunAndReturn(...) *MockClientService_AdminDeleteUser_Call
- type MockClientService_AdminDisableUserWithParams_Call
- func (_c *MockClientService_AdminDisableUserWithParams_Call) Return(_a0 *admin_users.AdminDisableUserOK, _a1 error) *MockClientService_AdminDisableUserWithParams_Call
- func (_c *MockClientService_AdminDisableUserWithParams_Call) Run(...) *MockClientService_AdminDisableUserWithParams_Call
- func (_c *MockClientService_AdminDisableUserWithParams_Call) RunAndReturn(...) *MockClientService_AdminDisableUserWithParams_Call
- type MockClientService_AdminDisableUser_Call
- func (_c *MockClientService_AdminDisableUser_Call) Return(_a0 *admin_users.AdminDisableUserOK, _a1 error) *MockClientService_AdminDisableUser_Call
- func (_c *MockClientService_AdminDisableUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminDisableUser_Call
- func (_c *MockClientService_AdminDisableUser_Call) RunAndReturn(...) *MockClientService_AdminDisableUser_Call
- type MockClientService_AdminEnableUserWithParams_Call
- func (_c *MockClientService_AdminEnableUserWithParams_Call) Return(_a0 *admin_users.AdminEnableUserOK, _a1 error) *MockClientService_AdminEnableUserWithParams_Call
- func (_c *MockClientService_AdminEnableUserWithParams_Call) Run(...) *MockClientService_AdminEnableUserWithParams_Call
- func (_c *MockClientService_AdminEnableUserWithParams_Call) RunAndReturn(...) *MockClientService_AdminEnableUserWithParams_Call
- type MockClientService_AdminEnableUser_Call
- func (_c *MockClientService_AdminEnableUser_Call) Return(_a0 *admin_users.AdminEnableUserOK, _a1 error) *MockClientService_AdminEnableUser_Call
- func (_c *MockClientService_AdminEnableUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminEnableUser_Call
- func (_c *MockClientService_AdminEnableUser_Call) RunAndReturn(...) *MockClientService_AdminEnableUser_Call
- type MockClientService_AdminGetUserAuthTokensWithParams_Call
- func (_c *MockClientService_AdminGetUserAuthTokensWithParams_Call) Return(_a0 *admin_users.AdminGetUserAuthTokensOK, _a1 error) *MockClientService_AdminGetUserAuthTokensWithParams_Call
- func (_c *MockClientService_AdminGetUserAuthTokensWithParams_Call) Run(run func(params *admin_users.AdminGetUserAuthTokensParams, ...)) *MockClientService_AdminGetUserAuthTokensWithParams_Call
- func (_c *MockClientService_AdminGetUserAuthTokensWithParams_Call) RunAndReturn(...) *MockClientService_AdminGetUserAuthTokensWithParams_Call
- type MockClientService_AdminGetUserAuthTokens_Call
- func (_c *MockClientService_AdminGetUserAuthTokens_Call) Return(_a0 *admin_users.AdminGetUserAuthTokensOK, _a1 error) *MockClientService_AdminGetUserAuthTokens_Call
- func (_c *MockClientService_AdminGetUserAuthTokens_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminGetUserAuthTokens_Call
- func (_c *MockClientService_AdminGetUserAuthTokens_Call) RunAndReturn(...) *MockClientService_AdminGetUserAuthTokens_Call
- type MockClientService_AdminLogoutUserWithParams_Call
- func (_c *MockClientService_AdminLogoutUserWithParams_Call) Return(_a0 *admin_users.AdminLogoutUserOK, _a1 error) *MockClientService_AdminLogoutUserWithParams_Call
- func (_c *MockClientService_AdminLogoutUserWithParams_Call) Run(...) *MockClientService_AdminLogoutUserWithParams_Call
- func (_c *MockClientService_AdminLogoutUserWithParams_Call) RunAndReturn(...) *MockClientService_AdminLogoutUserWithParams_Call
- type MockClientService_AdminLogoutUser_Call
- func (_c *MockClientService_AdminLogoutUser_Call) Return(_a0 *admin_users.AdminLogoutUserOK, _a1 error) *MockClientService_AdminLogoutUser_Call
- func (_c *MockClientService_AdminLogoutUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminLogoutUser_Call
- func (_c *MockClientService_AdminLogoutUser_Call) RunAndReturn(...) *MockClientService_AdminLogoutUser_Call
- type MockClientService_AdminRevokeUserAuthTokenWithParams_Call
- func (_c *MockClientService_AdminRevokeUserAuthTokenWithParams_Call) Return(_a0 *admin_users.AdminRevokeUserAuthTokenOK, _a1 error) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
- func (_c *MockClientService_AdminRevokeUserAuthTokenWithParams_Call) Run(run func(params *admin_users.AdminRevokeUserAuthTokenParams, ...)) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
- func (_c *MockClientService_AdminRevokeUserAuthTokenWithParams_Call) RunAndReturn(...) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
- type MockClientService_AdminRevokeUserAuthToken_Call
- func (_c *MockClientService_AdminRevokeUserAuthToken_Call) Return(_a0 *admin_users.AdminRevokeUserAuthTokenOK, _a1 error) *MockClientService_AdminRevokeUserAuthToken_Call
- func (_c *MockClientService_AdminRevokeUserAuthToken_Call) Run(run func(userID int64, body *models.RevokeAuthTokenCmd, ...)) *MockClientService_AdminRevokeUserAuthToken_Call
- func (_c *MockClientService_AdminRevokeUserAuthToken_Call) RunAndReturn(...) *MockClientService_AdminRevokeUserAuthToken_Call
- type MockClientService_AdminUpdateUserPasswordWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPasswordWithParams_Call) Return(_a0 *admin_users.AdminUpdateUserPasswordOK, _a1 error) *MockClientService_AdminUpdateUserPasswordWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPasswordWithParams_Call) Run(run func(params *admin_users.AdminUpdateUserPasswordParams, ...)) *MockClientService_AdminUpdateUserPasswordWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPasswordWithParams_Call) RunAndReturn(...) *MockClientService_AdminUpdateUserPasswordWithParams_Call
- type MockClientService_AdminUpdateUserPassword_Call
- func (_c *MockClientService_AdminUpdateUserPassword_Call) Return(_a0 *admin_users.AdminUpdateUserPasswordOK, _a1 error) *MockClientService_AdminUpdateUserPassword_Call
- func (_c *MockClientService_AdminUpdateUserPassword_Call) Run(run func(userID int64, body *models.AdminUpdateUserPasswordForm, ...)) *MockClientService_AdminUpdateUserPassword_Call
- func (_c *MockClientService_AdminUpdateUserPassword_Call) RunAndReturn(...) *MockClientService_AdminUpdateUserPassword_Call
- type MockClientService_AdminUpdateUserPermissionsWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPermissionsWithParams_Call) Return(_a0 *admin_users.AdminUpdateUserPermissionsOK, _a1 error) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPermissionsWithParams_Call) Run(run func(params *admin_users.AdminUpdateUserPermissionsParams, ...)) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
- func (_c *MockClientService_AdminUpdateUserPermissionsWithParams_Call) RunAndReturn(...) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
- type MockClientService_AdminUpdateUserPermissions_Call
- func (_c *MockClientService_AdminUpdateUserPermissions_Call) Return(_a0 *admin_users.AdminUpdateUserPermissionsOK, _a1 error) *MockClientService_AdminUpdateUserPermissions_Call
- func (_c *MockClientService_AdminUpdateUserPermissions_Call) Run(run func(userID int64, body *models.AdminUpdateUserPermissionsForm, ...)) *MockClientService_AdminUpdateUserPermissions_Call
- func (_c *MockClientService_AdminUpdateUserPermissions_Call) RunAndReturn(...) *MockClientService_AdminUpdateUserPermissions_Call
- type MockClientService_Expecter
- func (_e *MockClientService_Expecter) AdminCreateUser(body interface{}, opts ...interface{}) *MockClientService_AdminCreateUser_Call
- func (_e *MockClientService_Expecter) AdminCreateUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminCreateUserWithParams_Call
- func (_e *MockClientService_Expecter) AdminDeleteUser(userID interface{}, opts ...interface{}) *MockClientService_AdminDeleteUser_Call
- func (_e *MockClientService_Expecter) AdminDeleteUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminDeleteUserWithParams_Call
- func (_e *MockClientService_Expecter) AdminDisableUser(userID interface{}, opts ...interface{}) *MockClientService_AdminDisableUser_Call
- func (_e *MockClientService_Expecter) AdminDisableUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminDisableUserWithParams_Call
- func (_e *MockClientService_Expecter) AdminEnableUser(userID interface{}, opts ...interface{}) *MockClientService_AdminEnableUser_Call
- func (_e *MockClientService_Expecter) AdminEnableUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminEnableUserWithParams_Call
- func (_e *MockClientService_Expecter) AdminGetUserAuthTokens(userID interface{}, opts ...interface{}) *MockClientService_AdminGetUserAuthTokens_Call
- func (_e *MockClientService_Expecter) AdminGetUserAuthTokensWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminGetUserAuthTokensWithParams_Call
- func (_e *MockClientService_Expecter) AdminLogoutUser(userID interface{}, opts ...interface{}) *MockClientService_AdminLogoutUser_Call
- func (_e *MockClientService_Expecter) AdminLogoutUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminLogoutUserWithParams_Call
- func (_e *MockClientService_Expecter) AdminRevokeUserAuthToken(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminRevokeUserAuthToken_Call
- func (_e *MockClientService_Expecter) AdminRevokeUserAuthTokenWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
- func (_e *MockClientService_Expecter) AdminUpdateUserPassword(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPassword_Call
- func (_e *MockClientService_Expecter) AdminUpdateUserPasswordWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPasswordWithParams_Call
- func (_e *MockClientService_Expecter) AdminUpdateUserPermissions(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPermissions_Call
- func (_e *MockClientService_Expecter) AdminUpdateUserPermissionsWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
- func (_e *MockClientService_Expecter) GetUserQuota(userID interface{}, opts ...interface{}) *MockClientService_GetUserQuota_Call
- func (_e *MockClientService_Expecter) GetUserQuotaWithParams(params interface{}, opts ...interface{}) *MockClientService_GetUserQuotaWithParams_Call
- func (_e *MockClientService_Expecter) SetTransport(transport interface{}) *MockClientService_SetTransport_Call
- func (_e *MockClientService_Expecter) UpdateUserQuota(params interface{}, opts ...interface{}) *MockClientService_UpdateUserQuota_Call
- type MockClientService_GetUserQuotaWithParams_Call
- func (_c *MockClientService_GetUserQuotaWithParams_Call) Return(_a0 *admin_users.GetUserQuotaOK, _a1 error) *MockClientService_GetUserQuotaWithParams_Call
- func (_c *MockClientService_GetUserQuotaWithParams_Call) Run(...) *MockClientService_GetUserQuotaWithParams_Call
- func (_c *MockClientService_GetUserQuotaWithParams_Call) RunAndReturn(...) *MockClientService_GetUserQuotaWithParams_Call
- type MockClientService_GetUserQuota_Call
- func (_c *MockClientService_GetUserQuota_Call) Return(_a0 *admin_users.GetUserQuotaOK, _a1 error) *MockClientService_GetUserQuota_Call
- func (_c *MockClientService_GetUserQuota_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_GetUserQuota_Call
- func (_c *MockClientService_GetUserQuota_Call) RunAndReturn(...) *MockClientService_GetUserQuota_Call
- type MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) Return() *MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_SetTransport_Call
- type MockClientService_UpdateUserQuota_Call
- func (_c *MockClientService_UpdateUserQuota_Call) Return(_a0 *admin_users.UpdateUserQuotaOK, _a1 error) *MockClientService_UpdateUserQuota_Call
- func (_c *MockClientService_UpdateUserQuota_Call) Run(...) *MockClientService_UpdateUserQuota_Call
- func (_c *MockClientService_UpdateUserQuota_Call) RunAndReturn(...) *MockClientService_UpdateUserQuota_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientService ¶
MockClientService is an autogenerated mock type for the ClientService type
func NewMockClientService ¶
func NewMockClientService(t interface { mock.TestingT Cleanup(func()) }, ) *MockClientService
NewMockClientService creates a new instance of MockClientService. 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 (*MockClientService) AdminCreateUser ¶
func (_m *MockClientService) AdminCreateUser(body *models.AdminCreateUserForm, opts ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)
AdminCreateUser provides a mock function with given fields: body, opts
func (*MockClientService) AdminCreateUserWithParams ¶
func (_m *MockClientService) AdminCreateUserWithParams(params *admin_users.AdminCreateUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)
AdminCreateUserWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminDeleteUser ¶
func (_m *MockClientService) AdminDeleteUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)
AdminDeleteUser provides a mock function with given fields: userID, opts
func (*MockClientService) AdminDeleteUserWithParams ¶
func (_m *MockClientService) AdminDeleteUserWithParams(params *admin_users.AdminDeleteUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)
AdminDeleteUserWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminDisableUser ¶
func (_m *MockClientService) AdminDisableUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)
AdminDisableUser provides a mock function with given fields: userID, opts
func (*MockClientService) AdminDisableUserWithParams ¶
func (_m *MockClientService) AdminDisableUserWithParams(params *admin_users.AdminDisableUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)
AdminDisableUserWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminEnableUser ¶
func (_m *MockClientService) AdminEnableUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)
AdminEnableUser provides a mock function with given fields: userID, opts
func (*MockClientService) AdminEnableUserWithParams ¶
func (_m *MockClientService) AdminEnableUserWithParams(params *admin_users.AdminEnableUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)
AdminEnableUserWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminGetUserAuthTokens ¶
func (_m *MockClientService) AdminGetUserAuthTokens(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminGetUserAuthTokensOK, error)
AdminGetUserAuthTokens provides a mock function with given fields: userID, opts
func (*MockClientService) AdminGetUserAuthTokensWithParams ¶
func (_m *MockClientService) AdminGetUserAuthTokensWithParams(params *admin_users.AdminGetUserAuthTokensParams, opts ...admin_users.ClientOption) (*admin_users.AdminGetUserAuthTokensOK, error)
AdminGetUserAuthTokensWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminLogoutUser ¶
func (_m *MockClientService) AdminLogoutUser(userID int64, opts ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)
AdminLogoutUser provides a mock function with given fields: userID, opts
func (*MockClientService) AdminLogoutUserWithParams ¶
func (_m *MockClientService) AdminLogoutUserWithParams(params *admin_users.AdminLogoutUserParams, opts ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)
AdminLogoutUserWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminRevokeUserAuthToken ¶
func (_m *MockClientService) AdminRevokeUserAuthToken(userID int64, body *models.RevokeAuthTokenCmd, opts ...admin_users.ClientOption) (*admin_users.AdminRevokeUserAuthTokenOK, error)
AdminRevokeUserAuthToken provides a mock function with given fields: userID, body, opts
func (*MockClientService) AdminRevokeUserAuthTokenWithParams ¶
func (_m *MockClientService) AdminRevokeUserAuthTokenWithParams(params *admin_users.AdminRevokeUserAuthTokenParams, opts ...admin_users.ClientOption) (*admin_users.AdminRevokeUserAuthTokenOK, error)
AdminRevokeUserAuthTokenWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminUpdateUserPassword ¶
func (_m *MockClientService) AdminUpdateUserPassword(userID int64, body *models.AdminUpdateUserPasswordForm, opts ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPasswordOK, error)
AdminUpdateUserPassword provides a mock function with given fields: userID, body, opts
func (*MockClientService) AdminUpdateUserPasswordWithParams ¶
func (_m *MockClientService) AdminUpdateUserPasswordWithParams(params *admin_users.AdminUpdateUserPasswordParams, opts ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPasswordOK, error)
AdminUpdateUserPasswordWithParams provides a mock function with given fields: params, opts
func (*MockClientService) AdminUpdateUserPermissions ¶
func (_m *MockClientService) AdminUpdateUserPermissions(userID int64, body *models.AdminUpdateUserPermissionsForm, opts ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPermissionsOK, error)
AdminUpdateUserPermissions provides a mock function with given fields: userID, body, opts
func (*MockClientService) AdminUpdateUserPermissionsWithParams ¶
func (_m *MockClientService) AdminUpdateUserPermissionsWithParams(params *admin_users.AdminUpdateUserPermissionsParams, opts ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPermissionsOK, error)
AdminUpdateUserPermissionsWithParams provides a mock function with given fields: params, opts
func (*MockClientService) EXPECT ¶
func (_m *MockClientService) EXPECT() *MockClientService_Expecter
func (*MockClientService) GetUserQuota ¶
func (_m *MockClientService) GetUserQuota(userID int64, opts ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)
GetUserQuota provides a mock function with given fields: userID, opts
func (*MockClientService) GetUserQuotaWithParams ¶
func (_m *MockClientService) GetUserQuotaWithParams(params *admin_users.GetUserQuotaParams, opts ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)
GetUserQuotaWithParams provides a mock function with given fields: params, opts
func (*MockClientService) SetTransport ¶
func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*MockClientService) UpdateUserQuota ¶
func (_m *MockClientService) UpdateUserQuota(params *admin_users.UpdateUserQuotaParams, opts ...admin_users.ClientOption) (*admin_users.UpdateUserQuotaOK, error)
UpdateUserQuota provides a mock function with given fields: params, opts
type MockClientService_AdminCreateUserWithParams_Call ¶
MockClientService_AdminCreateUserWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminCreateUserWithParams'
func (*MockClientService_AdminCreateUserWithParams_Call) Return ¶
func (_c *MockClientService_AdminCreateUserWithParams_Call) Return(_a0 *admin_users.AdminCreateUserOK, _a1 error) *MockClientService_AdminCreateUserWithParams_Call
func (*MockClientService_AdminCreateUserWithParams_Call) Run ¶
func (_c *MockClientService_AdminCreateUserWithParams_Call) Run(run func(params *admin_users.AdminCreateUserParams, opts ...admin_users.ClientOption)) *MockClientService_AdminCreateUserWithParams_Call
func (*MockClientService_AdminCreateUserWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminCreateUserWithParams_Call) RunAndReturn(run func(*admin_users.AdminCreateUserParams, ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)) *MockClientService_AdminCreateUserWithParams_Call
type MockClientService_AdminCreateUser_Call ¶
MockClientService_AdminCreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminCreateUser'
func (*MockClientService_AdminCreateUser_Call) Return ¶
func (_c *MockClientService_AdminCreateUser_Call) Return(_a0 *admin_users.AdminCreateUserOK, _a1 error) *MockClientService_AdminCreateUser_Call
func (*MockClientService_AdminCreateUser_Call) Run ¶
func (_c *MockClientService_AdminCreateUser_Call) Run(run func(body *models.AdminCreateUserForm, opts ...admin_users.ClientOption)) *MockClientService_AdminCreateUser_Call
func (*MockClientService_AdminCreateUser_Call) RunAndReturn ¶
func (_c *MockClientService_AdminCreateUser_Call) RunAndReturn(run func(*models.AdminCreateUserForm, ...admin_users.ClientOption) (*admin_users.AdminCreateUserOK, error)) *MockClientService_AdminCreateUser_Call
type MockClientService_AdminDeleteUserWithParams_Call ¶
MockClientService_AdminDeleteUserWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminDeleteUserWithParams'
func (*MockClientService_AdminDeleteUserWithParams_Call) Return ¶
func (_c *MockClientService_AdminDeleteUserWithParams_Call) Return(_a0 *admin_users.AdminDeleteUserOK, _a1 error) *MockClientService_AdminDeleteUserWithParams_Call
func (*MockClientService_AdminDeleteUserWithParams_Call) Run ¶
func (_c *MockClientService_AdminDeleteUserWithParams_Call) Run(run func(params *admin_users.AdminDeleteUserParams, opts ...admin_users.ClientOption)) *MockClientService_AdminDeleteUserWithParams_Call
func (*MockClientService_AdminDeleteUserWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminDeleteUserWithParams_Call) RunAndReturn(run func(*admin_users.AdminDeleteUserParams, ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)) *MockClientService_AdminDeleteUserWithParams_Call
type MockClientService_AdminDeleteUser_Call ¶
MockClientService_AdminDeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminDeleteUser'
func (*MockClientService_AdminDeleteUser_Call) Return ¶
func (_c *MockClientService_AdminDeleteUser_Call) Return(_a0 *admin_users.AdminDeleteUserOK, _a1 error) *MockClientService_AdminDeleteUser_Call
func (*MockClientService_AdminDeleteUser_Call) Run ¶
func (_c *MockClientService_AdminDeleteUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminDeleteUser_Call
func (*MockClientService_AdminDeleteUser_Call) RunAndReturn ¶
func (_c *MockClientService_AdminDeleteUser_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.AdminDeleteUserOK, error)) *MockClientService_AdminDeleteUser_Call
type MockClientService_AdminDisableUserWithParams_Call ¶
MockClientService_AdminDisableUserWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminDisableUserWithParams'
func (*MockClientService_AdminDisableUserWithParams_Call) Return ¶
func (_c *MockClientService_AdminDisableUserWithParams_Call) Return(_a0 *admin_users.AdminDisableUserOK, _a1 error) *MockClientService_AdminDisableUserWithParams_Call
func (*MockClientService_AdminDisableUserWithParams_Call) Run ¶
func (_c *MockClientService_AdminDisableUserWithParams_Call) Run(run func(params *admin_users.AdminDisableUserParams, opts ...admin_users.ClientOption)) *MockClientService_AdminDisableUserWithParams_Call
func (*MockClientService_AdminDisableUserWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminDisableUserWithParams_Call) RunAndReturn(run func(*admin_users.AdminDisableUserParams, ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)) *MockClientService_AdminDisableUserWithParams_Call
type MockClientService_AdminDisableUser_Call ¶
MockClientService_AdminDisableUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminDisableUser'
func (*MockClientService_AdminDisableUser_Call) Return ¶
func (_c *MockClientService_AdminDisableUser_Call) Return(_a0 *admin_users.AdminDisableUserOK, _a1 error) *MockClientService_AdminDisableUser_Call
func (*MockClientService_AdminDisableUser_Call) Run ¶
func (_c *MockClientService_AdminDisableUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminDisableUser_Call
func (*MockClientService_AdminDisableUser_Call) RunAndReturn ¶
func (_c *MockClientService_AdminDisableUser_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.AdminDisableUserOK, error)) *MockClientService_AdminDisableUser_Call
type MockClientService_AdminEnableUserWithParams_Call ¶
MockClientService_AdminEnableUserWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminEnableUserWithParams'
func (*MockClientService_AdminEnableUserWithParams_Call) Return ¶
func (_c *MockClientService_AdminEnableUserWithParams_Call) Return(_a0 *admin_users.AdminEnableUserOK, _a1 error) *MockClientService_AdminEnableUserWithParams_Call
func (*MockClientService_AdminEnableUserWithParams_Call) Run ¶
func (_c *MockClientService_AdminEnableUserWithParams_Call) Run(run func(params *admin_users.AdminEnableUserParams, opts ...admin_users.ClientOption)) *MockClientService_AdminEnableUserWithParams_Call
func (*MockClientService_AdminEnableUserWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminEnableUserWithParams_Call) RunAndReturn(run func(*admin_users.AdminEnableUserParams, ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)) *MockClientService_AdminEnableUserWithParams_Call
type MockClientService_AdminEnableUser_Call ¶
MockClientService_AdminEnableUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminEnableUser'
func (*MockClientService_AdminEnableUser_Call) Return ¶
func (_c *MockClientService_AdminEnableUser_Call) Return(_a0 *admin_users.AdminEnableUserOK, _a1 error) *MockClientService_AdminEnableUser_Call
func (*MockClientService_AdminEnableUser_Call) Run ¶
func (_c *MockClientService_AdminEnableUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminEnableUser_Call
func (*MockClientService_AdminEnableUser_Call) RunAndReturn ¶
func (_c *MockClientService_AdminEnableUser_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.AdminEnableUserOK, error)) *MockClientService_AdminEnableUser_Call
type MockClientService_AdminGetUserAuthTokensWithParams_Call ¶
MockClientService_AdminGetUserAuthTokensWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminGetUserAuthTokensWithParams'
func (*MockClientService_AdminGetUserAuthTokensWithParams_Call) Run ¶
func (_c *MockClientService_AdminGetUserAuthTokensWithParams_Call) Run(run func(params *admin_users.AdminGetUserAuthTokensParams, opts ...admin_users.ClientOption)) *MockClientService_AdminGetUserAuthTokensWithParams_Call
func (*MockClientService_AdminGetUserAuthTokensWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminGetUserAuthTokensWithParams_Call) RunAndReturn(run func(*admin_users.AdminGetUserAuthTokensParams, ...admin_users.ClientOption) (*admin_users.AdminGetUserAuthTokensOK, error)) *MockClientService_AdminGetUserAuthTokensWithParams_Call
type MockClientService_AdminGetUserAuthTokens_Call ¶
MockClientService_AdminGetUserAuthTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminGetUserAuthTokens'
func (*MockClientService_AdminGetUserAuthTokens_Call) Return ¶
func (_c *MockClientService_AdminGetUserAuthTokens_Call) Return(_a0 *admin_users.AdminGetUserAuthTokensOK, _a1 error) *MockClientService_AdminGetUserAuthTokens_Call
func (*MockClientService_AdminGetUserAuthTokens_Call) Run ¶
func (_c *MockClientService_AdminGetUserAuthTokens_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminGetUserAuthTokens_Call
func (*MockClientService_AdminGetUserAuthTokens_Call) RunAndReturn ¶
func (_c *MockClientService_AdminGetUserAuthTokens_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.AdminGetUserAuthTokensOK, error)) *MockClientService_AdminGetUserAuthTokens_Call
type MockClientService_AdminLogoutUserWithParams_Call ¶
MockClientService_AdminLogoutUserWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminLogoutUserWithParams'
func (*MockClientService_AdminLogoutUserWithParams_Call) Return ¶
func (_c *MockClientService_AdminLogoutUserWithParams_Call) Return(_a0 *admin_users.AdminLogoutUserOK, _a1 error) *MockClientService_AdminLogoutUserWithParams_Call
func (*MockClientService_AdminLogoutUserWithParams_Call) Run ¶
func (_c *MockClientService_AdminLogoutUserWithParams_Call) Run(run func(params *admin_users.AdminLogoutUserParams, opts ...admin_users.ClientOption)) *MockClientService_AdminLogoutUserWithParams_Call
func (*MockClientService_AdminLogoutUserWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_AdminLogoutUserWithParams_Call) RunAndReturn(run func(*admin_users.AdminLogoutUserParams, ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)) *MockClientService_AdminLogoutUserWithParams_Call
type MockClientService_AdminLogoutUser_Call ¶
MockClientService_AdminLogoutUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminLogoutUser'
func (*MockClientService_AdminLogoutUser_Call) Return ¶
func (_c *MockClientService_AdminLogoutUser_Call) Return(_a0 *admin_users.AdminLogoutUserOK, _a1 error) *MockClientService_AdminLogoutUser_Call
func (*MockClientService_AdminLogoutUser_Call) Run ¶
func (_c *MockClientService_AdminLogoutUser_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_AdminLogoutUser_Call
func (*MockClientService_AdminLogoutUser_Call) RunAndReturn ¶
func (_c *MockClientService_AdminLogoutUser_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.AdminLogoutUserOK, error)) *MockClientService_AdminLogoutUser_Call
type MockClientService_AdminRevokeUserAuthTokenWithParams_Call ¶
MockClientService_AdminRevokeUserAuthTokenWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminRevokeUserAuthTokenWithParams'
func (*MockClientService_AdminRevokeUserAuthTokenWithParams_Call) Run ¶
func (_c *MockClientService_AdminRevokeUserAuthTokenWithParams_Call) Run(run func(params *admin_users.AdminRevokeUserAuthTokenParams, opts ...admin_users.ClientOption)) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
func (*MockClientService_AdminRevokeUserAuthTokenWithParams_Call) RunAndReturn ¶
type MockClientService_AdminRevokeUserAuthToken_Call ¶
MockClientService_AdminRevokeUserAuthToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminRevokeUserAuthToken'
func (*MockClientService_AdminRevokeUserAuthToken_Call) Return ¶
func (_c *MockClientService_AdminRevokeUserAuthToken_Call) Return(_a0 *admin_users.AdminRevokeUserAuthTokenOK, _a1 error) *MockClientService_AdminRevokeUserAuthToken_Call
func (*MockClientService_AdminRevokeUserAuthToken_Call) Run ¶
func (_c *MockClientService_AdminRevokeUserAuthToken_Call) Run(run func(userID int64, body *models.RevokeAuthTokenCmd, opts ...admin_users.ClientOption)) *MockClientService_AdminRevokeUserAuthToken_Call
func (*MockClientService_AdminRevokeUserAuthToken_Call) RunAndReturn ¶
func (_c *MockClientService_AdminRevokeUserAuthToken_Call) RunAndReturn(run func(int64, *models.RevokeAuthTokenCmd, ...admin_users.ClientOption) (*admin_users.AdminRevokeUserAuthTokenOK, error)) *MockClientService_AdminRevokeUserAuthToken_Call
type MockClientService_AdminUpdateUserPasswordWithParams_Call ¶
MockClientService_AdminUpdateUserPasswordWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminUpdateUserPasswordWithParams'
func (*MockClientService_AdminUpdateUserPasswordWithParams_Call) Run ¶
func (_c *MockClientService_AdminUpdateUserPasswordWithParams_Call) Run(run func(params *admin_users.AdminUpdateUserPasswordParams, opts ...admin_users.ClientOption)) *MockClientService_AdminUpdateUserPasswordWithParams_Call
func (*MockClientService_AdminUpdateUserPasswordWithParams_Call) RunAndReturn ¶
type MockClientService_AdminUpdateUserPassword_Call ¶
MockClientService_AdminUpdateUserPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminUpdateUserPassword'
func (*MockClientService_AdminUpdateUserPassword_Call) Return ¶
func (_c *MockClientService_AdminUpdateUserPassword_Call) Return(_a0 *admin_users.AdminUpdateUserPasswordOK, _a1 error) *MockClientService_AdminUpdateUserPassword_Call
func (*MockClientService_AdminUpdateUserPassword_Call) Run ¶
func (_c *MockClientService_AdminUpdateUserPassword_Call) Run(run func(userID int64, body *models.AdminUpdateUserPasswordForm, opts ...admin_users.ClientOption)) *MockClientService_AdminUpdateUserPassword_Call
func (*MockClientService_AdminUpdateUserPassword_Call) RunAndReturn ¶
func (_c *MockClientService_AdminUpdateUserPassword_Call) RunAndReturn(run func(int64, *models.AdminUpdateUserPasswordForm, ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPasswordOK, error)) *MockClientService_AdminUpdateUserPassword_Call
type MockClientService_AdminUpdateUserPermissionsWithParams_Call ¶
MockClientService_AdminUpdateUserPermissionsWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminUpdateUserPermissionsWithParams'
func (*MockClientService_AdminUpdateUserPermissionsWithParams_Call) Run ¶
func (_c *MockClientService_AdminUpdateUserPermissionsWithParams_Call) Run(run func(params *admin_users.AdminUpdateUserPermissionsParams, opts ...admin_users.ClientOption)) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
func (*MockClientService_AdminUpdateUserPermissionsWithParams_Call) RunAndReturn ¶
type MockClientService_AdminUpdateUserPermissions_Call ¶
MockClientService_AdminUpdateUserPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminUpdateUserPermissions'
func (*MockClientService_AdminUpdateUserPermissions_Call) Run ¶
func (_c *MockClientService_AdminUpdateUserPermissions_Call) Run(run func(userID int64, body *models.AdminUpdateUserPermissionsForm, opts ...admin_users.ClientOption)) *MockClientService_AdminUpdateUserPermissions_Call
func (*MockClientService_AdminUpdateUserPermissions_Call) RunAndReturn ¶
func (_c *MockClientService_AdminUpdateUserPermissions_Call) RunAndReturn(run func(int64, *models.AdminUpdateUserPermissionsForm, ...admin_users.ClientOption) (*admin_users.AdminUpdateUserPermissionsOK, error)) *MockClientService_AdminUpdateUserPermissions_Call
type MockClientService_Expecter ¶
type MockClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClientService_Expecter) AdminCreateUser ¶
func (_e *MockClientService_Expecter) AdminCreateUser(body interface{}, opts ...interface{}) *MockClientService_AdminCreateUser_Call
AdminCreateUser is a helper method to define mock.On call
- body *models.AdminCreateUserForm
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminCreateUserWithParams ¶
func (_e *MockClientService_Expecter) AdminCreateUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminCreateUserWithParams_Call
AdminCreateUserWithParams is a helper method to define mock.On call
- params *admin_users.AdminCreateUserParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminDeleteUser ¶
func (_e *MockClientService_Expecter) AdminDeleteUser(userID interface{}, opts ...interface{}) *MockClientService_AdminDeleteUser_Call
AdminDeleteUser is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminDeleteUserWithParams ¶
func (_e *MockClientService_Expecter) AdminDeleteUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminDeleteUserWithParams_Call
AdminDeleteUserWithParams is a helper method to define mock.On call
- params *admin_users.AdminDeleteUserParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminDisableUser ¶
func (_e *MockClientService_Expecter) AdminDisableUser(userID interface{}, opts ...interface{}) *MockClientService_AdminDisableUser_Call
AdminDisableUser is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminDisableUserWithParams ¶
func (_e *MockClientService_Expecter) AdminDisableUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminDisableUserWithParams_Call
AdminDisableUserWithParams is a helper method to define mock.On call
- params *admin_users.AdminDisableUserParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminEnableUser ¶
func (_e *MockClientService_Expecter) AdminEnableUser(userID interface{}, opts ...interface{}) *MockClientService_AdminEnableUser_Call
AdminEnableUser is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminEnableUserWithParams ¶
func (_e *MockClientService_Expecter) AdminEnableUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminEnableUserWithParams_Call
AdminEnableUserWithParams is a helper method to define mock.On call
- params *admin_users.AdminEnableUserParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminGetUserAuthTokens ¶
func (_e *MockClientService_Expecter) AdminGetUserAuthTokens(userID interface{}, opts ...interface{}) *MockClientService_AdminGetUserAuthTokens_Call
AdminGetUserAuthTokens is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminGetUserAuthTokensWithParams ¶
func (_e *MockClientService_Expecter) AdminGetUserAuthTokensWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminGetUserAuthTokensWithParams_Call
AdminGetUserAuthTokensWithParams is a helper method to define mock.On call
- params *admin_users.AdminGetUserAuthTokensParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminLogoutUser ¶
func (_e *MockClientService_Expecter) AdminLogoutUser(userID interface{}, opts ...interface{}) *MockClientService_AdminLogoutUser_Call
AdminLogoutUser is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminLogoutUserWithParams ¶
func (_e *MockClientService_Expecter) AdminLogoutUserWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminLogoutUserWithParams_Call
AdminLogoutUserWithParams is a helper method to define mock.On call
- params *admin_users.AdminLogoutUserParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminRevokeUserAuthToken ¶
func (_e *MockClientService_Expecter) AdminRevokeUserAuthToken(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminRevokeUserAuthToken_Call
AdminRevokeUserAuthToken is a helper method to define mock.On call
- userID int64
- body *models.RevokeAuthTokenCmd
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminRevokeUserAuthTokenWithParams ¶
func (_e *MockClientService_Expecter) AdminRevokeUserAuthTokenWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminRevokeUserAuthTokenWithParams_Call
AdminRevokeUserAuthTokenWithParams is a helper method to define mock.On call
- params *admin_users.AdminRevokeUserAuthTokenParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminUpdateUserPassword ¶
func (_e *MockClientService_Expecter) AdminUpdateUserPassword(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPassword_Call
AdminUpdateUserPassword is a helper method to define mock.On call
- userID int64
- body *models.AdminUpdateUserPasswordForm
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminUpdateUserPasswordWithParams ¶
func (_e *MockClientService_Expecter) AdminUpdateUserPasswordWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPasswordWithParams_Call
AdminUpdateUserPasswordWithParams is a helper method to define mock.On call
- params *admin_users.AdminUpdateUserPasswordParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminUpdateUserPermissions ¶
func (_e *MockClientService_Expecter) AdminUpdateUserPermissions(userID interface{}, body interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPermissions_Call
AdminUpdateUserPermissions is a helper method to define mock.On call
- userID int64
- body *models.AdminUpdateUserPermissionsForm
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) AdminUpdateUserPermissionsWithParams ¶
func (_e *MockClientService_Expecter) AdminUpdateUserPermissionsWithParams(params interface{}, opts ...interface{}) *MockClientService_AdminUpdateUserPermissionsWithParams_Call
AdminUpdateUserPermissionsWithParams is a helper method to define mock.On call
- params *admin_users.AdminUpdateUserPermissionsParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) GetUserQuota ¶
func (_e *MockClientService_Expecter) GetUserQuota(userID interface{}, opts ...interface{}) *MockClientService_GetUserQuota_Call
GetUserQuota is a helper method to define mock.On call
- userID int64
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) GetUserQuotaWithParams ¶
func (_e *MockClientService_Expecter) GetUserQuotaWithParams(params interface{}, opts ...interface{}) *MockClientService_GetUserQuotaWithParams_Call
GetUserQuotaWithParams is a helper method to define mock.On call
- params *admin_users.GetUserQuotaParams
- opts ...admin_users.ClientOption
func (*MockClientService_Expecter) SetTransport ¶
func (_e *MockClientService_Expecter) SetTransport(transport interface{}) *MockClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
func (*MockClientService_Expecter) UpdateUserQuota ¶
func (_e *MockClientService_Expecter) UpdateUserQuota(params interface{}, opts ...interface{}) *MockClientService_UpdateUserQuota_Call
UpdateUserQuota is a helper method to define mock.On call
- params *admin_users.UpdateUserQuotaParams
- opts ...admin_users.ClientOption
type MockClientService_GetUserQuotaWithParams_Call ¶
MockClientService_GetUserQuotaWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserQuotaWithParams'
func (*MockClientService_GetUserQuotaWithParams_Call) Return ¶
func (_c *MockClientService_GetUserQuotaWithParams_Call) Return(_a0 *admin_users.GetUserQuotaOK, _a1 error) *MockClientService_GetUserQuotaWithParams_Call
func (*MockClientService_GetUserQuotaWithParams_Call) Run ¶
func (_c *MockClientService_GetUserQuotaWithParams_Call) Run(run func(params *admin_users.GetUserQuotaParams, opts ...admin_users.ClientOption)) *MockClientService_GetUserQuotaWithParams_Call
func (*MockClientService_GetUserQuotaWithParams_Call) RunAndReturn ¶
func (_c *MockClientService_GetUserQuotaWithParams_Call) RunAndReturn(run func(*admin_users.GetUserQuotaParams, ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)) *MockClientService_GetUserQuotaWithParams_Call
type MockClientService_GetUserQuota_Call ¶
MockClientService_GetUserQuota_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserQuota'
func (*MockClientService_GetUserQuota_Call) Return ¶
func (_c *MockClientService_GetUserQuota_Call) Return(_a0 *admin_users.GetUserQuotaOK, _a1 error) *MockClientService_GetUserQuota_Call
func (*MockClientService_GetUserQuota_Call) Run ¶
func (_c *MockClientService_GetUserQuota_Call) Run(run func(userID int64, opts ...admin_users.ClientOption)) *MockClientService_GetUserQuota_Call
func (*MockClientService_GetUserQuota_Call) RunAndReturn ¶
func (_c *MockClientService_GetUserQuota_Call) RunAndReturn(run func(int64, ...admin_users.ClientOption) (*admin_users.GetUserQuotaOK, error)) *MockClientService_GetUserQuota_Call
type MockClientService_SetTransport_Call ¶
MockClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*MockClientService_SetTransport_Call) Return ¶
func (_c *MockClientService_SetTransport_Call) Return() *MockClientService_SetTransport_Call
func (*MockClientService_SetTransport_Call) Run ¶
func (_c *MockClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_SetTransport_Call
func (*MockClientService_SetTransport_Call) RunAndReturn ¶
func (_c *MockClientService_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_SetTransport_Call
type MockClientService_UpdateUserQuota_Call ¶
MockClientService_UpdateUserQuota_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserQuota'
func (*MockClientService_UpdateUserQuota_Call) Return ¶
func (_c *MockClientService_UpdateUserQuota_Call) Return(_a0 *admin_users.UpdateUserQuotaOK, _a1 error) *MockClientService_UpdateUserQuota_Call
func (*MockClientService_UpdateUserQuota_Call) Run ¶
func (_c *MockClientService_UpdateUserQuota_Call) Run(run func(params *admin_users.UpdateUserQuotaParams, opts ...admin_users.ClientOption)) *MockClientService_UpdateUserQuota_Call
func (*MockClientService_UpdateUserQuota_Call) RunAndReturn ¶
func (_c *MockClientService_UpdateUserQuota_Call) RunAndReturn(run func(*admin_users.UpdateUserQuotaParams, ...admin_users.ClientOption) (*admin_users.UpdateUserQuotaOK, error)) *MockClientService_UpdateUserQuota_Call