mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceManagementMock

type DeviceManagementMock struct{}

func (*DeviceManagementMock) AddMockMDMServer

func (m *DeviceManagementMock) AddMockMDMServer(serverID string, server map[string]any)

AddMockMDMServer adds an MDM server to the mock state

func (*DeviceManagementMock) CleanupMockState

func (m *DeviceManagementMock) CleanupMockState()

CleanupMockState clears all mock state data

func (*DeviceManagementMock) GetMockMDMServer

func (m *DeviceManagementMock) GetMockMDMServer(serverID string) (map[string]any, bool)

GetMockMDMServer retrieves an MDM server from the mock state

func (*DeviceManagementMock) RegisterErrorMocks

func (m *DeviceManagementMock) RegisterErrorMocks()

RegisterErrorMocks registers mock responders that return error responses

func (*DeviceManagementMock) RegisterMocks

func (m *DeviceManagementMock) RegisterMocks()

RegisterMocks registers all the HTTP mock responders for device management services

Jump to

Keyboard shortcuts

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