...

Source file src/github.com/letsencrypt/boulder/features/featureflag_string.go

Documentation: github.com/letsencrypt/boulder/features

     1  // Code generated by "stringer -type=FeatureFlag"; DO NOT EDIT.
     2  
     3  package features
     4  
     5  import "strconv"
     6  
     7  func _() {
     8  	// An "invalid array index" compiler error signifies that the constant values have changed.
     9  	// Re-run the stringer command to generate them again.
    10  	var x [1]struct{}
    11  	_ = x[unused-0]
    12  	_ = x[StoreRevokerInfo-1]
    13  	_ = x[ROCSPStage6-2]
    14  	_ = x[ROCSPStage7-3]
    15  	_ = x[StoreLintingCertificateInsteadOfPrecertificate-4]
    16  	_ = x[CAAValidationMethods-5]
    17  	_ = x[CAAAccountURI-6]
    18  	_ = x[LeaseCRLShards-7]
    19  	_ = x[EnforceMultiVA-8]
    20  	_ = x[MultiVAFullResults-9]
    21  	_ = x[ECDSAForAll-10]
    22  	_ = x[ServeRenewalInfo-11]
    23  	_ = x[AllowUnrecognizedFeatures-12]
    24  	_ = x[ExpirationMailerUsesJoin-13]
    25  	_ = x[CertCheckerChecksValidations-14]
    26  	_ = x[CertCheckerRequiresValidations-15]
    27  	_ = x[CertCheckerRequiresCorrespondence-16]
    28  	_ = x[AsyncFinalize-17]
    29  	_ = x[RequireCommonName-18]
    30  	_ = x[CAAAfterValidation-19]
    31  }
    32  
    33  const _FeatureFlag_name = "unusedStoreRevokerInfoROCSPStage6ROCSPStage7StoreLintingCertificateInsteadOfPrecertificateCAAValidationMethodsCAAAccountURILeaseCRLShardsEnforceMultiVAMultiVAFullResultsECDSAForAllServeRenewalInfoAllowUnrecognizedFeaturesExpirationMailerUsesJoinCertCheckerChecksValidationsCertCheckerRequiresValidationsCertCheckerRequiresCorrespondenceAsyncFinalizeRequireCommonNameCAAAfterValidation"
    34  
    35  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}
    36  
    37  func (i FeatureFlag) String() string {
    38  	if i < 0 || i >= FeatureFlag(len(_FeatureFlag_index)-1) {
    39  		return "FeatureFlag(" + strconv.FormatInt(int64(i), 10) + ")"
    40  	}
    41  	return _FeatureFlag_name[_FeatureFlag_index[i]:_FeatureFlag_index[i+1]]
    42  }
    43  

View as plain text