mirror of
https://github.com/containers/skopeo.git
synced 2025-05-04 14:06:54 +00:00
46 lines
1.8 KiB
Go
46 lines
1.8 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[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]]
|
|
}
|