models

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AXFR

type AXFR struct {
	TTL            int32  // DNS TTL according to config
	Serial         uint32 // Current DNS zone version / serial number
	RefreshSeconds int    // How often we try to poll Mesos for updates -- minimum downstream poll interval
	Mname          string // primary name server
	Rname          string // email of admin esponsible
	Domain         string // Domain: name of the domain used (default "mesos", ie .mesos domain)
	Records        AXFRRecords
}

AXFR is a rough representation of a "transfer" of the Mesos-DNS data

type AXFRRecords

type AXFRRecords struct {
	As   AXFRResourceRecordSet
	SRVs AXFRResourceRecordSet
}

AXFRRecords are the As, and SRVs that actually make up the Mesos-DNS zone

type AXFRResourceRecordSet

type AXFRResourceRecordSet map[string][]string

AXFRResourceRecordSet is a representation of record name -> string

Jump to

Keyboard shortcuts

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