mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFacade

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

MockFacade is a mock of Facade interface

func NewMockFacade

func NewMockFacade(ctrl *gomock.Controller) *MockFacade

NewMockFacade creates a new mock instance

func (*MockFacade) Action

func (m *MockFacade) Action(arg0 names.ActionTag) (*machineactions.Action, error)

Action mocks base method

func (*MockFacade) ActionBegin

func (m *MockFacade) ActionBegin(arg0 names.ActionTag) error

ActionBegin mocks base method

func (*MockFacade) ActionFinish

func (m *MockFacade) ActionFinish(arg0 names.ActionTag, arg1 string, arg2 map[string]interface{}, arg3 string) error

ActionFinish mocks base method

func (*MockFacade) EXPECT

func (m *MockFacade) EXPECT() *MockFacadeMockRecorder

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

func (*MockFacade) RunningActions

func (m *MockFacade) RunningActions(arg0 names.MachineTag) ([]params.ActionResult, error)

RunningActions mocks base method

func (*MockFacade) WatchActionNotifications

func (m *MockFacade) WatchActionNotifications(arg0 names.MachineTag) (watcher.StringsWatcher, error)

WatchActionNotifications mocks base method

type MockFacadeMockRecorder

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

MockFacadeMockRecorder is the mock recorder for MockFacade

func (*MockFacadeMockRecorder) Action

func (mr *MockFacadeMockRecorder) Action(arg0 interface{}) *gomock.Call

Action indicates an expected call of Action

func (*MockFacadeMockRecorder) ActionBegin

func (mr *MockFacadeMockRecorder) ActionBegin(arg0 interface{}) *gomock.Call

ActionBegin indicates an expected call of ActionBegin

func (*MockFacadeMockRecorder) ActionFinish

func (mr *MockFacadeMockRecorder) ActionFinish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ActionFinish indicates an expected call of ActionFinish

func (*MockFacadeMockRecorder) RunningActions

func (mr *MockFacadeMockRecorder) RunningActions(arg0 interface{}) *gomock.Call

RunningActions indicates an expected call of RunningActions

func (*MockFacadeMockRecorder) WatchActionNotifications

func (mr *MockFacadeMockRecorder) WatchActionNotifications(arg0 interface{}) *gomock.Call

WatchActionNotifications indicates an expected call of WatchActionNotifications

type MockLock

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

MockLock is a mock of Lock interface

func NewMockLock

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance

func (*MockLock) Acquire

func (m *MockLock) Acquire(arg0 machinelock.Spec) (func(), error)

Acquire mocks base method

func (*MockLock) EXPECT

func (m *MockLock) EXPECT() *MockLockMockRecorder

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

func (*MockLock) Report

func (m *MockLock) Report(arg0 ...machinelock.ReportOption) (string, error)

Report mocks base method

type MockLockMockRecorder

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

MockLockMockRecorder is the mock recorder for MockLock

func (*MockLockMockRecorder) Acquire

func (mr *MockLockMockRecorder) Acquire(arg0 interface{}) *gomock.Call

Acquire indicates an expected call of Acquire

func (*MockLockMockRecorder) Report

func (mr *MockLockMockRecorder) Report(arg0 ...interface{}) *gomock.Call

Report indicates an expected call of Report

Jump to

Keyboard shortcuts

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