Documentation ¶
Index ¶
- func Resolve(nameOrId string) (string, error)
- func ZoneCommand() *core.Command
- func Zones(fs ...Filter) (dns.ZoneReadList, error)
- func ZonesDeleteCmd() *core.Command
- func ZonesFindByIdCmd() *core.Command
- func ZonesGetCmd() *core.Command
- func ZonesPostCmd() *core.Command
- func ZonesProperty[V any](f func(dns.ZoneRead) V, fs ...Filter) []V
- func ZonesPutCmd() *core.Command
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve resolves nameOrId (the name of a zone, or the ID of a zone) - to the ID of the zone. 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 ZoneCommand ¶
func Zones ¶
func Zones(fs ...Filter) (dns.ZoneReadList, error)
Zones returns all zones matching the given filters
func ZonesDeleteCmd ¶
func ZonesFindByIdCmd ¶
func ZonesGetCmd ¶
func ZonesPostCmd ¶
func ZonesPutCmd ¶
Types ¶
type Filter ¶
type Filter func(request dns.ApiZonesGetRequest) (dns.ApiZonesGetRequest, error)
Click to show internal directories.
Click to hide internal directories.