Documentation ¶
Index ¶
- type MockCloudSync
- func (_m *MockCloudSync) EXPECT() *MockCloudSyncMockRecorder
- func (_m *MockCloudSync) InitiateCloudSync(isCloudSet string) error
- func (_m *MockCloudSync) RequestPublish(host string, appID string, message string, topic string) string
- func (_m *MockCloudSync) RequestSubscribe(host string, appID string, topic string) string
- func (_m *MockCloudSync) RequestSubscribedData(appID string, topic string, host string) string
- type MockCloudSyncMockRecorder
- func (_mr *MockCloudSyncMockRecorder) InitiateCloudSync(arg0 interface{}) *gomock.Call
- func (_mr *MockCloudSyncMockRecorder) RequestPublish(arg0 interface{}) *gomock.Call
- func (_mr *MockCloudSyncMockRecorder) RequestSubscribe(arg0 interface{}) *gomock.Call
- func (_mr *MockCloudSyncMockRecorder) RequestSubscribedData(arg0 interface{}) *gomock.Call
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 ¶
func (_m *MockCloudSync) EXPECT() *MockCloudSyncMockRecorder
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, appID string, message string, topic string) string
RequestPublish mocks base method
func (*MockCloudSync) RequestSubscribe ¶ added in v1.1.9
func (_m *MockCloudSync) RequestSubscribe(host string, appID string, topic string) string
RequestSubscribe mocks base method
func (*MockCloudSync) RequestSubscribedData ¶ added in v1.1.11
func (_m *MockCloudSync) RequestSubscribedData(appID string, topic string, host string) string
RequestSubscribedData 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
func (*MockCloudSyncMockRecorder) RequestSubscribedData ¶ added in v1.1.11
func (_mr *MockCloudSyncMockRecorder) RequestSubscribedData(arg0 interface{}) *gomock.Call
RequestSubscribedData indicates an expected call of RequestSubscribedData