Documentation ¶
Index ¶
- type MockDBusConnectionInterface
- func (_m *MockDBusConnectionInterface) EXPECT() *MockDBusConnectionInterfaceMockRecorder
- func (_m *MockDBusConnectionInterface) KillUnit(_param0 string, _param1 int32)
- func (_m *MockDBusConnectionInterface) LinkUnitFiles(_param0 []string, _param1 bool, _param2 bool) ([]dbus.LinkUnitFileChange, error)
- func (_m *MockDBusConnectionInterface) Reload() error
- func (_m *MockDBusConnectionInterface) StartUnit(_param0 string, _param1 string, _param2 chan<- string) (int, error)
- func (_m *MockDBusConnectionInterface) StopUnit(_param0 string, _param1 string, _param2 chan<- string) (int, error)
- type MockDBusConnectionInterfaceMockRecorder
- func (_mr *MockDBusConnectionInterfaceMockRecorder) KillUnit(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockDBusConnectionInterfaceMockRecorder) LinkUnitFiles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockDBusConnectionInterfaceMockRecorder) Reload() *gomock.Call
- func (_mr *MockDBusConnectionInterfaceMockRecorder) StartUnit(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockDBusConnectionInterfaceMockRecorder) StopUnit(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDBusConnectionInterface ¶
type MockDBusConnectionInterface struct {
// contains filtered or unexported fields
}
MockDBusConnectionInterface is a mock of DBusConnectionInterface interface
func NewMockDBusConnectionInterface ¶
func NewMockDBusConnectionInterface(ctrl *gomock.Controller) *MockDBusConnectionInterface
NewMockDBusConnectionInterface creates a new mock instance
func (*MockDBusConnectionInterface) EXPECT ¶
func (_m *MockDBusConnectionInterface) EXPECT() *MockDBusConnectionInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDBusConnectionInterface) KillUnit ¶
func (_m *MockDBusConnectionInterface) KillUnit(_param0 string, _param1 int32)
KillUnit mocks base method
func (*MockDBusConnectionInterface) LinkUnitFiles ¶
func (_m *MockDBusConnectionInterface) LinkUnitFiles(_param0 []string, _param1 bool, _param2 bool) ([]dbus.LinkUnitFileChange, error)
LinkUnitFiles mocks base method
func (*MockDBusConnectionInterface) Reload ¶
func (_m *MockDBusConnectionInterface) Reload() error
Reload mocks base method
type MockDBusConnectionInterfaceMockRecorder ¶
type MockDBusConnectionInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDBusConnectionInterfaceMockRecorder is the mock recorder for MockDBusConnectionInterface
func (*MockDBusConnectionInterfaceMockRecorder) KillUnit ¶
func (_mr *MockDBusConnectionInterfaceMockRecorder) KillUnit(arg0, arg1 interface{}) *gomock.Call
KillUnit indicates an expected call of KillUnit
func (*MockDBusConnectionInterfaceMockRecorder) LinkUnitFiles ¶
func (_mr *MockDBusConnectionInterfaceMockRecorder) LinkUnitFiles(arg0, arg1, arg2 interface{}) *gomock.Call
LinkUnitFiles indicates an expected call of LinkUnitFiles
func (*MockDBusConnectionInterfaceMockRecorder) Reload ¶
func (_mr *MockDBusConnectionInterfaceMockRecorder) Reload() *gomock.Call
Reload indicates an expected call of Reload
func (*MockDBusConnectionInterfaceMockRecorder) StartUnit ¶
func (_mr *MockDBusConnectionInterfaceMockRecorder) StartUnit(arg0, arg1, arg2 interface{}) *gomock.Call
StartUnit indicates an expected call of StartUnit
func (*MockDBusConnectionInterfaceMockRecorder) StopUnit ¶
func (_mr *MockDBusConnectionInterfaceMockRecorder) StopUnit(arg0, arg1, arg2 interface{}) *gomock.Call
StopUnit indicates an expected call of StopUnit