systemdmock

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL