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{}
|
|
|
|
_ = x[CanUseAlias-0]
|
|
|
|
_ = x[CanUseCAA-1]
|
2020-05-30 22:40:21 +08:00
|
|
|
_ = x[CanUseDS-2]
|
2020-06-19 05:24:13 +08:00
|
|
|
_ = 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]
|
2020-03-10 22:13:20 +08:00
|
|
|
}
|
|
|
|
|
2020-06-19 05:24:13 +08:00
|
|
|
const _Capability_name = "CanUseAliasCanUseCAACanUseDSCanUseDSForChildrenCanUsePTRCanUseNAPTRCanUseSRVCanUseSSHFPCanUseTLSACanUseTXTMultiCanAutoDNSSECCantUseNOPURGEDocOfficiallySupportedDocDualHostDocCreateDomainsCanUseRoute53AliasCanGetZonesCanUseAzureAlias"
|
2020-03-10 22:13:20 +08:00
|
|
|
|
2020-06-19 05:24:13 +08:00
|
|
|
var _Capability_index = [...]uint8{0, 11, 20, 28, 47, 56, 67, 76, 87, 97, 111, 124, 138, 160, 171, 187, 205, 216, 232}
|
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]]
|
|
|
|
}
|