mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Traffic is a plugin that communicates via the xDS protocol to an Envoy control plane. Using the data from this control plane it hands out IP addresses. This allows you (via controlling the data in the control plane) to drain or send more traffic to specific endpoints. The plugin itself only acts upon this data; it doesn't do anything fancy by itself. Code used here is copied from grpc-go and other places, this is clearly marked in the source files. Signed-off-by: Miek Gieben <miek@miek.nl>
		
			
				
	
	
		
			60 lines
		
	
	
		
			869 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			869 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // generated by directives_generate.go; DO NOT EDIT
 | |
| 
 | |
| package dnsserver
 | |
| 
 | |
| // Directives are registered in the order they should be
 | |
| // executed.
 | |
| //
 | |
| // Ordering is VERY important. Every plugin will
 | |
| // feel the effects of all other plugin below
 | |
| // (after) them during a request, but they must not
 | |
| // care what plugin above them are doing.
 | |
| var Directives = []string{
 | |
| 	"metadata",
 | |
| 	"cancel",
 | |
| 	"tls",
 | |
| 	"reload",
 | |
| 	"nsid",
 | |
| 	"bufsize",
 | |
| 	"root",
 | |
| 	"bind",
 | |
| 	"debug",
 | |
| 	"trace",
 | |
| 	"ready",
 | |
| 	"health",
 | |
| 	"pprof",
 | |
| 	"prometheus",
 | |
| 	"errors",
 | |
| 	"log",
 | |
| 	"dnstap",
 | |
| 	"acl",
 | |
| 	"any",
 | |
| 	"chaos",
 | |
| 	"traffic",
 | |
| 	"loadbalance",
 | |
| 	"cache",
 | |
| 	"rewrite",
 | |
| 	"dnssec",
 | |
| 	"autopath",
 | |
| 	"template",
 | |
| 	"transfer",
 | |
| 	"hosts",
 | |
| 	"route53",
 | |
| 	"azure",
 | |
| 	"clouddns",
 | |
| 	"federation",
 | |
| 	"k8s_external",
 | |
| 	"kubernetes",
 | |
| 	"file",
 | |
| 	"auto",
 | |
| 	"secondary",
 | |
| 	"etcd",
 | |
| 	"loop",
 | |
| 	"forward",
 | |
| 	"grpc",
 | |
| 	"erratic",
 | |
| 	"whoami",
 | |
| 	"on",
 | |
| 	"sign",
 | |
| }
 |