mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-29 01:04:15 -04: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() }
 |