Documentation ¶
Overview ¶
Package run is a generated GoMock package.
Index ¶
- Constants
- Variables
- func NewRunner(view ui.View, proxy proxy.Proxy, project *config.Project) *runner
- type Logstreamer
- type MockRunner
- type MockRunnerMockRecorder
- func (mr *MockRunnerMockRecorder) Restart(application interface{}) *gomock.Call
- func (mr *MockRunnerMockRecorder) Run(application interface{}) *gomock.Call
- func (mr *MockRunnerMockRecorder) RunAll() *gomock.Call
- func (mr *MockRunnerMockRecorder) SetupAll() *gomock.Call
- func (mr *MockRunnerMockRecorder) Stop() *gomock.Call
- type Runner
Constants ¶
View Source
const ( StdOut = "stdout" StdErr = "stderr" ColorGreen = "\x1b[32m" ColorRed = "\x1b[31m" ColorWhite = "\x1b[0m" )
Variables ¶
View Source
var ( ColorOkay = "" ColorFail = "" ColorReset = "" )
Functions ¶
Types ¶
type Logstreamer ¶
type Logstreamer struct {
// contains filtered or unexported fields
}
func NewLogstreamer ¶
func NewLogstreamer(stdType string, name string, view ui.View) *Logstreamer
func (*Logstreamer) Close ¶
func (l *Logstreamer) Close()
func (*Logstreamer) Flush ¶
func (l *Logstreamer) Flush() error
type MockRunner ¶
type MockRunner struct {
// contains filtered or unexported fields
}
MockRunner is a mock of Runner interface.
func NewMockRunner ¶
func NewMockRunner(ctrl *gomock.Controller) *MockRunner
NewMockRunner creates a new mock instance.
func (*MockRunner) EXPECT ¶
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRunner) Restart ¶
func (m *MockRunner) Restart(application *config.Application)
Restart mocks base method.
func (*MockRunner) Run ¶
func (m *MockRunner) Run(application *config.Application)
Run mocks base method.
type MockRunnerMockRecorder ¶
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
func (*MockRunnerMockRecorder) Restart ¶
func (mr *MockRunnerMockRecorder) Restart(application interface{}) *gomock.Call
Restart indicates an expected call of Restart.
func (*MockRunnerMockRecorder) Run ¶
func (mr *MockRunnerMockRecorder) Run(application interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockRunnerMockRecorder) RunAll ¶
func (mr *MockRunnerMockRecorder) RunAll() *gomock.Call
RunAll indicates an expected call of RunAll.
func (*MockRunnerMockRecorder) SetupAll ¶
func (mr *MockRunnerMockRecorder) SetupAll() *gomock.Call
SetupAll indicates an expected call of SetupAll.
func (*MockRunnerMockRecorder) Stop ¶
func (mr *MockRunnerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type Runner ¶
type Runner interface { RunAll() SetupAll() Run(application *config.Application) Restart(application *config.Application) Stop() error }
Click to show internal directories.
Click to hide internal directories.