func MustNewMultiKeyHealthyIfNotAllErrorsSource(checkType health.CheckType, messageInCaseOfError string, windowSize time.Duration) KeyedErrorHealthCheckSource {
	return MustNewKeyedErrorHealthCheckSource(checkType, HealthyIfNotAllErrors,
		WithWindowSize(windowSize),
		WithCheckMessage(messageInCaseOfError),
		WithRequireFullWindow())
}
MustNewMultiKeyHealthyIfNotAllErrorsSource returns the result of calling NewMultiKeyHealthyIfNotAllErrorsSource, but panics if it returns an error.
Should only be used in instances where the inputs are statically defined and known to be valid.
DEPRECATED: please use MustNewKeyedErrorHealthCheckSource.
package window
import (
	"time"
	"github.com/palantir/witchcraft-go-health/conjure/witchcraft/api/health"
)
func MustNewMultiKeyUnhealthyIfAtLeastOneErrorSource(checkType health.CheckType, messageInCaseOfError string, windowSize time.Duration) KeyedErrorHealthCheckSource {
	return MustNewKeyedErrorHealthCheckSource(checkType, UnhealthyIfAtLeastOneError,
		WithWindowSize(windowSize),
		WithCheckMessage(messageInCaseOfError))
}
func NewMultiKeyUnhealthyIfAtLeastOneErrorSource(checkType health.CheckType, messageInCaseOfError string, windowSize time.Duration) (KeyedErrorHealthCheckSource, error) {
	return NewKeyedErrorHealthCheckSource(checkType, UnhealthyIfAtLeastOneError,
		WithWindowSize(windowSize),
		WithCheckMessage(messageInCaseOfError))
}
func MustNewMultiKeyHealthyIfNoRecentErrorsSource(checkType health.CheckType, messageInCaseOfError string, windowSize time.Duration) KeyedErrorHealthCheckSource {
	return MustNewKeyedErrorHealthCheckSource(checkType, HealthyIfNoRecentErrors,
		WithWindowSize(windowSize),
		WithCheckMessage(messageInCaseOfError))
}
func NewMultiKeyHealthyIfNoRecentErrorsSource(checkType health.CheckType, messageInCaseOfError string, windowSize time.Duration) (KeyedErrorHealthCheckSource, error) {
	return NewKeyedErrorHealthCheckSource(checkType, HealthyIfNoRecentErrors,
		WithWindowSize(windowSize),
		WithCheckMessage(messageInCaseOfError))
}