mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
57 lines
2.3 KiB
Go
57 lines
2.3 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[ExpirationMailerDontLookTwice-7]
|
|
_ = x[OldTLSInbound-8]
|
|
_ = x[OldTLSOutbound-9]
|
|
_ = x[ROCSPStage1-10]
|
|
_ = x[ROCSPStage2-11]
|
|
_ = x[ROCSPStage3-12]
|
|
_ = x[CAAValidationMethods-13]
|
|
_ = x[CAAAccountURI-14]
|
|
_ = x[EnforceMultiVA-15]
|
|
_ = x[MultiVAFullResults-16]
|
|
_ = x[MandatoryPOSTAsGET-17]
|
|
_ = x[AllowV1Registration-18]
|
|
_ = x[StoreRevokerInfo-19]
|
|
_ = x[RestrictRSAKeySizes-20]
|
|
_ = x[FasterNewOrdersRateLimit-21]
|
|
_ = x[ECDSAForAll-22]
|
|
_ = x[ServeRenewalInfo-23]
|
|
_ = x[GetAuthzReadOnly-24]
|
|
_ = x[GetAuthzUseIndex-25]
|
|
_ = x[CheckFailedAuthorizationsFirst-26]
|
|
_ = x[AllowReRevocation-27]
|
|
_ = x[MozRevocationReasons-28]
|
|
_ = x[SHA1CSRs-29]
|
|
_ = x[AllowUnrecognizedFeatures-30]
|
|
_ = x[RejectDuplicateCSRExtensions-31]
|
|
_ = x[ROCSPStage6-32]
|
|
_ = x[ROCSPStage7-33]
|
|
}
|
|
|
|
const _FeatureFlag_name = "unusedPrecertificateRevocationStripDefaultSchemePortNonCFSSLSignerStoreIssuerInfoStreamlineOrderAndAuthzsV1DisableNewValidationsExpirationMailerDontLookTwiceOldTLSInboundOldTLSOutboundROCSPStage1ROCSPStage2ROCSPStage3CAAValidationMethodsCAAAccountURIEnforceMultiVAMultiVAFullResultsMandatoryPOSTAsGETAllowV1RegistrationStoreRevokerInfoRestrictRSAKeySizesFasterNewOrdersRateLimitECDSAForAllServeRenewalInfoGetAuthzReadOnlyGetAuthzUseIndexCheckFailedAuthorizationsFirstAllowReRevocationMozRevocationReasonsSHA1CSRsAllowUnrecognizedFeaturesRejectDuplicateCSRExtensionsROCSPStage6ROCSPStage7"
|
|
|
|
var _FeatureFlag_index = [...]uint16{0, 6, 30, 52, 66, 81, 105, 128, 157, 170, 184, 195, 206, 217, 237, 250, 264, 282, 300, 319, 335, 354, 378, 389, 405, 421, 437, 467, 484, 504, 512, 537, 565, 576, 587}
|
|
|
|
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]]
|
|
}
|