mocks

package
v0.0.0-...-b42a24c Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandlerInterface

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

MockHandlerInterface is a mock of HandlerInterface interface.

func NewMockHandlerInterface

func NewMockHandlerInterface(ctrl *gomock.Controller) *MockHandlerInterface

NewMockHandlerInterface creates a new mock instance.

func (*MockHandlerInterface) EXPECT

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

func (*MockHandlerInterface) HandleAuth

func (m *MockHandlerInterface) HandleAuth(arg0 *gin.Context)

HandleAuth mocks base method.

func (*MockHandlerInterface) HandleCoverLetter

func (m *MockHandlerInterface) HandleCoverLetter(arg0 *gin.Context)

HandleCoverLetter mocks base method.

func (*MockHandlerInterface) HandleCreateCareerProfile

func (m *MockHandlerInterface) HandleCreateCareerProfile(arg0 *gin.Context)

HandleCreateCareerProfile mocks base method.

func (*MockHandlerInterface) HandleCreateJobApplication

func (m *MockHandlerInterface) HandleCreateJobApplication(arg0 *gin.Context)

HandleCreateJobApplication mocks base method.

func (*MockHandlerInterface) HandleDeleteJobApplication

func (m *MockHandlerInterface) HandleDeleteJobApplication(arg0 *gin.Context)

HandleDeleteJobApplication mocks base method.

func (*MockHandlerInterface) HandleGetCareerProfile

func (m *MockHandlerInterface) HandleGetCareerProfile(arg0 *gin.Context)

HandleGetCareerProfile mocks base method.

func (*MockHandlerInterface) HandleGetJobApplicationByID

func (m *MockHandlerInterface) HandleGetJobApplicationByID(arg0 *gin.Context)

HandleGetJobApplicationByID mocks base method.

func (*MockHandlerInterface) HandleGetJobApplications

func (m *MockHandlerInterface) HandleGetJobApplications(arg0 *gin.Context)

HandleGetJobApplications mocks base method.

func (*MockHandlerInterface) HandleIndex

func (m *MockHandlerInterface) HandleIndex(arg0 *gin.Context)

HandleIndex mocks base method.

func (*MockHandlerInterface) HandleLinkedInCallback

func (m *MockHandlerInterface) HandleLinkedInCallback(arg0 *gin.Context)

HandleLinkedInCallback mocks base method.

type MockHandlerInterfaceMockRecorder

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

MockHandlerInterfaceMockRecorder is the mock recorder for MockHandlerInterface.

func (*MockHandlerInterfaceMockRecorder) HandleAuth

func (mr *MockHandlerInterfaceMockRecorder) HandleAuth(arg0 interface{}) *gomock.Call

HandleAuth indicates an expected call of HandleAuth.

func (*MockHandlerInterfaceMockRecorder) HandleCoverLetter

func (mr *MockHandlerInterfaceMockRecorder) HandleCoverLetter(arg0 interface{}) *gomock.Call

HandleCoverLetter indicates an expected call of HandleCoverLetter.

func (*MockHandlerInterfaceMockRecorder) HandleCreateCareerProfile

func (mr *MockHandlerInterfaceMockRecorder) HandleCreateCareerProfile(arg0 interface{}) *gomock.Call

HandleCreateCareerProfile indicates an expected call of HandleCreateCareerProfile.

func (*MockHandlerInterfaceMockRecorder) HandleCreateJobApplication

func (mr *MockHandlerInterfaceMockRecorder) HandleCreateJobApplication(arg0 interface{}) *gomock.Call

HandleCreateJobApplication indicates an expected call of HandleCreateJobApplication.

func (*MockHandlerInterfaceMockRecorder) HandleDeleteJobApplication

func (mr *MockHandlerInterfaceMockRecorder) HandleDeleteJobApplication(arg0 interface{}) *gomock.Call

HandleDeleteJobApplication indicates an expected call of HandleDeleteJobApplication.

func (*MockHandlerInterfaceMockRecorder) HandleGetCareerProfile

func (mr *MockHandlerInterfaceMockRecorder) HandleGetCareerProfile(arg0 interface{}) *gomock.Call

HandleGetCareerProfile indicates an expected call of HandleGetCareerProfile.

func (*MockHandlerInterfaceMockRecorder) HandleGetJobApplicationByID

func (mr *MockHandlerInterfaceMockRecorder) HandleGetJobApplicationByID(arg0 interface{}) *gomock.Call

HandleGetJobApplicationByID indicates an expected call of HandleGetJobApplicationByID.

func (*MockHandlerInterfaceMockRecorder) HandleGetJobApplications

func (mr *MockHandlerInterfaceMockRecorder) HandleGetJobApplications(arg0 interface{}) *gomock.Call

HandleGetJobApplications indicates an expected call of HandleGetJobApplications.

func (*MockHandlerInterfaceMockRecorder) HandleIndex

func (mr *MockHandlerInterfaceMockRecorder) HandleIndex(arg0 interface{}) *gomock.Call

HandleIndex indicates an expected call of HandleIndex.

func (*MockHandlerInterfaceMockRecorder) HandleLinkedInCallback

func (mr *MockHandlerInterfaceMockRecorder) HandleLinkedInCallback(arg0 interface{}) *gomock.Call

HandleLinkedInCallback indicates an expected call of HandleLinkedInCallback.

type MockOpenAI

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

MockOpenAI is a mock of OpenAI interface.

func NewMockOpenAI

func NewMockOpenAI(ctrl *gomock.Controller) *MockOpenAI

NewMockOpenAI creates a new mock instance.

func (*MockOpenAI) EXPECT

func (m *MockOpenAI) EXPECT() *MockOpenAIMockRecorder

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

func (*MockOpenAI) GenerateChatGPTCoverLetter

func (m *MockOpenAI) GenerateChatGPTCoverLetter(arg0 *gin.Context, arg1 uuid.UUID, arg2 *types.JobPosting, arg3 types.StoreClient) (string, int, error)

GenerateChatGPTCoverLetter mocks base method.

func (*MockOpenAI) GetCareerProfileInfoPrompt

func (m *MockOpenAI) GetCareerProfileInfoPrompt(arg0 uuid.UUID, arg1 types.StoreClient) (string, *types.CareerProfile, error)

GetCareerProfileInfoPrompt mocks base method.

func (*MockOpenAI) ParseCoverLetter

func (m *MockOpenAI) ParseCoverLetter(arg0 *string, arg1 *types.CareerProfile, arg2 *types.JobPosting) (string, error)

ParseCoverLetter mocks base method.

type MockOpenAIMockRecorder

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

MockOpenAIMockRecorder is the mock recorder for MockOpenAI.

func (*MockOpenAIMockRecorder) GenerateChatGPTCoverLetter

func (mr *MockOpenAIMockRecorder) GenerateChatGPTCoverLetter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateChatGPTCoverLetter indicates an expected call of GenerateChatGPTCoverLetter.

func (*MockOpenAIMockRecorder) GetCareerProfileInfoPrompt

func (mr *MockOpenAIMockRecorder) GetCareerProfileInfoPrompt(arg0, arg1 interface{}) *gomock.Call

GetCareerProfileInfoPrompt indicates an expected call of GetCareerProfileInfoPrompt.

func (*MockOpenAIMockRecorder) ParseCoverLetter

func (mr *MockOpenAIMockRecorder) ParseCoverLetter(arg0, arg1, arg2 interface{}) *gomock.Call

ParseCoverLetter indicates an expected call of ParseCoverLetter.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Connect

func (m *MockStore) Connect() (*mongo.Client, context.Context, error)

Connect mocks base method.

func (*MockStore) DeleteJobApplication

func (m *MockStore) DeleteJobApplication(arg0 uuid.UUID) error

DeleteJobApplication mocks base method.

func (*MockStore) Disconnect

func (m *MockStore) Disconnect(arg0 context.Context, arg1 *mongo.Client)

Disconnect mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetCareerProfileByEmail

func (m *MockStore) GetCareerProfileByEmail(arg0 string) (*types.CareerProfile, error)

GetCareerProfileByEmail mocks base method.

func (*MockStore) GetCareerProfileByID

func (m *MockStore) GetCareerProfileByID(arg0 uuid.UUID) (*types.CareerProfile, error)

GetCareerProfileByID mocks base method.

func (*MockStore) GetJobApplicationByID

func (m *MockStore) GetJobApplicationByID(arg0 uuid.UUID) (*types.JobApplication, error)

GetJobApplicationByID mocks base method.

func (*MockStore) GetJobApplications

func (m *MockStore) GetJobApplications(arg0 uuid.UUID) (*[]types.JobApplication, error)

GetJobApplications mocks base method.

func (*MockStore) StoreAccessToken

func (m *MockStore) StoreAccessToken(arg0 uuid.UUID, arg1, arg2 string) (string, error)

StoreAccessToken mocks base method.

func (*MockStore) StoreCareerProfile

func (m *MockStore) StoreCareerProfile(arg0 *types.CareerProfile) (*types.CareerProfile, string, error)

StoreCareerProfile mocks base method.

func (*MockStore) StoreJobApplication

func (m *MockStore) StoreJobApplication(arg0 *types.JobApplication) (*types.JobApplication, string, error)

StoreJobApplication mocks base method.

func (*MockStore) ValidateAccessToken

func (m *MockStore) ValidateAccessToken(arg0 uuid.UUID, arg1, arg2 string) (bool, error)

ValidateAccessToken mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Connect

func (mr *MockStoreMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect.

func (*MockStoreMockRecorder) DeleteJobApplication

func (mr *MockStoreMockRecorder) DeleteJobApplication(arg0 interface{}) *gomock.Call

DeleteJobApplication indicates an expected call of DeleteJobApplication.

func (*MockStoreMockRecorder) Disconnect

func (mr *MockStoreMockRecorder) Disconnect(arg0, arg1 interface{}) *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockStoreMockRecorder) GetCareerProfileByEmail

func (mr *MockStoreMockRecorder) GetCareerProfileByEmail(arg0 interface{}) *gomock.Call

GetCareerProfileByEmail indicates an expected call of GetCareerProfileByEmail.

func (*MockStoreMockRecorder) GetCareerProfileByID

func (mr *MockStoreMockRecorder) GetCareerProfileByID(arg0 interface{}) *gomock.Call

GetCareerProfileByID indicates an expected call of GetCareerProfileByID.

func (*MockStoreMockRecorder) GetJobApplicationByID

func (mr *MockStoreMockRecorder) GetJobApplicationByID(arg0 interface{}) *gomock.Call

GetJobApplicationByID indicates an expected call of GetJobApplicationByID.

func (*MockStoreMockRecorder) GetJobApplications

func (mr *MockStoreMockRecorder) GetJobApplications(arg0 interface{}) *gomock.Call

GetJobApplications indicates an expected call of GetJobApplications.

func (*MockStoreMockRecorder) StoreAccessToken

func (mr *MockStoreMockRecorder) StoreAccessToken(arg0, arg1, arg2 interface{}) *gomock.Call

StoreAccessToken indicates an expected call of StoreAccessToken.

func (*MockStoreMockRecorder) StoreCareerProfile

func (mr *MockStoreMockRecorder) StoreCareerProfile(arg0 interface{}) *gomock.Call

StoreCareerProfile indicates an expected call of StoreCareerProfile.

func (*MockStoreMockRecorder) StoreJobApplication

func (mr *MockStoreMockRecorder) StoreJobApplication(arg0 interface{}) *gomock.Call

StoreJobApplication indicates an expected call of StoreJobApplication.

func (*MockStoreMockRecorder) ValidateAccessToken

func (mr *MockStoreMockRecorder) ValidateAccessToken(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateAccessToken indicates an expected call of ValidateAccessToken.

type MockUtil

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

MockUtil is a mock of Util interface.

func NewMockUtil

func NewMockUtil(ctrl *gomock.Controller) *MockUtil

NewMockUtil creates a new mock instance.

func (*MockUtil) EXPECT

func (m *MockUtil) EXPECT() *MockUtilMockRecorder

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

func (*MockUtil) LoadEnvFile

func (m *MockUtil) LoadEnvFile(arg0 string) error

LoadEnvFile mocks base method.

type MockUtilMockRecorder

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

MockUtilMockRecorder is the mock recorder for MockUtil.

func (*MockUtilMockRecorder) LoadEnvFile

func (mr *MockUtilMockRecorder) LoadEnvFile(arg0 interface{}) *gomock.Call

LoadEnvFile indicates an expected call of LoadEnvFile.

Jump to

Keyboard shortcuts

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