mock_session

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_session is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockService) GetOrCreate

func (m *MockService) GetOrCreate(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) (*model.Session, error)

GetOrCreate mocks base method.

func (*MockService) ListForUser

func (m *MockService) ListForUser(arg0 *incoming.Request, arg1 string) ([]*model.Session, error)

ListForUser mocks base method.

func (*MockService) RevokeSessionsForApp

func (m *MockService) RevokeSessionsForApp(arg0 *incoming.Request, arg1 apps.AppID) error

RevokeSessionsForApp mocks base method.

func (*MockService) RevokeSessionsForUser

func (m *MockService) RevokeSessionsForUser(arg0 *incoming.Request, arg1 string) error

RevokeSessionsForUser mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) GetOrCreate

func (mr *MockServiceMockRecorder) GetOrCreate(arg0, arg1, arg2 interface{}) *gomock.Call

GetOrCreate indicates an expected call of GetOrCreate.

func (*MockServiceMockRecorder) ListForUser

func (mr *MockServiceMockRecorder) ListForUser(arg0, arg1 interface{}) *gomock.Call

ListForUser indicates an expected call of ListForUser.

func (*MockServiceMockRecorder) RevokeSessionsForApp

func (mr *MockServiceMockRecorder) RevokeSessionsForApp(arg0, arg1 interface{}) *gomock.Call

RevokeSessionsForApp indicates an expected call of RevokeSessionsForApp.

func (*MockServiceMockRecorder) RevokeSessionsForUser

func (mr *MockServiceMockRecorder) RevokeSessionsForUser(arg0, arg1 interface{}) *gomock.Call

RevokeSessionsForUser indicates an expected call of RevokeSessionsForUser.

Jump to

Keyboard shortcuts

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