mock_interfaces

package
v0.0.0-...-f34f428 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_interfaces is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

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