aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/letsencrypt/boulder/features/featureflag_string.go
blob: b3b68b70590846e865071bd66a3ed0ad84efe1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// 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[PrecertificateRevocation-1]
	_ = x[StripDefaultSchemePort-2]
	_ = x[NonCFSSLSigner-3]
	_ = x[StoreIssuerInfo-4]
	_ = x[StreamlineOrderAndAuthzs-5]
	_ = x[V1DisableNewValidations-6]
	_ = x[CAAValidationMethods-7]
	_ = x[CAAAccountURI-8]
	_ = x[EnforceMultiVA-9]
	_ = x[MultiVAFullResults-10]
	_ = x[MandatoryPOSTAsGET-11]
	_ = x[AllowV1Registration-12]
	_ = x[StoreRevokerInfo-13]
	_ = x[RestrictRSAKeySizes-14]
	_ = x[FasterNewOrdersRateLimit-15]
	_ = x[ECDSAForAll-16]
	_ = x[ServeRenewalInfo-17]
	_ = x[GetAuthzReadOnly-18]
	_ = x[GetAuthzUseIndex-19]
	_ = x[CheckFailedAuthorizationsFirst-20]
	_ = x[AllowReRevocation-21]
	_ = x[MozRevocationReasons-22]
}

const _FeatureFlag_name = "unusedPrecertificateRevocationStripDefaultSchemePortNonCFSSLSignerStoreIssuerInfoStreamlineOrderAndAuthzsV1DisableNewValidationsCAAValidationMethodsCAAAccountURIEnforceMultiVAMultiVAFullResultsMandatoryPOSTAsGETAllowV1RegistrationStoreRevokerInfoRestrictRSAKeySizesFasterNewOrdersRateLimitECDSAForAllServeRenewalInfoGetAuthzReadOnlyGetAuthzUseIndexCheckFailedAuthorizationsFirstAllowReRevocationMozRevocationReasons"

var _FeatureFlag_index = [...]uint16{0, 6, 30, 52, 66, 81, 105, 128, 148, 161, 175, 193, 211, 230, 246, 265, 289, 300, 316, 332, 348, 378, 395, 415}

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]]
}