// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/sds/lib/dbus/systemd (interfaces: Starter) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" systemd "edge-infra.dev/pkg/sds/lib/dbus/systemd" dbus "github.com/coreos/go-systemd/v22/dbus" gomock "github.com/golang/mock/gomock" ) // MockStarter is a mock of Starter interface. type MockStarter struct { ctrl *gomock.Controller recorder *MockStarterMockRecorder } // MockStarterMockRecorder is the mock recorder for MockStarter. type MockStarterMockRecorder struct { mock *MockStarter } // NewMockStarter creates a new mock instance. func NewMockStarter(ctrl *gomock.Controller) *MockStarter { mock := &MockStarter{ctrl: ctrl} mock.recorder = &MockStarterMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockStarter) EXPECT() *MockStarterMockRecorder { return m.recorder } // Start mocks base method. func (m *MockStarter) Start(arg0 context.Context, arg1 string, arg2 systemd.Mode, arg3 bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Start", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 } // Start indicates an expected call of Start. func (mr *MockStarterMockRecorder) Start(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockStarter)(nil).Start), arg0, arg1, arg2, arg3) } // StartTransient mocks base method. func (m *MockStarter) StartTransient(arg0 context.Context, arg1 string, arg2 systemd.Mode, arg3 []dbus.Property, arg4 bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "StartTransient", arg0, arg1, arg2, arg3, arg4) ret0, _ := ret[0].(error) return ret0 } // StartTransient indicates an expected call of StartTransient. func (mr *MockStarterMockRecorder) StartTransient(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartTransient", reflect.TypeOf((*MockStarter)(nil).StartTransient), arg0, arg1, arg2, arg3, arg4) }