Documentation ¶
Overview ¶
Package mock_interfaces is a generated GoMock package.
Index ¶
- type MockStratosAuth
- func (m *MockStratosAuth) BeforeVerifySession(c echo.Context)
- func (m *MockStratosAuth) EXPECT() *MockStratosAuthMockRecorder
- func (m *MockStratosAuth) GetUser(userGUID string) (*interfaces.ConnectedUser, error)
- func (m *MockStratosAuth) GetUsername(userGUID string) (string, error)
- func (m *MockStratosAuth) Login(c echo.Context) error
- func (m *MockStratosAuth) Logout(c echo.Context) error
- func (m *MockStratosAuth) ShowConfig(config *interfaces.ConsoleConfig)
- func (m *MockStratosAuth) VerifySession(c echo.Context, sessionUser string, sessionExpireTime int64) error
- type MockStratosAuthMockRecorder
- func (mr *MockStratosAuthMockRecorder) BeforeVerifySession(c interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) GetUser(userGUID interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) GetUsername(userGUID interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) Login(c interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) Logout(c interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) ShowConfig(c interface{}) *gomock.Call
- func (mr *MockStratosAuthMockRecorder) VerifySession(c, sessionUser, sessionExpireTime interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStratosAuth ¶
type MockStratosAuth struct {
// contains filtered or unexported fields
}
MockStratosAuth is a mock of StratosAuth interface
func NewMockStratosAuth ¶
func NewMockStratosAuth(ctrl *gomock.Controller) *MockStratosAuth
NewMockStratosAuth creates a new mock instance
func (*MockStratosAuth) BeforeVerifySession ¶
func (m *MockStratosAuth) BeforeVerifySession(c echo.Context)
BeforeVerifySession mocks base method
func (*MockStratosAuth) EXPECT ¶
func (m *MockStratosAuth) EXPECT() *MockStratosAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStratosAuth) GetUser ¶
func (m *MockStratosAuth) GetUser(userGUID string) (*interfaces.ConnectedUser, error)
GetUser mocks base method
func (*MockStratosAuth) GetUsername ¶
func (m *MockStratosAuth) GetUsername(userGUID string) (string, error)
GetUsername mocks base method
func (*MockStratosAuth) Login ¶
func (m *MockStratosAuth) Login(c echo.Context) error
Login mocks base method
func (*MockStratosAuth) Logout ¶
func (m *MockStratosAuth) Logout(c echo.Context) error
Logout mocks base method
func (*MockStratosAuth) ShowConfig ¶
func (m *MockStratosAuth) ShowConfig(config *interfaces.ConsoleConfig)
ShowConfig mocks base method
func (*MockStratosAuth) VerifySession ¶
func (m *MockStratosAuth) VerifySession(c echo.Context, sessionUser string, sessionExpireTime int64) error
VerifySession mocks base method
type MockStratosAuthMockRecorder ¶
type MockStratosAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockStratosAuthMockRecorder is the mock recorder for MockStratosAuth
func (*MockStratosAuthMockRecorder) BeforeVerifySession ¶
func (mr *MockStratosAuthMockRecorder) BeforeVerifySession(c interface{}) *gomock.Call
BeforeVerifySession indicates an expected call of BeforeVerifySession
func (*MockStratosAuthMockRecorder) GetUser ¶
func (mr *MockStratosAuthMockRecorder) GetUser(userGUID interface{}) *gomock.Call
GetUser indicates an expected call of GetUser
func (*MockStratosAuthMockRecorder) GetUsername ¶
func (mr *MockStratosAuthMockRecorder) GetUsername(userGUID interface{}) *gomock.Call
GetUsername indicates an expected call of GetUsername
func (*MockStratosAuthMockRecorder) Login ¶
func (mr *MockStratosAuthMockRecorder) Login(c interface{}) *gomock.Call
Login indicates an expected call of Login
func (*MockStratosAuthMockRecorder) Logout ¶
func (mr *MockStratosAuthMockRecorder) Logout(c interface{}) *gomock.Call
Logout indicates an expected call of Logout
func (*MockStratosAuthMockRecorder) ShowConfig ¶
func (mr *MockStratosAuthMockRecorder) ShowConfig(c interface{}) *gomock.Call
ShowConfig indicates an expected call of ShowConfig
func (*MockStratosAuthMockRecorder) VerifySession ¶
func (mr *MockStratosAuthMockRecorder) VerifySession(c, sessionUser, sessionExpireTime interface{}) *gomock.Call
VerifySession indicates an expected call of VerifySession