Documentation ¶
Index ¶
- func CompileRegExps(rawRegExps []string) ([]*regexp.Regexp, error)
- func CreateIPv4Record(ctx context.Context, zone *Zone, record *Record, content string) error
- func CreateIPv6Record(ctx context.Context, zone *Zone, record *Record, content string) error
- func CreateRecord(ctx context.Context, zone *Zone, record *Record, typ, content string) error
- func DeleteAllRecords(ctx context.Context, zone *Zone, recordName string) error
- func FilterAddrs(addrs []netip.Addr, patterns []*regexp.Regexp) (filtered []netip.Addr)
- func UpdateRecord(ctx context.Context, zone *Zone, record *Record, addrs []netip.Addr) error
- type Env
- type EnvUpdateReport
- type NetIfAddrFilter
- type Record
- type RecordUpdateReport
- type Zone
- type ZoneUpdateReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIPv4Record ¶
func CreateIPv6Record ¶
func CreateRecord ¶
func DeleteAllRecords ¶
func FilterAddrs ¶
Types ¶
type EnvUpdateReport ¶
type EnvUpdateReport struct {
ZoneUpdateReports []*ZoneUpdateReport
}
type NetIfAddrFilter ¶
func LoadNetIfAddrFilter ¶
func LoadNetIfAddrFilter(netIfName string, netIf *config.NetIf) (*NetIfAddrFilter, error)
type Record ¶
type Record struct { Raw *config.Record NetIfAddrFilters []*NetIfAddrFilter }
type RecordUpdateReport ¶
type ZoneUpdateReport ¶
type ZoneUpdateReport struct { Zone *Zone RecordUpdateReports []*RecordUpdateReport }
Click to show internal directories.
Click to hide internal directories.