mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMockStatusMessage

func GetMockStatusMessage() string

GetMockStatusMessage returns a user-friendly message about mock status

func IsMockEnabled

func IsMockEnabled() bool

IsMockEnabled checks if mock mode is allowed based on environment variables

func IsProductionEnvironment

func IsProductionEnvironment() bool

IsProductionEnvironment detects if we're running in production

func SuggestMockSetup

func SuggestMockSetup()

SuggestMockSetup provides setup suggestions when mock is requested but not enabled

func ValidateMockUsage

func ValidateMockUsage(useMockClient bool) error

ValidateMockUsage validates mock usage with appropriate warnings

Types

This section is empty.

Jump to

Keyboard shortcuts

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