mock_learn

package
v0.0.0-...-dfd24c6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_learn 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) GetAllLessons

func (m *MockService) GetAllLessons() ([]learn.Lesson, error)

GetAllLessons mocks base method.

func (*MockService) GetLesson

func (m *MockService) GetLesson(arg0, arg1 string, arg2, arg3 []string, arg4 vulnmap.Type) (*learn.Lesson, error)

GetLesson mocks base method.

func (*MockService) LearnEndpoint

func (m *MockService) LearnEndpoint(arg0 *config.Config) (string, error)

LearnEndpoint mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) GetAllLessons

func (mr *MockServiceMockRecorder) GetAllLessons() *gomock.Call

GetAllLessons indicates an expected call of GetAllLessons.

func (*MockServiceMockRecorder) GetLesson

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

GetLesson indicates an expected call of GetLesson.

func (*MockServiceMockRecorder) LearnEndpoint

func (mr *MockServiceMockRecorder) LearnEndpoint(arg0 interface{}) *gomock.Call

LearnEndpoint indicates an expected call of LearnEndpoint.

Jump to

Keyboard shortcuts

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