Documentation ¶
Index ¶
- type MockEnvironment
- func (_m *MockEnvironment) ContainerRegistry() *environment.ContainerRegistry
- func (_m *MockEnvironment) Destroy(ctx context.Context) error
- func (_m *MockEnvironment) EXPECT() *MockEnvironment_Expecter
- func (_m *MockEnvironment) ExecTaskCommand(ctx context.Context, ss *environment.ServiceSettings, target task.Task, ...) error
- func (_m *MockEnvironment) ExecTaskSignal(ctx context.Context, ss *environment.ServiceSettings, target task.Task, ...) error
- func (_m *MockEnvironment) Init(ctx context.Context) error
- func (_m *MockEnvironment) IsUsed() bool
- func (_m *MockEnvironment) MarkUsed()
- func (_m *MockEnvironment) Mkdir(serviceName string, path string, perm fs.FileMode) error
- func (_m *MockEnvironment) Output(ctx context.Context, target task.Task, outputType output.Type) (io.Reader, error)
- func (_m *MockEnvironment) PortsEnd() int32
- func (_m *MockEnvironment) PortsStart() int32
- func (_m *MockEnvironment) ReservePort() int32
- func (_m *MockEnvironment) RootPath(workspace string) string
- func (_m *MockEnvironment) RunTask(ctx context.Context, ss *environment.ServiceSettings, cmd *environment.Command) (task.Task, error)
- func (_m *MockEnvironment) ServiceLocalAddress(serviceName string, servicePort int32, serverPort int32) string
- func (_m *MockEnvironment) ServicePrivateAddress(serviceName string, servicePort int32, serverPort int32) string
- type MockEnvironment_ContainerRegistry_Call
- func (_c *MockEnvironment_ContainerRegistry_Call) Return(_a0 *environment.ContainerRegistry) *MockEnvironment_ContainerRegistry_Call
- func (_c *MockEnvironment_ContainerRegistry_Call) Run(run func()) *MockEnvironment_ContainerRegistry_Call
- func (_c *MockEnvironment_ContainerRegistry_Call) RunAndReturn(run func() *environment.ContainerRegistry) *MockEnvironment_ContainerRegistry_Call
- type MockEnvironment_Destroy_Call
- func (_c *MockEnvironment_Destroy_Call) Return(_a0 error) *MockEnvironment_Destroy_Call
- func (_c *MockEnvironment_Destroy_Call) Run(run func(ctx context.Context)) *MockEnvironment_Destroy_Call
- func (_c *MockEnvironment_Destroy_Call) RunAndReturn(run func(context.Context) error) *MockEnvironment_Destroy_Call
- type MockEnvironment_ExecTaskCommand_Call
- func (_c *MockEnvironment_ExecTaskCommand_Call) Return(_a0 error) *MockEnvironment_ExecTaskCommand_Call
- func (_c *MockEnvironment_ExecTaskCommand_Call) Run(...) *MockEnvironment_ExecTaskCommand_Call
- func (_c *MockEnvironment_ExecTaskCommand_Call) RunAndReturn(...) *MockEnvironment_ExecTaskCommand_Call
- type MockEnvironment_ExecTaskSignal_Call
- type MockEnvironment_Expecter
- func (_e *MockEnvironment_Expecter) ContainerRegistry() *MockEnvironment_ContainerRegistry_Call
- func (_e *MockEnvironment_Expecter) Destroy(ctx interface{}) *MockEnvironment_Destroy_Call
- func (_e *MockEnvironment_Expecter) ExecTaskCommand(ctx interface{}, ss interface{}, target interface{}, cmd interface{}) *MockEnvironment_ExecTaskCommand_Call
- func (_e *MockEnvironment_Expecter) ExecTaskSignal(ctx interface{}, ss interface{}, target interface{}, signal interface{}) *MockEnvironment_ExecTaskSignal_Call
- func (_e *MockEnvironment_Expecter) Init(ctx interface{}) *MockEnvironment_Init_Call
- func (_e *MockEnvironment_Expecter) IsUsed() *MockEnvironment_IsUsed_Call
- func (_e *MockEnvironment_Expecter) MarkUsed() *MockEnvironment_MarkUsed_Call
- func (_e *MockEnvironment_Expecter) Mkdir(serviceName interface{}, path interface{}, perm interface{}) *MockEnvironment_Mkdir_Call
- func (_e *MockEnvironment_Expecter) Output(ctx interface{}, target interface{}, outputType interface{}) *MockEnvironment_Output_Call
- func (_e *MockEnvironment_Expecter) PortsEnd() *MockEnvironment_PortsEnd_Call
- func (_e *MockEnvironment_Expecter) PortsStart() *MockEnvironment_PortsStart_Call
- func (_e *MockEnvironment_Expecter) ReservePort() *MockEnvironment_ReservePort_Call
- func (_e *MockEnvironment_Expecter) RootPath(workspace interface{}) *MockEnvironment_RootPath_Call
- func (_e *MockEnvironment_Expecter) RunTask(ctx interface{}, ss interface{}, cmd interface{}) *MockEnvironment_RunTask_Call
- func (_e *MockEnvironment_Expecter) ServiceLocalAddress(serviceName interface{}, servicePort interface{}, serverPort interface{}) *MockEnvironment_ServiceLocalAddress_Call
- func (_e *MockEnvironment_Expecter) ServicePrivateAddress(serviceName interface{}, servicePort interface{}, serverPort interface{}) *MockEnvironment_ServicePrivateAddress_Call
- type MockEnvironment_Init_Call
- type MockEnvironment_IsUsed_Call
- type MockEnvironment_MarkUsed_Call
- type MockEnvironment_Mkdir_Call
- func (_c *MockEnvironment_Mkdir_Call) Return(_a0 error) *MockEnvironment_Mkdir_Call
- func (_c *MockEnvironment_Mkdir_Call) Run(run func(serviceName string, path string, perm fs.FileMode)) *MockEnvironment_Mkdir_Call
- func (_c *MockEnvironment_Mkdir_Call) RunAndReturn(run func(string, string, fs.FileMode) error) *MockEnvironment_Mkdir_Call
- type MockEnvironment_Output_Call
- func (_c *MockEnvironment_Output_Call) Return(_a0 io.Reader, _a1 error) *MockEnvironment_Output_Call
- func (_c *MockEnvironment_Output_Call) Run(run func(ctx context.Context, target task.Task, outputType output.Type)) *MockEnvironment_Output_Call
- func (_c *MockEnvironment_Output_Call) RunAndReturn(run func(context.Context, task.Task, output.Type) (io.Reader, error)) *MockEnvironment_Output_Call
- type MockEnvironment_PortsEnd_Call
- type MockEnvironment_PortsStart_Call
- type MockEnvironment_ReservePort_Call
- type MockEnvironment_RootPath_Call
- func (_c *MockEnvironment_RootPath_Call) Return(_a0 string) *MockEnvironment_RootPath_Call
- func (_c *MockEnvironment_RootPath_Call) Run(run func(workspace string)) *MockEnvironment_RootPath_Call
- func (_c *MockEnvironment_RootPath_Call) RunAndReturn(run func(string) string) *MockEnvironment_RootPath_Call
- type MockEnvironment_RunTask_Call
- type MockEnvironment_ServiceLocalAddress_Call
- func (_c *MockEnvironment_ServiceLocalAddress_Call) Return(_a0 string) *MockEnvironment_ServiceLocalAddress_Call
- func (_c *MockEnvironment_ServiceLocalAddress_Call) Run(run func(serviceName string, servicePort int32, serverPort int32)) *MockEnvironment_ServiceLocalAddress_Call
- func (_c *MockEnvironment_ServiceLocalAddress_Call) RunAndReturn(run func(string, int32, int32) string) *MockEnvironment_ServiceLocalAddress_Call
- type MockEnvironment_ServicePrivateAddress_Call
- func (_c *MockEnvironment_ServicePrivateAddress_Call) Return(_a0 string) *MockEnvironment_ServicePrivateAddress_Call
- func (_c *MockEnvironment_ServicePrivateAddress_Call) Run(run func(serviceName string, servicePort int32, serverPort int32)) *MockEnvironment_ServicePrivateAddress_Call
- func (_c *MockEnvironment_ServicePrivateAddress_Call) RunAndReturn(run func(string, int32, int32) string) *MockEnvironment_ServicePrivateAddress_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEnvironment ¶
MockEnvironment is an autogenerated mock type for the Environment type
func NewMockEnvironment ¶
func NewMockEnvironment(t interface { mock.TestingT Cleanup(func()) }) *MockEnvironment
NewMockEnvironment creates a new instance of MockEnvironment. 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 (*MockEnvironment) ContainerRegistry ¶
func (_m *MockEnvironment) ContainerRegistry() *environment.ContainerRegistry
ContainerRegistry provides a mock function with given fields:
func (*MockEnvironment) Destroy ¶
func (_m *MockEnvironment) Destroy(ctx context.Context) error
Destroy provides a mock function with given fields: ctx
func (*MockEnvironment) EXPECT ¶
func (_m *MockEnvironment) EXPECT() *MockEnvironment_Expecter
func (*MockEnvironment) ExecTaskCommand ¶
func (_m *MockEnvironment) ExecTaskCommand(ctx context.Context, ss *environment.ServiceSettings, target task.Task, cmd *environment.Command) error
ExecTaskCommand provides a mock function with given fields: ctx, ss, target, cmd
func (*MockEnvironment) ExecTaskSignal ¶
func (_m *MockEnvironment) ExecTaskSignal(ctx context.Context, ss *environment.ServiceSettings, target task.Task, signal os.Signal) error
ExecTaskSignal provides a mock function with given fields: ctx, ss, target, signal
func (*MockEnvironment) Init ¶
func (_m *MockEnvironment) Init(ctx context.Context) error
Init provides a mock function with given fields: ctx
func (*MockEnvironment) IsUsed ¶
func (_m *MockEnvironment) IsUsed() bool
IsUsed provides a mock function with given fields:
func (*MockEnvironment) MarkUsed ¶
func (_m *MockEnvironment) MarkUsed()
MarkUsed provides a mock function with given fields:
func (*MockEnvironment) Mkdir ¶
Mkdir provides a mock function with given fields: serviceName, path, perm
func (*MockEnvironment) Output ¶
func (_m *MockEnvironment) Output(ctx context.Context, target task.Task, outputType output.Type) (io.Reader, error)
Output provides a mock function with given fields: ctx, target, outputType
func (*MockEnvironment) PortsEnd ¶
func (_m *MockEnvironment) PortsEnd() int32
PortsEnd provides a mock function with given fields:
func (*MockEnvironment) PortsStart ¶
func (_m *MockEnvironment) PortsStart() int32
PortsStart provides a mock function with given fields:
func (*MockEnvironment) ReservePort ¶
func (_m *MockEnvironment) ReservePort() int32
ReservePort provides a mock function with given fields:
func (*MockEnvironment) RootPath ¶
func (_m *MockEnvironment) RootPath(workspace string) string
RootPath provides a mock function with given fields: workspace
func (*MockEnvironment) RunTask ¶
func (_m *MockEnvironment) RunTask(ctx context.Context, ss *environment.ServiceSettings, cmd *environment.Command) (task.Task, error)
RunTask provides a mock function with given fields: ctx, ss, cmd
func (*MockEnvironment) ServiceLocalAddress ¶
func (_m *MockEnvironment) ServiceLocalAddress(serviceName string, servicePort int32, serverPort int32) string
ServiceLocalAddress provides a mock function with given fields: serviceName, servicePort, serverPort
func (*MockEnvironment) ServicePrivateAddress ¶
func (_m *MockEnvironment) ServicePrivateAddress(serviceName string, servicePort int32, serverPort int32) string
ServicePrivateAddress provides a mock function with given fields: serviceName, servicePort, serverPort
type MockEnvironment_ContainerRegistry_Call ¶
MockEnvironment_ContainerRegistry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRegistry'
func (*MockEnvironment_ContainerRegistry_Call) Return ¶
func (_c *MockEnvironment_ContainerRegistry_Call) Return(_a0 *environment.ContainerRegistry) *MockEnvironment_ContainerRegistry_Call
func (*MockEnvironment_ContainerRegistry_Call) Run ¶
func (_c *MockEnvironment_ContainerRegistry_Call) Run(run func()) *MockEnvironment_ContainerRegistry_Call
func (*MockEnvironment_ContainerRegistry_Call) RunAndReturn ¶
func (_c *MockEnvironment_ContainerRegistry_Call) RunAndReturn(run func() *environment.ContainerRegistry) *MockEnvironment_ContainerRegistry_Call
type MockEnvironment_Destroy_Call ¶
MockEnvironment_Destroy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Destroy'
func (*MockEnvironment_Destroy_Call) Return ¶
func (_c *MockEnvironment_Destroy_Call) Return(_a0 error) *MockEnvironment_Destroy_Call
func (*MockEnvironment_Destroy_Call) Run ¶
func (_c *MockEnvironment_Destroy_Call) Run(run func(ctx context.Context)) *MockEnvironment_Destroy_Call
func (*MockEnvironment_Destroy_Call) RunAndReturn ¶
func (_c *MockEnvironment_Destroy_Call) RunAndReturn(run func(context.Context) error) *MockEnvironment_Destroy_Call
type MockEnvironment_ExecTaskCommand_Call ¶
MockEnvironment_ExecTaskCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecTaskCommand'
func (*MockEnvironment_ExecTaskCommand_Call) Return ¶
func (_c *MockEnvironment_ExecTaskCommand_Call) Return(_a0 error) *MockEnvironment_ExecTaskCommand_Call
func (*MockEnvironment_ExecTaskCommand_Call) Run ¶
func (_c *MockEnvironment_ExecTaskCommand_Call) Run(run func(ctx context.Context, ss *environment.ServiceSettings, target task.Task, cmd *environment.Command)) *MockEnvironment_ExecTaskCommand_Call
func (*MockEnvironment_ExecTaskCommand_Call) RunAndReturn ¶
func (_c *MockEnvironment_ExecTaskCommand_Call) RunAndReturn(run func(context.Context, *environment.ServiceSettings, task.Task, *environment.Command) error) *MockEnvironment_ExecTaskCommand_Call
type MockEnvironment_ExecTaskSignal_Call ¶
MockEnvironment_ExecTaskSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecTaskSignal'
func (*MockEnvironment_ExecTaskSignal_Call) Return ¶
func (_c *MockEnvironment_ExecTaskSignal_Call) Return(_a0 error) *MockEnvironment_ExecTaskSignal_Call
func (*MockEnvironment_ExecTaskSignal_Call) Run ¶
func (_c *MockEnvironment_ExecTaskSignal_Call) Run(run func(ctx context.Context, ss *environment.ServiceSettings, target task.Task, signal os.Signal)) *MockEnvironment_ExecTaskSignal_Call
func (*MockEnvironment_ExecTaskSignal_Call) RunAndReturn ¶
func (_c *MockEnvironment_ExecTaskSignal_Call) RunAndReturn(run func(context.Context, *environment.ServiceSettings, task.Task, os.Signal) error) *MockEnvironment_ExecTaskSignal_Call
type MockEnvironment_Expecter ¶
type MockEnvironment_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEnvironment_Expecter) ContainerRegistry ¶
func (_e *MockEnvironment_Expecter) ContainerRegistry() *MockEnvironment_ContainerRegistry_Call
ContainerRegistry is a helper method to define mock.On call
func (*MockEnvironment_Expecter) Destroy ¶
func (_e *MockEnvironment_Expecter) Destroy(ctx interface{}) *MockEnvironment_Destroy_Call
Destroy is a helper method to define mock.On call
- ctx context.Context
func (*MockEnvironment_Expecter) ExecTaskCommand ¶
func (_e *MockEnvironment_Expecter) ExecTaskCommand(ctx interface{}, ss interface{}, target interface{}, cmd interface{}) *MockEnvironment_ExecTaskCommand_Call
ExecTaskCommand is a helper method to define mock.On call
- ctx context.Context
- ss *environment.ServiceSettings
- target task.Task
- cmd *environment.Command
func (*MockEnvironment_Expecter) ExecTaskSignal ¶
func (_e *MockEnvironment_Expecter) ExecTaskSignal(ctx interface{}, ss interface{}, target interface{}, signal interface{}) *MockEnvironment_ExecTaskSignal_Call
ExecTaskSignal is a helper method to define mock.On call
- ctx context.Context
- ss *environment.ServiceSettings
- target task.Task
- signal os.Signal
func (*MockEnvironment_Expecter) Init ¶
func (_e *MockEnvironment_Expecter) Init(ctx interface{}) *MockEnvironment_Init_Call
Init is a helper method to define mock.On call
- ctx context.Context
func (*MockEnvironment_Expecter) IsUsed ¶
func (_e *MockEnvironment_Expecter) IsUsed() *MockEnvironment_IsUsed_Call
IsUsed is a helper method to define mock.On call
func (*MockEnvironment_Expecter) MarkUsed ¶
func (_e *MockEnvironment_Expecter) MarkUsed() *MockEnvironment_MarkUsed_Call
MarkUsed is a helper method to define mock.On call
func (*MockEnvironment_Expecter) Mkdir ¶
func (_e *MockEnvironment_Expecter) Mkdir(serviceName interface{}, path interface{}, perm interface{}) *MockEnvironment_Mkdir_Call
Mkdir is a helper method to define mock.On call
- serviceName string
- path string
- perm fs.FileMode
func (*MockEnvironment_Expecter) Output ¶
func (_e *MockEnvironment_Expecter) Output(ctx interface{}, target interface{}, outputType interface{}) *MockEnvironment_Output_Call
Output is a helper method to define mock.On call
- ctx context.Context
- target task.Task
- outputType output.Type
func (*MockEnvironment_Expecter) PortsEnd ¶
func (_e *MockEnvironment_Expecter) PortsEnd() *MockEnvironment_PortsEnd_Call
PortsEnd is a helper method to define mock.On call
func (*MockEnvironment_Expecter) PortsStart ¶
func (_e *MockEnvironment_Expecter) PortsStart() *MockEnvironment_PortsStart_Call
PortsStart is a helper method to define mock.On call
func (*MockEnvironment_Expecter) ReservePort ¶
func (_e *MockEnvironment_Expecter) ReservePort() *MockEnvironment_ReservePort_Call
ReservePort is a helper method to define mock.On call
func (*MockEnvironment_Expecter) RootPath ¶
func (_e *MockEnvironment_Expecter) RootPath(workspace interface{}) *MockEnvironment_RootPath_Call
RootPath is a helper method to define mock.On call
- workspace string
func (*MockEnvironment_Expecter) RunTask ¶
func (_e *MockEnvironment_Expecter) RunTask(ctx interface{}, ss interface{}, cmd interface{}) *MockEnvironment_RunTask_Call
RunTask is a helper method to define mock.On call
- ctx context.Context
- ss *environment.ServiceSettings
- cmd *environment.Command
func (*MockEnvironment_Expecter) ServiceLocalAddress ¶
func (_e *MockEnvironment_Expecter) ServiceLocalAddress(serviceName interface{}, servicePort interface{}, serverPort interface{}) *MockEnvironment_ServiceLocalAddress_Call
ServiceLocalAddress is a helper method to define mock.On call
- serviceName string
- servicePort int32
- serverPort int32
func (*MockEnvironment_Expecter) ServicePrivateAddress ¶
func (_e *MockEnvironment_Expecter) ServicePrivateAddress(serviceName interface{}, servicePort interface{}, serverPort interface{}) *MockEnvironment_ServicePrivateAddress_Call
ServicePrivateAddress is a helper method to define mock.On call
- serviceName string
- servicePort int32
- serverPort int32
type MockEnvironment_Init_Call ¶
MockEnvironment_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*MockEnvironment_Init_Call) Return ¶
func (_c *MockEnvironment_Init_Call) Return(_a0 error) *MockEnvironment_Init_Call
func (*MockEnvironment_Init_Call) Run ¶
func (_c *MockEnvironment_Init_Call) Run(run func(ctx context.Context)) *MockEnvironment_Init_Call
func (*MockEnvironment_Init_Call) RunAndReturn ¶
func (_c *MockEnvironment_Init_Call) RunAndReturn(run func(context.Context) error) *MockEnvironment_Init_Call
type MockEnvironment_IsUsed_Call ¶
MockEnvironment_IsUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUsed'
func (*MockEnvironment_IsUsed_Call) Return ¶
func (_c *MockEnvironment_IsUsed_Call) Return(_a0 bool) *MockEnvironment_IsUsed_Call
func (*MockEnvironment_IsUsed_Call) Run ¶
func (_c *MockEnvironment_IsUsed_Call) Run(run func()) *MockEnvironment_IsUsed_Call
func (*MockEnvironment_IsUsed_Call) RunAndReturn ¶
func (_c *MockEnvironment_IsUsed_Call) RunAndReturn(run func() bool) *MockEnvironment_IsUsed_Call
type MockEnvironment_MarkUsed_Call ¶
MockEnvironment_MarkUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkUsed'
func (*MockEnvironment_MarkUsed_Call) Return ¶
func (_c *MockEnvironment_MarkUsed_Call) Return() *MockEnvironment_MarkUsed_Call
func (*MockEnvironment_MarkUsed_Call) Run ¶
func (_c *MockEnvironment_MarkUsed_Call) Run(run func()) *MockEnvironment_MarkUsed_Call
func (*MockEnvironment_MarkUsed_Call) RunAndReturn ¶
func (_c *MockEnvironment_MarkUsed_Call) RunAndReturn(run func()) *MockEnvironment_MarkUsed_Call
type MockEnvironment_Mkdir_Call ¶
MockEnvironment_Mkdir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mkdir'
func (*MockEnvironment_Mkdir_Call) Return ¶
func (_c *MockEnvironment_Mkdir_Call) Return(_a0 error) *MockEnvironment_Mkdir_Call
func (*MockEnvironment_Mkdir_Call) Run ¶
func (_c *MockEnvironment_Mkdir_Call) Run(run func(serviceName string, path string, perm fs.FileMode)) *MockEnvironment_Mkdir_Call
func (*MockEnvironment_Mkdir_Call) RunAndReturn ¶
func (_c *MockEnvironment_Mkdir_Call) RunAndReturn(run func(string, string, fs.FileMode) error) *MockEnvironment_Mkdir_Call
type MockEnvironment_Output_Call ¶
MockEnvironment_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*MockEnvironment_Output_Call) Return ¶
func (_c *MockEnvironment_Output_Call) Return(_a0 io.Reader, _a1 error) *MockEnvironment_Output_Call
func (*MockEnvironment_Output_Call) Run ¶
func (_c *MockEnvironment_Output_Call) Run(run func(ctx context.Context, target task.Task, outputType output.Type)) *MockEnvironment_Output_Call
func (*MockEnvironment_Output_Call) RunAndReturn ¶
type MockEnvironment_PortsEnd_Call ¶
MockEnvironment_PortsEnd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PortsEnd'
func (*MockEnvironment_PortsEnd_Call) Return ¶
func (_c *MockEnvironment_PortsEnd_Call) Return(_a0 int32) *MockEnvironment_PortsEnd_Call
func (*MockEnvironment_PortsEnd_Call) Run ¶
func (_c *MockEnvironment_PortsEnd_Call) Run(run func()) *MockEnvironment_PortsEnd_Call
func (*MockEnvironment_PortsEnd_Call) RunAndReturn ¶
func (_c *MockEnvironment_PortsEnd_Call) RunAndReturn(run func() int32) *MockEnvironment_PortsEnd_Call
type MockEnvironment_PortsStart_Call ¶
MockEnvironment_PortsStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PortsStart'
func (*MockEnvironment_PortsStart_Call) Return ¶
func (_c *MockEnvironment_PortsStart_Call) Return(_a0 int32) *MockEnvironment_PortsStart_Call
func (*MockEnvironment_PortsStart_Call) Run ¶
func (_c *MockEnvironment_PortsStart_Call) Run(run func()) *MockEnvironment_PortsStart_Call
func (*MockEnvironment_PortsStart_Call) RunAndReturn ¶
func (_c *MockEnvironment_PortsStart_Call) RunAndReturn(run func() int32) *MockEnvironment_PortsStart_Call
type MockEnvironment_ReservePort_Call ¶
MockEnvironment_ReservePort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReservePort'
func (*MockEnvironment_ReservePort_Call) Return ¶
func (_c *MockEnvironment_ReservePort_Call) Return(_a0 int32) *MockEnvironment_ReservePort_Call
func (*MockEnvironment_ReservePort_Call) Run ¶
func (_c *MockEnvironment_ReservePort_Call) Run(run func()) *MockEnvironment_ReservePort_Call
func (*MockEnvironment_ReservePort_Call) RunAndReturn ¶
func (_c *MockEnvironment_ReservePort_Call) RunAndReturn(run func() int32) *MockEnvironment_ReservePort_Call
type MockEnvironment_RootPath_Call ¶
MockEnvironment_RootPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RootPath'
func (*MockEnvironment_RootPath_Call) Return ¶
func (_c *MockEnvironment_RootPath_Call) Return(_a0 string) *MockEnvironment_RootPath_Call
func (*MockEnvironment_RootPath_Call) Run ¶
func (_c *MockEnvironment_RootPath_Call) Run(run func(workspace string)) *MockEnvironment_RootPath_Call
func (*MockEnvironment_RootPath_Call) RunAndReturn ¶
func (_c *MockEnvironment_RootPath_Call) RunAndReturn(run func(string) string) *MockEnvironment_RootPath_Call
type MockEnvironment_RunTask_Call ¶
MockEnvironment_RunTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunTask'
func (*MockEnvironment_RunTask_Call) Return ¶
func (_c *MockEnvironment_RunTask_Call) Return(_a0 task.Task, _a1 error) *MockEnvironment_RunTask_Call
func (*MockEnvironment_RunTask_Call) Run ¶
func (_c *MockEnvironment_RunTask_Call) Run(run func(ctx context.Context, ss *environment.ServiceSettings, cmd *environment.Command)) *MockEnvironment_RunTask_Call
func (*MockEnvironment_RunTask_Call) RunAndReturn ¶
func (_c *MockEnvironment_RunTask_Call) RunAndReturn(run func(context.Context, *environment.ServiceSettings, *environment.Command) (task.Task, error)) *MockEnvironment_RunTask_Call
type MockEnvironment_ServiceLocalAddress_Call ¶
MockEnvironment_ServiceLocalAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceLocalAddress'
func (*MockEnvironment_ServiceLocalAddress_Call) Return ¶
func (_c *MockEnvironment_ServiceLocalAddress_Call) Return(_a0 string) *MockEnvironment_ServiceLocalAddress_Call
func (*MockEnvironment_ServiceLocalAddress_Call) Run ¶
func (_c *MockEnvironment_ServiceLocalAddress_Call) Run(run func(serviceName string, servicePort int32, serverPort int32)) *MockEnvironment_ServiceLocalAddress_Call
func (*MockEnvironment_ServiceLocalAddress_Call) RunAndReturn ¶
func (_c *MockEnvironment_ServiceLocalAddress_Call) RunAndReturn(run func(string, int32, int32) string) *MockEnvironment_ServiceLocalAddress_Call
type MockEnvironment_ServicePrivateAddress_Call ¶
MockEnvironment_ServicePrivateAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePrivateAddress'
func (*MockEnvironment_ServicePrivateAddress_Call) Return ¶
func (_c *MockEnvironment_ServicePrivateAddress_Call) Return(_a0 string) *MockEnvironment_ServicePrivateAddress_Call
func (*MockEnvironment_ServicePrivateAddress_Call) Run ¶
func (_c *MockEnvironment_ServicePrivateAddress_Call) Run(run func(serviceName string, servicePort int32, serverPort int32)) *MockEnvironment_ServicePrivateAddress_Call
func (*MockEnvironment_ServicePrivateAddress_Call) RunAndReturn ¶
func (_c *MockEnvironment_ServicePrivateAddress_Call) RunAndReturn(run func(string, int32, int32) string) *MockEnvironment_ServicePrivateAddress_Call