dnscontrol/providers/capability_string.go

41 lines
1.3 KiB
Go
Raw Normal View History

// 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[CanUseAlias-0]
_ = x[CanUseCAA-1]
_ = x[CanUseDS-2]
_ = x[CanUseDSForChildren-3]
_ = x[CanUsePTR-4]
_ = x[CanUseNAPTR-5]
_ = x[CanUseSRV-6]
_ = x[CanUseSSHFP-7]
_ = x[CanUseTLSA-8]
_ = x[CanUseTXTMulti-9]
_ = x[CanAutoDNSSEC-10]
_ = x[CantUseNOPURGE-11]
_ = x[DocOfficiallySupported-12]
_ = x[DocDualHost-13]
_ = x[DocCreateDomains-14]
_ = x[CanUseRoute53Alias-15]
_ = x[CanGetZones-16]
_ = x[CanUseAzureAlias-17]
}
const _Capability_name = "CanUseAliasCanUseCAACanUseDSCanUseDSForChildrenCanUsePTRCanUseNAPTRCanUseSRVCanUseSSHFPCanUseTLSACanUseTXTMultiCanAutoDNSSECCantUseNOPURGEDocOfficiallySupportedDocDualHostDocCreateDomainsCanUseRoute53AliasCanGetZonesCanUseAzureAlias"
var _Capability_index = [...]uint8{0, 11, 20, 28, 47, 56, 67, 76, 87, 97, 111, 124, 138, 160, 171, 187, 205, 216, 232}
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]]
}