zone

package
v6.6.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(nameOrId string) (string, error)

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 ZoneCommand() *core.Command

func Zones

func Zones(fs ...Filter) (dns.ZoneReadList, error)

Zones returns all zones matching the given filters

func ZonesDeleteCmd

func ZonesDeleteCmd() *core.Command

func ZonesFindByIdCmd

func ZonesFindByIdCmd() *core.Command

func ZonesGetCmd

func ZonesGetCmd() *core.Command

func ZonesPostCmd

func ZonesPostCmd() *core.Command

func ZonesProperty

func ZonesProperty[V any](f func(dns.ZoneRead) V, fs ...Filter) []V

func ZonesPutCmd

func ZonesPutCmd() *core.Command

Types

type Filter

type Filter func(request dns.ApiZonesGetRequest) (dns.ApiZonesGetRequest, error)

Jump to

Keyboard shortcuts

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