mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-12 02:17:43 +08:00
42 lines
1.4 KiB
Go
42 lines
1.4 KiB
Go
// 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{}
|
|
_ = 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[CanUseLOC-8]
|
|
_ = x[CanUseNAPTR-9]
|
|
_ = x[CanUsePTR-10]
|
|
_ = x[CanUseRoute53Alias-11]
|
|
_ = x[CanUseSOA-12]
|
|
_ = x[CanUseSRV-13]
|
|
_ = x[CanUseSSHFP-14]
|
|
_ = x[CanUseTLSA-15]
|
|
_ = x[CantUseNOPURGE-16]
|
|
_ = x[DocCreateDomains-17]
|
|
_ = x[DocDualHost-18]
|
|
_ = x[DocOfficiallySupported-19]
|
|
}
|
|
|
|
const _Capability_name = "CanAutoDNSSECCanGetZonesCanUseAKAMAICDNCanUseAliasCanUseAzureAliasCanUseCAACanUseDSCanUseDSForChildrenCanUseLOCCanUseNAPTRCanUsePTRCanUseRoute53AliasCanUseSOACanUseSRVCanUseSSHFPCanUseTLSACantUseNOPURGEDocCreateDomainsDocDualHostDocOfficiallySupported"
|
|
|
|
var _Capability_index = [...]uint8{0, 13, 24, 39, 50, 66, 75, 83, 102, 111, 122, 131, 149, 158, 167, 178, 188, 202, 218, 229, 251}
|
|
|
|
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]]
|
|
}
|