boulder/features/featureflag_string.go

40 lines
1.5 KiB
Go

// Code generated by "stringer -type=FeatureFlag"; DO NOT EDIT.
package features
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[unused-0]
_ = x[CAAValidationMethods-1]
_ = x[CAAAccountURI-2]
_ = x[HeadNonceStatusOK-3]
_ = x[EnforceMultiVA-4]
_ = x[MultiVAFullResults-5]
_ = x[RemoveWFE2AccountID-6]
_ = x[CheckRenewalFirst-7]
_ = x[MandatoryPOSTAsGET-8]
_ = x[AllowV1Registration-9]
_ = x[ParallelCheckFailedValidation-10]
_ = x[DeleteUnusedChallenges-11]
_ = x[V1DisableNewValidations-12]
_ = x[PrecertificateRevocation-13]
_ = x[StripDefaultSchemePort-14]
_ = x[StoreIssuerInfo-15]
_ = x[WriteIssuedNamesPrecert-16]
}
const _FeatureFlag_name = "unusedCAAValidationMethodsCAAAccountURIHeadNonceStatusOKEnforceMultiVAMultiVAFullResultsRemoveWFE2AccountIDCheckRenewalFirstMandatoryPOSTAsGETAllowV1RegistrationParallelCheckFailedValidationDeleteUnusedChallengesV1DisableNewValidationsPrecertificateRevocationStripDefaultSchemePortStoreIssuerInfoWriteIssuedNamesPrecert"
var _FeatureFlag_index = [...]uint16{0, 6, 26, 39, 56, 70, 88, 107, 124, 142, 161, 190, 212, 235, 259, 281, 296, 319}
func (i FeatureFlag) String() string {
if i < 0 || i >= FeatureFlag(len(_FeatureFlag_index)-1) {
return "FeatureFlag(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _FeatureFlag_name[_FeatureFlag_index[i]:_FeatureFlag_index[i+1]]
}