mock_camera

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_camera is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCam

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

MockCam is a mock of Cam interface.

func NewMockCam

func NewMockCam(ctrl *gomock.Controller) *MockCam

NewMockCam creates a new mock instance.

func (*MockCam) EXPECT

func (m *MockCam) EXPECT() *MockCamMockRecorder

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

func (*MockCam) GetPresets

func (m *MockCam) GetPresets() ([]model.CameraPreset, error)

GetPresets mocks base method.

func (*MockCam) SetPreset

func (m *MockCam) SetPreset(presetId int) error

SetPreset mocks base method.

func (*MockCam) TakeSnapshot

func (m *MockCam) TakeSnapshot(outDir string) (string, error)

TakeSnapshot mocks base method.

type MockCamMockRecorder

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

MockCamMockRecorder is the mock recorder for MockCam.

func (*MockCamMockRecorder) GetPresets

func (mr *MockCamMockRecorder) GetPresets() *gomock.Call

GetPresets indicates an expected call of GetPresets.

func (*MockCamMockRecorder) SetPreset

func (mr *MockCamMockRecorder) SetPreset(presetId any) *gomock.Call

SetPreset indicates an expected call of SetPreset.

func (*MockCamMockRecorder) TakeSnapshot

func (mr *MockCamMockRecorder) TakeSnapshot(outDir any) *gomock.Call

TakeSnapshot indicates an expected call of TakeSnapshot.

Jump to

Keyboard shortcuts

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