dbusmock

package
v0.0.0-...-5168a6d Latest Latest
Warning

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

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

Documentation

Index

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

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

func (*MockDBusConnectionInterface) StartUnit

func (_m *MockDBusConnectionInterface) StartUnit(_param0 string, _param1 string, _param2 chan<- string) (int, error)

StartUnit mocks base method

func (*MockDBusConnectionInterface) StopUnit

func (_m *MockDBusConnectionInterface) StopUnit(_param0 string, _param1 string, _param2 chan<- string) (int, error)

StopUnit 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

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

Jump to

Keyboard shortcuts

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