boulder/features/featureflag_string.go

44 lines
1.7 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[WriteIssuedNamesPrecert-1]
_ = x[HeadNonceStatusOK-2]
_ = x[RemoveWFE2AccountID-3]
_ = x[CheckRenewalFirst-4]
_ = x[ParallelCheckFailedValidation-5]
_ = x[DeleteUnusedChallenges-6]
_ = x[CAAValidationMethods-7]
_ = x[CAAAccountURI-8]
_ = x[EnforceMultiVA-9]
_ = x[MultiVAFullResults-10]
_ = x[MandatoryPOSTAsGET-11]
_ = x[AllowV1Registration-12]
_ = x[V1DisableNewValidations-13]
_ = x[PrecertificateRevocation-14]
_ = x[StripDefaultSchemePort-15]
_ = x[StoreIssuerInfo-16]
_ = x[StoreKeyHashes-17]
_ = x[BlockedKeyTable-18]
_ = x[StoreRevokerInfo-19]
_ = x[RestrictRSAKeySizes-20]
}
const _FeatureFlag_name = "unusedWriteIssuedNamesPrecertHeadNonceStatusOKRemoveWFE2AccountIDCheckRenewalFirstParallelCheckFailedValidationDeleteUnusedChallengesCAAValidationMethodsCAAAccountURIEnforceMultiVAMultiVAFullResultsMandatoryPOSTAsGETAllowV1RegistrationV1DisableNewValidationsPrecertificateRevocationStripDefaultSchemePortStoreIssuerInfoStoreKeyHashesBlockedKeyTableStoreRevokerInfoRestrictRSAKeySizes"
var _FeatureFlag_index = [...]uint16{0, 6, 29, 46, 65, 82, 111, 133, 153, 166, 180, 198, 216, 235, 258, 282, 304, 319, 333, 348, 364, 383}
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]]
}