mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 02:33:21 -05: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() }
 |