rrset

package
v1.8.0-20241010134910-... Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RRSet

type RRSet struct {
	OwnerName string     `json:"ownerName,omitempty"`
	RRType    string     `json:"rrtype,omitempty"`
	TTL       int        `json:"ttl,omitempty"`
	RData     []string   `json:"rdata,omitempty"`
	Profile   RawProfile `json:"profile,omitempty"`
}

func (*RRSet) UnmarshalJSON

func (r *RRSet) UnmarshalJSON(data []byte) error

type RRSetKey

type RRSetKey struct {
	ID         string
	Owner      string
	Zone       string
	RecordType string
	PType      string
}

func (RRSetKey) PID

func (r RRSetKey) PID() string

PID stands for Probe Id

func (RRSetKey) ProbeListURI

func (r RRSetKey) ProbeListURI(query string) string

func (RRSetKey) ProbeURI

func (r RRSetKey) ProbeURI() string

func (RRSetKey) RecordID

func (r RRSetKey) RecordID() string

func (RRSetKey) RecordURI

func (r RRSetKey) RecordURI() string

type RawProfile

type RawProfile interface {
	SetContext()
	GetContext() string
}

type ResponseList

type ResponseList struct {
	ZoneName   string             `json:"zoneName,omitempty"`
	QueryInfo  *helper.QueryInfo  `json:"queryInfo,omitempty"`
	ResultInfo *helper.ResultInfo `json:"resultInfo,omitempty"`
	RRSets     []*RRSet           `json:"rrSets,omitempty"`
}

Jump to

Keyboard shortcuts

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