Documentation
¶
Overview ¶
Package systemdmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSystemd ¶
type MockSystemd struct {
// contains filtered or unexported fields
}
MockSystemd is a mock of Systemd interface.
func NewMockSystemd ¶
func NewMockSystemd(ctrl *gomock.Controller) *MockSystemd
NewMockSystemd creates a new mock instance.
func (*MockSystemd) EXPECT ¶
func (m *MockSystemd) EXPECT() *MockSystemdMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSystemd) Notify ¶
func (m *MockSystemd) Notify(arg0 string) (bool, error)
Notify mocks base method.
func (*MockSystemd) WatchdogEnabled ¶
func (m *MockSystemd) WatchdogEnabled() (time.Duration, error)
WatchdogEnabled mocks base method.
type MockSystemdMockRecorder ¶
type MockSystemdMockRecorder struct {
// contains filtered or unexported fields
}
MockSystemdMockRecorder is the mock recorder for MockSystemd.
func (*MockSystemdMockRecorder) Notify ¶
func (mr *MockSystemdMockRecorder) Notify(arg0 any) *gomock.Call
Notify indicates an expected call of Notify.
func (*MockSystemdMockRecorder) WatchdogEnabled ¶
func (mr *MockSystemdMockRecorder) WatchdogEnabled() *gomock.Call
WatchdogEnabled indicates an expected call of WatchdogEnabled.
Click to show internal directories.
Click to hide internal directories.