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[StoreRevokerInfo-1]
_ = x[ROCSPStage6-2]
_ = x[ROCSPStage7-3]
_ = x[StoreLintingCertificateInsteadOfPrecertificate-4]
_ = x[CAAValidationMethods-5]
_ = x[CAAAccountURI-6]
_ = x[LeaseCRLShards-7]
_ = x[EnforceMultiVA-8]
_ = x[MultiVAFullResults-9]
_ = x[ECDSAForAll-10]
_ = x[ServeRenewalInfo-11]
_ = x[AllowUnrecognizedFeatures-12]
_ = x[ExpirationMailerUsesJoin-13]
_ = x[CertCheckerChecksValidations-14]
_ = x[CertCheckerRequiresValidations-15]
_ = x[CertCheckerRequiresCorrespondence-16]
_ = x[AsyncFinalize-17]
_ = x[AllowNoCommonName-18]
_ = x[CAAAfterValidation-19]
_ = x[SHA256SubjectKeyIdentifier-20]
}
const _FeatureFlag_name = "unusedStoreRevokerInfoROCSPStage6ROCSPStage7StoreLintingCertificateInsteadOfPrecertificateCAAValidationMethodsCAAAccountURILeaseCRLShardsEnforceMultiVAMultiVAFullResultsECDSAForAllServeRenewalInfoAllowUnrecognizedFeaturesExpirationMailerUsesJoinCertCheckerChecksValidationsCertCheckerRequiresValidationsCertCheckerRequiresCorrespondenceAsyncFinalizeAllowNoCommonNameCAAAfterValidationSHA256SubjectKeyIdentifier"
var _FeatureFlag_index = [...]uint16{0, 6, 22, 33, 44, 90, 110, 123, 137, 151, 169, 180, 196, 221, 245, 273, 303, 336, 349, 366, 384, 410}
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]]
}