mirror of
				https://github.com/traefik/traefik.git
				synced 2025-10-31 16:31:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			395 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			395 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package provider
 | |
| 
 | |
| import (
 | |
| 	"github.com/traefik/traefik/v2/pkg/config/dynamic"
 | |
| 	"github.com/traefik/traefik/v2/pkg/safe"
 | |
| )
 | |
| 
 | |
| // Provider defines methods of a provider.
 | |
| type Provider interface {
 | |
| 	// Provide allows the provider to provide configurations to traefik
 | |
| 	// using the given configuration channel.
 | |
| 	Provide(configurationChan chan<- dynamic.Message, pool *safe.Pool) error
 | |
| 	Init() error
 | |
| }
 |