mocks

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 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 MockCloudSync

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

MockCloudSync is a mock of CloudSync interface

func NewMockCloudSync

func NewMockCloudSync(ctrl *gomock.Controller) *MockCloudSync

NewMockCloudSync creates a new mock instance

func (*MockCloudSync) EXPECT

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

func (*MockCloudSync) InitiateCloudSync added in v1.1.4

func (_m *MockCloudSync) InitiateCloudSync(isCloudSet string) error

InitiateCloudSync mocks base method

func (*MockCloudSync) RequestPublish added in v1.1.8

func (_m *MockCloudSync) RequestPublish(host string, clientID string, message mqttmgr.Message, topic string) string

RequestPublish mocks base method

func (*MockCloudSync) RequestSubscribe added in v1.1.9

func (_m *MockCloudSync) RequestSubscribe(host string, clientID string, topic string) string

RequestSubscribe mocks base method

type MockCloudSyncMockRecorder

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

MockCloudSyncMockRecorder is the mock recorder for MockCloudSync

func (*MockCloudSyncMockRecorder) InitiateCloudSync added in v1.1.4

func (_mr *MockCloudSyncMockRecorder) InitiateCloudSync(arg0 interface{}) *gomock.Call

InitiateCloudSync indicates an expected call of StartCloudSync

func (*MockCloudSyncMockRecorder) RequestPublish added in v1.1.8

func (_mr *MockCloudSyncMockRecorder) RequestPublish(arg0 interface{}) *gomock.Call

RequestPublish indicates an expected call of RequestPublish

func (*MockCloudSyncMockRecorder) RequestSubscribe added in v1.1.9

func (_mr *MockCloudSyncMockRecorder) RequestSubscribe(arg0 interface{}) *gomock.Call

RequestSubscribe indicates an expected call of RequestSubscribe

Jump to

Keyboard shortcuts

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