mirror of
https://github.com/coredns/coredns.git
synced 2025-08-06 06:17:00 +02:00
* plugin/kubernetes: add ready function Add ready function as the health function is now gone. Signed-off-by: Miek Gieben <miek@miek.nl> * Fix readme Signed-off-by: Miek Gieben <miek@miek.nl>
5 lines
138 B
Go
5 lines
138 B
Go
package kubernetes
|
|
|
|
// Ready implements the ready.Readiness interface.
|
|
func (k *Kubernetes) Ready() bool { return k.APIConn.HasSynced() }
|