Documentation ¶
Index ¶
- type App
- func (_m *App) DeleteDevice(ctx context.Context, tenantID string, deviceID string) error
- func (_m *App) DownloadFile(ctx context.Context, userID string, deviceID string, path string) error
- func (_m *App) FreeUserSession(ctx context.Context, sessionID string, sessionTypes []string) error
- func (_m *App) GetControlRecorder(ctx context.Context, sessionID string) io.Writer
- func (_m *App) GetDevice(ctx context.Context, tenantID string, deviceID string) (*model.Device, error)
- func (_m *App) GetRecorder(ctx context.Context, sessionID string) io.Writer
- func (_m *App) GetSessionRecording(ctx context.Context, id string, w io.Writer) error
- func (_m *App) HealthCheck(ctx context.Context) error
- func (_m *App) LogUserSession(ctx context.Context, sess *model.Session, sessionType string) error
- func (_m *App) PrepareUserSession(ctx context.Context, sess *model.Session) error
- func (_m *App) ProvisionDevice(ctx context.Context, tenantID string, device *model.Device) error
- func (_m *App) RegisterShutdownCancel(_a0 context.CancelFunc) uint32
- func (_m *App) SaveSessionRecording(ctx context.Context, id string, sessionBytes []byte) error
- func (_m *App) Shutdown(timeout time.Duration)
- func (_m *App) ShutdownDone()
- func (_m *App) UnregisterShutdownCancel(_a0 uint32)
- func (_m *App) UpdateDeviceStatus(ctx context.Context, tenantID string, deviceID string, status string) error
- func (_m *App) UploadFile(ctx context.Context, userID string, deviceID string, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App is an autogenerated mock type for the App type
func (*App) DeleteDevice ¶
DeleteDevice provides a mock function with given fields: ctx, tenantID, deviceID
func (*App) DownloadFile ¶
DownloadFile provides a mock function with given fields: ctx, userID, deviceID, path
func (*App) FreeUserSession ¶
FreeUserSession provides a mock function with given fields: ctx, sessionID, sessionTypes
func (*App) GetControlRecorder ¶
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 ¶
GetRecorder provides a mock function with given fields: ctx, sessionID
func (*App) GetSessionRecording ¶
GetSessionRecording provides a mock function with given fields: ctx, id, w
func (*App) HealthCheck ¶
HealthCheck provides a mock function with given fields: ctx
func (*App) LogUserSession ¶
LogUserSession provides a mock function with given fields: ctx, sess, sessionType
func (*App) PrepareUserSession ¶
PrepareUserSession provides a mock function with given fields: ctx, sess
func (*App) ProvisionDevice ¶
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 ¶
SaveSessionRecording provides a mock function with given fields: ctx, id, sessionBytes
func (*App) ShutdownDone ¶
func (_m *App) ShutdownDone()
ShutdownDone provides a mock function with given fields:
func (*App) UnregisterShutdownCancel ¶
UnregisterShutdownCancel provides a mock function with given fields: _a0