services

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginService

type LoginService interface {
	OpenBrowser(URL string) error
	WriteToConfigFile(configPath string, data string) error
	DeleteConfigFile(configPath string) error
}

func NewLoginService

func NewLoginService() LoginService

type MockLoginService

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

MockLoginService is a mock of LoginService interface.

func NewMockLoginService

func NewMockLoginService(ctrl *gomock.Controller) *MockLoginService

NewMockLoginService creates a new mock instance.

func (*MockLoginService) DeleteConfigFile added in v0.4.0

func (m *MockLoginService) DeleteConfigFile(configPath string) error

DeleteConfigFile mocks base method.

func (*MockLoginService) EXPECT

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

func (*MockLoginService) OpenBrowser

func (m *MockLoginService) OpenBrowser(URL string) error

OpenBrowser mocks base method.

func (*MockLoginService) WriteToConfigFile

func (m *MockLoginService) WriteToConfigFile(configPath, data string) error

WriteToConfigFile mocks base method.

type MockLoginServiceMockRecorder

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

MockLoginServiceMockRecorder is the mock recorder for MockLoginService.

func (*MockLoginServiceMockRecorder) DeleteConfigFile added in v0.4.0

func (mr *MockLoginServiceMockRecorder) DeleteConfigFile(configPath interface{}) *gomock.Call

DeleteConfigFile indicates an expected call of DeleteConfigFile.

func (*MockLoginServiceMockRecorder) OpenBrowser

func (mr *MockLoginServiceMockRecorder) OpenBrowser(URL interface{}) *gomock.Call

OpenBrowser indicates an expected call of OpenBrowser.

func (*MockLoginServiceMockRecorder) WriteToConfigFile

func (mr *MockLoginServiceMockRecorder) WriteToConfigFile(configPath, data interface{}) *gomock.Call

WriteToConfigFile indicates an expected call of WriteToConfigFile.

Jump to

Keyboard shortcuts

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