mocks

package
v0.0.0-...-1a0b003 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	mock.Mock
}

App is an autogenerated mock type for the App type

func (*App) DeleteDevice

func (_m *App) DeleteDevice(ctx context.Context, tenantID string, deviceID string) error

DeleteDevice provides a mock function with given fields: ctx, tenantID, deviceID

func (*App) DownloadFile

func (_m *App) DownloadFile(ctx context.Context, userID string, deviceID string, path string) error

DownloadFile provides a mock function with given fields: ctx, userID, deviceID, path

func (*App) FreeUserSession

func (_m *App) FreeUserSession(ctx context.Context, sessionID string, sessionTypes []string) error

FreeUserSession provides a mock function with given fields: ctx, sessionID, sessionTypes

func (*App) GetControlRecorder

func (_m *App) GetControlRecorder(ctx context.Context, sessionID string) io.Writer

GetControlRecorder provides a mock function with given fields: ctx, sessionID

func (*App) GetDevice

func (_m *App) GetDevice(ctx context.Context, tenantID string, deviceID string) (*model.Device, error)

GetDevice provides a mock function with given fields: ctx, tenantID, deviceID

func (*App) GetRecorder

func (_m *App) GetRecorder(ctx context.Context, sessionID string) io.Writer

GetRecorder provides a mock function with given fields: ctx, sessionID

func (*App) GetSessionRecording

func (_m *App) GetSessionRecording(ctx context.Context, id string, w io.Writer) error

GetSessionRecording provides a mock function with given fields: ctx, id, w

func (*App) HealthCheck

func (_m *App) HealthCheck(ctx context.Context) error

HealthCheck provides a mock function with given fields: ctx

func (*App) LogUserSession

func (_m *App) LogUserSession(ctx context.Context, sess *model.Session, sessionType string) error

LogUserSession provides a mock function with given fields: ctx, sess, sessionType

func (*App) PrepareUserSession

func (_m *App) PrepareUserSession(ctx context.Context, sess *model.Session) error

PrepareUserSession provides a mock function with given fields: ctx, sess

func (*App) ProvisionDevice

func (_m *App) ProvisionDevice(ctx context.Context, tenantID string, device *model.Device) error

ProvisionDevice provides a mock function with given fields: ctx, tenantID, device

func (*App) RegisterShutdownCancel

func (_m *App) RegisterShutdownCancel(_a0 context.CancelFunc) uint32

RegisterShutdownCancel provides a mock function with given fields: _a0

func (*App) SaveSessionRecording

func (_m *App) SaveSessionRecording(ctx context.Context, id string, sessionBytes []byte) error

SaveSessionRecording provides a mock function with given fields: ctx, id, sessionBytes

func (*App) Shutdown

func (_m *App) Shutdown(timeout time.Duration)

Shutdown provides a mock function with given fields: timeout

func (*App) ShutdownDone

func (_m *App) ShutdownDone()

ShutdownDone provides a mock function with given fields:

func (*App) UnregisterShutdownCancel

func (_m *App) UnregisterShutdownCancel(_a0 uint32)

UnregisterShutdownCancel provides a mock function with given fields: _a0

func (*App) UpdateDeviceStatus

func (_m *App) UpdateDeviceStatus(ctx context.Context, tenantID string, deviceID string, status string) error

UpdateDeviceStatus provides a mock function with given fields: ctx, tenantID, deviceID, status

func (*App) UploadFile

func (_m *App) UploadFile(ctx context.Context, userID string, deviceID string, path string) error

UploadFile provides a mock function with given fields: ctx, userID, deviceID, path

Jump to

Keyboard shortcuts

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