# Functions
GetRandomErrorPercentage returns an error percentage value.
LogBuildDetails is no-op production alternative for the same function in present in debug build.
NewClient create a client to connect to the injection server.
NewErrorInjection returns a new ErrorInjection object.
StartInjectionServer is no-op production alternative for the same function in present in debug build.
# Variables
EI is a global object which is used to decide whether the error is injected or not.
# Structs
Client to connect to injection API server.
CRUDErrorInjection is used to inject CRUD errors.
CSPCErrorInjection is used to inject errors for CSPC related operations.
CSPIErrorInjection is used to inject errors for CSPI related operations.
CVRErrorInjection is used to inject errors in API calls for Volume Replica related operations.
DeploymentErrorInjection is used to inject errors for CSPC related operations.
ErrorInjection schema to inject errors.
ErrorPercentageThreshold is the threshold value above which the error will not be injected.
ZFSErrorInjection is used to inject errors for Volume Replica related operations.