rtype

package
v4.46.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DS

type DS struct {
	dnsv1.DS
}

DS RR.

func (*DS) CopyFromLegacyFields

func (handle *DS) CopyFromLegacyFields(rec *models.RecordConfig)

CopyFromLegacyFields uses the the legacy fields to populate .F.

func (*DS) CopyToLegacyFields

func (handle *DS) CopyToLegacyFields(rec *models.RecordConfig)

CopyToLegacyFields populates the legacy fields of the RecordConfig using the fields in .F.

func (*DS) FromArgs

func (handle *DS) FromArgs(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, args []any) error

FromArgs fills in the RecordConfig from []any, which is typically from a parsed config file.

func (*DS) FromStruct

func (handle *DS) FromStruct(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, name string, fields any) error

FromStruct fills in the RecordConfig from a struct, typically from an API response.

func (*DS) Name

func (handle *DS) Name() string

Name returns the DNS record type as a string.

type RP

type RP struct {
	dnsv1.RP
}

RP RR. See RFC 1138, Section 2.2.

func (*RP) CopyFromLegacyFields

func (handle *RP) CopyFromLegacyFields(rec *models.RecordConfig)

CopyFromLegacyFields populates the legacy fields of the RecordConfig using the fields in .F.

func (*RP) CopyToLegacyFields

func (handle *RP) CopyToLegacyFields(rec *models.RecordConfig)

CopyToLegacyFields populates the legacy fields of the RecordConfig using the fields in .F.

func (*RP) FromArgs

func (handle *RP) FromArgs(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, args []any) error

FromArgs fills in the RecordConfig from []any, which is typically from a parsed config file.

func (*RP) FromStruct

func (handle *RP) FromStruct(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, name string, fields any) error

FromStruct fills in the RecordConfig from a struct, typically from an API response.

func (*RP) Name

func (handle *RP) Name() string

Name returns the DNS record type as a string.

Jump to

Keyboard shortcuts

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