mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 5 Imported by: 0

README

Mock Data for Microsoft Mac Apps Version Tracker API

This directory contains mock JSON responses used for testing the Microsoft Mac Apps Version Tracker API client.

Files

  • validate_latest_apps.json - Sample response for GET /api/latest endpoint
  • responders.go - HTTP mock responders for testing

Data Source

The mock data is based on real API responses from https://appledevicepolicy.tools/api/latest

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MSAppsMock

type MSAppsMock struct{}

func (*MSAppsMock) CleanupMockState

func (m *MSAppsMock) CleanupMockState()

CleanupMockState clears all mock state data

func (*MSAppsMock) RegisterErrorMocks

func (m *MSAppsMock) RegisterErrorMocks()

RegisterErrorMocks registers mock responders that return error responses

func (*MSAppsMock) RegisterMocks

func (m *MSAppsMock) RegisterMocks()

RegisterMocks registers all the HTTP mock responders for Microsoft Mac Apps API

Jump to

Keyboard shortcuts

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