2020-03-10 22:13:20 +08:00
|
|
|
// Code generated by "stringer -type=Capability"; DO NOT EDIT.
|
|
|
|
|
|
|
|
package providers
|
|
|
|
|
|
|
|
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{}
|
2022-03-03 00:19:15 +08:00
|
|
|
_ = x[CanAutoDNSSEC-0]
|
|
|
|
_ = x[CanGetZones-1]
|
|
|
|
_ = x[CanUseAKAMAICDN-2]
|
|
|
|
_ = x[CanUseAlias-3]
|
|
|
|
_ = x[CanUseAzureAlias-4]
|
|
|
|
_ = x[CanUseCAA-5]
|
|
|
|
_ = x[CanUseDS-6]
|
|
|
|
_ = x[CanUseDSForChildren-7]
|
|
|
|
_ = x[CanUseNAPTR-8]
|
|
|
|
_ = x[CanUsePTR-9]
|
|
|
|
_ = x[CanUseRoute53Alias-10]
|
|
|
|
_ = x[CanUseSOA-11]
|
|
|
|
_ = x[CanUseSRV-12]
|
|
|
|
_ = x[CanUseSSHFP-13]
|
|
|
|
_ = x[CanUseTLSA-14]
|
|
|
|
_ = x[CantUseNOPURGE-15]
|
|
|
|
_ = x[DocCreateDomains-16]
|
|
|
|
_ = x[DocDualHost-17]
|
|
|
|
_ = x[DocOfficiallySupported-18]
|
2020-03-10 22:13:20 +08:00
|
|
|
}
|
|
|
|
|
2022-03-03 00:19:15 +08:00
|
|
|
const _Capability_name = "CanAutoDNSSECCanGetZonesCanUseAKAMAICDNCanUseAliasCanUseAzureAliasCanUseCAACanUseDSCanUseDSForChildrenCanUseNAPTRCanUsePTRCanUseRoute53AliasCanUseSOACanUseSRVCanUseSSHFPCanUseTLSACantUseNOPURGEDocCreateDomainsDocDualHostDocOfficiallySupported"
|
2020-03-10 22:13:20 +08:00
|
|
|
|
2022-03-03 00:19:15 +08:00
|
|
|
var _Capability_index = [...]uint8{0, 13, 24, 39, 50, 66, 75, 83, 102, 113, 122, 140, 149, 158, 169, 179, 193, 209, 220, 242}
|
2020-03-10 22:13:20 +08:00
|
|
|
|
|
|
|
func (i Capability) String() string {
|
|
|
|
if i >= Capability(len(_Capability_index)-1) {
|
|
|
|
return "Capability(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
}
|
|
|
|
return _Capability_name[_Capability_index[i]:_Capability_index[i+1]]
|
|
|
|
}
|