Documentation ¶
Index ¶
- func ConvertRoutesToMaps(info *pb.NodeDNSInfo) []maps.Map
- func FilterRoutes(routes []*pb.DNSRoute, allRoutes []*pb.DNSRoute) []*pb.DNSRoute
- func ValidateDomainFormat(domain string) bool
- func ValidateRecordName(name string) bool
- func ValidateRecordValue(recordType dnsconfigs.RecordType, value string) (message string, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertRoutesToMaps ¶
func ConvertRoutesToMaps(info *pb.NodeDNSInfo) []maps.Map
ConvertRoutesToMaps 转换线路列表
func FilterRoutes ¶
FilterRoutes 筛选线路
func ValidateDomainFormat ¶
ValidateDomainFormat 校验域名格式
func ValidateRecordName ¶ added in v0.2.0
ValidateRecordName 校验记录名
func ValidateRecordValue ¶ added in v0.2.0
func ValidateRecordValue(recordType dnsconfigs.RecordType, value string) (message string, ok bool)
ValidateRecordValue 校验记录值
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.