mocks

package
v2.15.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationProvider added in v2.8.0

type AuthenticationProvider struct {
	mock.Mock
}

AuthenticationProvider is an autogenerated mock type for the AuthenticationProvider type

func NewAuthenticationProvider added in v2.8.0

func NewAuthenticationProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuthenticationProvider

NewAuthenticationProvider creates a new instance of AuthenticationProvider. 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 (*AuthenticationProvider) AuthorizedUserWithSession added in v2.8.0

func (_m *AuthenticationProvider) AuthorizedUserWithSession(ctx context.Context, sessionID string) (sessions.User, error)

AuthorizedUserWithSession provides a mock function with given fields: ctx, sessionID

func (*AuthenticationProvider) ClearNonCurrentSessions added in v2.8.0

func (_m *AuthenticationProvider) ClearNonCurrentSessions(ctx context.Context, sessionID string) error

ClearNonCurrentSessions provides a mock function with given fields: ctx, sessionID

func (*AuthenticationProvider) CreateAndSetAuthToken added in v2.8.0

func (_m *AuthenticationProvider) CreateAndSetAuthToken(ctx context.Context, user *sessions.User) (*auth.Token, error)

CreateAndSetAuthToken provides a mock function with given fields: ctx, user

func (*AuthenticationProvider) CreateSession added in v2.8.0

CreateSession provides a mock function with given fields: ctx, sr

func (*AuthenticationProvider) CreateUser added in v2.8.0

func (_m *AuthenticationProvider) CreateUser(ctx context.Context, user *sessions.User) error

CreateUser provides a mock function with given fields: ctx, user

func (*AuthenticationProvider) DeleteAuthToken added in v2.8.0

func (_m *AuthenticationProvider) DeleteAuthToken(ctx context.Context, user *sessions.User) error

DeleteAuthToken provides a mock function with given fields: ctx, user

func (*AuthenticationProvider) DeleteUser added in v2.8.0

func (_m *AuthenticationProvider) DeleteUser(ctx context.Context, email string) error

DeleteUser provides a mock function with given fields: ctx, email

func (*AuthenticationProvider) DeleteUserSession added in v2.8.0

func (_m *AuthenticationProvider) DeleteUserSession(ctx context.Context, sessionID string) error

DeleteUserSession provides a mock function with given fields: ctx, sessionID

func (*AuthenticationProvider) EXPECT added in v2.15.0

func (*AuthenticationProvider) FindExternalInitiator added in v2.8.0

func (_m *AuthenticationProvider) FindExternalInitiator(ctx context.Context, eia *auth.Token) (*bridges.ExternalInitiator, error)

FindExternalInitiator provides a mock function with given fields: ctx, eia

func (*AuthenticationProvider) FindUser added in v2.8.0

func (_m *AuthenticationProvider) FindUser(ctx context.Context, email string) (sessions.User, error)

FindUser provides a mock function with given fields: ctx, email

func (*AuthenticationProvider) FindUserByAPIToken added in v2.8.0

func (_m *AuthenticationProvider) FindUserByAPIToken(ctx context.Context, apiToken string) (sessions.User, error)

FindUserByAPIToken provides a mock function with given fields: ctx, apiToken

func (*AuthenticationProvider) GetUserWebAuthn added in v2.8.0

func (_m *AuthenticationProvider) GetUserWebAuthn(ctx context.Context, email string) ([]sessions.WebAuthn, error)

GetUserWebAuthn provides a mock function with given fields: ctx, email

func (*AuthenticationProvider) ListUsers added in v2.8.0

func (_m *AuthenticationProvider) ListUsers(ctx context.Context) ([]sessions.User, error)

ListUsers provides a mock function with given fields: ctx

func (*AuthenticationProvider) SaveWebAuthn added in v2.8.0

func (_m *AuthenticationProvider) SaveWebAuthn(ctx context.Context, token *sessions.WebAuthn) error

SaveWebAuthn provides a mock function with given fields: ctx, token

func (*AuthenticationProvider) Sessions added in v2.8.0

func (_m *AuthenticationProvider) Sessions(ctx context.Context, offset int, limit int) ([]sessions.Session, error)

Sessions provides a mock function with given fields: ctx, offset, limit

func (*AuthenticationProvider) SetAuthToken added in v2.8.0

func (_m *AuthenticationProvider) SetAuthToken(ctx context.Context, user *sessions.User, token *auth.Token) error

SetAuthToken provides a mock function with given fields: ctx, user, token

func (*AuthenticationProvider) SetPassword added in v2.8.0

func (_m *AuthenticationProvider) SetPassword(ctx context.Context, user *sessions.User, newPassword string) error

SetPassword provides a mock function with given fields: ctx, user, newPassword

func (*AuthenticationProvider) TestPassword added in v2.8.0

func (_m *AuthenticationProvider) TestPassword(ctx context.Context, email string, password string) error

TestPassword provides a mock function with given fields: ctx, email, password

func (*AuthenticationProvider) UpdateRole added in v2.8.0

func (_m *AuthenticationProvider) UpdateRole(ctx context.Context, email string, newRole string) (sessions.User, error)

UpdateRole provides a mock function with given fields: ctx, email, newRole

type AuthenticationProvider_AuthorizedUserWithSession_Call added in v2.15.0

type AuthenticationProvider_AuthorizedUserWithSession_Call struct {
	*mock.Call
}

AuthenticationProvider_AuthorizedUserWithSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizedUserWithSession'

func (*AuthenticationProvider_AuthorizedUserWithSession_Call) Return added in v2.15.0

func (*AuthenticationProvider_AuthorizedUserWithSession_Call) Run added in v2.15.0

func (*AuthenticationProvider_AuthorizedUserWithSession_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_ClearNonCurrentSessions_Call added in v2.15.0

type AuthenticationProvider_ClearNonCurrentSessions_Call struct {
	*mock.Call
}

AuthenticationProvider_ClearNonCurrentSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearNonCurrentSessions'

func (*AuthenticationProvider_ClearNonCurrentSessions_Call) Return added in v2.15.0

func (*AuthenticationProvider_ClearNonCurrentSessions_Call) Run added in v2.15.0

func (*AuthenticationProvider_ClearNonCurrentSessions_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_CreateAndSetAuthToken_Call added in v2.15.0

type AuthenticationProvider_CreateAndSetAuthToken_Call struct {
	*mock.Call
}

AuthenticationProvider_CreateAndSetAuthToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAndSetAuthToken'

func (*AuthenticationProvider_CreateAndSetAuthToken_Call) Return added in v2.15.0

func (*AuthenticationProvider_CreateAndSetAuthToken_Call) Run added in v2.15.0

func (*AuthenticationProvider_CreateAndSetAuthToken_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_CreateSession_Call added in v2.15.0

type AuthenticationProvider_CreateSession_Call struct {
	*mock.Call
}

AuthenticationProvider_CreateSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSession'

func (*AuthenticationProvider_CreateSession_Call) Return added in v2.15.0

func (*AuthenticationProvider_CreateSession_Call) Run added in v2.15.0

func (*AuthenticationProvider_CreateSession_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_CreateUser_Call added in v2.15.0

type AuthenticationProvider_CreateUser_Call struct {
	*mock.Call
}

AuthenticationProvider_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'

func (*AuthenticationProvider_CreateUser_Call) Return added in v2.15.0

func (*AuthenticationProvider_CreateUser_Call) Run added in v2.15.0

func (*AuthenticationProvider_CreateUser_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_DeleteAuthToken_Call added in v2.15.0

type AuthenticationProvider_DeleteAuthToken_Call struct {
	*mock.Call
}

AuthenticationProvider_DeleteAuthToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAuthToken'

func (*AuthenticationProvider_DeleteAuthToken_Call) Return added in v2.15.0

func (*AuthenticationProvider_DeleteAuthToken_Call) Run added in v2.15.0

func (*AuthenticationProvider_DeleteAuthToken_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_DeleteUserSession_Call added in v2.15.0

type AuthenticationProvider_DeleteUserSession_Call struct {
	*mock.Call
}

AuthenticationProvider_DeleteUserSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUserSession'

func (*AuthenticationProvider_DeleteUserSession_Call) Return added in v2.15.0

func (*AuthenticationProvider_DeleteUserSession_Call) Run added in v2.15.0

func (*AuthenticationProvider_DeleteUserSession_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_DeleteUser_Call added in v2.15.0

type AuthenticationProvider_DeleteUser_Call struct {
	*mock.Call
}

AuthenticationProvider_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'

func (*AuthenticationProvider_DeleteUser_Call) Return added in v2.15.0

func (*AuthenticationProvider_DeleteUser_Call) Run added in v2.15.0

func (*AuthenticationProvider_DeleteUser_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_Expecter added in v2.15.0

type AuthenticationProvider_Expecter struct {
	// contains filtered or unexported fields
}

func (*AuthenticationProvider_Expecter) AuthorizedUserWithSession added in v2.15.0

func (_e *AuthenticationProvider_Expecter) AuthorizedUserWithSession(ctx interface{}, sessionID interface{}) *AuthenticationProvider_AuthorizedUserWithSession_Call

AuthorizedUserWithSession is a helper method to define mock.On call

  • ctx context.Context
  • sessionID string

func (*AuthenticationProvider_Expecter) ClearNonCurrentSessions added in v2.15.0

func (_e *AuthenticationProvider_Expecter) ClearNonCurrentSessions(ctx interface{}, sessionID interface{}) *AuthenticationProvider_ClearNonCurrentSessions_Call

ClearNonCurrentSessions is a helper method to define mock.On call

  • ctx context.Context
  • sessionID string

func (*AuthenticationProvider_Expecter) CreateAndSetAuthToken added in v2.15.0

func (_e *AuthenticationProvider_Expecter) CreateAndSetAuthToken(ctx interface{}, user interface{}) *AuthenticationProvider_CreateAndSetAuthToken_Call

CreateAndSetAuthToken is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User

func (*AuthenticationProvider_Expecter) CreateSession added in v2.15.0

func (_e *AuthenticationProvider_Expecter) CreateSession(ctx interface{}, sr interface{}) *AuthenticationProvider_CreateSession_Call

CreateSession is a helper method to define mock.On call

  • ctx context.Context
  • sr sessions.SessionRequest

func (*AuthenticationProvider_Expecter) CreateUser added in v2.15.0

func (_e *AuthenticationProvider_Expecter) CreateUser(ctx interface{}, user interface{}) *AuthenticationProvider_CreateUser_Call

CreateUser is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User

func (*AuthenticationProvider_Expecter) DeleteAuthToken added in v2.15.0

func (_e *AuthenticationProvider_Expecter) DeleteAuthToken(ctx interface{}, user interface{}) *AuthenticationProvider_DeleteAuthToken_Call

DeleteAuthToken is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User

func (*AuthenticationProvider_Expecter) DeleteUser added in v2.15.0

func (_e *AuthenticationProvider_Expecter) DeleteUser(ctx interface{}, email interface{}) *AuthenticationProvider_DeleteUser_Call

DeleteUser is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*AuthenticationProvider_Expecter) DeleteUserSession added in v2.15.0

func (_e *AuthenticationProvider_Expecter) DeleteUserSession(ctx interface{}, sessionID interface{}) *AuthenticationProvider_DeleteUserSession_Call

DeleteUserSession is a helper method to define mock.On call

  • ctx context.Context
  • sessionID string

func (*AuthenticationProvider_Expecter) FindExternalInitiator added in v2.15.0

func (_e *AuthenticationProvider_Expecter) FindExternalInitiator(ctx interface{}, eia interface{}) *AuthenticationProvider_FindExternalInitiator_Call

FindExternalInitiator is a helper method to define mock.On call

  • ctx context.Context
  • eia *auth.Token

func (*AuthenticationProvider_Expecter) FindUser added in v2.15.0

func (_e *AuthenticationProvider_Expecter) FindUser(ctx interface{}, email interface{}) *AuthenticationProvider_FindUser_Call

FindUser is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*AuthenticationProvider_Expecter) FindUserByAPIToken added in v2.15.0

func (_e *AuthenticationProvider_Expecter) FindUserByAPIToken(ctx interface{}, apiToken interface{}) *AuthenticationProvider_FindUserByAPIToken_Call

FindUserByAPIToken is a helper method to define mock.On call

  • ctx context.Context
  • apiToken string

func (*AuthenticationProvider_Expecter) GetUserWebAuthn added in v2.15.0

func (_e *AuthenticationProvider_Expecter) GetUserWebAuthn(ctx interface{}, email interface{}) *AuthenticationProvider_GetUserWebAuthn_Call

GetUserWebAuthn is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*AuthenticationProvider_Expecter) ListUsers added in v2.15.0

ListUsers is a helper method to define mock.On call

  • ctx context.Context

func (*AuthenticationProvider_Expecter) SaveWebAuthn added in v2.15.0

func (_e *AuthenticationProvider_Expecter) SaveWebAuthn(ctx interface{}, token interface{}) *AuthenticationProvider_SaveWebAuthn_Call

SaveWebAuthn is a helper method to define mock.On call

  • ctx context.Context
  • token *sessions.WebAuthn

func (*AuthenticationProvider_Expecter) Sessions added in v2.15.0

func (_e *AuthenticationProvider_Expecter) Sessions(ctx interface{}, offset interface{}, limit interface{}) *AuthenticationProvider_Sessions_Call

Sessions is a helper method to define mock.On call

  • ctx context.Context
  • offset int
  • limit int

func (*AuthenticationProvider_Expecter) SetAuthToken added in v2.15.0

func (_e *AuthenticationProvider_Expecter) SetAuthToken(ctx interface{}, user interface{}, token interface{}) *AuthenticationProvider_SetAuthToken_Call

SetAuthToken is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User
  • token *auth.Token

func (*AuthenticationProvider_Expecter) SetPassword added in v2.15.0

func (_e *AuthenticationProvider_Expecter) SetPassword(ctx interface{}, user interface{}, newPassword interface{}) *AuthenticationProvider_SetPassword_Call

SetPassword is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User
  • newPassword string

func (*AuthenticationProvider_Expecter) TestPassword added in v2.15.0

func (_e *AuthenticationProvider_Expecter) TestPassword(ctx interface{}, email interface{}, password interface{}) *AuthenticationProvider_TestPassword_Call

TestPassword is a helper method to define mock.On call

  • ctx context.Context
  • email string
  • password string

func (*AuthenticationProvider_Expecter) UpdateRole added in v2.15.0

func (_e *AuthenticationProvider_Expecter) UpdateRole(ctx interface{}, email interface{}, newRole interface{}) *AuthenticationProvider_UpdateRole_Call

UpdateRole is a helper method to define mock.On call

  • ctx context.Context
  • email string
  • newRole string

type AuthenticationProvider_FindExternalInitiator_Call added in v2.15.0

type AuthenticationProvider_FindExternalInitiator_Call struct {
	*mock.Call
}

AuthenticationProvider_FindExternalInitiator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExternalInitiator'

func (*AuthenticationProvider_FindExternalInitiator_Call) Return added in v2.15.0

func (*AuthenticationProvider_FindExternalInitiator_Call) Run added in v2.15.0

func (*AuthenticationProvider_FindExternalInitiator_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_FindUserByAPIToken_Call added in v2.15.0

type AuthenticationProvider_FindUserByAPIToken_Call struct {
	*mock.Call
}

AuthenticationProvider_FindUserByAPIToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUserByAPIToken'

func (*AuthenticationProvider_FindUserByAPIToken_Call) Return added in v2.15.0

func (*AuthenticationProvider_FindUserByAPIToken_Call) Run added in v2.15.0

func (*AuthenticationProvider_FindUserByAPIToken_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_FindUser_Call added in v2.15.0

type AuthenticationProvider_FindUser_Call struct {
	*mock.Call
}

AuthenticationProvider_FindUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUser'

func (*AuthenticationProvider_FindUser_Call) Return added in v2.15.0

func (*AuthenticationProvider_FindUser_Call) Run added in v2.15.0

func (*AuthenticationProvider_FindUser_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_GetUserWebAuthn_Call added in v2.15.0

type AuthenticationProvider_GetUserWebAuthn_Call struct {
	*mock.Call
}

AuthenticationProvider_GetUserWebAuthn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserWebAuthn'

func (*AuthenticationProvider_GetUserWebAuthn_Call) Return added in v2.15.0

func (*AuthenticationProvider_GetUserWebAuthn_Call) Run added in v2.15.0

func (*AuthenticationProvider_GetUserWebAuthn_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_ListUsers_Call added in v2.15.0

type AuthenticationProvider_ListUsers_Call struct {
	*mock.Call
}

AuthenticationProvider_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*AuthenticationProvider_ListUsers_Call) Return added in v2.15.0

func (*AuthenticationProvider_ListUsers_Call) Run added in v2.15.0

func (*AuthenticationProvider_ListUsers_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_SaveWebAuthn_Call added in v2.15.0

type AuthenticationProvider_SaveWebAuthn_Call struct {
	*mock.Call
}

AuthenticationProvider_SaveWebAuthn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveWebAuthn'

func (*AuthenticationProvider_SaveWebAuthn_Call) Return added in v2.15.0

func (*AuthenticationProvider_SaveWebAuthn_Call) Run added in v2.15.0

func (*AuthenticationProvider_SaveWebAuthn_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_Sessions_Call added in v2.15.0

type AuthenticationProvider_Sessions_Call struct {
	*mock.Call
}

AuthenticationProvider_Sessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sessions'

func (*AuthenticationProvider_Sessions_Call) Return added in v2.15.0

func (*AuthenticationProvider_Sessions_Call) Run added in v2.15.0

func (*AuthenticationProvider_Sessions_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_SetAuthToken_Call added in v2.15.0

type AuthenticationProvider_SetAuthToken_Call struct {
	*mock.Call
}

AuthenticationProvider_SetAuthToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAuthToken'

func (*AuthenticationProvider_SetAuthToken_Call) Return added in v2.15.0

func (*AuthenticationProvider_SetAuthToken_Call) Run added in v2.15.0

func (*AuthenticationProvider_SetAuthToken_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_SetPassword_Call added in v2.15.0

type AuthenticationProvider_SetPassword_Call struct {
	*mock.Call
}

AuthenticationProvider_SetPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPassword'

func (*AuthenticationProvider_SetPassword_Call) Return added in v2.15.0

func (*AuthenticationProvider_SetPassword_Call) Run added in v2.15.0

func (*AuthenticationProvider_SetPassword_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_TestPassword_Call added in v2.15.0

type AuthenticationProvider_TestPassword_Call struct {
	*mock.Call
}

AuthenticationProvider_TestPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestPassword'

func (*AuthenticationProvider_TestPassword_Call) Return added in v2.15.0

func (*AuthenticationProvider_TestPassword_Call) Run added in v2.15.0

func (*AuthenticationProvider_TestPassword_Call) RunAndReturn added in v2.15.0

type AuthenticationProvider_UpdateRole_Call added in v2.15.0

type AuthenticationProvider_UpdateRole_Call struct {
	*mock.Call
}

AuthenticationProvider_UpdateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRole'

func (*AuthenticationProvider_UpdateRole_Call) Return added in v2.15.0

func (*AuthenticationProvider_UpdateRole_Call) Run added in v2.15.0

func (*AuthenticationProvider_UpdateRole_Call) RunAndReturn added in v2.15.0

type BasicAdminUsersORM added in v2.8.0

type BasicAdminUsersORM struct {
	mock.Mock
}

BasicAdminUsersORM is an autogenerated mock type for the BasicAdminUsersORM type

func NewBasicAdminUsersORM added in v2.8.0

func NewBasicAdminUsersORM(t interface {
	mock.TestingT
	Cleanup(func())
}) *BasicAdminUsersORM

NewBasicAdminUsersORM creates a new instance of BasicAdminUsersORM. 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 (*BasicAdminUsersORM) CreateUser added in v2.8.0

func (_m *BasicAdminUsersORM) CreateUser(ctx context.Context, user *sessions.User) error

CreateUser provides a mock function with given fields: ctx, user

func (*BasicAdminUsersORM) EXPECT added in v2.15.0

func (*BasicAdminUsersORM) FindUser added in v2.8.0

func (_m *BasicAdminUsersORM) FindUser(ctx context.Context, email string) (sessions.User, error)

FindUser provides a mock function with given fields: ctx, email

func (*BasicAdminUsersORM) ListUsers added in v2.8.0

func (_m *BasicAdminUsersORM) ListUsers(ctx context.Context) ([]sessions.User, error)

ListUsers provides a mock function with given fields: ctx

type BasicAdminUsersORM_CreateUser_Call added in v2.15.0

type BasicAdminUsersORM_CreateUser_Call struct {
	*mock.Call
}

BasicAdminUsersORM_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'

func (*BasicAdminUsersORM_CreateUser_Call) Return added in v2.15.0

func (*BasicAdminUsersORM_CreateUser_Call) Run added in v2.15.0

func (*BasicAdminUsersORM_CreateUser_Call) RunAndReturn added in v2.15.0

type BasicAdminUsersORM_Expecter added in v2.15.0

type BasicAdminUsersORM_Expecter struct {
	// contains filtered or unexported fields
}

func (*BasicAdminUsersORM_Expecter) CreateUser added in v2.15.0

func (_e *BasicAdminUsersORM_Expecter) CreateUser(ctx interface{}, user interface{}) *BasicAdminUsersORM_CreateUser_Call

CreateUser is a helper method to define mock.On call

  • ctx context.Context
  • user *sessions.User

func (*BasicAdminUsersORM_Expecter) FindUser added in v2.15.0

func (_e *BasicAdminUsersORM_Expecter) FindUser(ctx interface{}, email interface{}) *BasicAdminUsersORM_FindUser_Call

FindUser is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*BasicAdminUsersORM_Expecter) ListUsers added in v2.15.0

func (_e *BasicAdminUsersORM_Expecter) ListUsers(ctx interface{}) *BasicAdminUsersORM_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context

type BasicAdminUsersORM_FindUser_Call added in v2.15.0

type BasicAdminUsersORM_FindUser_Call struct {
	*mock.Call
}

BasicAdminUsersORM_FindUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUser'

func (*BasicAdminUsersORM_FindUser_Call) Return added in v2.15.0

func (*BasicAdminUsersORM_FindUser_Call) Run added in v2.15.0

func (*BasicAdminUsersORM_FindUser_Call) RunAndReturn added in v2.15.0

type BasicAdminUsersORM_ListUsers_Call added in v2.15.0

type BasicAdminUsersORM_ListUsers_Call struct {
	*mock.Call
}

BasicAdminUsersORM_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*BasicAdminUsersORM_ListUsers_Call) Return added in v2.15.0

func (*BasicAdminUsersORM_ListUsers_Call) Run added in v2.15.0

func (*BasicAdminUsersORM_ListUsers_Call) RunAndReturn added in v2.15.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL