services

package
v0.0.10 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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMaker

type MockMaker struct {
	mock.Mock
}

MockMaker is an autogenerated mock type for the Maker type

func NewMockMaker

func NewMockMaker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMaker

NewMockMaker creates a new instance of MockMaker. 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 (*MockMaker) EXPECT

func (_m *MockMaker) EXPECT() *MockMaker_Expecter

func (*MockMaker) Make

func (_m *MockMaker) Make(config map[string]types.Service, dflts *defaults.Defaults, scriptResources scripts.Scripts, srvs servers.Servers, _a4 environments.Environments, instanceName string, instanceIdx int, instanceWorkspace string) (services.ServiceLocator, error)

Make provides a mock function with given fields: config, dflts, scriptResources, srvs, _a4, instanceName, instanceIdx, instanceWorkspace

type MockMaker_Expecter

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

func (*MockMaker_Expecter) Make

func (_e *MockMaker_Expecter) Make(config interface{}, dflts interface{}, scriptResources interface{}, srvs interface{}, _a4 interface{}, instanceName interface{}, instanceIdx interface{}, instanceWorkspace interface{}) *MockMaker_Make_Call

Make is a helper method to define mock.On call

  • config map[string]types.Service
  • dflts *defaults.Defaults
  • scriptResources scripts.Scripts
  • srvs servers.Servers
  • _a4 environments.Environments
  • instanceName string
  • instanceIdx int
  • instanceWorkspace string

type MockMaker_Make_Call

type MockMaker_Make_Call struct {
	*mock.Call
}

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

func (*MockMaker_Make_Call) Return

func (*MockMaker_Make_Call) Run

func (_c *MockMaker_Make_Call) Run(run func(config map[string]types.Service, dflts *defaults.Defaults, scriptResources scripts.Scripts, srvs servers.Servers, _a4 environments.Environments, instanceName string, instanceIdx int, instanceWorkspace string)) *MockMaker_Make_Call

type MockService

type MockService struct {
	mock.Mock
}

MockService is an autogenerated mock type for the Service type

func NewMockService

func NewMockService(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockService

NewMockService creates a new instance of MockService. 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 (*MockService) ConfDir

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

ConfDir provides a mock function with given fields:

func (*MockService) Dirs

func (_m *MockService) Dirs() map[dir.DirType]string

Dirs provides a mock function with given fields:

func (*MockService) EXPECT

func (_m *MockService) EXPECT() *MockService_Expecter

func (*MockService) Environment

func (_m *MockService) Environment() environment.Environment

Environment provides a mock function with given fields:

func (*MockService) EnvironmentConfigPaths

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

EnvironmentConfigPaths provides a mock function with given fields:

func (*MockService) EnvironmentScriptPaths

func (_m *MockService) EnvironmentScriptPaths() map[string]string

EnvironmentScriptPaths provides a mock function with given fields:

func (*MockService) Executable

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

Executable provides a mock function with given fields:

func (*MockService) FullName

func (_m *MockService) FullName() string

FullName provides a mock function with given fields:

func (*MockService) Group

func (_m *MockService) Group() string

Group provides a mock function with given fields:

func (*MockService) IsPublic

func (_m *MockService) IsPublic() bool

IsPublic provides a mock function with given fields:

func (*MockService) LocalAddress

func (_m *MockService) LocalAddress() string

LocalAddress provides a mock function with given fields:

func (*MockService) Name

func (_m *MockService) Name() string

Name provides a mock function with given fields:

func (*MockService) OutputScanner

func (_m *MockService) OutputScanner(ctx context.Context, outputType output.Type) (*bufio.Scanner, error)

OutputScanner provides a mock function with given fields: ctx, outputType

func (*MockService) Pid

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

Pid provides a mock function with given fields:

func (*MockService) Port

func (_m *MockService) Port() int32

Port provides a mock function with given fields:

func (*MockService) PrivateAddress

func (_m *MockService) PrivateAddress() string

PrivateAddress provides a mock function with given fields:

func (*MockService) PrivateUrl

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

PrivateUrl provides a mock function with given fields:

func (*MockService) PublicUrl

func (_m *MockService) PublicUrl(path string) (string, error)

PublicUrl provides a mock function with given fields: path

func (*MockService) Reload

func (_m *MockService) Reload(ctx context.Context) error

Reload provides a mock function with given fields: ctx

func (*MockService) RenderTemplate

func (_m *MockService) RenderTemplate(text string, params parameters.Parameters) (string, error)

RenderTemplate provides a mock function with given fields: text, params

func (*MockService) Restart

func (_m *MockService) Restart(ctx context.Context) error

Restart provides a mock function with given fields: ctx

func (*MockService) RunDir

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

RunDir provides a mock function with given fields:

func (*MockService) Sandbox

func (_m *MockService) Sandbox() sandbox.Sandbox

Sandbox provides a mock function with given fields:

func (*MockService) ScriptDir

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

ScriptDir provides a mock function with given fields:

func (*MockService) Server

func (_m *MockService) Server() servers.Server

Server provides a mock function with given fields:

func (*MockService) ServerParameters

func (_m *MockService) ServerParameters() parameters.Parameters

ServerParameters provides a mock function with given fields:

func (*MockService) SetTemplate

func (_m *MockService) SetTemplate(_a0 template.Template)

SetTemplate provides a mock function with given fields: _a0

func (*MockService) Start

func (_m *MockService) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

func (*MockService) Stop

func (_m *MockService) Stop(ctx context.Context) error

Stop provides a mock function with given fields: ctx

func (*MockService) Task

func (_m *MockService) Task() task.Task

Task provides a mock function with given fields:

func (*MockService) User

func (_m *MockService) User() string

User provides a mock function with given fields:

func (*MockService) Workspace

func (_m *MockService) Workspace() string

Workspace provides a mock function with given fields:

func (*MockService) WorkspaceConfigPaths

func (_m *MockService) WorkspaceConfigPaths() map[string]string

WorkspaceConfigPaths provides a mock function with given fields:

func (*MockService) WorkspaceScriptPaths

func (_m *MockService) WorkspaceScriptPaths() map[string]string

WorkspaceScriptPaths provides a mock function with given fields:

type MockServiceLocator

type MockServiceLocator struct {
	mock.Mock
}

MockServiceLocator is an autogenerated mock type for the ServiceLocator type

func NewMockServiceLocator

func NewMockServiceLocator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockServiceLocator

NewMockServiceLocator creates a new instance of MockServiceLocator. 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 (*MockServiceLocator) EXPECT

func (*MockServiceLocator) Find

func (_m *MockServiceLocator) Find(name string) (services.Service, error)

Find provides a mock function with given fields: name

func (*MockServiceLocator) Services

func (_m *MockServiceLocator) Services() services.Services

Services provides a mock function with given fields:

type MockServiceLocator_Expecter

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

func (*MockServiceLocator_Expecter) Find

func (_e *MockServiceLocator_Expecter) Find(name interface{}) *MockServiceLocator_Find_Call

Find is a helper method to define mock.On call

  • name string

func (*MockServiceLocator_Expecter) Services

Services is a helper method to define mock.On call

type MockServiceLocator_Find_Call

type MockServiceLocator_Find_Call struct {
	*mock.Call
}

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

func (*MockServiceLocator_Find_Call) Return

func (*MockServiceLocator_Find_Call) Run

func (*MockServiceLocator_Find_Call) RunAndReturn

type MockServiceLocator_Services_Call

type MockServiceLocator_Services_Call struct {
	*mock.Call
}

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

func (*MockServiceLocator_Services_Call) Return

func (*MockServiceLocator_Services_Call) Run

func (*MockServiceLocator_Services_Call) RunAndReturn

type MockService_ConfDir_Call

type MockService_ConfDir_Call struct {
	*mock.Call
}

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

func (*MockService_ConfDir_Call) Return

func (*MockService_ConfDir_Call) Run

func (*MockService_ConfDir_Call) RunAndReturn

func (_c *MockService_ConfDir_Call) RunAndReturn(run func() (string, error)) *MockService_ConfDir_Call

type MockService_Dirs_Call

type MockService_Dirs_Call struct {
	*mock.Call
}

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

func (*MockService_Dirs_Call) Return

func (*MockService_Dirs_Call) Run

func (_c *MockService_Dirs_Call) Run(run func()) *MockService_Dirs_Call

func (*MockService_Dirs_Call) RunAndReturn

func (_c *MockService_Dirs_Call) RunAndReturn(run func() map[dir.DirType]string) *MockService_Dirs_Call

type MockService_EnvironmentConfigPaths_Call

type MockService_EnvironmentConfigPaths_Call struct {
	*mock.Call
}

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

func (*MockService_EnvironmentConfigPaths_Call) Return

func (*MockService_EnvironmentConfigPaths_Call) Run

func (*MockService_EnvironmentConfigPaths_Call) RunAndReturn

type MockService_EnvironmentScriptPaths_Call

type MockService_EnvironmentScriptPaths_Call struct {
	*mock.Call
}

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

func (*MockService_EnvironmentScriptPaths_Call) Return

func (*MockService_EnvironmentScriptPaths_Call) Run

func (*MockService_EnvironmentScriptPaths_Call) RunAndReturn

type MockService_Environment_Call

type MockService_Environment_Call struct {
	*mock.Call
}

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

func (*MockService_Environment_Call) Return

func (*MockService_Environment_Call) Run

func (*MockService_Environment_Call) RunAndReturn

type MockService_Executable_Call

type MockService_Executable_Call struct {
	*mock.Call
}

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

func (*MockService_Executable_Call) Return

func (*MockService_Executable_Call) Run

func (*MockService_Executable_Call) RunAndReturn

func (_c *MockService_Executable_Call) RunAndReturn(run func() (string, error)) *MockService_Executable_Call

type MockService_Expecter

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

func (*MockService_Expecter) ConfDir

ConfDir is a helper method to define mock.On call

func (*MockService_Expecter) Dirs

Dirs is a helper method to define mock.On call

func (*MockService_Expecter) Environment

Environment is a helper method to define mock.On call

func (*MockService_Expecter) EnvironmentConfigPaths

func (_e *MockService_Expecter) EnvironmentConfigPaths() *MockService_EnvironmentConfigPaths_Call

EnvironmentConfigPaths is a helper method to define mock.On call

func (*MockService_Expecter) EnvironmentScriptPaths

func (_e *MockService_Expecter) EnvironmentScriptPaths() *MockService_EnvironmentScriptPaths_Call

EnvironmentScriptPaths is a helper method to define mock.On call

func (*MockService_Expecter) Executable

Executable is a helper method to define mock.On call

func (*MockService_Expecter) FullName

FullName is a helper method to define mock.On call

func (*MockService_Expecter) Group

Group is a helper method to define mock.On call

func (*MockService_Expecter) IsPublic

IsPublic is a helper method to define mock.On call

func (*MockService_Expecter) LocalAddress

LocalAddress is a helper method to define mock.On call

func (*MockService_Expecter) Name

Name is a helper method to define mock.On call

func (*MockService_Expecter) OutputScanner

func (_e *MockService_Expecter) OutputScanner(ctx interface{}, outputType interface{}) *MockService_OutputScanner_Call

OutputScanner is a helper method to define mock.On call

  • ctx context.Context
  • outputType output.Type

func (*MockService_Expecter) Pid

Pid is a helper method to define mock.On call

func (*MockService_Expecter) Port

Port is a helper method to define mock.On call

func (*MockService_Expecter) PrivateAddress

PrivateAddress is a helper method to define mock.On call

func (*MockService_Expecter) PrivateUrl

PrivateUrl is a helper method to define mock.On call

func (*MockService_Expecter) PublicUrl

func (_e *MockService_Expecter) PublicUrl(path interface{}) *MockService_PublicUrl_Call

PublicUrl is a helper method to define mock.On call

  • path string

func (*MockService_Expecter) Reload

func (_e *MockService_Expecter) Reload(ctx interface{}) *MockService_Reload_Call

Reload is a helper method to define mock.On call

  • ctx context.Context

func (*MockService_Expecter) RenderTemplate

func (_e *MockService_Expecter) RenderTemplate(text interface{}, params interface{}) *MockService_RenderTemplate_Call

RenderTemplate is a helper method to define mock.On call

  • text string
  • params parameters.Parameters

func (*MockService_Expecter) Restart

func (_e *MockService_Expecter) Restart(ctx interface{}) *MockService_Restart_Call

Restart is a helper method to define mock.On call

  • ctx context.Context

func (*MockService_Expecter) RunDir

RunDir is a helper method to define mock.On call

func (*MockService_Expecter) Sandbox

Sandbox is a helper method to define mock.On call

func (*MockService_Expecter) ScriptDir

ScriptDir is a helper method to define mock.On call

func (*MockService_Expecter) Server

Server is a helper method to define mock.On call

func (*MockService_Expecter) ServerParameters

ServerParameters is a helper method to define mock.On call

func (*MockService_Expecter) SetTemplate

func (_e *MockService_Expecter) SetTemplate(_a0 interface{}) *MockService_SetTemplate_Call

SetTemplate is a helper method to define mock.On call

  • _a0 template.Template

func (*MockService_Expecter) Start

func (_e *MockService_Expecter) Start(ctx interface{}) *MockService_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

func (*MockService_Expecter) Stop

func (_e *MockService_Expecter) Stop(ctx interface{}) *MockService_Stop_Call

Stop is a helper method to define mock.On call

  • ctx context.Context

func (*MockService_Expecter) Task

Task is a helper method to define mock.On call

func (*MockService_Expecter) User

User is a helper method to define mock.On call

func (*MockService_Expecter) Workspace

Workspace is a helper method to define mock.On call

func (*MockService_Expecter) WorkspaceConfigPaths

func (_e *MockService_Expecter) WorkspaceConfigPaths() *MockService_WorkspaceConfigPaths_Call

WorkspaceConfigPaths is a helper method to define mock.On call

func (*MockService_Expecter) WorkspaceScriptPaths

func (_e *MockService_Expecter) WorkspaceScriptPaths() *MockService_WorkspaceScriptPaths_Call

WorkspaceScriptPaths is a helper method to define mock.On call

type MockService_FullName_Call

type MockService_FullName_Call struct {
	*mock.Call
}

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

func (*MockService_FullName_Call) Return

func (*MockService_FullName_Call) Run

func (*MockService_FullName_Call) RunAndReturn

func (_c *MockService_FullName_Call) RunAndReturn(run func() string) *MockService_FullName_Call

type MockService_Group_Call

type MockService_Group_Call struct {
	*mock.Call
}

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

func (*MockService_Group_Call) Return

func (*MockService_Group_Call) Run

func (_c *MockService_Group_Call) Run(run func()) *MockService_Group_Call

func (*MockService_Group_Call) RunAndReturn

func (_c *MockService_Group_Call) RunAndReturn(run func() string) *MockService_Group_Call

type MockService_IsPublic_Call

type MockService_IsPublic_Call struct {
	*mock.Call
}

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

func (*MockService_IsPublic_Call) Return

func (*MockService_IsPublic_Call) Run

func (*MockService_IsPublic_Call) RunAndReturn

func (_c *MockService_IsPublic_Call) RunAndReturn(run func() bool) *MockService_IsPublic_Call

type MockService_LocalAddress_Call

type MockService_LocalAddress_Call struct {
	*mock.Call
}

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

func (*MockService_LocalAddress_Call) Return

func (*MockService_LocalAddress_Call) Run

func (*MockService_LocalAddress_Call) RunAndReturn

type MockService_Name_Call

type MockService_Name_Call struct {
	*mock.Call
}

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

func (*MockService_Name_Call) Return

func (*MockService_Name_Call) Run

func (_c *MockService_Name_Call) Run(run func()) *MockService_Name_Call

func (*MockService_Name_Call) RunAndReturn

func (_c *MockService_Name_Call) RunAndReturn(run func() string) *MockService_Name_Call

type MockService_OutputScanner_Call

type MockService_OutputScanner_Call struct {
	*mock.Call
}

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

func (*MockService_OutputScanner_Call) Return

func (*MockService_OutputScanner_Call) Run

func (*MockService_OutputScanner_Call) RunAndReturn

type MockService_Pid_Call

type MockService_Pid_Call struct {
	*mock.Call
}

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

func (*MockService_Pid_Call) Return

func (_c *MockService_Pid_Call) Return(_a0 int, _a1 error) *MockService_Pid_Call

func (*MockService_Pid_Call) Run

func (_c *MockService_Pid_Call) Run(run func()) *MockService_Pid_Call

func (*MockService_Pid_Call) RunAndReturn

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

type MockService_Port_Call

type MockService_Port_Call struct {
	*mock.Call
}

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

func (*MockService_Port_Call) Return

func (*MockService_Port_Call) Run

func (_c *MockService_Port_Call) Run(run func()) *MockService_Port_Call

func (*MockService_Port_Call) RunAndReturn

func (_c *MockService_Port_Call) RunAndReturn(run func() int32) *MockService_Port_Call

type MockService_PrivateAddress_Call

type MockService_PrivateAddress_Call struct {
	*mock.Call
}

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

func (*MockService_PrivateAddress_Call) Return

func (*MockService_PrivateAddress_Call) Run

func (*MockService_PrivateAddress_Call) RunAndReturn

type MockService_PrivateUrl_Call

type MockService_PrivateUrl_Call struct {
	*mock.Call
}

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

func (*MockService_PrivateUrl_Call) Return

func (*MockService_PrivateUrl_Call) Run

func (*MockService_PrivateUrl_Call) RunAndReturn

func (_c *MockService_PrivateUrl_Call) RunAndReturn(run func() (string, error)) *MockService_PrivateUrl_Call

type MockService_PublicUrl_Call

type MockService_PublicUrl_Call struct {
	*mock.Call
}

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

func (*MockService_PublicUrl_Call) Return

func (*MockService_PublicUrl_Call) Run

func (*MockService_PublicUrl_Call) RunAndReturn

type MockService_Reload_Call

type MockService_Reload_Call struct {
	*mock.Call
}

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

func (*MockService_Reload_Call) Return

func (*MockService_Reload_Call) Run

func (*MockService_Reload_Call) RunAndReturn

type MockService_RenderTemplate_Call

type MockService_RenderTemplate_Call struct {
	*mock.Call
}

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

func (*MockService_RenderTemplate_Call) Return

func (*MockService_RenderTemplate_Call) Run

func (*MockService_RenderTemplate_Call) RunAndReturn

type MockService_Restart_Call

type MockService_Restart_Call struct {
	*mock.Call
}

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

func (*MockService_Restart_Call) Return

func (*MockService_Restart_Call) Run

func (*MockService_Restart_Call) RunAndReturn

type MockService_RunDir_Call

type MockService_RunDir_Call struct {
	*mock.Call
}

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

func (*MockService_RunDir_Call) Return

func (*MockService_RunDir_Call) Run

func (_c *MockService_RunDir_Call) Run(run func()) *MockService_RunDir_Call

func (*MockService_RunDir_Call) RunAndReturn

func (_c *MockService_RunDir_Call) RunAndReturn(run func() (string, error)) *MockService_RunDir_Call

type MockService_Sandbox_Call

type MockService_Sandbox_Call struct {
	*mock.Call
}

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

func (*MockService_Sandbox_Call) Return

func (*MockService_Sandbox_Call) Run

func (*MockService_Sandbox_Call) RunAndReturn

func (_c *MockService_Sandbox_Call) RunAndReturn(run func() sandbox.Sandbox) *MockService_Sandbox_Call

type MockService_ScriptDir_Call

type MockService_ScriptDir_Call struct {
	*mock.Call
}

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

func (*MockService_ScriptDir_Call) Return

func (*MockService_ScriptDir_Call) Run

func (*MockService_ScriptDir_Call) RunAndReturn

func (_c *MockService_ScriptDir_Call) RunAndReturn(run func() (string, error)) *MockService_ScriptDir_Call

type MockService_ServerParameters_Call

type MockService_ServerParameters_Call struct {
	*mock.Call
}

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

func (*MockService_ServerParameters_Call) Return

func (*MockService_ServerParameters_Call) Run

func (*MockService_ServerParameters_Call) RunAndReturn

type MockService_Server_Call

type MockService_Server_Call struct {
	*mock.Call
}

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

func (*MockService_Server_Call) Return

func (*MockService_Server_Call) Run

func (_c *MockService_Server_Call) Run(run func()) *MockService_Server_Call

func (*MockService_Server_Call) RunAndReturn

func (_c *MockService_Server_Call) RunAndReturn(run func() servers.Server) *MockService_Server_Call

type MockService_SetTemplate_Call

type MockService_SetTemplate_Call struct {
	*mock.Call
}

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

func (*MockService_SetTemplate_Call) Return

func (*MockService_SetTemplate_Call) Run

func (*MockService_SetTemplate_Call) RunAndReturn

type MockService_Start_Call

type MockService_Start_Call struct {
	*mock.Call
}

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

func (*MockService_Start_Call) Return

func (*MockService_Start_Call) Run

func (*MockService_Start_Call) RunAndReturn

func (_c *MockService_Start_Call) RunAndReturn(run func(context.Context) error) *MockService_Start_Call

type MockService_Stop_Call

type MockService_Stop_Call struct {
	*mock.Call
}

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

func (*MockService_Stop_Call) Return

func (*MockService_Stop_Call) Run

func (*MockService_Stop_Call) RunAndReturn

func (_c *MockService_Stop_Call) RunAndReturn(run func(context.Context) error) *MockService_Stop_Call

type MockService_Task_Call

type MockService_Task_Call struct {
	*mock.Call
}

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

func (*MockService_Task_Call) Return

func (*MockService_Task_Call) Run

func (_c *MockService_Task_Call) Run(run func()) *MockService_Task_Call

func (*MockService_Task_Call) RunAndReturn

func (_c *MockService_Task_Call) RunAndReturn(run func() task.Task) *MockService_Task_Call

type MockService_User_Call

type MockService_User_Call struct {
	*mock.Call
}

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

func (*MockService_User_Call) Return

func (*MockService_User_Call) Run

func (_c *MockService_User_Call) Run(run func()) *MockService_User_Call

func (*MockService_User_Call) RunAndReturn

func (_c *MockService_User_Call) RunAndReturn(run func() string) *MockService_User_Call

type MockService_WorkspaceConfigPaths_Call

type MockService_WorkspaceConfigPaths_Call struct {
	*mock.Call
}

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

func (*MockService_WorkspaceConfigPaths_Call) Return

func (*MockService_WorkspaceConfigPaths_Call) Run

func (*MockService_WorkspaceConfigPaths_Call) RunAndReturn

type MockService_WorkspaceScriptPaths_Call

type MockService_WorkspaceScriptPaths_Call struct {
	*mock.Call
}

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

func (*MockService_WorkspaceScriptPaths_Call) Return

func (*MockService_WorkspaceScriptPaths_Call) Run

func (*MockService_WorkspaceScriptPaths_Call) RunAndReturn

type MockService_Workspace_Call

type MockService_Workspace_Call struct {
	*mock.Call
}

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

func (*MockService_Workspace_Call) Return

func (*MockService_Workspace_Call) Run

func (*MockService_Workspace_Call) RunAndReturn

func (_c *MockService_Workspace_Call) RunAndReturn(run func() string) *MockService_Workspace_Call

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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