mock_client

package
v0.0.0-...-3deab84 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJimiIotHub

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

MockJimiIotHub is a mock of JimiIotHub interface.

func NewMockJimiIotHub

func NewMockJimiIotHub(ctrl *gomock.Controller) *MockJimiIotHub

NewMockJimiIotHub creates a new mock instance.

func (*MockJimiIotHub) Client

func (m *MockJimiIotHub) Client() *resty.Client

Client mocks base method.

func (*MockJimiIotHub) Config

func (m *MockJimiIotHub) Config(canModify bool) *client.IotHubConfig

Config mocks base method.

func (*MockJimiIotHub) DeviceInstructionRequest

func (m *MockJimiIotHub) DeviceInstructionRequest(ctx context.Context, imei, command string) (*client.InstructRequest, error)

DeviceInstructionRequest mocks base method.

func (*MockJimiIotHub) EXPECT

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

func (*MockJimiIotHub) EndpointURL

func (m *MockJimiIotHub) EndpointURL() *url.URL

EndpointURL mocks base method.

func (m *MockJimiIotHub) GenerateDeviceConfigLinks(rtmpPrefix string) *client.DeviceConfigLinks

GenerateDeviceConfigLinks mocks base method.

func (m *MockJimiIotHub) GenerateFLVHistoryLink(secure bool, channel int, imei string) (string, error)

GenerateFLVHistoryLink mocks base method.

func (m *MockJimiIotHub) GenerateFLVReplayLink(secure bool, prefix, imei string) (string, error)

GenerateFLVReplayLink mocks base method.

func (m *MockJimiIotHub) GenerateFlvLiveLink(secure bool, prefix string, channel int, imei string) (string, error)

GenerateFlvLiveLink mocks base method.

func (m *MockJimiIotHub) GenerateRtmpLiveLink(secure bool, prefix string, channel int, imei string) (string, error)

GenerateRtmpLiveLink mocks base method.

func (m *MockJimiIotHub) GenerateVideoLinks(secure bool, prefix string, channel int, imei string) (*client.VideoLinks, error)

GenerateVideoLinks mocks base method.

func (*MockJimiIotHub) GetEndpointHost

func (m *MockJimiIotHub) GetEndpointHost() string

GetEndpointHost mocks base method.

func (*MockJimiIotHub) HistoryPlaybackControlRequest

func (m *MockJimiIotHub) HistoryPlaybackControlRequest(ctx context.Context, imei string, deviceModel client.DeviceModel, cmdContent *client.PlaybackControlCmdContent) (*client.InstructRequest, error)

HistoryPlaybackControlRequest mocks base method.

func (*MockJimiIotHub) HistoryVideoPlaybackRequest

func (m *MockJimiIotHub) HistoryVideoPlaybackRequest(ctx context.Context, imei string, deviceModel client.DeviceModel, cmdContent *client.PlaybackCmdContent) (*client.InstructRequest, error)

HistoryVideoPlaybackRequest mocks base method.

func (*MockJimiIotHub) ListAVResourcesRequest

func (m *MockJimiIotHub) ListAVResourcesRequest(ctx context.Context, imei string, deviceModel client.DeviceModel, cmdContent *client.AVResourceListCmdContent) (*client.InstructRequest, error)

ListAVResourcesRequest mocks base method.

func (*MockJimiIotHub) RealTimeAVControlRequest

func (m *MockJimiIotHub) RealTimeAVControlRequest(ctx context.Context, imei string, deviceModel client.DeviceModel, cmdContent *client.RealTimeControlCmdContent) (*client.InstructRequest, error)

RealTimeAVControlRequest mocks base method.

func (*MockJimiIotHub) RealTimeAVRequest

func (m *MockJimiIotHub) RealTimeAVRequest(ctx context.Context, imei string, deviceModel client.DeviceModel, cmdContent *client.RealTimeCmdContent) (*client.InstructRequest, error)

RealTimeAVRequest mocks base method.

func (*MockJimiIotHub) SendDeviceInstruction

func (m *MockJimiIotHub) SendDeviceInstruction(ctx context.Context, request *client.InstructRequest) (*client.Response, error)

SendDeviceInstruction mocks base method.

func (*MockJimiIotHub) Stop

func (m *MockJimiIotHub) Stop()

Stop mocks base method.

type MockJimiIotHubMockRecorder

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

MockJimiIotHubMockRecorder is the mock recorder for MockJimiIotHub.

func (*MockJimiIotHubMockRecorder) Client

func (mr *MockJimiIotHubMockRecorder) Client() *gomock.Call

Client indicates an expected call of Client.

func (*MockJimiIotHubMockRecorder) Config

func (mr *MockJimiIotHubMockRecorder) Config(canModify interface{}) *gomock.Call

Config indicates an expected call of Config.

func (*MockJimiIotHubMockRecorder) DeviceInstructionRequest

func (mr *MockJimiIotHubMockRecorder) DeviceInstructionRequest(ctx, imei, command interface{}) *gomock.Call

DeviceInstructionRequest indicates an expected call of DeviceInstructionRequest.

func (*MockJimiIotHubMockRecorder) EndpointURL

func (mr *MockJimiIotHubMockRecorder) EndpointURL() *gomock.Call

EndpointURL indicates an expected call of EndpointURL.

func (mr *MockJimiIotHubMockRecorder) GenerateDeviceConfigLinks(rtmpPrefix interface{}) *gomock.Call

GenerateDeviceConfigLinks indicates an expected call of GenerateDeviceConfigLinks.

func (mr *MockJimiIotHubMockRecorder) GenerateFLVHistoryLink(secure, channel, imei interface{}) *gomock.Call

GenerateFLVHistoryLink indicates an expected call of GenerateFLVHistoryLink.

func (mr *MockJimiIotHubMockRecorder) GenerateFLVReplayLink(secure, prefix, imei interface{}) *gomock.Call

GenerateFLVReplayLink indicates an expected call of GenerateFLVReplayLink.

func (mr *MockJimiIotHubMockRecorder) GenerateFlvLiveLink(secure, prefix, channel, imei interface{}) *gomock.Call

GenerateFlvLiveLink indicates an expected call of GenerateFlvLiveLink.

func (mr *MockJimiIotHubMockRecorder) GenerateRtmpLiveLink(secure, prefix, channel, imei interface{}) *gomock.Call

GenerateRtmpLiveLink indicates an expected call of GenerateRtmpLiveLink.

func (mr *MockJimiIotHubMockRecorder) GenerateVideoLinks(secure, prefix, channel, imei interface{}) *gomock.Call

GenerateVideoLinks indicates an expected call of GenerateVideoLinks.

func (*MockJimiIotHubMockRecorder) GetEndpointHost

func (mr *MockJimiIotHubMockRecorder) GetEndpointHost() *gomock.Call

GetEndpointHost indicates an expected call of GetEndpointHost.

func (*MockJimiIotHubMockRecorder) HistoryPlaybackControlRequest

func (mr *MockJimiIotHubMockRecorder) HistoryPlaybackControlRequest(ctx, imei, deviceModel, cmdContent interface{}) *gomock.Call

HistoryPlaybackControlRequest indicates an expected call of HistoryPlaybackControlRequest.

func (*MockJimiIotHubMockRecorder) HistoryVideoPlaybackRequest

func (mr *MockJimiIotHubMockRecorder) HistoryVideoPlaybackRequest(ctx, imei, deviceModel, cmdContent interface{}) *gomock.Call

HistoryVideoPlaybackRequest indicates an expected call of HistoryVideoPlaybackRequest.

func (*MockJimiIotHubMockRecorder) ListAVResourcesRequest

func (mr *MockJimiIotHubMockRecorder) ListAVResourcesRequest(ctx, imei, deviceModel, cmdContent interface{}) *gomock.Call

ListAVResourcesRequest indicates an expected call of ListAVResourcesRequest.

func (*MockJimiIotHubMockRecorder) RealTimeAVControlRequest

func (mr *MockJimiIotHubMockRecorder) RealTimeAVControlRequest(ctx, imei, deviceModel, cmdContent interface{}) *gomock.Call

RealTimeAVControlRequest indicates an expected call of RealTimeAVControlRequest.

func (*MockJimiIotHubMockRecorder) RealTimeAVRequest

func (mr *MockJimiIotHubMockRecorder) RealTimeAVRequest(ctx, imei, deviceModel, cmdContent interface{}) *gomock.Call

RealTimeAVRequest indicates an expected call of RealTimeAVRequest.

func (*MockJimiIotHubMockRecorder) SendDeviceInstruction

func (mr *MockJimiIotHubMockRecorder) SendDeviceInstruction(ctx, request interface{}) *gomock.Call

SendDeviceInstruction indicates an expected call of SendDeviceInstruction.

func (*MockJimiIotHubMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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