mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 09:59:59 +08:00
43 lines
1.4 KiB
Go
43 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[CanUseDHCID-6]
|
|
_ = x[CanUseDS-7]
|
|
_ = x[CanUseDSForChildren-8]
|
|
_ = x[CanUseLOC-9]
|
|
_ = x[CanUseNAPTR-10]
|
|
_ = x[CanUsePTR-11]
|
|
_ = x[CanUseRoute53Alias-12]
|
|
_ = x[CanUseSOA-13]
|
|
_ = x[CanUseSRV-14]
|
|
_ = x[CanUseSSHFP-15]
|
|
_ = x[CanUseTLSA-16]
|
|
_ = x[CantUseNOPURGE-17]
|
|
_ = x[DocCreateDomains-18]
|
|
_ = x[DocDualHost-19]
|
|
_ = x[DocOfficiallySupported-20]
|
|
}
|
|
|
|
const _Capability_name = "CanAutoDNSSECCanGetZonesCanUseAKAMAICDNCanUseAliasCanUseAzureAliasCanUseCAACanUseDHCIDCanUseDSCanUseDSForChildrenCanUseLOCCanUseNAPTRCanUsePTRCanUseRoute53AliasCanUseSOACanUseSRVCanUseSSHFPCanUseTLSACantUseNOPURGEDocCreateDomainsDocDualHostDocOfficiallySupported"
|
|
|
|
var _Capability_index = [...]uint16{0, 13, 24, 39, 50, 66, 75, 86, 94, 113, 122, 133, 142, 160, 169, 178, 189, 199, 213, 229, 240, 262}
|
|
|
|
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]]
|
|
}
|