rtype

package
v4.33.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DS

type DS struct {
	dns.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 {
	dns.RP
}

RP RR. See RFC 1138, Section 2.2.

func (*RP) CopyFromLegacyFields added in v4.32.0

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