unitmock

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUnitInterface

type MockUnitInterface struct {
	// contains filtered or unexported fields
}

MockUnitInterface is a mock of UnitInterface interface

func NewMockUnitInterface

func NewMockUnitInterface(ctrl *gomock.Controller) *MockUnitInterface

NewMockUnitInterface creates a new mock instance

func (*MockUnitInterface) Create

func (_m *MockUnitInterface) Create()

Create mocks base method

func (*MockUnitInterface) Destroy

func (_m *MockUnitInterface) Destroy()

Destroy mocks base method

func (*MockUnitInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUnitInterface) LoadAndWatch

func (_m *MockUnitInterface) LoadAndWatch()

LoadAndWatch mocks base method

func (*MockUnitInterface) PutOnQueue

func (_m *MockUnitInterface) PutOnQueue()

PutOnQueue mocks base method

func (*MockUnitInterface) Restart

func (_m *MockUnitInterface) Restart()

Restart mocks base method

func (*MockUnitInterface) SaveOnEtcd

func (_m *MockUnitInterface) SaveOnEtcd()

SaveOnEtcd mocks base method

func (*MockUnitInterface) SetDesiredState

func (_m *MockUnitInterface) SetDesiredState(_param0 state.State)

SetDesiredState mocks base method

func (*MockUnitInterface) SetState

func (_m *MockUnitInterface) SetState(_param0 state.State)

SetState mocks base method

func (*MockUnitInterface) Start

func (_m *MockUnitInterface) Start()

Start mocks base method

func (*MockUnitInterface) Stop

func (_m *MockUnitInterface) Stop()

Stop mocks base method

func (*MockUnitInterface) Watch

func (_m *MockUnitInterface) Watch()

Watch mocks base method

type MockUnitInterfaceMockRecorder

type MockUnitInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnitInterfaceMockRecorder is the mock recorder for MockUnitInterface

func (*MockUnitInterfaceMockRecorder) Create

func (_mr *MockUnitInterfaceMockRecorder) Create() *gomock.Call

Create indicates an expected call of Create

func (*MockUnitInterfaceMockRecorder) Destroy

func (_mr *MockUnitInterfaceMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockUnitInterfaceMockRecorder) LoadAndWatch

func (_mr *MockUnitInterfaceMockRecorder) LoadAndWatch() *gomock.Call

LoadAndWatch indicates an expected call of LoadAndWatch

func (*MockUnitInterfaceMockRecorder) PutOnQueue

func (_mr *MockUnitInterfaceMockRecorder) PutOnQueue() *gomock.Call

PutOnQueue indicates an expected call of PutOnQueue

func (*MockUnitInterfaceMockRecorder) Restart

func (_mr *MockUnitInterfaceMockRecorder) Restart() *gomock.Call

Restart indicates an expected call of Restart

func (*MockUnitInterfaceMockRecorder) SaveOnEtcd

func (_mr *MockUnitInterfaceMockRecorder) SaveOnEtcd() *gomock.Call

SaveOnEtcd indicates an expected call of SaveOnEtcd

func (*MockUnitInterfaceMockRecorder) SetDesiredState

func (_mr *MockUnitInterfaceMockRecorder) SetDesiredState(arg0 interface{}) *gomock.Call

SetDesiredState indicates an expected call of SetDesiredState

func (*MockUnitInterfaceMockRecorder) SetState

func (_mr *MockUnitInterfaceMockRecorder) SetState(arg0 interface{}) *gomock.Call

SetState indicates an expected call of SetState

func (*MockUnitInterfaceMockRecorder) Start

Start indicates an expected call of Start

func (*MockUnitInterfaceMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockUnitInterfaceMockRecorder) Watch

Watch indicates an expected call of Watch

Jump to

Keyboard shortcuts

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