Cryload::CiThresholds - cryload 6.0.0

# struct Cryload::CiThresholds

- Cryload::CiThresholds
- Struct
- Value
- Object

##
Defined in:

cryload/ci_thresholds.cr

##
Constant Summary

RATE_ATTAINMENT_TOLERANCE = `99.0`

  A run that lands within 1% of the requested rate counts as attained; scheduling jitter alone can cost a fraction of a percent.

##
Constructors

- .new(fail_on_error : Bool = false, fail_on_transport_error : Bool = false, fail_on_rate_miss : Bool = false, thresholds : Array(Threshold) = [] of Threshold)

##
Instance Method Summary

- #any? : Bool
- #fail_on_error=(fail_on_error : Bool)
- #fail_on_error? : Bool
- #fail_on_rate_miss=(fail_on_rate_miss : Bool)
- #fail_on_rate_miss? : Bool
- #fail_on_transport_error=(fail_on_transport_error : Bool)
- #fail_on_transport_error? : Bool
- #global : Array(Threshold)
- #scoped : Array(Threshold)
- #scoped? : Bool
- #thresholds : Array(Threshold)

##
Constructor Detail

def self.new(fail_on_error : Bool = false, fail_on_transport_error : Bool = false, fail_on_rate_miss : Bool = false, thresholds : Array(Threshold) = [] of Threshold) #

##
Instance Method Detail

def any? : Bool #
def fail_on_error=(fail_on_error : Bool) #
def fail_on_error? : Bool #
def fail_on_rate_miss=(fail_on_rate_miss : Bool) #
def fail_on_rate_miss? : Bool #
def fail_on_transport_error=(fail_on_transport_error : Bool) #
def fail_on_transport_error? : Bool #
def global : Array(Threshold) #
def scoped : Array(Threshold) #
def scoped? : Bool #
def thresholds : Array(Threshold) #