reverse_record

package
v6.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() *core.Command

func Delete

func Delete() *core.Command

func Get

func Get() *core.Command

func List

func List() *core.Command

func Records

func Records(fs ...Filter) (dns.ReverseRecordsReadList, error)

Records returns all records matching the given filters

func RecordsProperty

func RecordsProperty[V any](f func(dns.ReverseRecordRead) V, fs ...Filter) []V

RecordsProperty returns a list of properties of all records matching the given filters

func Resolve

func Resolve(ipOrId string) (string, error)

Resolve resolves ipOrId (the IP of a record, or the ID of a record) - to the ID of the record. If it's an ID, it's returned as is. If it's not, then it's an IP, and we try to resolve it

func Root

func Root() *core.Command

func Update

func Update() *core.Command

Types

type Filter

func FilterLimitOffset

func FilterLimitOffset(cmdNs string) Filter

func FilterRecordsByIp

func FilterRecordsByIp(cmdNs string) Filter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL