Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DNSWatchSleepTime = dflag.New(15*time.Second, "Sleep time between DNS resolution") // StatefulSet special handling (reverse DNS to name-0, name-1, etc.). StatefulSet = dflag.NewBool(false, "Deployment is a stateful set, we will reverse the dns to get the name-0, name-1... name-n peers") )
Functions ¶
func DNSWatcher ¶
func DNSWatcher(serviceName string) context.CancelFunc
func StartDNSWatch ¶
func StartDNSWatch(serviceName string)
func StopDNSWatch ¶
func StopDNSWatch()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.