Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockISelect
- type MockISelectMockRecorder
- type MockISvc
- func (m *MockISvc) Deploy(k8sfile string)
- func (m *MockISvc) DoRestart()
- func (m *MockISvc) DoRun()
- func (m *MockISvc) DoWatch()
- func (m *MockISvc) EXPECT() *MockISvcMockRecorder
- func (m *MockISvc) GenClient()
- func (m *MockISvc) GetDir() string
- func (m *MockISvc) GetWatcher() *watcher.Watcher
- func (m *MockISvc) Http()
- func (m *MockISvc) Init()
- func (m *MockISvc) Push(repo string)
- func (m *MockISvc) Run(watch bool)
- func (m *MockISvc) SetWatcher(w *watcher.Watcher)
- func (m *MockISvc) Shutdown(k8sfile string)
- func (m *MockISvc) Upgrade(version string)
- type MockISvcMockRecorder
- func (mr *MockISvcMockRecorder) Deploy(k8sfile interface{}) *gomock.Call
- func (mr *MockISvcMockRecorder) DoRestart() *gomock.Call
- func (mr *MockISvcMockRecorder) DoRun() *gomock.Call
- func (mr *MockISvcMockRecorder) DoWatch() *gomock.Call
- func (mr *MockISvcMockRecorder) GenClient() *gomock.Call
- func (mr *MockISvcMockRecorder) GetDir() *gomock.Call
- func (mr *MockISvcMockRecorder) GetWatcher() *gomock.Call
- func (mr *MockISvcMockRecorder) Http() *gomock.Call
- func (mr *MockISvcMockRecorder) Init() *gomock.Call
- func (mr *MockISvcMockRecorder) Push(repo interface{}) *gomock.Call
- func (mr *MockISvcMockRecorder) Run(watch interface{}) *gomock.Call
- func (mr *MockISvcMockRecorder) SetWatcher(w interface{}) *gomock.Call
- func (mr *MockISvcMockRecorder) Shutdown(k8sfile interface{}) *gomock.Call
- func (mr *MockISvcMockRecorder) Upgrade(version interface{}) *gomock.Call
- type MockRunner
- type MockRunnerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockISelect ¶
type MockISelect struct {
// contains filtered or unexported fields
}
MockISelect is a mock of ISelect interface.
func NewMockISelect ¶
func NewMockISelect(ctrl *gomock.Controller) *MockISelect
NewMockISelect creates a new mock instance.
func (*MockISelect) EXPECT ¶
func (m *MockISelect) EXPECT() *MockISelectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISelect) RunCursorAt ¶
func (m *MockISelect) RunCursorAt(cursorPos, scroll int) (int, string, error)
RunCursorAt mocks base method.
func (*MockISelect) ScrollPosition ¶
func (m *MockISelect) ScrollPosition() int
ScrollPosition mocks base method.
type MockISelectMockRecorder ¶
type MockISelectMockRecorder struct {
// contains filtered or unexported fields
}
MockISelectMockRecorder is the mock recorder for MockISelect.
func (*MockISelectMockRecorder) Run ¶
func (mr *MockISelectMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockISelectMockRecorder) RunCursorAt ¶
func (mr *MockISelectMockRecorder) RunCursorAt(cursorPos, scroll interface{}) *gomock.Call
RunCursorAt indicates an expected call of RunCursorAt.
func (*MockISelectMockRecorder) ScrollPosition ¶
func (mr *MockISelectMockRecorder) ScrollPosition() *gomock.Call
ScrollPosition indicates an expected call of ScrollPosition.
type MockISvc ¶
type MockISvc struct {
// contains filtered or unexported fields
}
MockISvc is a mock of ISvc interface.
func NewMockISvc ¶
func NewMockISvc(ctrl *gomock.Controller) *MockISvc
NewMockISvc creates a new mock instance.
func (*MockISvc) EXPECT ¶
func (m *MockISvc) EXPECT() *MockISvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISvc) GetWatcher ¶
GetWatcher mocks base method.
func (*MockISvc) SetWatcher ¶
SetWatcher mocks base method.
type MockISvcMockRecorder ¶
type MockISvcMockRecorder struct {
// contains filtered or unexported fields
}
MockISvcMockRecorder is the mock recorder for MockISvc.
func (*MockISvcMockRecorder) Deploy ¶
func (mr *MockISvcMockRecorder) Deploy(k8sfile interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockISvcMockRecorder) DoRestart ¶
func (mr *MockISvcMockRecorder) DoRestart() *gomock.Call
DoRestart indicates an expected call of DoRestart.
func (*MockISvcMockRecorder) DoRun ¶
func (mr *MockISvcMockRecorder) DoRun() *gomock.Call
DoRun indicates an expected call of DoRun.
func (*MockISvcMockRecorder) DoWatch ¶
func (mr *MockISvcMockRecorder) DoWatch() *gomock.Call
DoWatch indicates an expected call of DoWatch.
func (*MockISvcMockRecorder) GenClient ¶
func (mr *MockISvcMockRecorder) GenClient() *gomock.Call
GenClient indicates an expected call of GenClient.
func (*MockISvcMockRecorder) GetDir ¶
func (mr *MockISvcMockRecorder) GetDir() *gomock.Call
GetDir indicates an expected call of GetDir.
func (*MockISvcMockRecorder) GetWatcher ¶
func (mr *MockISvcMockRecorder) GetWatcher() *gomock.Call
GetWatcher indicates an expected call of GetWatcher.
func (*MockISvcMockRecorder) Http ¶
func (mr *MockISvcMockRecorder) Http() *gomock.Call
Http indicates an expected call of Http.
func (*MockISvcMockRecorder) Init ¶
func (mr *MockISvcMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockISvcMockRecorder) Push ¶
func (mr *MockISvcMockRecorder) Push(repo interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockISvcMockRecorder) Run ¶
func (mr *MockISvcMockRecorder) Run(watch interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockISvcMockRecorder) SetWatcher ¶
func (mr *MockISvcMockRecorder) SetWatcher(w interface{}) *gomock.Call
SetWatcher indicates an expected call of SetWatcher.
func (*MockISvcMockRecorder) Shutdown ¶
func (mr *MockISvcMockRecorder) Shutdown(k8sfile interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockISvcMockRecorder) Upgrade ¶
func (mr *MockISvcMockRecorder) Upgrade(version interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
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) Output ¶
func (m *MockRunner) Output(arg0 string, arg1 ...string) ([]byte, error)
Output mocks base method.
type MockRunnerMockRecorder ¶
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
func (*MockRunnerMockRecorder) Output ¶
func (mr *MockRunnerMockRecorder) Output(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Output indicates an expected call of Output.
func (*MockRunnerMockRecorder) Run ¶
func (mr *MockRunnerMockRecorder) Run(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockRunnerMockRecorder) Start ¶
func (mr *MockRunnerMockRecorder) Start(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Start indicates an expected call of Start.