record

package
v6.7.7 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordCommand

func RecordCommand() *core.Command

func Records

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

Records returns all records matching the given filters

func RecordsGetCmd

func RecordsGetCmd() *core.Command

func RecordsProperty

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

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

func Resolve

func Resolve(nameOrId string) (string, error)

Resolve resolves nameOrId (the name 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 a name, and we try to resolve it

func ZonesRecordsDeleteCmd

func ZonesRecordsDeleteCmd() *core.Command

func ZonesRecordsFindByIdCmd

func ZonesRecordsFindByIdCmd() *core.Command

func ZonesRecordsPostCmd

func ZonesRecordsPostCmd() *core.Command

func ZonesRecordsPutCmd

func ZonesRecordsPutCmd() *core.Command

Types

type Filter

func FilterRecordsByZoneAndRecordFlags

func FilterRecordsByZoneAndRecordFlags(cmdNs string) Filter

Jump to

Keyboard shortcuts

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