Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultBuddyLabelPrefix = "buddy"
)
Variables ¶
View Source
var GoogleConfig struct { Project string Zone string Region string ExternalIPDNSZone string InternalIPDNSZone string DNSTTL int64 // additional zones not configured by ExternalIPDNSZone and InternalIPDNSZone DNSZones string MultipleIPRecord bool BuddyLabelPrefix string }
GoogleConfig provides configuration of google producer and consumer
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { // name name in the zone Hostname string `json:"hostname"` // Google Cloud DNS zone name to be used by the consumer for the record. DNSZone string `json:"dnsZone"` // IPv4 address. IP string `json:"ip"` // Compute engine zone ComputeZone string `json:"computeZone"` }
Endpoint is used to pass data from the producer to the consumer.
type ObserverFunc ¶
type ObserverFunc func(float64)
func (ObserverFunc) Observe ¶
func (f ObserverFunc) Observe(value float64)
Click to show internal directories.
Click to hide internal directories.