service

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTemplateService

type MockTemplateService struct {
	mock.Mock
}

MockTemplateService is an autogenerated mock type for the TemplateService type

func NewMockTemplateService

func NewMockTemplateService(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTemplateService

NewMockTemplateService creates a new instance of MockTemplateService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockTemplateService) ConfDir

func (_m *MockTemplateService) ConfDir() (string, error)

ConfDir provides a mock function with given fields:

func (*MockTemplateService) EXPECT

func (*MockTemplateService) EnvironmentConfigPaths

func (_m *MockTemplateService) EnvironmentConfigPaths() map[string]string

EnvironmentConfigPaths provides a mock function with given fields:

func (*MockTemplateService) Executable

func (_m *MockTemplateService) Executable() (string, error)

Executable provides a mock function with given fields:

func (*MockTemplateService) Group

func (_m *MockTemplateService) Group() string

Group provides a mock function with given fields:

func (*MockTemplateService) LocalAddress

func (_m *MockTemplateService) LocalAddress() string

LocalAddress provides a mock function with given fields:

func (*MockTemplateService) Pid

func (_m *MockTemplateService) Pid() (int, error)

Pid provides a mock function with given fields:

func (*MockTemplateService) PrivateAddress

func (_m *MockTemplateService) PrivateAddress() string

PrivateAddress provides a mock function with given fields:

func (*MockTemplateService) PrivateUrl

func (_m *MockTemplateService) PrivateUrl() (string, error)

PrivateUrl provides a mock function with given fields:

func (*MockTemplateService) RunDir

func (_m *MockTemplateService) RunDir() (string, error)

RunDir provides a mock function with given fields:

func (*MockTemplateService) ScriptDir

func (_m *MockTemplateService) ScriptDir() (string, error)

ScriptDir provides a mock function with given fields:

func (*MockTemplateService) User

func (_m *MockTemplateService) User() string

User provides a mock function with given fields:

type MockTemplateService_ConfDir_Call

type MockTemplateService_ConfDir_Call struct {
	*mock.Call
}

MockTemplateService_ConfDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfDir'

func (*MockTemplateService_ConfDir_Call) Return

func (*MockTemplateService_ConfDir_Call) Run

func (*MockTemplateService_ConfDir_Call) RunAndReturn

type MockTemplateService_EnvironmentConfigPaths_Call

type MockTemplateService_EnvironmentConfigPaths_Call struct {
	*mock.Call
}

MockTemplateService_EnvironmentConfigPaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnvironmentConfigPaths'

func (*MockTemplateService_EnvironmentConfigPaths_Call) Return

func (*MockTemplateService_EnvironmentConfigPaths_Call) Run

func (*MockTemplateService_EnvironmentConfigPaths_Call) RunAndReturn

type MockTemplateService_Executable_Call

type MockTemplateService_Executable_Call struct {
	*mock.Call
}

MockTemplateService_Executable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Executable'

func (*MockTemplateService_Executable_Call) Return

func (*MockTemplateService_Executable_Call) Run

func (*MockTemplateService_Executable_Call) RunAndReturn

type MockTemplateService_Expecter

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

func (*MockTemplateService_Expecter) ConfDir

ConfDir is a helper method to define mock.On call

func (*MockTemplateService_Expecter) EnvironmentConfigPaths

EnvironmentConfigPaths is a helper method to define mock.On call

func (*MockTemplateService_Expecter) Executable

Executable is a helper method to define mock.On call

func (*MockTemplateService_Expecter) Group

Group is a helper method to define mock.On call

func (*MockTemplateService_Expecter) LocalAddress

LocalAddress is a helper method to define mock.On call

func (*MockTemplateService_Expecter) Pid

Pid is a helper method to define mock.On call

func (*MockTemplateService_Expecter) PrivateAddress

PrivateAddress is a helper method to define mock.On call

func (*MockTemplateService_Expecter) PrivateUrl

PrivateUrl is a helper method to define mock.On call

func (*MockTemplateService_Expecter) RunDir

RunDir is a helper method to define mock.On call

func (*MockTemplateService_Expecter) ScriptDir

ScriptDir is a helper method to define mock.On call

func (*MockTemplateService_Expecter) User

User is a helper method to define mock.On call

type MockTemplateService_Group_Call

type MockTemplateService_Group_Call struct {
	*mock.Call
}

MockTemplateService_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'

func (*MockTemplateService_Group_Call) Return

func (*MockTemplateService_Group_Call) Run

func (*MockTemplateService_Group_Call) RunAndReturn

type MockTemplateService_LocalAddress_Call

type MockTemplateService_LocalAddress_Call struct {
	*mock.Call
}

MockTemplateService_LocalAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalAddress'

func (*MockTemplateService_LocalAddress_Call) Return

func (*MockTemplateService_LocalAddress_Call) Run

func (*MockTemplateService_LocalAddress_Call) RunAndReturn

type MockTemplateService_Pid_Call

type MockTemplateService_Pid_Call struct {
	*mock.Call
}

MockTemplateService_Pid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pid'

func (*MockTemplateService_Pid_Call) Return

func (*MockTemplateService_Pid_Call) Run

func (*MockTemplateService_Pid_Call) RunAndReturn

func (_c *MockTemplateService_Pid_Call) RunAndReturn(run func() (int, error)) *MockTemplateService_Pid_Call

type MockTemplateService_PrivateAddress_Call

type MockTemplateService_PrivateAddress_Call struct {
	*mock.Call
}

MockTemplateService_PrivateAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrivateAddress'

func (*MockTemplateService_PrivateAddress_Call) Return

func (*MockTemplateService_PrivateAddress_Call) Run

func (*MockTemplateService_PrivateAddress_Call) RunAndReturn

type MockTemplateService_PrivateUrl_Call

type MockTemplateService_PrivateUrl_Call struct {
	*mock.Call
}

MockTemplateService_PrivateUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrivateUrl'

func (*MockTemplateService_PrivateUrl_Call) Return

func (*MockTemplateService_PrivateUrl_Call) Run

func (*MockTemplateService_PrivateUrl_Call) RunAndReturn

type MockTemplateService_RunDir_Call

type MockTemplateService_RunDir_Call struct {
	*mock.Call
}

MockTemplateService_RunDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunDir'

func (*MockTemplateService_RunDir_Call) Return

func (*MockTemplateService_RunDir_Call) Run

func (*MockTemplateService_RunDir_Call) RunAndReturn

type MockTemplateService_ScriptDir_Call

type MockTemplateService_ScriptDir_Call struct {
	*mock.Call
}

MockTemplateService_ScriptDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptDir'

func (*MockTemplateService_ScriptDir_Call) Return

func (*MockTemplateService_ScriptDir_Call) Run

func (*MockTemplateService_ScriptDir_Call) RunAndReturn

type MockTemplateService_User_Call

type MockTemplateService_User_Call struct {
	*mock.Call
}

MockTemplateService_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'

func (*MockTemplateService_User_Call) Return

func (*MockTemplateService_User_Call) Run

func (*MockTemplateService_User_Call) RunAndReturn

Jump to

Keyboard shortcuts

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